[ClusterLabs] Merging clusters

Carlos Xavier cbastos at connection.com.br
Fri Jun 5 16:50:08 EDT 2015


Hi.

We are running two separated clusters, mainly due to the use of DRBD.
Now the clusters are being moved to VmWare hosts and a storage will be available, so DRBD will not be needed anymore. Also new
requirements are on place.

Below is what do we have today and what we want to achieve.

    HTTP cluster                      MySQL cluster
http_server_A	http_server_B	MySQL_server_BKP	MySQL_server
	|			|			|			|
------------------------------         ----------------------------
|OCFS2 shared disk /export   |         |OCFS2 shared disk /data   |


                          One cluster
http_server_A	http_server_B	MySQL_server_BKP	MySQL_server
	|			|		|	   |			|
--------------------------------------     ---------------------------
|OCFS2 shared disk  /export          |     |OCFS2 shared disk /data  |


The MySQL_server_BKP will have access to both filesystems and will run as a http server and eventually as a mysql server when in
failover.
It will have access to 2 SBD devices
The MySQL server cant mount the cloned filesystem /export nor can start a clone http server.
The http servers cant mount the cloned filesystem /data nor can start the MySQL server.

I saw some examples of negating the start of one resource for one server, but I have no clue on how to do this for more tha one
server.

How can I do this for two or more servers?
What are the constraints that have to be set?

Any help are very welcome
Regards,
Carlos.





More information about the Users mailing list