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

2010-06-18 Thread Paul Elliott
Hi scar,

On 14/06/10 04:31, scar wrote:
 can anyone comment on any extra care or knowledge that may be needed to
 cluster virtual machines, or should it not be any different than
 clustering 'regular' partitions?

It might be worth having a look at Ganeti, it sounds exactly like the
solution you're looking for, although I haven't tried it myself yet:

http://www.lancealbertson.com/2010/05/creating-a-scalable-virtualization-cluster-with-ganeti/

-- 
Paul Elliott, UNIX Systems Administrator
Computing Service, University of York


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


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

2010-06-13 Thread scar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Ante Karamatić @ 06/06/2010 08:00 PM:
 On 07.06.2010 00:27, scar wrote:
 
 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.
 
 You can't use heartbeat as a cluster resource manager any more. You 
 should use pacemaker or redhat-cluster-suite for that. Tutorial for 
 pacemaker:
 
 https://wiki.ubuntu.com/ClusterStack/LucidTesting
 
 These examples does't cover managing VMs with pacemaker, but they will 
 get you started with drbd.

thanks so much!  i will get DRBD set up with pacemaker, instead.

can anyone comment on any extra care or knowledge that may be needed to
cluster virtual machines, or should it not be any different than
clustering 'regular' partitions?

-BEGIN PGP SIGNATURE-

iEYEAREIAAYFAkwVonoACgkQXhfCJNu98qAtjwCghm4Ansh3tvjueV15X8x9m70H
OD8AoL1tPuvn4inobavS4J/gOHYfABkO
=styG
-END PGP SIGNATURE-


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

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

2010-06-06 Thread scar
-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-


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


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

2010-06-06 Thread Ante Karamatić
On 07.06.2010 00:27, scar wrote:

 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.

You can't use heartbeat as a cluster resource manager any more. You 
should use pacemaker or redhat-cluster-suite for that. Tutorial for 
pacemaker:

https://wiki.ubuntu.com/ClusterStack/LucidTesting

These examples does't cover managing VMs with pacemaker, but they will 
get you started with drbd.

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam