[Linux-cluster] Info on vm definitions and options in stable3

Gianluca Cecchi gianluca.cecchi at gmail.com
Thu Mar 3 16:16:06 UTC 2011

in stable 3 I can have this kind of config for a KVM virtual machine
to manage live migration:

   <vm .....>

It works ok, but I would like to know the possible parameters I can set.
At http://sources.redhat.com/cluster/wiki/VirtualMachineBehaviors I
can see this piece

"..Most of the behaviors are common with normal services.."
with a reference to start, stop, status monitoring, relocation, recovery

Where could I find a complete list?
For example are failover domains usable inside the line?
Or autostart option? I know how to manage autostart in a standalone
virt-manager environment, but when in a cluster of hosts?

Or dependency lines such as

< vm name="vm1" ... >
   <vm name="vm2" ... />

to power on vm2 only after power on of vm1?

About "transient domain support":
In the stable3 implementation of rhel6 (or in general in stable 3 if
it applies generally) a line such as this:

<vm name="myvm" use_virsh="1" xmlfile="/etc/libvirt/qemu/myvm.xml"/>

where /etc/libvirt/qemu/myvm.xm is not on a shared path, is it
supposed that if I have myvm on node 1 and run

clusvcadm -M vm:myvm -m node2

the file is deleted from node 1 and created in node 2 automatically or not?

Thanks in advance,

More information about the Linux-cluster mailing list