Oracle® Solaris Cluster Data Services Planning and Administration Guide

Exit Print View

Updated: September 2014, E39648–02
 
 

How to Set Up the HAStoragePlus Resource Type by Using the clsetup Utility

The following instructions explain how to how to set up the HAStoragePlus resource type 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.


Note -  You can also use the Oracle Solaris Cluster Manager GUI to create in one operation an HAStoragePlus resource and a new resource group to contain it. For GUI log-in instructions, see How to Access Oracle Solaris Cluster Manager in Oracle Solaris Cluster System Administration Guide . After you log in, click Tasks and then click Highly Available Storage to start the wizard.

Before You Begin

Ensure that the required volumes, disk groups, and file systems are created.

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

    The clsetup main menu is displayed.

  3. Type the number for the option for data services and press Return.

    The Data Services menu is displayed.

  4. Type the number for the option for configuring highly available storage and press Return.

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

  5. Verify that the prerequisites are met, and press Return to continue.

    The clsetup utility provides a list of the cluster nodes that can master the highly available HAStoragePlus resource.

  6. Select the nodes that can master the highly available HAStoragePlus resource.
    • To accept the default selection of all listed nodes in an arbitrary order, type a and press Return.
    • To select a subset of the listed nodes, type a comma-separated or space-separated list of the numbers that correspond to the nodes and press Return.

      Ensure that the nodes are listed in the order in which the nodes are to appear in the HAStoragePlus resource group's node list. The first node in the list is the primary node of this resource group.

    • 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 and press Return.
  7. To confirm your selection of nodes, type d and press Return.

    The clsetup utility provides a list of types of shared storage type where data is to be stored.

  8. Type the numbers that correspond to type of shared storage that you are using for storing the data and press Return.

    The clsetup utility provides a list of the file system mount points that are configured in the cluster. If there are no existing mount points, the clsetup utility allows you to define a new mount point.

  9. Specify the default mount directory, the raw device path, the Global Mount option and the Check File System Periodically option and press Return.

    The clsetup utility returns you the properties of the mount point that the utility will create.

  10. To create the mount point, type d and press Return.

    The clsetup utility provides the available file system mount points.


    Note -  You can use the c option to define another new mount point.
  11. Select the file system mount points.
    • To accept the default selection of all listed file system mount points in an arbitrary order, type a and press Return.
    • To select a subset of the listed file system mount points, type a comma-separated or space-separated list of the numbers that correspond to the file system mount points and press Return.
  12. To confirm your selection of nodes, type d and press Return.

    The clsetup utility provides a list of the global disk sets and device groups that are configured in the cluster.

  13. Select the global device groups.
    • To accept the default selection of all listed device groups in an arbitrary order, type a and press Return.
    • To select a subset of the listed device groups, type a comma-separated or space-separated list of the numbers that correspond to the device groups and press Return.
  14. To confirm your selection of nodes, type d and press Return.

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

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

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

    2. At the New Value prompt, type the new name and press Return.

    The clsetup utility returns you to the list of the names of the Oracle Solaris Cluster objects that the utility will create.

  16. To confirm your selection of Oracle Solaris Cluster object names, type d and press Return.

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

  17. To create the configuration, type c and Press Return.

    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.

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

  19. Verify that the HAStoragePlus resource has been created.

    Use the clresource(1CL) utility for this purpose.

    # clresource show name_of_rg