Not sure if "cluster partitioning" is the right description here, so I'll try to explain what I want to achieve.

Right now, I have 4 web/application servers, with heartbeat/pacemaker assigning IPs:


(web1) - (web2) - (web3) - (web4)


There is also a "mysql1" server, used by the webservers, which does not have heartbeat installed.


"mysql1" server will be a master-master setup, with "mysql1" being accessed by the webservers, and the other mysql server as a failover. What I'd like to do, is "web4" being the "failover mysql server" - so the whole cluster would look like below:


                            /web4) - (mysql1)
(web1) - (web2) - (web3) - (web4/


Now, if mysql1 dies, I would like one if it's IP addresses (used for MySQL) be assigned to web4, and only to web4. mysql1 should never have web* server IP addresses assigned (except the one used for MySQL, allowed to be moved to web4, and only to web4).


Can I do it with heartbeat/pacemaker? If so, how?



--
Tomasz Chmielewski
http://wpkg.org

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to