PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System)
Contents Index PreviousNext

Part 4 System Configuration Modification> Chapter 8 Changing the Operation Configuration

8.6 Changing a Node Name

The following explains how to change the node name after building a PRIMECLUSTER system.

Changing a node name may have a serious impact on the system. Therefore, make this change only when it is absolutely necessary.
Use the "sys-unconfig(1M)" command to change a node name. The "sys-unconfig(1M)" command is used to reset the system. All settings such as the name service, time zone, IP address, IP subnet mask, and root password are all erased and are then reset when the node next boots.

For details on the "sys-unconfig(1M)" command, see the manual page describing sys-unconfig(1M).

mark2Operation Procedure:

  1. Stop CF on the node whose node name is to be changed.

    For details on how to stop CF, see "5.7 Starting and stopping CF" in the "PRIMECLUSTER Cluster Foundation (CF) Configuration and Administration Guide."

  2. Define "export HV_RCSTART=0" in the hvenv.local file of the node whose node name is to be changed.

    This disables automatic startup RMS when the node is booted after changing the node name.

    For details on the hvenv.local file and the HV_RCSTART attribute, see the manual page describing hvenv.local.

  3. Change the node name.
    1. Execute the "sys-unconfig(1M)" command.
      # sys-unconfig
    2. If you execute the "sys-unconfig(1M)" command, the system is shut down and the ok prompt will appear.
      Execute boot at the ok prompt, and then set up information such as node name according to the displayed message.
      ok boot

    Do not attempt to change information other than node names with the "sys-unconfig(1M)" command.
  4. Restore the hosts(4) file.

    Before the "sys-unconfig(1M)" command changes the system configuration, compare the contents of the backed-up /etc/inet/hosts.saved file with the hosts(4) file. Apply the necessary definitions included in the difference to the hosts(4) file.

  5. Restart the system.
    # /usr/sbin/shutdown -y -i6 -g0
  6. Set up the shutdown facility.

    For information on how to set up the shutdown facility, see "8.4 Configuring the Shutdown Facility" in the "PRIMECLUSTER Cluster Foundation Configuration and Administration."

  7. Start up RMS.

    For information on how to start up RMS, see "4.14 Starting RMS" in the "PRIMECLUSTER RMS Configuration and Administration."

  8. After confirming that RMS has started up, restore the definition of the HV_RCSTART environment variable corrected in step 2.

Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005