[Pacemaker] Help needed to configure MySQL Cluster using Pacemaker, Corosync, DRBD and PCS

Andrew Beekhof andrew at beekhof.net
Mon Jan 12 00:50:06 UTC 2015


> On 11 Jan 2015, at 5:39 pm, Shameer Babu <shameerbabukm at gmail.com> wrote:
> 
> Hi,
> 
> I have configured Apache cluster by referring you document http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf and it was good and working. Now I would like to configure a simple MySQL cluster using pacemaker,corosync,DRBD and Pcs in CentOS 7. I was trying add the mysql resource but didn't work.

Could you be a bit more specific about "didn't work" ?

> In CentOS 7 the database is MariaDB. I would like to configure the resource mysql/mariadb for two nodes. Can any body help me on this?
> 
> I have configured the following till now:
> 
> 1. Installed pcs,mariadb,pacemaker,corosync and DRBD
> 2. Configured the resource Virtual IP and it is working fine
> 3. Configured DRBD to sync files in both nodes and /dev/drbd1 is ready to use
> 
> Please help me to configure the resource maraidb/mysql for my cluster
> 
> Regards,
> Shameer
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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://bugs.clusterlabs.org





More information about the Pacemaker mailing list