Sun Cluster 2.2 System Administration Guide

3.10.1 How to Modify the clusters File

Edit the /etc/clusters file to add the cluster name and physical host names of all nodes.

For example, to create a cluster named hacluster that consists of node 0 phys-hahost1, node 1 phys-hahost2, node 2 phys-hahost3, and node 3 phys-hahost4, enter this command:

# Sun Enterprise Cluster nodes
  hacluster phys-hahost1 phys-hahost2 phys-hahost3 phys-hahost4

Make the same modifications in the /etc/clusters file on each cluster node.