1- Add the new node in the file /etc/cmcluster/cmclnodelist.
2- Get the most up-to-date ASCII configuration file.
# cmgetconf -v -c clustername /etc/cmcluster/cluster.ascii
3- Query all nodes, including the new node, in the cluster.
# cmquerycl -v -c cluster_name -n node1 -n node2 cluster.ascii
4- Compare the ASCII files obtained from cmgetconf and cmquerycl.
5- Update the ASCII configuration file obtained from cmquerycl.
6- Check the new ASCII configuration file.
# cmcheckconf -v -C cluster.ascii
7- Compile and distribute the new binary cluster configuration file.
# cmapplyconf -v -C cluster.ascii
8- Start cluster services on the new node.
# cmrunnode -v newNode
9- Check the cluster status and the log file for validate.
# cmviewcl
tail -100 /var/adm/syslog/syslog.log
Adding a new node in a running cluster
sábado, 19 de maio de 2012
Labels: MC ServiceGuard