Category Archives: Virtualization

The VDI is still in use. Control Domain

Find the offending VDI

xe vdi-list

Find the VBD

xe vbd-list vdi-uuid=

unplug the vbd

xe vbd-unplug uuid=

destroy the VBD

xe vbd-destroy uuid=



set memory dom0

/opt/xensource/libexec/xen-cmdline –set-xen dom0_mem=4096M,max:4096M

dhcpv6 config

vCPU for Xenserver


iser target login

The VDI is unavailable.

List all VDIs

Forget all VDIs of the VM that cannot start.

Rescan SR, and the true VDIs will be displayed. Reattach these to the VM and then restart.

Unsign, resign and update .JAR manfests

A .jar file is simply a .zip with a funky extension. Rename the .jar to .zip and unzip the file.

CD into the META-INF dir and delete everything EXCEPT the manifest file.

Edit the Manifest file and remove all the SHA hashes (probably not necessary)

Once this has been done, rezip the file

Now we need to sign the jar. (Make sure you have the latest JDK installed)

To do this we create a key:

Follow the bouncing ball filling in all the details.

Then sign your JAR file with the following:

That is it!

vyatta – xenserver

Change Pool Master

List all hosts

xe host-list

Promote slave

xe pool-designate-new-master host-uuid=

If the pool master is down… We need to promote a slave forcibly to master by….

xe pool-emergency-transition-to-master

xe pool-recover-slaves

More Info
and More Info

Xenserver Pool slave loses management interface

Can ping XenServer Master, and can Ping Management interface – however XenAPI appears down?

pool-emergency-reset-master master-address=

This will reset the management interface and should bring back up networking for dom0