Sun Cluster Software Installation Guide for Solaris OS

How to Change Private Hostnames

Perform this task if you do not want to use the default private hostnames, clusternodenodeid-priv, that are assigned during Sun Cluster software installation.

Note –

Do not perform this procedure after applications and data services have been configured and have been started. Otherwise, an application or data service might continue to use the old private hostname after the hostname is renamed, which would cause hostname conflicts. If any applications or data services are running, stop them before you perform this procedure.

Perform this procedure on one active node of the cluster.

  1. Become superuser on a node in the cluster.

  2. Start the scsetup(1M) utility.

    # scsetup

  3. From the Main Menu, choose the menu item, Private hostnames.

  4. From the Private Hostname Menu, choose the menu item, Change a private hostname.

  5. Follow the prompts to change the private hostname.

    Repeat for each private hostname to change.

  6. Verify the new private hostnames.

    # scconf -pv | grep "private hostname"
    (phys-schost-1) Node private hostname:      phys-schost-1-priv
    (phys-schost-3) Node private hostname:      phys-schost-3-priv
    (phys-schost-2) Node private hostname:      phys-schost-2-priv

  7. If you did not install your own /etc/inet/ntp.conf file before you installed Sun Cluster software, install or create the NTP configuration file.

    Go to How to Configure Network Time Protocol (NTP).

  8. (Optional) SPARC: Configure Sun Management Center to monitor the cluster.

    Go to SPARC: Installing the Sun Cluster Module for Sun Management Center.

  9. Install third-party applications, register resource types, set up resource groups, and configure data services.

    See the documentation that is supplied with the application software and the Sun Cluster Data Services Planning and Administration Guide for Solaris OS.