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=
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=
/opt/xensource/libexec/xen-cmdline –set-xen dom0_mem=4096M,max:4096M
http://linux.ardynet.com/ipv6setup.php
/usr/lib/xen/bin/host-cpu-tune
iscsiadm -m discovery -t st -p 10.0.0.1 -I iser iscsiadm -m node -T iqn.2010-10.com.example:storage-1000 -l
List all VDIs
xe vdi-list
Forget all VDIs of the VM that cannot start.
xe vdi-forget uuid=
Rescan SR, and the true VDIs will be displayed. Reattach these to the VM and then restart.
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
zip -r yourjarfilename.jar *
Now we need to sign the jar. (Make sure you have the latest JDK installed)
To do this we create a key:
/usr/java/jdk1.7.0_21/bin/keytool -genkey -alias xenvncviewer -validity 365
Follow the bouncing ball filling in all the details.
Then sign your JAR file with the following:
/usr/java/jdk1.7.0_21/bin/jarsigner xenvncviewer.jar xenvncviewer
That is it!
http://myvirtualfunction.net/archives/128
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
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
Recent Comments