Author: Davoud Teimouri

Teradici – New Firmware, New PCoIP Management Console Enterprise 0

Teradici – New Firmware, New PCoIP Management Console Enterprise

Teradici has released firmware 5.0 for Tera2 and also PCoIP Management Console 2.0. The new management console is released in enterprise edition and you have to buy enterprise license for using this. But some new good feature has been added to this console: Support for up to 20,000 managed devices, multiple administration users, redesigned interface, additional discovery security options, multi-level device groups, recurring schedules, and improved profile and firmware update performance. Also APEX driver 5.2 has been released for ESXi 5.0, 5.1, 5.5 and 6.0, this new driver is compatible with VMware Horizon View 6.2. Note: Tera1 zero clients is not supporting by new PCoIP Management Console.  

Chocolatey! 0

Chocolatey!

Chocolatey NuGet is a Machine Package Manager, somewhat like apt-get, but built with Windows in mind. It’s awesome! Install applications automatically by running a command! Test it.

Upgrade iLO firmware via SSH 2

Upgrade iLO firmware via SSH

AS you may know, you can connect to OA (HP Onboard Administrator) or iLO via SSH. This is a good solution to upgrade iLO firmware without logging on to OA or iLO. So just you needs to access to OA or iLO and you must have administrator role on the consoles. Download proper iLO images from HP site for each of iLO version and put it on a web server, then open a SSH console and run the following commands: First iLO: cd map1/firmware1 load -source http://webserver/ilox_x.bin After running the commands you have to wait for some minutes and iLO will reset. You may see the below results: status=1 status_tag=COMMAND SPAWNED Attempting to load iLOX firmware image. status=0 status_tag=COMMAND COMPLETED Resetting iLO.   I got no error when I was upgrading iLO via iLO SSH console but if you face with any error, share it with me. Now OA: update ilo <all/device bay number> http://webserver/ilox_x.bin If you want to upgrade all iLO firmwares in OA, you should use ALL otherwise you should use device bay number. I got some errors during iLO upgrade via OA SSH console: An error occurred while executing the script on iLO. Please review the RIBCL...

WXP7Optimization 0

Windows XP/7 Optimization – Presentation

I want to introduce an old presentation that published by Teradici at 2010 but you don’t think that it has old information, you can see it and learn about Windows 7 optimization in VDI environment. Of curse, there is many optimization tools and documents such as VMware OS Optimization Tool but it’s useful yet. You can download it via this link: https://techsupport.teradici.com/ics/support/DLRedirect.asp?fileNum=143&deptID=15164 You need to create a Teradici account for download it.

Kolibri1 0

Kolibrios – One of smallest OS

This is one of smallest OS over the world and you can use it for learning basics of computer to your children or students. This OS needs to 8 MB RAM and it’s very very small but has most abilities of a modern OS. Also it has a friendly GUI and has some useful applications such as viewers and editors. This OS supports read and write on FAT/FAT16/FAT32 and read NTFS partitions. You can download live and installable image for this link: http://kolibrios.org/en/download See some screen-shots from this OS:    

rdy 01 0

Virtual Machine CPU RDY Alarm – PowerCLI Script

As I know and I have read it in many blogs that DRS is not sensitive to CPU ready time and when your cluster has enough CPU frequency and memory, cluster is balanced. There is a simple solution to resolve the issue or reduce the issue in your environment. Of course, this is not true solution and you need to analyze your platform, calculate your requirements especially CPU cores for your VMs and add more physical cores to by adding more physical servers. Create Alarm At first step, you need to define an alarm in your vCenter for virtual machine CPU ready: Create a user-defined alarm and enter a name as you wish. In Triggers tab, select “VM CPU Ready Time (ms) and define waning and error values and condition length. Default values are fine for most platforms. Just that, click on OK and our job is done. If you have virtual machines with high CPU ready, it will be detected by vCenter and alarm will be generated. Note: Please copy your alarm name and paste it in the below script. Also you can change exception time, if you need to run it after working hours. The Script Further Reading...

Run ESXi Commands Via PowerShell And SSH 1

Run ESXi Commands Via PowerShell And SSH

Some ESXi CLI commands have no alternative in PowerCLI and you have to run the commands on ESXi via SSH or locally. But there is another easier way to run batch commands and get result. You can use PLINK on this regard. Plink is one of Putty components, so you need to have plink.exe on your local drive or any location which to be accessed. Change the below script parameters and run your commands as you like: $User = <User> $Pswd = <Host Password> $hostName = <Host> $plink = <PLink Path> “\plink.exe” $plinkoptions = ” -v -pw $Pswd” $cmd1 = ‘ esxcli vm process list’ $remoteCommand = ‘”‘ + $cmd1 + ‘”‘ $command = “Echo Yes| “+$plink + ” ” + $plinkoptions + ” ” + $User + “@” + $hostName + ” ” + $remoteCommand $result = Invoke-Expression -command $command $result [quotes_and_tips]

Remove MSOCache from VDI template 0

Remove MSOCache from VDI template

If you are going to deploy VDI for your users and you have to install Microsoft Office for the users, you need to keep 1GB free space for the software installation cache files on the virtual machine’s C drive. One gigabyte space is important when you have plan to deploy the VMs as Linked-Clone VMs and it can reduce your storage cost and you can create more VMs. Now, what is solution to remove the files without any impact: At first step, install Office components as you want and take a backup from this folder “C:\MSOCache” on a network shared folder our another drive. Remove the folder from the VM’s C drive. Make an ISO file from the backup folder. You can also rename the folder, it doesn’t matter. Create a symbolic link by MKLINK command and make a “Directory Junction” on C drive, for example: MKLINK /J C:\MSOCahce E:\MSOCache E: is your CD-ROM drive your VM. Then, if you need to modify Office components, you can mount the ISO file and do your modification. Of course, you can make the symbolic link when you need to this. There is another solution but it’s very difficult, you have to change...

PCoIP Configurations – Client Side 1

PCoIP Configurations – Client Side

I have made a registry file based on PCoIP recommendation for apply on all virtual desktops in our company 2 years ago. The settings covers image quality, bandwidth, analog sound channel and USB permission. You can apply the below configuration on your template ad there is no need to apply configuration on Zero Clients: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Teradici\PCoIP\pcoip_admin_defaults] “pcoip.transport_session_priority”=dword:00000001 “pcoip.server_clipboard_state”=dword:00000001 “pcoip.enable_build_to_lossless”=dword:00000000 “pcoip.max_link_rate”=dword:00015f90 “pcoip.mtu_size”=dword:00000514 “pcoip.device_bandwidth_floor”=dword:00002710 “pcoip.enable_audio”=dword:00000001 “pcoip.enable_micin_noise_filter”=dword:00000001 “pcoip.audio_bandwidth_limit”=dword:000001f4 “pcoip.usb_auth_table”=”23XXXXXX” “pcoip.usb_unauth_table”=”2208XXXX” “pcoip.minimum_image_quality”=dword:00000032 “pcoip.maximum_initial_image_quality”=dword:0000005a “pcoip.maximum_frame_rate”=dword:0000000f “pcoip.use_client_img_settings”=dword:00000001 “pcoip.image_cache_size_mb”=dword:0000012c You can change MTU size, sound bandwidth and bandwidth floor regarding to your network bandwidth. Our users are happy with the above configurations and I think, these settings are fine for any LAN environment. You can read VMware KB and VMware Network Optimization for more information and optimize your platform.   [quotes_and_tips]

VMXNET3 – Microsoft Hotfix 0

VMXNET3 – Microsoft Hotfix

Deploying Windows 2008 R2 and Windows 7 templates with vmxnet3 renames the NIC as #2 The above subject is VMware KB 1020078 and I think, you should apply this hotfixes on your templates when you have Windows 7 and Windows 2008. You can download the hotfixes from these links: For Windows 2008 R2 or Windows 7 versions prior to Service Pack 1, install the hotfix described in the Microsoft Knowledge Base article 2344941 before deploying the template. For Windows 2008 R2 or Windows 7 versions post Service Pack 1, install the hotfix described in the Microsoft Knowledge Base article2550978 before deploying the template Read the VMware KB for more information. [quotes_and_tips]

ESXi Command-Line – Part 1 0

ESXi Command-Line – Part 1

ESXi has some commands with esxcfg prefix for doing some advanced tasks on shell. Of course, you can do the tasks by ESXCLI commands but the esxcfg commands are useful. Let’s review some of them: esxcfg-advcfg You can use this command to configure or show system advanced settings in ESXi Note: You can use “esxcli system settings advanced” instead of this command. esxcfg-dumppart When using the ESXi Shell, you can configure your system to save core dumps to a local partition or to use the ESXi Dump Collector and save core dumps to a prespecified local or remote partition. You can use “esxcli coredump partition” instead of this command. esxcfg-info This command using for find some information about hardware and software in ESXi, there is no other command and there is no alternative for this command in ESXCLI. esxcfg-swiscsi and esxcfg-hwiscsi These commands using for configuring iSCSi on ESXi, you can use “esxcli iscsi” instead of these commands. esxcfg-scsidevs  This command is using for configure SCSI devices and also you can use “esxcli storage” instead of this. esxcfg-module This command supports manipulation of the VMkernel loadable modules and device drivers. You can use “system module” command in ESXCLI. esxcfg-mpath supports listing...

False Caution or Critical Temperature HP 0

False Caution or Critical Temperature On HP C-Class Enclosure

If you have C-Class enclosure in your environment and you have plan for upgrading OA firmware to 4.30 (or later) or you have installed OA module with 4.30 (or later) firmware, you need to configure delay time in “Device Power Sequence”. Seems, there is a problem during OA initializing process which OA shows incorrect “Caution” and/or “Critical” temperature. This is confirmed by HP officially and you can check this document for more information: c04655261 Anyway, you can configure the delay time via OA GUI same as the below:  

java net exception 1

Java.net.SocketException: No buffer space available – VMware View Connection Server

I had a problem on some of our View Connection servers, the servers consumed high CPU and memory and View Connection Server service had crashed after some hours. As I checked on View debug logs (VMware View log files location), the issue was related to Java and a bug on Windows 2008 R2/R2 SP1: I found a published Hotfix about the issue on Microsoft support site: Kernel sockets leak on a multiprocessor computer that is running Windows Server 2008 R2 or Windows 7 I suggest that install the hotfix on your current servers and new servers to preventing that on your server because if the server is a security server, your users’ connection will be disconnected.

Optimizing HP BIOS Settings For VMware vSphere 0

Optimizing HP BIOS Settings For VMware vSphere

Achieving best performance on ESXi by HP ProLiant servers needs to change some default configuration on HP RBSU (ROM-Based Setup Utility) or UEFI (Unified Extensible Firmware Interface). Some of the configurations have been mentioned on “Performance Best Practices for. VMware vSphere” but some them not mentioned. You can change the below configuration to achieve best performance on ESXi: Setting Default Recommended Reason No-Execute Page Protection (AMD)System Options -> Processor Options -> No-Execute Page Protection   No-Execute Memory Protection (Intel) System Options -> Processor Options -> No-Execute Memory Protection   Enabled Enabled It’s recommended by HP and the features protects systems against malicious code and viruses. Intel Virtualization TechnologySystem Options -> Processor Options -> Intel Virtualization Technology   AMD V (AMD Virtualization) System Options -> Processor Options -> AMD V (AMD Virtualization) Enabled Enabled When enabled, a hypervisor supporting this feature can use extra hardware capabilities provided by AMD/Intel. Intel Hyperthreading OptionsSystem Options -> Processor Options -> Intel Hyperthreading Options Enabled Enabled Intel Hyperthreading Options is a toggle setting that allows Intel Hyperthreading Technology to be enabled or disabled. Intel Hyperthreading delivers two logical processors that can execute multiple tasks simultaneously using the shared hardware resources of a single processor core. Enhanced...

HP ASR – Automatic Server Recovery 0

HP ASR – Automatic Server Recovery

How much do you know about HP ASR? How it works? The ASR feature is a hardware-based timer. If a true hardware failure occurs, the Health Monitor might not be called, but the server will be reset as if the power switch were pressed. The ProLiant ROM code may log an event to the IML when the server reboots. ASR Timeout The ASR Timeout option sets a timeout limit for resetting a server that is not responding. When the server has not responded in the selected amount of time, the server automatically resets. The available time increments are: 10 minutes 15 minutes 20 minutes 30 minutes 5 minutes This ASR feature is implemented using a “heartbeat ” timer that continually counts down. The Health Monitor frequently reloads the counter to prevent it from counting down to zero. If the ASR counts down to zero, it is assumed that the operating system has locked up and the system will automatically attempt to reboot. Events which may contribute to the operating system locking up include: A peripheral device − such as a Peripheral Component Interconnect Specification (PCI) adapter − that generates numerous spurious interrupts when it fails. A high priority software application...