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 for Existing Resources

Before You Begin

Read Synchronizing the Startups Between Resource Groups and Device Groups.

  1. Determine whether the resource type is registered.

    The following command prints a list of registered resource types.

    # clresourcetype show | egrep Type
  2. If you need to, register the resource type.
    # clresourcetype register SUNW.HAStoragePlus
  3. Create the HAStoragePlus resource hastorageplus-1.
    # clresource create -g resource-group \
    -t SUNW.HAStoragePlus -p GlobalDevicePaths= … \
    -p FileSystemMountPoints=... -p AffinityOn=True hastorageplus-1

    The resource is created in the enabled state.

  4. Set up the dependency for each of the existing resources, as required.
    # clresource set -p Resource_Dependencies_offline_restart=hastorageplus-1 resource
  5. Verify that you have correctly configured the resource dependencies.
    # clresource show -v resource | egrep Resource_dependencies_offline_restart