Hi,

Howto use Heartbeat and EVMS (in dom0) to create cluster aware logical
volumes for hosting Xen domUs...

Heartbeat 2.0.4 or later
EVMS 2.5.5 or later
hb2-1.0.0.so is the EVMS plugin for Heartbeat2

Add these lines to your /etc/ha.d/ha.cf
    respawn root /sbin/evmsd
    apiauth evms uid=hacluster,root

Start Heartbeat2 and it'll start the EVMS daemon on each node.

You can verify the cluster aware behavior of EVMS using e.g.
evmsgui->Settings->Node Administered...

If you see all of your cluster nodes listed, then EVMS and Heartbeat
and interacting properly.

You can use EVMS to create a logical volume per each Xen domU OS image
etc. E.g. perhaps you want to create an 10G image of hda corresponding
to a Xen guest, you might create /dev/evms/MyVirtualMachineHda, and copy
the guest OS image into that logical volume. The logical volume will
have the same (persistent) device name across all cluster nodes, which
means the corresponding Xen control file will be location transparent
too - i.e. it can reference /dev/evms/MyVirtualMachineHda as the path
for domU's hda, on all nodes. 

Hth,
Robert

>>>>>On Mon, Apr 17, 2006 at  9:27 AM, in message
>> 
>> <[EMAIL PROTECTED]>, Fraser Campbell
>> <[EMAIL PROTECTED]> wrote: 
>> 
>>>Hi,
>>>
>>>We want to use SAN for storing Xen guests.  We want to use physical

>>>devices (volumes in LVM speak) not loopback files since we expect 
>>>performance on an LV will be significantly better than performance
of
>> 
>> a 
>> 
>>>loopback mount on top of a clustered filesystem (OCFS2 for
example).
>>>
>>>Does anyone have any documentation on how to set up the EVMS hb2
>> 
>> plugin 
>> 
>>>recently added by Novell (evms-  ha-  2.5.5)?  We are hoping that
EVMS
>> 
>> with 
>> 
>>>hb2 or ha plugins can be used to effectively share SAN slices
across
>> 
>> a 
>> 
>>>cluster of Xen machines.
>>>
>>>If I do manage to get this going I will be happy to document it but
>> 
>> so 
>> 
>>>far I can find *zero* documentation.
>>>
>>>Thanks,
>>>Fraser
>>>_______________________________________________
>>>xenpreview-  dev mailing list
>>>xenpreview-  [EMAIL PROTECTED]
>>>http://forge.novell.com/mailman/listinfo/xenpreview-  dev

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to