[Pacemaker] CRM help
Eliot Gable
egable at broadvox.com
Thu Oct 29 15:48:15 UTC 2009
Nevermind. I had a leading 'configure' statement by itself.
Eliot Gable
Senior Engineer
1228 Euclid Ave, Suite 390
Cleveland, OH 44115
Direct: 216-373-4808
Fax: 216-373-4657
egable at broadvox.net
CONFIDENTIAL COMMUNICATION. This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, please call me immediately. BROADVOX is a registered trademark of Broadvox, LLC.
-----Original Message-----
From: Eliot Gable [mailto:egable at broadvox.com]
Sent: Thursday, October 29, 2009 11:47 AM
To: pacemaker at oss.clusterlabs.org
Subject: Re: [Pacemaker] CRM help
That just results in syntax errors on every line.
Eliot Gable
Senior Engineer
1228 Euclid Ave, Suite 390
Cleveland, OH 44115
Direct: 216-373-4808
Fax: 216-373-4657
egable at broadvox.net
CONFIDENTIAL COMMUNICATION. This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, please call me immediately. BROADVOX is a registered trademark of Broadvox, LLC.
-----Original Message-----
From: Johan Verrept [mailto:Johan.Verrept at able.be]
Sent: Thursday, October 29, 2009 11:42 AM
To: pacemaker at oss.clusterlabs.org
Subject: Re: [Pacemaker] CRM help
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 at oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.
_______________________________________________
Pacemaker mailing list
Pacemaker at oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.
More information about the Pacemaker
mailing list