Choon Kiat wrote:
Hi,

No One? Or any clue? :(
I want to run a script at the secondary server once the primary server fail.


Regards,
Choon Kiat

You could write a resource agent which does whatever you want and constraint it to your resource.

You could also edit the resource agent your resource uses now and make your script load at then end of the start-function. But make sure it does not change any return code!

On how to write a resource agent, read:
http://www.linux-ha.org/OCFResourceAgent

Regards
Dominik
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to