Go to main content

Planning and Administering Data Services for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: November 2019
 
 

How to Add a Shared Address Resource to a Resource Group (clsetup)

The following instructions explain how to add a shared address resource to a resource group by using the clsetup utility. Perform this procedure from any cluster node.

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:

  • The shared address that is to be made available by the resource has an entry in a name service database.

  • If you are using PNM objects, the objects are configured on the nodes where the shared address resource can be brought online.

  • Ensure that the /etc/netmasks file has IP-address subnet and netmask entries for all logical hostnames. If necessary, edit the /etc/netmasks file to add any missing entries.

  1. Assume the root role on any cluster node.
  2. Start the clsetup utility.
    # clsetup

    The clsetup main menu is displayed.

  3. Type the option number for data services.

    The Data Services menu is displayed.

  4. Type the option number for configuring the shared address resource.

    The clsetup utility provides the list of prerequisites for performing this task.

  5. Verify that the prerequisites are met.

    The clsetup utility lists the cluster nodes where the shared address resource can be brought online.

  6. Select the nodes where the shared address resource can be brought online.
    • To accept the default selection of all listed nodes in an arbitrary order, type a.
    • To select a subset of the listed nodes, type a comma-separated or space-separated list of the numbers that correspond to the nodes.
    • To select all nodes in a particular order, type a comma-separated or space-separated ordered list of the numbers that correspond to the nodes.
  7. To confirm your selection of nodes, type d.

    The clsetup utility provides a screen where you can specify the shared address that the resource is to make available.

  8. Type the shared address that this resource is to make available.

    The clsetup utility lists the names of the Oracle Solaris Cluster objects that the utility will create.

  9. If you require a different name for any Oracle Solaris Cluster object, change the name as follows.
    1. Type the option number for the name that you are changing.

      The clsetup utility provides a screen where you can specify the new name.

    2. At the New Value prompt, type 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.

  10. To confirm your selection of Oracle Solaris Cluster object names, type d.

    The clsetup utility provides information about the Oracle Solaris Cluster configuration that the utility will create.

  11. To create the configuration, type c.

    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.

  12. (Optional) Type q and press Return repeatedly until you quit the clsetup utility.

    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 shared address resource group when you restart the utility.

  13. Verify that the shared address resource has been created.

    Use the clresource(8CL) utility for this purpose. By default, the clsetup utility assigns the name node_name-rg to the resource group.

    # clresource show node_name-rg