I've already read this document, with this method it's working.. they have
two VM and each node can access these VM to start it.. they are on a iscsi
"a fake SAN"
in My question I was trying to see if it's possible to have two different VM
on each node, with the same name.. VM01 and VM02 on node1 VM01 and VM02 on
node2 the ressource call the file /etc/xen/vm/vm01 the file exist on each
node.. I don't know if you understand what I'm trying to explain... I'll try
to do some poor ascii art ;)
VM01 ( hostname qclvmsles01 ) xen config file /etc/xen/vm/vm01
node1 --<
VM02 ( hostname qclvmsles02 ) xen config file /etc/xen/vm/vm02
VM01 ( hostname qclvmsles03 ) xen config file
/etc/xen/vm/vm01
node2 --<
VM02 ( hostname qclvmsles04 ) xen config file
/etc/xen/vm/vm02
I added a ressource ocf/heartbeat Xen, with the parameter
xm-file=/etc/xen/vm/vm01
and a location constraints "#uname eq node1"
Then when I start my ressource it start the vm01 (host-qclvmsles01) on
node1. If node1 crash the ressource start vm01 (host->qclvmsles03) on node2.
The problem appear when node1 comeback online.. the vm01 shutdown on node2
but nothing happend on node1.. If I cleanup the ressource via the gui the
VM01 restart on node1...
I don't know if my explanation is clear... I hope so.. Maybe it will be
easier to add 4 different ressource to restrain 2 vm by node and tell
heartbeat if vm01 failed start vm03 ?
Thanks for ur help! and sorry for my bad english ;)
On 5/3/07, Sander van Vugt <[EMAIL PROTECTED]> wrote:
Have a look at this: http://www.novell.com/linux/technical_library/has.pdf
,
I think that document answers your questions.
Regards,
Sander
> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] [mailto:linux-ha-
> [EMAIL PROTECTED] Namens Rene Purcell
> Verzonden: woensdag 2 mei 2007 21:43
> Aan: [email protected]
> Onderwerp: [Linux-HA] Xen-HA on SLES x86_64
>
> Hi all, just want to know if this kind of setup is possible with
> heartbeat.
>
> - There's two nodes. ( node1 and node2 )
> - On each nodes there's two DomU ( vm01 on node 1 and vm01 on node2 )
they
> all have a different hostname but the "xen" name is the same and they
have
> the same ip address.
>
> I want to create a ressource named VM01 with ocf/heartbeat Xen module..
> the
> xmfile parameter point to /etc/xen/vm/vm01 this file exist on each node
> but
> it's not the same file. When node1 goes down I want node2 to start VM01,
> and
> when node1 comeback online I would like to see my VM01 shutdown on node2
> and
> started on node1.
>
> We already did that kind of setup with one VM in a file shared on a NFS,
> and
> everything was working great. Now with this setup I can't get my VM back
> to
> his original node... it just shutdown on the node2 then nothing happend
on
> node1 ...
>
>
>
> --
> René Jr Purcell
> Chargé de projet, sécurité et sytèmes
> Techno Centre Logiciels Libres, http://www.tc2l.ca/
> Téléphone : (418) 681-2929 #124
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
--
René Jr Purcell
Chargé de projet, sécurité et sytèmes
Techno Centre Logiciels Libres, http://www.tc2l.ca/
Téléphone : (418) 681-2929 #124
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems