1. Provision identically sized LVM logical volumes on both physical hosts.lvm lvcreate ....
  2. Add another stanza to the drbd configuration on both physical hosts, creating a new DRBD device./etc/drbd.conf.
  3. Force one physical host to be the primary DRBD host for this new device.drbdadm -- --do-what-I-say primary device name.
  4. Wait for the devices to become consistant (check /proc/drbd).
  5. Make a filesystem.mkfs -t ext3 /dev/drbdx.
  6. Make a mountpoint and mount the drbdx device onto it.
  7. Create the virtual machine using Xen or VMware, ensuring all the configuration and virtual disk files and located within the new drbd device.
  8. Install the virtual machine operating system.
  9. Shutdown the virtual machine.
  10. Unmount the drbdx device and remove the forced DRBD primary status. drbdadm -- --do-what-I-say secondary device name.
  11. Add another stanza to the heartbeat configuration on both physical hosts./etc/heartbeat/haresources.

My e-mail address, hopefully in a spam defeating format
6 March 2006.