If you are running Sun Cluster 3.0 with Update2 or later, you can use the SUNW.HAStoragePlus resource in the Adaptive Server resource group. You can use SUNW.HAStoragePlus resource in place of SUNW.HAStorage resource, or you can have both SUNW.HAStorage and SUNW.HAStoragePlus resources in your resource group.
To add a SUNW.HAStoragePlus resource to the Adaptive Server resource group, you must set the SUNW.HAStoragePlus resource properties GlobalDevicePaths and FilesystemMountPoints as required. If using syscadm script, this can be done by specifying values for corresponding entries in the sysc_input_file. To enable collocation, the SUNW.HAStoragePlus resource property AffinityOn must be set to TRUE, which is done by the syscadm script.
To manually add a SUNW.HAStoragePlus resource:
Register the resource type SUNW.HAStoragePlus:
scrgadm -a -t SUNW.HAStoragePlus
Add the SUNW.HAStoragePlus resource to the Adaptive Server resource group.
scrgadm -a -j hasp_resource_name -t SUNW.HAStoragePlus -g resource_type -x FilesystemMountPoints=shared_disk_filesystem -x AffinityOn=TRUE
For example:
scrgadm -a -j hasp_MONEY -t SUNW.HAStoragePlus -g rg_MONEY -x fileSystemMountPoints=\global\node1_share -x Affinityon=TRUE
When using SUNW.HAStoragePlus resources Adaptive Server database devices can be created either on global file system or on Failover File System (FFS) managed by the SUNW.HAStoragePlus resource. In either case data must reside on shared disk. Specify all corresponding file system and device paths when creating the SUNW.HAStoragePlus resource.
Enable the SUNW.HAStoragePlus resource:
scswitch -e -j hastorageplus_name
For example:
scswitch -e -j hasp_MONEY
Establish a resource dependency between SY.ase resource and the SUNW.HAStoragePlus resource:
scrgadm -c -j ase_resource_name -y Resource_dependencies=hastorageplus_name
For example:
scrgadm -c -j ase_MONEY -y Resource_dependencies=hasp_MONEY
If you are using both SUNW.HAStorage and SUNW.HAStoragePlus resources, you must specify all the storage resource names as a comma separated list.
scrgadm -c -j ase_resource_name -y Resource_dependencies=hastorageplus-name, hastorage-name
For example:
scrgadm -c -j MONEY -y Resource_dependencies=has_MONEY,hasp_MONEY
Refer to your Sun Cluster documentation for more information about SUNW.HAStoragePlus resource type.