Archive

Posts Tagged ‘vm’

XenServer: Hung VM

I’ve experieneced several instances where a VM appears to hang and is non-repsonsive, not only at the console level, but also to the XenServer Hypervisor and XenCenter. Attempts to force shutdown the server using xe vm-reboot or xe vm-shutdown fail with the error “Another operation involving the object is currently in progress class: VM”.

This has worked consistently to recover this VM.

1 – “xe vm-list” to get the uuid of the VM that is hung
2 – “list_domains” to list the domain uuid’s so you can determine the domain # of the VM above by matching the uuids from this output with the uuid for your VM from the previous command.
3 – “/opt/xensource/debug/destroy_domain -domid XX” where XX is the domain number from the previous command
4 – “xe vm-reboot uuid=XXXX –force” where XXXX is the uuid from the first vm-list command for your VM.

Advertisements

Microsoft Licensing and Virtualization

Just a reminder that when performing p2v from a server which uses OEM licensing, it will violate the EULA to move that to new hardware. So we need to ensure that during the proposal phase we’re purchasing a open license for the server we’re virtualizing. It many cases, after a p2v, during the initial boot up, if it was OEM licensing, it will force an immediate activation with no grace period. Attempts to activate online or automated phone system will fail. You must talk to an agent which may or may not let you activate the OEM software on different hardware.

You can re-enter the product key, and it will cause a new activation id to be generated which will work with an agent most of the time.  But again, this still technically violates OEM EULA. Also know that OEM media will not accept open license keys, only OEM keys.

One other option exists as well for OEM. If you purchased your OEM version of software within the last 90 days, you can simply purchase an Open License Software Assurance (without license) which is typically around 30% of full license cost, and it will effectively convert your OEM license to a standard Open License.