22.03.2011 4:56, c...@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

_______________________________________________
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to