[Linux-HA] Stop one resource when failing over another
Christian Wäschenfelder
heartbeat at waeschenfelder.eu
Mon Sep 10 13:14:23 MDT 2007
Hi,
I try to get the following working:
I've a setup of 4 nodes, where node 1 and 2 normaly should run as
webservers and node 4 runs as MySQL-Server (grouped with one IP).
Node 3 should normaly also run as webserver to capture peaks, but if the
MySQL-Server fails it should shut down the webservice
and take over the MySQL-Service.
I set it up as asymetric cluster and used location constraints to bind
the webservices to node 1-3 and the MySQL-Service primary to node 4
and secondary to node 3.
Now I tried to use a colocation constraint to prevent the webservice to
run together with the MySQL-Service on the same node,
but either both services get active on node 3 or the MySQL doesn't start
when I set node 4 offline.
I'm using version 2.0.7.
Is there a way to get this setup working?
Regards,
Christian
More information about the Linux-HA
mailing list