Sun Cluster 3.0 U1 Data Services Installation and Configuration Guide

How to Set Up SUNW.HAStorage Resource Type for Existing Resources

Perform the following steps to create a SUNW.HAStorage resource for existing resources.

  1. Register the resource type.


    # scrgadm -a -t SUNW.HAStorage
    

  2. Create the SUNW.HAStorage resource hastorage-1.


    # scrgadm -a -g resource-group -j hastorage-1 -t SUNW.HAStorage \
    -x ServicePaths= ... -x AffinityOn=True
    

  3. Enable the hastorage-1 resource.


    # scswitch -e -j hastorage-1
    

  4. Set up the dependency for each of the existing resources, as required.


    # scrgadm -c -j resource -y Resource_Dependencies=hastorage-1