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 cluster to manage mysql too... On Thu, Apr 2, 2009 at 01:53, Martin Suehowicz <msuehow...@rubiconproject.com> wrote: > 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 > enough cpus. Is there a list of rules somewhere? > Thank you for any help you provide! > Martin > > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems