I`m not using CRM, I`m doing a single IP failover so I`m trying to keep things simple. Any idea how to do this without CRM?

On Jun 20, 2008, at 9:34 PM, Serge Dubrouski wrote:

For v2 a.k.a CRM the bast way would be to develop your own OCF RA that
you want to use as a triggered script and tie it into a group with
your primary resources.

On Fri, Jun 20, 2008 at 11:44 AM, Pavel Georgiev <[EMAIL PROTECTED]> wrote:
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




--
Serge Dubrouski.
_______________________________________________
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

Reply via email to