Le 26/01/2012 01:05, ge...@riseup.net a écrit :
I tried to put it into a file
and made this executable, and used lsb: to call it (which didn't work).
Then I googled for hours to find out, how to call scripts from within crm,
but had no success...

You should be able to run any script you want using a lsb RA.
Just make sure to write your init script to be LSB compliant: http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ap-lsb.html and this should work.

Cheers,
Florian Crouzat

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

Reply via email to