[ClusterLabs] design of a two-node cluster

Digimer lists at alteeve.ca
Tue Dec 8 09:39:04 EST 2015

On 08/12/15 03:13 AM, 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 ?
> Bernd

If your VM images are 'raw', then you should be able to just dd the file
to the LV directly. If they're qcow2 (or something else), convert it to
raw first.


Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?

More information about the Users mailing list