Sun Cluster Data Services Planning and Administration Guide for Solaris OS

ProcedureHow to Set Up the HAStoragePlus Resource for Cluster File Systems

  1. On any node in the cluster, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  2. Create a failover resource group.


    # clresourcegroup create resource-group-1
    
  3. Register the HAStoragePlus resource type.


    # clresourcetype register SUNW.HAStoragePlus
    
  4. Create the HAStoragePlus resource and define the filesystem mount points.


    # clresource create -g resource-group -t SUNW.HAStoragePlus \
     -p FileSystemMountPoints="mount-point-list" hasp-resource
    

    The resource is created in the enabled state.

  5. Add the data service resources to resource-group-1, and set their dependency to hasp-resource.

  6. Bring online and in a managed state the resource group that contains the HAStoragePlus resource.


    # clresourcegroup online -M resource-group-1