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
# clrg offline apache-rg
Disable the Apache logical hostname resources.
# clrs disable appache-lh-res
Provide the new hostname list.
# clrs 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.
# clrs enable apache-lh-res
Bring the Apache resource groups online.
# clrg online -eM apache-rg
Confirm that the application started correctly by running the following command checking a
# clrs status apache-rs