[ClusterLabs] design of a two-node cluster

Vladislav Bogdanov bubble at hoster-ok.com
Tue Dec 8 07:31:04 EST 2015

08.12.2015 11:13, Lentes, Bernd wrote:
> Digimer wrote:
>>>>> Should I install all vm's in one partition or every vm in a seperate
>>>>> partition ? The advantage of one vm per partition is that I don't
>>>>> need a cluster fs, right ?
>>>> I would put each VM on a dedicated LV and not have an FS between
>> the
>>>> VM and the host. The question then becomes; What is the PV? I use
>>>> clustered LVM to make sure all nodes are in sync, LVM-wise.
>>> Is this the setup you are running (without fs) ?
>> Yes, we use DRBD to replicate the storage and use the /dev/drbdX
>> device as the clustered LVM PV. We have one VG for the space (could
>> add a new DRBD resource later if needed...) and then create a dedicated
>> LV per VM.
>> We have, as I mentioned, one small LV formatted with gfs2 where we
>> store the VM's XML files (so that any change made to a VM is
>> immediately available to all nodes.
> How can i migrate my current vm's ? They are stored in raw files (one or
> two).
> How do I transfer them to a naked lv ?

qemu-img (or possibly just dd because both formats are raw)

> Bernd
> Helmholtz Zentrum Muenchen
> Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
> Ingolstaedter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
> Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen
> Registergericht: Amtsgericht Muenchen HRB 6466
> USt-IdNr: DE 129521671
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

More information about the Users mailing list