Sun Cluster 3.0 Data Services Installation and Configuration Guide

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

To create a SUNW.HAStorage resource for existing resources, do the following:

  1. Register the resource type.


    # scrgadm -a -t SUNW.HAStorage
    

  2. Create the SUNW.HAStorage resource hastorage-1, for example:


    # scrgadm -a -g resource-group-name -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-name -y Resource_Dependencies=hastorage-1