Category: Virtualization

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.

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...

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]

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 Integrated Lights-Out 3 (iLO 3) – ESXi VM’s Showing 100% CPU Usage While Host CPU is Low 0

HP Integrated Lights-Out 3 (iLO 3) – ESXi VM’s Showing 100% CPU Usage While Host CPU is Low

If you have read HP or VMware documents about power management on ProLiant servers, both have suggested that configure power management to Static High Performance. I did it on all my ESXi servers and everything was good. But I have performance problem on some of G7 servers, I have checked all factors but I couldn’t find any reason about it. Then I found an article from HP about power management in ESXi and iLO3 (G7 servers). Seems, Static High Performance is root cause of performance issue on the servers with iLO3. This is related to power capping problem on iLO3. Based on the article suggestion, you should configure power management to OS control on the servers to preventing high CPU ready on virtual machines. You can see the instruction on the below link: https://h20566.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=5178763&docId=mmr_kc-0105395&docLocale=en_US

Loading RDS Applications on Tera2 Zero Client 0

Loading RDS Applications on Tera2 Zero Client

Firmware 4.8 is released by Teradici for Tera2 Zero clients and new firmware has new feature for RDS applications. Users be able to load RDS applications on zero client and there is no need to load any OS. This feature very useful for using the devices in some public locations such as libraries, for example you can install your book finder application on a RDS server and add it to your connection server, then your subscribers can access to this app without loading that via any OS. You can download the firmware via Teradici support site. But as I mentioned before, this firmware is released for Tera2 generation.

VMware View Agent Disabled 0

VMware View Agent Disabled

When you have cloned a virtual machine from another and customization is failed or machine ID is not changed during customization, both virtual machines trying to communicate with connection server and you face with “Agent Disabled” status on View manager portal because View server ignores conflict messages. You need to remove the below key from the registry after removing View Agent: HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware VDM\ Then reinstall View Agent on the machine. [quotes_and_tips]  

Final 1

Add existing virtual desktops to “Automated Pool” in VMware View manually

VMware View offers two basic pools for create and manage virtual desktops, “Automated Pool” and “Manual Pool”. Each of them has own benefits. “Automated Pool” has better management features and “Manual Pool” has more flexibility. You can create virtual machines within a “Automated Pool” and the virtual machines will be created based on a pattern or manual name from a template. In other hand, you able to add virtual desktops that created from different templates, with different name pattern and from different vCenter folders to a “Manual Pool”.Some times, you have to remove some virtual machines from a pool or you have to add an existing virtual machines to a “Automated Pool”, but you can’t replace deleted virtual machines with new virtual machines with same name on a “Automated Pool” with specific naming pattern and you can’t add any existing virtual machines from vCenter to that. There is a solution that you can convert your “Automated Pool” to a “Manual Pool” temporary and add your virtual machines to that. Then you can convert that to “Automated Pool” again. In this case, I’ve created an automated pool with pattern naming (Test) and one VM is created in the pool (VM-1) ....

Windows7 Zero Client 1 3

View Client Device Detector

Some times, you need to know some things about devices that your users are connected to their virtual machines by them. For example, you need to Zero Client IP address for changing some configurations on that or need to its MAC address for changing some ACL on your switches and router. Some information storing in virtual machine registry under “Current User” registry hive when VMware View session is established. You can check them in virtual machine registry directly and use them for the above situations or other situations. I’ve developed an application that it can do it for you. VCD (View Client Device Detector) can retrieve the information from registry easily and even, your users can use that and send needed information to you by use “Copy to clipboard” feature.The application will run automatically on start-up and you can find its notify icon beside of Windows clock. It’s compatible with 32/64 bit of any Windows just you need to .Net Framework 2.0 and above. *Windows XP (Figure 1) – Windows 7 (Figure 2) Click to download I’ve developed that in 2012.

VMware View 5.3 Features 0

VMware View 5.3 Features

Finally, VMware Horizon View 5.3 is available and you can download that from this link. Some new features are added to this product by VMware: 3D graphics with virtual dedicated graphics acceleration (vDGA) Improved Real-Time Audio-Video experience and performance Enhancement to mobility features in HTML5 and Unity Touch Windows 8.1 support VMware® ThinApp® 5.0 Combining View with VMware Horizon Mirage™ 4.3 Reduce storage with VMware Virtual San™ (VSAN) beta Support for Windows Server 2008 for virtual desktops View Agent Direct Connection (VADC) All of the features are awesome. You can deliver better experiences to your users by new graphic acceleration even for gaming, reduce your application management by ThinApp 5.0 that this new version supporting 64 bit applications. Use your local disk as SAN storage by vSAN and reduce cost. vSAN is introducde with vSphere 5.5. New plugin is very useful when you need to use a virtual desktop as dashboard, you can access to disjoined virtual desktop or login to more than one virtual desktops by that same as RDP sessions. I recommend, use this new version of View, if you have a plan for deploy virtual desktops. in new site

Using Windows Server 2008 R2 as desktop operating system in View 5.3 0

Using Windows Server 2008 R2 as desktop operating system in View 5.3

Using Windows Server 2008 R2 as a desktop is a new feature in VMware Horizon View 5.3. I thought that the new feature is like Teradici Arch but It should be differrent. You able to connect to your virtual desktops in a terminal service pool via PCoIP by Teradici Arch. But it seems, you can connect to a Windows Server via PCoIP in new version of View. You need to enable that manually (I’ve read a same article on myvirtualcloud.net about hacking in VMware View 5.x ) on your View server, also you don’t have some features: Smart card SSO on Windows Server 2008 R2 Virtual printing (ThinPrint) Multimedia redirection (MMR) Unified Communications (UC) APIs Microsoft Lync 2013 SDK View Persona Management vCenter Operations Manager functionality Local-mode desktops As I know, View Agent can’t work in multi session mode, so I think, it’s another feature that not supported and you can not connect to a Window Server in multi session mode by View like RDP session.

VMware products and their virtual hardware version 0

VMware products and their virtual hardware version

This table lists VMware products and their virtual hardware version: Virtual Hardware Version Products 10 ESXi 5.5 Fusion 6.x Workstation 10.x Player 6.x 9 ESXi 5.1 Fusion 5.x Workstation 9.x Player 5.x 8 ESXi 5.0 Fusion 4.x Workstation 8.x Player 4.x 7 ESXi/ESX 4.x Fusion 3.x Fusion 2.x Workstation 7.x Workstation 6.5.x Player 3.x Server 2.x 6 Workstation 6.0.x 4 ACE 2.x ESX 3.x Fusion 1.x Player 2.x 3 and 4 ACE 1.x Lab Manager 2.x Player 1.x Server 1.x Workstation 5.x Workstation 4.x 3 ESX 2.x GSX Server 3.x Consider this information about virtual hardware versions when dealing with related problems: A VMware product cannot power on a virtual machine with a virtual hardware version that is higher than what it supports.Note: If a virtual machine is created on a VMware product that supports a given virtual hardware version and is then migrated to a VMware product that does not support this level of virtual hardware, it does not power on. Consult the chart above. Virtual machines created by VMware products and versions located higher up in the chart cannot be powered on by products lower on the chart. A VMware product can power on a virtual machine with...

sso 5 0

Viewing the services registered with Single Sign-On

To obtain a list of services that are currently registered to SSO: Log into the vCenter Server as an administrator. Open a Windows Command Prompt. Navigate to the %Program Files%\VMware\Infrastructure\SSOServer\ssolscli directory. Note: The default directory path to the ssolscli.cmd is C:\Program Files\VMware\Infrastructure\SSOServer\ssolscli. Run this command: SET JAVA_HOME=C:\Program Files\VMware\Infrastructure\jre Note: Verify the path first. The listed path is default, but this can be C:\Program Files\VMware\Infrastructure\jre1 after multiple installs. To create a text file with a list of the services registered with SSO, run this command: ssolscli.cmd listServices https://FQDN:7444/lookupservice/sdk > c:\sso_services.txt To open the text file that contains the list of registered services, run this command:notepad c:\sso_services.txt You can see an example of the file: