13 Jun 2011

XenClient: unlock a locked VM

If a XenClient VM which is registered to a synchronizer couln’t contact the synchronizer for a while it will be marked as “locked” on the XenClient. The default lease time for “offline” VMs is 14 days.

The only way is to manually override the state using the following procedure.

Open a XenClient shell by pressing Ctrl+Shift+T

UUID=`xec-vm --name <locked_vm_name> get uuid`
db-write /vm/${UUID}/backend/state/operation READY
Press Ctrl + q to refresh Citrix Receiver for XenClient

The lease time can be configured while assigning  a image to a user within the synchronizer management interface