[Pacemaker] Exclude resource from host

Arthur B. Olsen ABO at ft.fo
Tue Mar 8 07:05:04 UTC 2011


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

Arthur B Olsen
Føroya Tele
+298 243392
+298 303392

On 07/03/2011, at 21.27, "Glenn Elliott" <gelliott at stvincents.com.au<mailto:gelliott at stvincents.com.au>> wrote:

Does a location rule help?

node <http://node1.foo.com> node1.foo.com<http://node1.foo.com>
node <http://node2.foo.com> node2.foo.com<http://node2.foo.com>
primitive node1-ip ocf:heartbeat:IPaddr \
        params ip="10.56.0.10" cidr_netmask="24" \
        op monitor interval="10s"
location exclude_node node1-ip -inf: <http://node1.foo.com> node1.foo.com<http://node1.foo.com>


>>> On 8/03/2011 at 5:58 am, in message <4D752AEF.1070301 at huapi.ba.ar<mailto:4D752AEF.1070301 at huapi.ba.ar>>, tron at huapi.ba.ar<mailto:tron at huapi.ba.ar> wrote:
Beware: sorcerer's apprentice advice:

What about Lars' double negation trick of having an -infinite rule
applied to this resource living in other than the two "good" nodes ?

-Carlos

Arthur B. Olsen @ 07/03/2011 15:02 -0300 dixit:
> 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.
>
> Maybe this is trivial, but it has escaped me
>
> Thanks
>
>
> Arthur B Olsen
> Føroya Tele
> +298 243392
> +298 303392
> _______________________________________________
> Pacemaker mailing list: <mailto:Pacemaker at oss.clusterlabs.org> Pacemaker at oss.clusterlabs.org<mailto:Pacemaker at oss.clusterlabs.org>
> <http://oss.clusterlabs.org/mailman/listinfo/pacemaker> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: <http://www.clusterlabs.org/> http://www.clusterlabs.org
> Getting started: <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: <http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

--
Carlos G Mendioroz  <tron at huapi.ba.ar<mailto:tron at huapi.ba.ar>>  LW7 EQI  Argentina

_______________________________________________
Pacemaker mailing list: <mailto:Pacemaker at oss.clusterlabs.org> Pacemaker at oss.clusterlabs.org<mailto:Pacemaker at oss.clusterlabs.org>
<http://oss.clusterlabs.org/mailman/listinfo/pacemaker>http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: <http://www.clusterlabs.org/> http://www.clusterlabs.org
Getting started: <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: <http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been virus
scanned and although no viruses were detected by the system, St Vincents &
Mater Health Sydney accepts no liability for any consequential damage
resulting from email containing any computer viruses.

Please consider the environment before printing this.

**********************************************************************

_______________________________________________
Pacemaker mailing list: <mailto:Pacemaker at oss.clusterlabs.org> Pacemaker at oss.clusterlabs.org<mailto:Pacemaker at oss.clusterlabs.org>
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: <http://www.clusterlabs.org> http://www.clusterlabs.org
Getting started: <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: <http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110308/01fd4c05/attachment.htm>


More information about the Pacemaker mailing list