tips setting up DRBD and hearbeat to create high-availability virtual machines

scar scar at drigon.com
Sun Jun 6 22:27:39 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

hey list,

i am pretty green to setting up linux servers but, it's what i've fallen
into at the moment.  i really like ubuntu-desktop and it looks like
ubuntu-server has everything we need, so i jumped right in.

we have two identical, physical servers with identical hardware.  i
wanted to set them up with several virtual machines (www, ftp, mail,
etc.) and then use DRBD and Heartbeat to make the VM's highly available.

i have already installed ubuntu-server onto both machines separately,
using similar settings and partitioning.  i tasked both with 'openssh
server' and 'virtual machine host' for now.  i created a RAID-1 set
using md and allocated most of it to LVM.  the rest of the free space on
the volume group i was going to use for the various VM's.  (this is
still the beginning, so i am willing to redo any of that, given there is
good enough reason.)

so, what's next?  do i provision out my VM's on server #1 and then setup
DRBD to mirror those partitions onto server #2?  i understand from the
server manual that DRBD can be used to mirror a partition, but there are
probably more intricacies i need to know about if that partition
(logical volume, in this case) contains a virtual machine, no?

thanks.

-----BEGIN PGP SIGNATURE-----

iEYEAREIAAYFAkwMINsACgkQXhfCJNu98qAquACeNEB5A4KfdSkGTz6yX+thVAP8
nZkAn2tZ9OLMHc/zNugAax9M+S5vg9ox
=OKE4
-----END PGP SIGNATURE-----





More information about the ubuntu-server mailing list