CVMVolDg Agent
Description
|
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 file /etc/VRTSvcs/conf/config/CVMTypes.cf.
|
Entry Points
|
- 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.
|
Required Attributes
|
Type and Dimension
|
Definition
|
CVMDiskGroup
|
string-scalar
|
Shared disk group name.
|
CVMVolume
|
string-keylist
|
Shared volume names.
|
CVMActivation
|
string-scalar
|
Activation mode for the disk group. Must be set to shared-write (sw). This is a localized attribute.
|
Type Definition
type CVMVolDg (
static keylist RegList = { CVMActivation }
static str ArgList[] = { CVMDiskGroup, CVMActivation }
NameRule = ""
str CVMDiskGroup
str CVMActivation
)
Sample Configuration
CVMVolDg testdg (
CVMDiskGroup = testdg
CVMActivation @node1 = sw
CVMActivation @node2 = sw
)
|