The following instructions explain how to add a logical hostname resource to a resource group by using the clsetup utility. Perform this procedure from one node only.
This procedure provides the long forms of the Oracle Solaris Cluster maintenance commands. Most commands also have short forms. Except for the forms of the command names, the commands are identical.
Before You Begin
Ensure that the following prerequisites are met:
An entry for each logical hostname that is to be made available by the resource is added to the name service database.
If you are using IP Networking Multipathing (IPMP) groups, the groups are configured on the nodes where the logical hostname resource can be brought online.
Ensure that you have the logical hostnames that you plan to add to the resource group.
# clsetup
The clsetup main menu is displayed.
The Data Services menu is displayed.
The clsetup utility provides the list of prerequisites for performing this task.
The clsetup utility provides a list of the cluster nodes where the logical hostname resource can be brought online.
Ensure that the nodes are listed in the order in which the nodes are to appear in the logical hostname resource group's node list. The first node in the list is the primary node of this resource group.
The clsetup utility provides a screen where you can specify the logical hostname that the resource is to make available.
The clsetup utility lists the names of the Oracle Solaris Cluster objects that the utility will create.
The clsetup utility provides a screen where you can specify the new name.
The clsetup utility returns you to the list of the names of the Oracle Solaris Cluster objects that the utility will create.
The clsetup utility provides information about the Oracle Solaris Cluster configuration that the utility will create.
The clsetup utility provides a progress message to indicate that the utility is running commands to create the configuration. When configuration is complete, the clsetup utility lists the commands that the utility ran to create the configuration.
If you prefer, you can leave the clsetup utility running while you perform other required tasks before using the utility again. If you choose to quit clsetup, the utility recognizes your existing logical hostname resource group when you restart the utility.
Use the clresource(1CL) utility for this purpose. By default, the clsetup utility assigns the name node_name-rg to the resource group.
# clresource show node_name-rg