[Pacemaker] Clone resource as a dependency

Jake Smith jsmith at argotec.com
Thu Dec 20 19:36:55 UTC 2012


A collocation constraint as well as the order so it must run on the same node as a running clone might do it. Not quite sure with the clone though. 

Doc reference would require some more info such as what version of pacemaker, etc. 

Including configuration helps get answers quicker. 

HTH 




Jake 
----- Original Message -----

From: "Attila Megyeri" <amegyeri at minerva-soft.com> 
To: "The Pacemaker cluster resource manager" <pacemaker at oss.clusterlabs.org> 
Sent: Thursday, December 20, 2012 1:23:07 PM 
Subject: Re: [Pacemaker] Clone resource as a dependency 



Is this so difficult or so trivial, that no one responded? J 

I would appreciate a reference to some documentation as well. 

Thank you, 
Attila 



From: Attila Megyeri [mailto:amegyeri at minerva-soft.com] 
Sent: Wednesday, December 19, 2012 10:05 AM 
To: The Pacemaker cluster resource manager 
Subject: [Pacemaker] Clone resource as a dependency 

Hi, 

How can I configure a resource (e.g. an apache) to depend on the start of a clone resource (e.g. a filesystem resource) for the given node? 
I know how to arrange a primitive into a group, but in this particular case, the primitive must run on the passive node as well (performing some async offline operations), but apache may run only if the clone is started on the node where apache is about to start. 

I tried by defining the clone resource and then by adding a mandatory order where apache depends on the filesystem resource, but apache keeps on running even if the filesystem runs only on a different node (stopped on the apache node). 

BTW, the filesystem is glusterfs. 

Thank you in advance! 


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

Project Home: http://www.clusterlabs.org 
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
Bugs: http://bugs.clusterlabs.org 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121220/f4acd8ed/attachment.htm>


More information about the Pacemaker mailing list