Hi, On Tue, Oct 09, 2012 at 06:47:30PM -0500, Michael Brennen wrote: > Hello all, > > I have built a two node apache/mysql cluster, with drbd syncing the > two. I am using the centos 6 corosync, pacemaker, and fence-agents > packages. (I tried the clusterlabs 1.1.8 pacemaker with the pcs > shell, but pcs assumes the fedora-centric systemctl.) > > With the cluster working I am now trying to add fencing with an APC > powerswitch. I have built the configuration from examples I have > found on the mailing list. > > ========================================= > crm configure primitive f_apc stonith:fence_apc params \ > pcmk_host_map="fail1:1,fail2:2" \ > pcmk_host_list="fail1 fail2" \ > pcmk_host_check="static-list" \ > ipaddr="1.2.3.4" \ > action="reboot" \ > login="user" \ > passwd="pw" > ========================================= > > That results in the following message: > > ========================================= > ERROR: f_apc: parameter fail2 does not exist > Do you still want to commit? > ========================================= > > I have not been able to find a way around this, but the > configuration seems exactly what I have found in the lists. Does > anyone have any idea what might be happening? Thanks.
It won't work from the command line, because the crm shell parser never sees the quotes (they're digested by /bin/sh). You can type this in the crm shell or protect the quotes using \ (at least those for pcmk_host_list, others not necessary). Thanks, Dejan > -- Michael > > _______________________________________________ > 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://bugs.clusterlabs.org _______________________________________________ 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://bugs.clusterlabs.org