The following explains how to change the node name after building a PRIMECLUSTER system.
Note
Changing a node name may have a serious impact on the system. Therefore, make this change only when it is absolutely necessary.
Operation Procedure:
Stop the CF on the node whose node name is to be changed.
For information on how to stop CF, see "4.6 Starting and stopping CF" in "PRIMECLUSTER Cluster Foundation (CF) Configuration and Administration Guide."
On the node whose node name is changed, change the old host name in the /etc/hosts file to the new host name.
(Example)
[Before change]
10.20.30.40 node1
[After change]
10.20.30.40 nodeA
On the node whose node name is changed, change the old host name in the /etc/sysconfig/network file (for RHEL6) and the /etc/hostname file (for RHEL7) to the new host name.
(Example) for RHEL6
[Before change]
HOSTNAME=node1
[After change]
HOSTNAME=nodeA
(Example) for RHEL7
[Before change]
node1
[After change]
nodeA
Restart OS on the node whose node name is changed.
# /sbin/shutdown -r now
After restarting OS, execute the following procedure for the other node.
After r restarting the system, change the old host name in the /etc/hosts file on the other node to the new host name.
Note
If the host name is set in the shutdown facility, correct the "/etc/opt/SMAW/SMAWsf/rcsd.cfg" file on each node. For details, see "5.1.2 Setting up the Shutdown Facility."
Restart Web-Based Admin View.
See
For information on how to restart Web-Based Admin View, see "PRIMECLUSTER Web-Based Admin View Operation Guide."