On Fri, Dec 7, 2012 at 5:07 AM, Felipe Gutierrez <[email protected]> wrote: > Thanks for the reply Andrew, > > Acctualy I am strugling with my system failover. > When I configure crm respawn at ha.cf file, my fail over doesn't work > anymore. I believe it is because the heartbeat use scripts to migrate Xen > virtual machines. > > My question is: > Do I need to configure crm respawn to use pacemaker?
Yes. Where are you configuring resources? haresources by any chance? Don't do that. > Is there another option to make failover? > Does anybody has any tutorial that can help? I think most of the tutorials are for pacemaker+corosync these days. > > Thanks in advance! > Felipe > > > > On Thu, Dec 6, 2012 at 1:34 AM, Andrew Beekhof <[email protected]> wrote: > >> On Wed, Dec 5, 2012 at 6:52 AM, Felipe Gutierrez >> <[email protected]> wrote: >> > I think I found how to configure. I change eth0 to xenbr0, because I >> > modified the networ/interface (ifconfig) >> > # cat ha.cf >> > logfacility daemon >> > keepalive 2 >> > deadtime 10 >> > warntime 5 >> > initdead 120 >> > udpport 694 >> > ucast xenbr0 192.168.188.8 >> > auto_failback on >> > node cloud10 >> > node cloud8 >> > use_logd yes >> > crm respawn >> > >> > Now my command crm_mon -1 display it: >> > # crm_mon -1 >> > ============ >> > Last updated: Sat Jan 1 00:45:27 2005 >> > Last change: Tue Dec 4 17:48:49 2012 via crmd on cloud8 >> > Stack: Heartbeat >> > Current DC: cloud8 (949237ab-9f7d-47d1-b4ad-39e4583d8f0d) - partition >> with >> > quorum >> > Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c >> > 2 Nodes configured, unknown expected votes >> > 0 Resources configured. >> > ============ >> > >> > Online: [ cloud8 cloud10 ] >> > >> > The two nodes =) But now I need to learn how to configure crm to failover >> > xendomains scrpts. >> > Does anyone know? >> >> Just like any other resource, assuming there is a resource agent for it. >> Otherwise you'll need to write an OCF one. >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems >> > > > > -- > *-- > -- Felipe Oliveira Gutierrez > -- [email protected] > -- https://sites.google.com/site/lipe82/Home/diaadia* > _______________________________________________ > 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
