To create a SUNW.HAStorage resource for existing resources, do the following:
Register the resource type.
# scrgadm -a -t SUNW.HAStorage |
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 |
Enable the hastorage-1 resource.
# scswitch -e -j hastorage-1 |
Set up the dependency for each of the existing resources, as required.
# scrgadm -c -j resource-name -y Resource_Dependencies=hastorage-1 |