Skip to content

Instantly share code, notes, and snippets.

@jbarber
Created May 31, 2011 14:44
Show Gist options
  • Save jbarber/1000617 to your computer and use it in GitHub Desktop.
Save jbarber/1000617 to your computer and use it in GitHub Desktop.
Initial RHCS config
[root@node1 ~]# yum install cman rgmanager libxml2
[root@node1 ~]# ccs_tool create new_config
[root@node1 ~]# ccs_tool addfence dummy manual -C
[root@node1 ~]# ccs_tool addnode -n 1 -f dummy node1 -C
[root@node1 ~]# ccs_tool addnode -n 2 -f dummy node1 -C
[root@node1 ~]# xmllint --format /etc/cluster/cluster.conf --output /tmp/cluster.conf && mv /{tmp,etc/cluster}/cluster.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment