Go to main content

Administering an Oracle® Solaris Cluster 4.4 Configuration

Exit Print View

Updated: November 2019

How to Change the Logical Hostnames Used by Existing Oracle Solaris Cluster Logical Hostname Resources

You can choose to change the logical hostname resource's HostnameList property either before or after you rename the node by following the steps in How to Rename a Node. This step is optional.

  1. On the global cluster, assume a role that provides solaris.cluster.modify authorization.
  2. Optionally, you can change the logical hostnames used by any of the existing Oracle Solaris Cluster Logical Hostname resources.

    The following steps show how to configure the apache-lh-res resource to work with the new logical hostname, and must be executed in cluster mode.

    1. In cluster mode, take the Apache resource groups that contain the logical hostnames offline.
      # clresourcegroup offline apache-rg
    2. Disable the Apache logical hostname resources.
      # clresource disable apache-lh-res
    3. Provide the new hostname list.
      # clresource set -p HostnameList=test-2 apache-lh-res
    4. Change the application's references for previous entries in the hostnamelist property to reference the new entries.
    5. Enable the new Apache logical hostname resources.
      # clresource enable apache-lh-res
    6. Bring the Apache resource groups online.
      # clresourcegroup online -eM apache-rg
    7. Confirm that the application started correctly by running the following command checking a client.
      # clresource status apache-rs