Hide Forgot
Document URL: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html-single/High_Availability_Add-On_Reference/index.html#s1-redundantfence-HAAR Section Number and Name: 4.11. Configuring Fencing for Redundant Power Supplies Describe the issue: The 'pcs stonith create' example section has incorrect syntax for the pcmk_host_map= parameter. It specifies the use of a comma(,) between nodes, but the Admin Guide specifies a semi-colon(;). Current case indicates the semi-colin(;) is correct. Suggestions for improvement: Current Syntax - ===== # pcs stonith create apc1 fence_apc_snmp ipaddr=apc1.example.com login=user passwd='7a4D#1j!pz864' pcmk_host_map="node1.example.com:1,node2.example.com:2" # pcs stonith create apc2 fence_apc_snmp ipaddr=apc2.example.com login=user passwd='7a4D#1j!pz864' pcmk_host_map="node1.example.com:1,node2.example.com:2" ===== Appears the correct syntax should be - ===== # pcs stonith create apc1 fence_apc_snmp ipaddr=apc1.example.com login=user passwd='7a4D#1j!pz864' pcmk_host_map="node1.example.com:1;node2.example.com:2" # pcs stonith create apc2 fence_apc_snmp ipaddr=apc2.example.com login=user passwd='7a4D#1j!pz864' pcmk_host_map="node1.example.com:1;node2.example.com:2" ===== * I would suggest verifying this with a clusterha expert to verify. Additional information: Admin Guide example from "1.3. Fencing Configuration" - https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html-single/High_Availability_Add-On_Administration/index.html#s1-fenceconfig-HAAA ===== [root@z1 ~]# pcs stonith create myapc fence_apc_snmp params \ ipaddr="zapc.example.com" pcmk_host_map="z1.example.com:1;z2.example.com:2" \ pcmk_host_check="static-list" pcmk_host_list="z1.example.com,z2.example.com" \ login="apc" passwd="apc" ======
I have rebuilt the 7.2 version of the document and tagged and submitted it for publication. The corrected version should appear on the Customer Portal in a few hours. When it is there I will close this BZ. This is the build: Red_Hat_Enterprise_Linux-High_Availability_Add-On_Reference-7-web-en-US-2.1-14.el6eng
The updated example can now be seen here on the customer Portal; https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/High_Availability_Add-On_Reference/s1-redundantfence-HAAR.html