On Fri, Jul 13, 2012 at 2:21 PM, quanta <quanta.li...@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.

_______________________________________________
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://bugs.clusterlabs.org

Reply via email to