<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16722"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>Does a location rule help?</DIV>
<DIV> </DIV>
<DIV>node node1.foo.com<BR>node node2.foo.com<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: node1.foo.com</DIV>
<DIV> </DIV>
<DIV><BR>>>> On 8/03/2011 at 5:58 am, in message <4D752AEF.1070301@huapi.ba.ar>, tron@huapi.ba.ar 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: Pacemaker@oss.clusterlabs.org<BR>> <A href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</A><BR>> <BR>> Project Home: <A href="http://www.clusterlabs.org/">http://www.clusterlabs.org</A><BR>> Getting started: <A href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</A><BR>> Bugs: <A href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</A><BR><BR>-- <BR>Carlos G Mendioroz <tron@huapi.ba.ar> LW7 EQI Argentina<BR><BR>_______________________________________________<BR>Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<BR><A href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</A><BR><BR>Project Home: <A href="http://www.clusterlabs.org/">http://www.clusterlabs.org</A><BR>Getting started: <A href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</A><BR>Bugs: <A href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</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>
</BODY></HTML>