[ClusterLabs] Trigger an action before a resource is moved to a cluster node

John Gogu ionut.gogu at gmail.com
Mon May 25 11:02:44 UTC 2015


Hello all,
there is a possibility to trigger an OS action  before a resource is moved
to a cluster node?

for example to touch a file (touch /dev/shm/test) before Webservice_P22
resource group is moved to node  node02hb0 (manually move or due to a
failure move)

Online: [ node01hb0 node02hb0 ]
Full list of resources:
 Resource Group: Webservice_P22
     pkgP22b0   (ocf::heartbeat:IPaddr):        Started node01hb0


Mit freundlichen Grüßen/Kind regards,

*John Gogu*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20150525/12f31763/attachment-0003.html>


More information about the Users mailing list