Hide Forgot
The relevant bits for ccs are in comment#3 unit test 4.
Upstream commit https://github.com/feist/ccs/commit/38c02f2832e29b8e0243e74e02d59c3b6ec97357
With ricci-0.16.2-53.el6: [root@ask-04 ~]# ccs -f testfile --createcluster blah [root@ask-04 ~]# ccs -i -f testfile --setmulticast 1.1.1.1 port=555 [root@ask-04 ~]# ccs -i -f testfile --setaltmulticast 2.2.2.2 port=777 [root@ask-04 ~]# ccs -i -f testfile --addnode node1 Node node1 added. [root@ask-04 ~]# ccs -i -f testfile --addnode node2 Node node2 added. [root@ask-04 ~]# ccs -i -f testfile --addalt node1 myalt port=888 [root@ask-04 ~]# ccs -i -f testfile --addalt node2 myalt2 port=8888 [root@ask-04 ~]# cat testfile <cluster config_version="7" name="blah"> <fence_daemon/> <clusternodes> <clusternode name="node1" nodeid="1"> <altname name="myalt" port="888"/> </clusternode> <clusternode name="node2" nodeid="2"> <altname name="myalt2" port="8888"/> </clusternode> </clusternodes> <cman> <multicast addr="1.1.1.1" port="555"/> <altmulticast addr="2.2.2.2" port="777"/> </cman> <fencedevices/> <rm> <failoverdomains/> <resources/> </rm> </cluster> multicast, altmulticast & individual cluster node altname's have been added. [root@ask-04 ~]# ccs -i -f testfile --rmalt node2 [root@ask-04 ~]# ccs -i -f testfile --setmulticast [root@ask-04 ~]# ccs -i -f testfile --setaltmulticast [root@ask-04 ~]# cat testfile <cluster config_version="10" name="blah"> <fence_daemon/> <clusternodes> <clusternode name="node1" nodeid="1"> <altname name="myalt" port="888"/> </clusternode> <clusternode name="node2" nodeid="2"> </clusternode> </clusternodes> <cman> </cman> <fencedevices/> <rm> <failoverdomains/> <resources/> </rm> </cluster> multicast, altmulticast and node2 altname have been removed.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: ccs has no way of configuring RRP Consequence: User can't configure RRP with ccs Fix: options are now available in ccs to configure RRP Result: User can now configure RRP with ccs
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0898.html