If you use scripted input to crm, use full command lines: CRM <<EOF
configure erase configure clone apache ocf:heartbeat:apache params... etc J. On Thu, 2009-10-29 at 11:38 -0400, Eliot Gable wrote: > In the past, I have always done things by manually creating a CIB XML > file and then importing it. But, to save time, I thought I would try > CRM. So, I made this script: > > > > #!/bin/bash > > > > crm<<EOF > > configure > > erase > > clone apache ocf:heartbeat:apache params > configfile=/etc/httpd/httpd.conf > > monitor apache 1s:5s > > clone mysql ocf:heartbeat:mysql > > monitor mysql 1s:5s > > clone postgres ocf:heartbeat:postgresql params pgctl=/usr/bin/pg_ctl > > monitor postgres 1s:5s > > EOF > > _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker