[Pacemaker] Exclude resource from host

Glenn Elliott gelliott at stvincents.com.au
Mon Mar 7 16:21:12 EST 2011


Does a location rule help?
 
node node1.foo.com
node 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: node1.foo.com
 

>>> On 8/03/2011 at 5:58 am, in message <4D752AEF.1070301 at huapi.ba.ar>, 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: 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 
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker 

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

_______________________________________________
Pacemaker mailing list: 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 
Bugs: 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.

**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110308/7d775e5d/attachment-0003.html>


More information about the Pacemaker mailing list