|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Cluster Reference Manual Oracle Solaris Cluster 4.0|
- resource type implementation for a scalable device group
The SUNW.ScalDeviceGroup resource type represents a scalable device group. An instance of this resource type represents one of the following type of device group:
The SUNW.ScalDeviceGroup resource type is a scalable resource type. An instance of this resource type is online on each node in the node list of the resource group that contains the resource.
To register this resource type and create instances of this resource type, use one of the following means:
The clsetup(1CL) utility, specifying the option for configuring Oracle Solaris Cluster Support for Oracle Real Application Clusters
The following sequence of Oracle Solaris Cluster maintenance commands:
Standard properties and extension properties that are defined for the SUNW.ScalDeviceGroup resource type are described in the subsections that follow.
For a description of all standard resource properties, see the r_properties(5) man page.
Standard resource properties are overridden for this resource type as follows:
The extension properties of this resource type are as follows:
The name of an existing Solaris Volume Manager for Sun Cluster multi-owner disk set. This name was specified in the metaset(1M) command with which the disk set was created.
The requirements for the device group that you specify are as follows:
The device group must be a valid, existing multi-owner disk set or shared-disk group.
The device group must be hosted on all nodes that can master the resource.
The device group must be accessible from all nodes that can master the scalable device group resource.
The device group must contain at minimum one volume.
No default defined
This property specifies a comma-separated list of logical volumes that the fault monitor of the resource is to monitor. This property is optional. If you do not specify a value for this property, all logical volumes in the device group are to be monitored.
The status of the device group is derived from the statuses of the individual logical volumes that are monitored. If all monitored logical volumes are healthy, the device group is healthy. If any monitored logical volume is faulty, the device group is faulty.
The status of an individual logical volume is obtained by querying the volume's volume manager. If the status of a Solaris Volume Manager for Sun Cluster volume cannot be determined from a query, the fault monitor performs file input/output (I/O) operations to determine the status.
If a device group is discovered to be faulty, monitoring of the resource that represents the group is stopped and the resource is put into the disabled state.
Note - For mirrored disks, if one submirror is faulty, the device group is still considered to be healthy.
Note - When using Solaris Volume Manager for Sun Cluster, if soft partitions are to be specified to be monitored, then the corresponding top level or bottom level meta devices should also be specified.
The requirements for each logical volume that you specify are as follows:
The logical volume must exist.
The logical volume must be contained in the device group that the diskgroupname property specifies.
The logical volume must be accessible from all nodes that can master the scalable device group resource.
No range defined
No range defined
Example 1 Creating a ScalDeviceGroup Resource Using the SUNW.vucmm_svm Resource Type
This example shows the creation of a ScalDeviceGroup resource to represent a Solaris Volume Manager for Sun Cluster multi-owner disk set that is named datadg using SUNW.vucmm_svm resource type. The resource is named scaldatadg-rs. This example assumes that the following Oracle Solaris Cluster objects exist:
A scalable resource group that is named scaldatadg-rg.
An instance of the SUNW.vucmm_svm resource type that is named vucmm-svm-rs.
# clresourcetype register SUNW.ScalDeviceGroup # clresource create -t SUNW.ScalDeviceGroup \ -g scaldatadg-rg -p resource_dependencies=vucmm-svm-rs \ -p diskgroupname=datadg scaldatadg-rs
See attributes(5) for descriptions of the following attributes: