[Pacemaker] Clone resource as a dependency

Attila Megyeri amegyeri at minerva-soft.com
Thu Dec 20 13:23:07 EST 2012


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

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!


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


More information about the Pacemaker mailing list