[Pacemaker] Cannot start the failed MySQL master as a new slave?

Andrew Beekhof andrew at beekhof.net
Mon Jul 16 04:29:03 UTC 2012


On Fri, Jul 13, 2012 at 2:21 PM, quanta <quanta.linux at gmail.com> wrote:
> As Patrick pointed here:
> http://serverfault.com/questions/405982/mysql-pacemaker-cannot-start-the-failed-master-as-a-new-slave
>
> I need to set the additional variables to tells the script its a
> master/slave resource.
> So, I've appended the following variables to my ~/.bash_profile:
>
> export OCF_RESKEY_CRM_meta_clone_max="2"
> export OCF_RESKEY_CRM_meta_role="Slave"
>
> Make it take effect . ~/.bash_profile and manually start mysql resource:

Do not, under any circumstances, define OCF_RESKEY_ variables in your
shell's profile.

These are set for you when you configure properties for the resource
in the cluster configuration.  That you need to set them indicates
your config is broken.




More information about the Pacemaker mailing list