The CVMVolDg agent brings online, takes offline, and monitors a VxVM shared volume in a disk group. The CVMVolDg agent executable is /opt/VRTSvcs/bin/CVMVolDg/CVMVolDg. The type definition is in the /etc/VRTSvcs/conf/config/CVMTypes.cf file.
Table: CVMVolDg agent entry points describes the CVMVolDg agent entry points.
Table: CVMVolDg agent entry points
Entry Points
|
Description |
Online
|
Sets the activation mode of the shared disk group and brings volumes online.
|
Offline
|
Sets the activation mode of the shared disk group to "off."
|
Monitor
|
Determines whether the disk group and volumes are online.
|
Clean
|
A null operation for a cluster file system mount.
|
attr_changed
|
Changes the activation mode of the shared disk groups specified.
|
Table: CVMVolDg agent attributes describes the CVMVolDg agent attributes.
Table: CVMVolDg agent attributes
Attributes
|
Type and Dimension |
Definition |
CVMDiskGroup (required)
|
string-scalar
|
Shared disk group name.
|
CVMVolume (required)
|
string-keylist
|
Shared Volume names. This list is used to check that the volumes are in the
correct state before allowing the resource to come online, and that the volumes
remain in an enabled state.
|
CVMActivation (required)
|
string-scalar
|
Activation mode for the disk group. Must be set to shared-write (sw). This is a localized attribute.
|
CVMVolumeIoTest(optional)
|
string-keylist |
List of volumes that will be
periodically polled to test availability. The polling is in the form of a 1k
read every monitor cycle to a maximum of 10 of the volumes in the list |