How to Change the Logical Hostnames Used by Existing Oracle Solaris Cluster Logical Hostname
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.
On the global cluster, assume a role that provides solaris.cluster.modify
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.
In cluster mode, take the Apache resource groups that contain the logical hostnames
# clresourcegroup offline apache-rg
Disable the Apache logical hostname resources.
# clresource disable apache-lh-res
Provide the new hostname list.
# clresource set -p HostnameList=test-2 apache-lh-res
Change the application's references for previous entries in the
hostnamelist property to reference the new entries.
Enable the new Apache logical hostname resources.
# clresource enable apache-lh-res
Bring the Apache resource groups online.
# clresourcegroup online -eM apache-rg
Confirm that the application started correctly by running the following command checking a
# clresource status apache-rs