Article Figure 1 Figure 2 Listing 1 Listing 2
Listing 3 Listing 4 Listing 5 Listing 6 Sidebar 1
Sidebar 2 Table 1 Table 2 Table 3 may2006.tar

Changing Cluster Hostnames and IPs (Not Widely Known)

Halfway through the project, we discovered that we needed to change the hostnames of the cluster nodes. The supported procedure communicated to us was to reinstall the cluster, but with some persistence we discovered that we could change the name of the hosts by doing the following:

  • Reboot the cluster nodes into non-cluster mode (reboot -- -x).
  • Change the hostname of the system (i.e., nodename, hosts, and etc).
  • Change the hostname information for all files in /etc/cluster/ccr.
  • Regenerate the checksums for each file modified.
  • ccradm -I /etc/cluster/ccr/filename -o
  • Reboot into cluster mode.

Note that this must be performed on all nodes of the cluster before you boot into the new cluster configuration.