Thanks Rob, but that's not quite what I'm looking for.  I have a middleware script of my own which allows me to have both nodes with mysql running at all times.  I need to ensure that when the MASTER fails, Cluster Suite will failover to the SLAVE.  My script then performs some SQL ops to allow writes, etc.  When the MASTER comes back from being fenced, I need to make sure that Cluster Suite does not failback to the MASTER.  I'm hoping that the 'nofailback' option exists and will work as I expect it to.
<br><br>--BO<br><br><div><span class="gmail_quote">On 7/26/07, <b class="gmail_sendername">Robert Gil</b> <<a href="mailto:Robert.Gil@americanhm.com">Robert.Gil@americanhm.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I had figured this out a while back and forgot to post back to the list.<br>The steps are as follows<br><br>Create a child script to the virtual ip to check whether mysql is up.<br>Have mysql NOT start on boot.<br><br>With these two things done. When the vip fails over, it will not fail
<br>back because mysql wont be up.<br><br>Rob Gil<br>Linux Systems Administrator<br>American Home Mortgage<br><br>________________________________<br><br>From: <a href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com
</a><br>[mailto:<a href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</a>] On Behalf Of Bjorn Oglefjorn<br>Sent: Thursday, July 26, 2007 3:18 PM<br>To: linux clustering<br>Subject: Re: [Linux-cluster] MySQL Failover / Failback
<br><br><br>I found that a 'nofailback' option was added for the <failoverdomains><br>section of the conf.  I can't find any reference to 'nofailback' in any<br>RHCS doc I can find.  I'm guessing it should look like this:
<br><br>    <failoverdomain name="test_failover_domain" ordered="1"<br>restricted="1" nofailback="1"><br>        ...<br>    </failoverdomain><br><br>Can someone confirm?  I will attempt to confirm this myself and will
<br>report back when I know for sure.<br><br>--BO<br><br><br>On 7/26/07, Bjorn Oglefjorn <<a href="mailto:sys.mailing@gmail.com">sys.mailing@gmail.com</a>> wrote:<br><br>        I'd love to know how to do this as well.  Anyone?
<br>        --BO<br><br><br><br>        On 6/1/07, Robert Gil <<a href="mailto:Robert.Gil@americanhm.com">Robert.Gil@americanhm.com</a><br><mailto:<a href="mailto:Robert.Gil@americanhm.com">Robert.Gil@americanhm.com
</a>> > wrote:<br><br>                1) Node 1 (master) dies<br>                        -How do we enable "sticky" failover so that it<br>does not then fail back to Node 1<br><br><br><br>--<br>Linux-cluster mailing list
<br><a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br></blockquote></div>
<br>