Perform this procedure on any one cluster node.
Register the SUNW.HAStoragePlus resource type.
# clresourcetype register SUNW.HAStoragePlus |
Create an HAStoragePlus resource for the global device group on which MaxDB is installed.
Create this resource in the MaxDB resource group. This resource must perform an affinity switchover for all global devices that are defined for this resource.
# clresource create -d -g sapdb-rg \ -t SUNW.HAStoragePlus -p filesystemmountpoints=mountpoint-list \ -p globaldevicepaths=sapdb-device-group \ -p affinityon=TRUE hsp-resource |
Specifies that a new resource is to be created in a disabled state.
Specifies that the resource is to be added to the MaxDB 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.
Specifies the name of the global device group on which the MaxDB software is installed.
Specifies that this resource performs an affinity switchover for all global devices that are defined for this resource.
Specifies that the resource that you are creating is named hsp-resource.
The resource is created in the enabled state.
# clresource create -g sapdbrg \ -t SUNW.HAStoragePlus -p filesystemmountpoints=/global/sapdbdata \ -p globaldevicepaths=sapdbdg -p affinityon=TRUE hsprs |
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 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 MaxDB 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.