[Linux-cluster] Linux Cluster + KVM + LVM2

Marc Caubet mcaubet at pic.es
Wed Jul 20 09:29:41 UTC 2011


Hi,

thanks a lot for your reply.

You need to setup a cluster with fencing, which will let you then use
> clustered LVM, clvmd, which in turn uses the distributed lock manager,
> dlm. This will allow for the same LVs to be seen and used across cluster
> nodes.
>

Ok. I will try this.


>
> Then you will simply add the VMs as resources to rgmanager, which uses
> (and sits on top of) corosync, which is itself the core of the cluster.
>

So each virtual machine will be a resource, is it right?


>
> I'm guessing that you are using RHEL 6, so this may not map perfectly,
> but I described how to build a similar Xen-based HA VM cluster on EL5.
> The main differences are; Corosync instead of OpenAIS (changes nothing,
> configuration wise), ignore DRBD as you have a proper SAN and replace
> Xen with KVM. The small GFS2 partition is still recommended for central
> storage of the VM definitions (needed for migration and recovery).
> However, if you don't have a GFS2 license, you can manually keep the
> configs in sync on matching local directories on the nodes.
>
> See if this helps at all:
>
> http://wiki.alteeve.com/index.php/Red_Hat_Cluster_Service_2_Tutorial
>

Actually we are using SL6 but we probably will migrate to RHEL6 if this
environment will be used as production infrastructure in the future. So we
will consider GFS2.

Thanks a lot for your answer.

Marc



>
> Best of luck. :)
>
> --
> Digimer
> E-Mail:              digimer at alteeve.com
> Freenode handle:     digimer
> Papers and Projects: http://alteeve.com
> Node Assassin:       http://nodeassassin.org
> "At what point did we forget that the Space Shuttle was, essentially,
> a program that strapped human beings to an explosion and tried to stab
> through the sky with fire and math?"
>




-- 
Marc Caubet Serrabou
PIC (Port d'Informació Científica)
Campus UAB, Edificio D
E-08193 Bellaterra, Barcelona
Tel: +34 93 581 33 22
Fax: +34 93 581 41 10
http://www.pic.es
Avis - Aviso - Legal Notice: http://www.ifae.es/legal.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20110720/abf60f23/attachment.htm>


More information about the Linux-cluster mailing list