[Linux-cluster] XEN VM Cluster
Ray Charles
raycharles_man at yahoo.com
Wed Feb 6 03:55:58 UTC 2008
Hi Marcos,
Here are 2 links I found usefull when doing what
you're trying.
http://www.linux.com/articles/55773
http://sources.redhat.com/cluster/wiki/VMClusterCookbook
I would also say be sure to give some attenttion to
the multicast messages between the hosts, make sure
that multicast is passing throught the switch. Seemed
to be a gotcha for me, and there's docs on that part
floating around.
-Ray
--- Marcos Ferreira da Silva
<marcos at digitaltecnologia.info> wrote:
> I'm trying to do a two node cluster.
> I want start a virtual machine at vserver1 and
> reallocate it to vserver2 if node 1 stop.
> The VM is installed in a shared HP storage.
> This access is made with two Emulex Corporation
> Zephyr-X LightPulse Fibre Channel Host Adapter.
> If I start it manually which xm create its ok in
> both servers.
> The partition is a LVM in /dev/VG2/LV01.
> I install virtual machine directly in this
> partition.
> The names vserver1 e vserv2 are in the /etc/hosts.
> The cluster start but vserver2 join and after appear
> "Member Left".
>
> I think that my problem is in fence device.
> I don't have any equipament.
> I have only the servers, storage, NICs and Emulex.
>
> I didn't find any manual for this situation.
>
>
> +--- SWITCH ---+
> | |
> | |
> +----------+ +----------+
> | XEN | | XEN |
> | maq1 | | |
> | | | |
> | vserver1 | | vserver2 |
> +----------+ +----------+
> | |
> | |
> +----------------+
> | HP Storage |
> +----------------+
>
>
>
> My cluster.conf is:
>
> <?xml version="1.0"?>
> <cluster alias="cluster1" config_version="13"
> name="cluster1">
> <fence_daemon clean_start="0"
> post_fail_delay="0" post_join_delay="3"/>
> <fence_xvmd family="ipv4"
> key_file="/etc/cluster/fence_xvm.key"/>
> <clusternodes>
> <clusternode
> name="vserver1.teste.br" nodeid="1" votes="1">
> <fence>
> <method name="1">
> <device
> domain="teste.br" name="maq1"/>
> </method>
> </fence>
> </clusternode>
> <clusternode
> name="vserver2.teste.br" nodeid="2" votes="1">
> <fence/>
> </clusternode>
> </clusternodes>
> <cman expected_votes="1" two_node="1"/>
> <fencedevices>
> <fencedevice agent="fence_xvm"
> name="maq1" auth="none"/>
> </fencedevices>
> <rm>
> <failoverdomains>
> <failoverdomain
> name="fodMaq1" ordered="1" restricted="1">
> <failoverdomainnode
> name="vserver1.teste.br" priority="1"/>
> <failoverdomainnode
> name="vserver2.teste.br" priority="2"/>
> </failoverdomain>
> </failoverdomains>
> <resources/>
> <vm autostart="1" domain="fodMaq1"
> exclusive="0" name="maq1" path="/etc/xen"
> recovery="relocate"/>
> </rm>
> </cluster>
>
>
> ------------------------------
> Marcos Ferreira da Silva
> Digital Tecnologia
> Uberlandia-MG
> (34) 9154-0150 / 3226-2534
>
>
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
>
https://www.redhat.com/mailman/listinfo/linux-cluster
>
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
More information about the Linux-cluster
mailing list