Re: [Linux-HA] rule move resource if mysql status fails

2009-04-02 Thread Andrew Beekhof
Create a resource and a monitor action for mysql but mark set is-managed=false. This tells the cluster not to stop or start it, but only to check if its running. Then simply add a colocation constraint from the other resource to the mysql one. Though I have to wonder why you'd not want the

[Linux-HA] rule move resource if mysql status fails

2009-04-01 Thread Martin Suehowicz
Hello, Can someone tell me if it's possible to move a resource off a server if /etc/init.d/mysql status fails. Or perhaps if a process is not running. I don't want halinux to manage mysql. I see in docs that there is a way to say move a resource if a fibre card does not exist or if it has not