Monday, October 14, 2013

Reload a VMs Configuration file in ESXi while the VM is still running

Here is a nice little CLi command that you can use to reload the configuration file of a VM into the ESXi hypervisor while the VM is running.

  1. SSH to the host and determine the VMID for the affected virtual machine using the command:

    vim-cmd vmsvc/getallvms | grep -i VMNAME
  2. Use the VMID from the command in step 1 to reload the configuration on the host by running the command:

    vim-cmd vmsvc/reload VMID

Wednesday, July 24, 2013

PCoIP Session Timoeout on Zero Clients

So I have started setting up Wyse P25 Zero-clients in kiosk mode, I left the Single-Sign-on option turned off to allow any user to login to the VDI.

Shortly after setting up my first 10 my View Connection Broker started filling up with Warnings similar to:

" The pending session on machine X for user Y has expired "

Turns out there is a default PCoIP session ticket timeout of 15 minutes. The following registry key can be added to the virtual desktop to modify the timeout limit.

Browse to the following registry hive:

HKLM\SOFTWARE\VMware, Inc.\VMware VMD\Agent\Configuration

Add a new DWORD entry called "VdmConnectionTicketTimeout"

Setting a Value of 8000 will mean the timeout is approx. 24 hours. (adjust as you need)

VMware View Agent Installation fails

If you are perfoming an upgrade or uninstall of the VMware View Agent on a VM and the installer fails with the message that the install was interrupted you can correct this problem by going into the services on teh VM and setting the VMware View Agent and VMware View Guest Composer services to "disbaled" then rebooting.

Restart your install or uninstall and the problem will should be gone.