Register the SUNW.HAStoragePlus resource type.
# scrgadm -a -t SUNW.HAStoragePlus
# scrgadm -a -j hsp-resource -g sapdb-rg \ -t SUNW.HAStoragePlus -x filesystemmountpoints=mountpoint-list \ -x globaldevicepaths=sapdb-device-group -x affinityon=TRUE
Specifies that a new configuration is to be added.
Specifies that the resource that you are creating is named hsp-resource.
Specifies that the resource is to be added to the SAP DB resource group.
Specifies that the resource is an instance of the SUNW.HAStoragePlus resource type.
Specifies a list of valid mount points for the file system. For more information, see the SUNW.HAStoragePlus(5) man page.
Specifies the name of the global device group on which the SAP DB software is installed.
Specifies that this resource performs an affinity switchover for all global devices that are defined for this resource.
Enable the HAStoragePlus resource that you created in Step 2.
# scswitch -ej hsp-resource
Specifies that the HAStoragePlus resource that you created in Step 2 is to be enabled
# scrgadm -a -j hsprs -g sapdbrg \ -t SUNW.HAStoragePlus -x filesystemmountpoints=/global/sapdbdata \ -x globaldevicepaths=sapdbdg -x affinityon=TRUE
This example shows the creation of a SUNW.HAStoragePlus resource that has the following characteristics:
The resource is named hsprs.
The resource is a member of a resource group that is named sapdbrg. The creation of this resource group is shown in Example 1–5.
The resource is an instance of the SUNW.HAStoragePlus resource type. The registration of this resource type is not shown in this example.
The mount point for the file system is /global/sapdbdata.
The SAP DB software is installed on a global device group that is named sapdbdg.
The hsprs resource performs an affinity switchover for all global devices that are defined for this resource.