Hi,

On Tue, Feb 19, 2008 at 04:27:06PM +0100, Adrian Chapela wrote:
> Hello,
>
> I am adapting original script to a Master/Slave "homemade" script. I have a 
> doubt. I have the script with some options: start, stop, status, monitor, 
> promote, demote.
>
> After I start mysql and I want to do a promote, when I promoted the server 
> I must return OCF_RUNNING_MASTER or I must return OCF_SUCCESS and I will 
> return OCF_RUNNING_MASTER when I am executing a monitoring or test the 
> status.

For monitor: OCF_RUNNING_MASTER on the master, or OCF_SUCCESS on
the other node.

For start/stop: OCF_SUCCESS.

Thanks,

Dejan

>
> Thank you!
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to