Not really sure what you are asking. You want to disable the cluster software on both nodes but you also want your resources up and running? If that's is what you want to do then you need to shut HA down on the backup node (service heartbeat stop). This will leave you with a one node cluster with the resources running. Then if you still want HA down on that node, stop the cluster resources on that node. Then you'll need to bring the resources up manually. For instance, if you had Apache and one VIP then you would need to add the VIP as an aliased ip address (how you do this varies depending on the Linux variant you are using) and ten start apache wit service apache start, for instance.
-mike On 11-07-22 05:58 PM, Hai Tao wrote: > How can I disable HA without stopping the resources then? > > I like to disable HA by stopping the heartbeat, but once I do that a failover > will happen, but I do not want that. > > Thanks. > > Hai Tao > > > >> Date: Fri, 22 Jul 2011 17:23:58 -0300 >> From: [email protected] >> To: [email protected] >> Subject: Re: [Linux-HA] Does HA monitor its resources? >> >> It should re-enable it yes. Incidentally, you can set the number of >> times it will do this in your cib.xml file in /var/lib/heartbeat/crm. >> >> For instance, on one of my clusters I only want the resource re-started >> 3 times. On a fourth failure I want it to do a failover. I set it with >> this entry in the cib.xml: >> >> <nvpair id="nvpair.id17897906" >> name="default-resource-failure-stickiness" value="500000"/> >> >> Hope this helps. >> >> -mike >> >> >> On 11-07-22 02:55 PM, Hai Tao wrote: >>> Does HA monitor its resources? If I manually disable the floating IP, (for >>> example, ifdown eth0:0), will HA be able to detect that and re-enable the >>> IP? >>> >>> >>> Thanks. >>> >>> Hai Tao >>> >>> >>> >>> >>> _______________________________________________ >>> 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 > > _______________________________________________ > 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
