<html><body bgcolor="#FFFFFF"><div>But it will still give me an action failed for those nodes where fx nfs-kernel-server is not installed. And when both nfs nodes are down it will try to get it running on the sql servers<br><br>Arthur B Olsen<div>Føroya Tele</div><div>+298 243392</div><div>+298 303392</div></div><div><br>On 07/03/2011, at 21.27, "Glenn Elliott" <<a href="mailto:gelliott@stvincents.com.au">gelliott@stvincents.com.au</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
<div>Does a location rule help?</div>
<div> </div>
<div>node <a href="http://node1.foo.com"><a href="http://node1.foo.com">node1.foo.com</a></a><br>node <a href="http://node2.foo.com"><a href="http://node2.foo.com">node2.foo.com</a></a><br></div>
<div>primitive node1-ip ocf:heartbeat:IPaddr \<br>        params ip="10.56.0.10" cidr_netmask="24" \<br>        op monitor interval="10s"</div>
<div>location exclude_node node1-ip -inf: <a href="http://node1.foo.com"><a href="http://node1.foo.com">node1.foo.com</a></a></div>
<div> </div>
<div><br>>>> On 8/03/2011 at 5:58 am, in message <<a href="mailto:4D752AEF.1070301@huapi.ba.ar">4D752AEF.1070301@huapi.ba.ar</a>>, <a href="mailto:tron@huapi.ba.ar">tron@huapi.ba.ar</a> wrote:<br></div>
<div style="BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3; MARGIN: 0px 0px 0px 15px; PADDING-LEFT: 7px">Beware: sorcerer's apprentice advice:<br><br>What about Lars' double negation trick of having an -infinite rule<br>applied to this resource living in other than the two "good" nodes ?<br><br>-Carlos<br><br>Arthur B. Olsen @ 07/03/2011 15:02 -0300 dixit:<br>> I was wondering how to make a resource not to run on a certain host. I have two nfs servers an two mysql server in one cluster. Now i get failed actions because nfs is not installed on mysql an visa versa.<br>> <br>> Maybe this is trivial, but it has escaped me<br>> <br>> Thanks<br>> <br>> <br>> Arthur B Olsen<br>> Føroya Tele<br>> +298 243392<br>> +298 303392<br>> _______________________________________________<br>> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org"><a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a></a><br>> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker"><a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a></a><br>> <br>> Project Home: <a href="http://www.clusterlabs.org/"><a href="http://www.clusterlabs.org">http://www.clusterlabs.org</a></a><br>> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf"><a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a></a><br>> Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker"><a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a></a><br><br>-- <br>Carlos G Mendioroz  <<a href="mailto:tron@huapi.ba.ar">tron@huapi.ba.ar</a>>  LW7 EQI  Argentina<br><br>_______________________________________________<br>Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org"><a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a></a><br><a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker"><a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a></a><br><br>Project Home: <a href="http://www.clusterlabs.org/"><a href="http://www.clusterlabs.org">http://www.clusterlabs.org</a></a><br>Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf"><a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a></a><br>Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker"><a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a></a><br></div><p>**********************************************************************<br>This email and any files transmitted with it are confidential and<br>intended solely for the use of the individual or entity to whom they<br>are addressed. If you have received this email in error please notify<br>the system manager.</p><p>This footnote also confirms that this email message has been virus<br>scanned and although no viruses were detected by the system, St Vincents &<br>Mater Health Sydney accepts no liability for any consequential damage<br>resulting from email containing any computer viruses.</p><p>Please consider the environment before printing this.</p><p>**********************************************************************</p>

</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org"><a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a></a></span><br><span><a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a></span><br><span></span><br><span>Project Home: <a href="http://www.clusterlabs.org"><a href="http://www.clusterlabs.org">http://www.clusterlabs.org</a></a></span><br><span>Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf"><a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a></a></span><br><span>Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker"><a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a></a></span><br></div></blockquote></body></html>