For recent versions of Pacemaker (1.0 and higher) just set migration-threshold to 3.
Its possible for older versions, including the ones in heartbeat, but its far easier to simply upgrade. On Wed, Dec 2, 2009 at 7:41 AM, Kukkala Prasad <[email protected]> wrote: > Hi All, > > By configuring monitor operation to a resource I am able to restart it if the > resource crashed. But I want to try restarting max 3 times and if the > resource still crashing then failover should happen meaning all resources on > the current node should be moved to another node. > > I worked with Microsoft Cluster, which has this feature. > > How to achieve this using heartbeat. > > I am working with heartbeat-2.1.3-3.el5.centos CentOS 5.3. > > Regards, > Prasad. > > ________________________________ > The information contained in this communication is confidential, intended > solely for the use of the individual or entity to whom it is addressed and > may be legally privileged and protected by professional secrecy. Access to > this message by anyone else is unauthorized. If you are not the intended > recipient, any disclosure, copying, or distribution of the message, or any > action or omission taken by you in reliance on it is prohibited and may be > unlawful. Please immediately contact the sender if you have received this > message in error. This email does not constitute any commitment from Cordys > Holding BV or any of its subsidiaries except when expressly agreed in a > written agreement between the intended recipient and Cordys Holding BV or its > subsidiaries. Cordys is neither liable for the proper and complete > transmission of the information contained in this communication nor for any > delay in its receipt. Cordys does not guarantee that the integrity of this > communication has been ma > intained nor that the communication is free of viruses, interceptions or > interference. If you are not the intended recipient of this communication > please return the communication to the sender and delete and destroy all > copies. > _______________________________________________ > 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
