[Pacemaker] Stonith setup hostname params
Pavel Levshin
pavel at levshin.spb.ru
Tue Mar 22 09:54:28 UTC 2011
22.03.2011 4:56, cfk at itri.org.tw:
>
> I try to setup a simple STONITH-enabled 2-node Cluster, but failed.
>
> I read the document,
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf, and execute
> the following CLI command
>
> crm configure primitive rsa-fencing stonith:external/ibmrsa params
> hostname="alpha1 alpha2" ipaddr=192.168.75.178 userid=USR passwd=PWD
> type=ibm op monitor interval="60s"
>
> The console print the ERROR message: “ERROR: rsa-fencing: parameter
> alpha2 does not exist”
>
Currently, crm shell cannot handle quoted parameters with spaces from the command line. Try to enter it interactively:
#crm
crm(live)# configure
crm(live)configure# primitive rsa-fencing \
> stonith:external/ibmrsa params hostname="alpha1 alpha2" \
> ipaddr=192.168.75.178 userid=USR passwd=PWD type=ibm \
> op monitor interval="60s"
--
Pavel Levshin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110322/91b272db/attachment.htm>
More information about the Pacemaker
mailing list