[Linux-ha-dev] Re: [xenpreview-dev] Xen and Shared storage / SAN

Alan Robertson alanr at unix.sh
Mon Apr 24 18:56:28 MDT 2006


Robert Wipfel wrote:
> 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. 


Robert:

Why don't you put this up on the web site?

We can even add a Xen link to the quick links on the right.


-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce



More information about the xenpreview-dev mailing list