Hi. I`m trying get some custom scripts triggered whenever an appliance acquires/releases a resource. What is the best practice for doing this?
I saw HA executes scripts in /etc/ha.d/resource.d/ for the specified resources, so that looks the way to go for, I`m expecting that /etc/ha.d/resource.d/<resorce> start will be issued whenever the node takes over a resource group and /etc/ha.d/resource.d/<resorce> stop will be executed when it gives up on a resource. However, I read that s 'status' param should also be supported by the script. What should the status action do/return, I dont need status monitoring, just want to hook my scripts on start/stop actions. Also, should start/stop return some output? Thanks. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
