Hide Forgot
ccs --createcluster should verify that a cluster.conf doesn't exist before creating one. To Test: Using a host without a cluster.conf with ricci running. ccs -h host --createcluster test ccs -h host --createcluster test2 The second time the command is run an error should be printed stating that a cluster has already been created.
Fix here: https://github.com/feist/ccs/commit/fb5ccddf8e67ac3c32b1d9c08017f8c4c2746318
With ricci-0.16.2-53.el6: [root@ask-04 ~]# ccs -h localhost --createcluster testcluster[root@ask-04 ~]# ccs -h localhost --createcluster testcluster cluster.conf already exists, use '-i' to override. [root@ask-04 ~]# ccs -h localhost --createcluster testcluster2 cluster.conf already exists, use '-i' to override. [root@ask-04 ~]# ccs -i -h localhost --createcluster testcluster2 [root@ask-04 ~]# ccs -h localhost --getconf <cluster config_version="1" name="testcluster2"> <fence_daemon/> <clusternodes/> <cman/> <fencedevices/> <rm> <failoverdomains/> <resources/> </rm> </cluster>
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: No documentation needed.
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