On Fri, Oct 03, 2008 at 05:32:02PM -0500, Paras pradhan wrote: > On Fri, Oct 3, 2008 at 9:11 AM, Dejan Muhamedagic <[EMAIL PROTECTED]>wrote: > > > Hi, > > > > On Thu, Oct 02, 2008 at 04:55:03PM -0500, Paras pradhan wrote: > > > Hey all: > > > > > > It seems like my question is related to ha, drbd and xen . Hence posting > > to > > > all of them at once. > > > > Not sure if that's a good idea. > > > > > I have two nodes setup with xen 3.0.3, drbd82, heartbeat 2 under centos > > > 5.2. As I was testing this cluster for high availibility, I noticed some > > > issues > > > > > > > > > 1) domA is running under node1. when I manually shutdown node 1, > > sometimes > > > it is migrated automatically to node2 and sometimes it is restarted in > > > node2. Why is this happening? > > > > How can it be restarted on node2 if it was running on node1? > > > Yes. I don't know what is going on. It should be migrated rather > than relocating or restarting on the other node when I do manual > shutdown/restart.
Sorry, I still don't understand what you are trying to describe. > > > 2) domA is running under node1. when I pull off the network cable, domA > > is > > > restarted in node 2 with no problem. But when the node1 comes back, domA > > is > > > not migrated to node1 and if i do 'xm list' under node1, I see > > > "migrating-domain". This is complicating everything. > > > > Indeed. Did you take a look at the logs? > > It seems when I pull off the cable, the domains are still running under > node1. And when I plug back the cable, domain guests are running to be on > both nodes. Any solution? That's called split brain and the only solution is fencing, i.e. stonith. And try to make sure that that happens as seldom as possible. Thanks, Dejan > > > My ha.cf file looks: > > > > > > > > > logfacility local0 > > > udpport 694 > > > keepalive 1 > > > deadtime 5 > > > warntime 3 > > > initdead 10 > > > ucast eth0 10.42.40.198 > > > ucast eth0 10.42.40.26 > > > auto_failback on > > > watchdog /dev/watchdog > > > debugfile /var/log/ha-debug > > > node ha1.domain.local > > > node ha2.domain.local > > > > Do you run v1/haresources or v2/CIB style configuration? > > > V1 Style. > > > > > > > > > > > > > Help ! > > > > > > Thanks in advance > > > Paras. > > > _______________________________________________ > > > 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 > > > > > > Thanks > Paras. > _______________________________________________ > 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
