[Pacemaker] running scripts in a resource

Dvorak Andreas Andreas.Dvorak at baaderbank.de
Fri Nov 15 07:32:20 EST 2013


Dear all,

I would like to create a resource that sets up routes an a node.
I have got three scripts
check_routes.sh
delete_routes.sh
setup_routes.sh

but unfortunately I do not find documentation how to do that. Can somebody please help me?

I have already an IP resource set up like this.
pcs resource create ClusterIP ocf:heartbeat:IPaddr2 ip=10.15.26.155 cidr_netmask=16 nic=eth2 op monitor interval=30s

My cluster installation
Pacemaker 1.1.8
cman 3.0.12.1
pcs 0.9.26
ccs 0.16.2
resource-agents 3.9.2
corosync 1.4.1


Best regards
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131115/bb827741/attachment-0002.html>


More information about the Pacemaker mailing list