Hi George,

 

I have the same problem. I would like to have a shell script managed by Pacemaker. I did exactly the same as you.

I used a symbolic link with primitive command but my script was not executed, even though its status is Started when I execute crm resource status.

I don't know in which point we are wrong. Hope someone could help...

 

 

Alan

Em 28/05/2009 10:05, George Gomes < geoun...@gmail.com > escreveu:


Hi all,

I read the Pacemaker information/installation guide on site http://clusterlabs.org/wiki/Main_Page and I installed it (Pacemaker) on Red Hat EL5 with all rpm files bellow:

heartbeat-2.99.2-8.1.i386.rpm
heartbeat-common-2.99.2-8.1.i386.rpm
heartbeat-resources-2.99.2-8.1.i386.rpm
libheartbeat2-2.99.2-8.1.i386.rpm
libopenais2-0.80.5-13.1.i386.rpm
libpacemaker3-1.0.3-2.2.i386.rpm
openais-0.80.5-13.1.i386.rpm
pacemaker-1.0.3-2.2.i386.rpm

I configured the failover-IP according to CRM CLI command but I could not configure any resource using CRM CLI.
When I performed the command "crm resource status", the CRM CLI shows the script is started but it was not started.
Could someone help me?

Bellow is the command that I used to create th e primitive resource:

# crm configure primitive myScript lsb::myScript.sh op monitor interval=10s

I created the symbolic link of myScript.sh on /etc/init.d, is it correct? if not, how could I do it?


--
cheers,
George Gomes


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

Reply via email to