Read Synchronizing the Startups Between Resource Groups and Device Groups.
Determine whether the resource type is registered.
The following command prints a list of registered resource types.
# clresourcetype show | egrep Type |
If you need to, register the resource type.
# clresourcetype register SUNW.HAStoragePlus |
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.
Set up the dependency for each of the existing resources, as required.
# clresource set -p Resource_Dependencies=hastorageplus-1 resource |
Verify that you have correctly configured the resource dependencies.
# clresource show -v resource | egrep Resource_dependencies |