Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 Bundled Agents Reference Guide   

DiskGroup Agent

Brings online, takes offline, and monitors a VERITAS Volume Manager (VxVM) disk group. This agent uses VxVM commands.

Entry Points

  • Online---Imports the disk group.
  • Offline---Deports the disk group.
  • Monitor---Determines if the disk group is online or offline. If the disk group was imported with noautoimport=off, then the DiskGroup agent changes the value of noautoimport=on instead of taking the service group offline.
  • Clean---Terminates all ongoing resource actions and takes the resource offline---forcibly when necessary.
  • Info---The DiskGroup info entry point gets information from the volume manager and displays the type and free size for the DiskGroup resource.

State Definitions

  • ONLINE---Indicates that the disk group is imported.
  • OFFLINE---Indicates that the disk group is not imported.
  • UNKNOWN---Indicates that a problem exists either with the configuration or the ability to determine the status of the resource.

Type Definition


type DiskGroup (
 static int NumThreads = 1
 static int OnlineRetryLimit = 1
static str ArgList[] = { DiskGroup, StartVolumes, StopVolumes,
MonitorOnly, MonitorReservation, tempUseFence }

 str DiskGroup
 str StartVolumes = 1
 str StopVolumes = 1
 boolean MonitorReservation = 0
 temp str tempUseFence = "INVALID"
)

Required Attribute

Required Attribute Description, Type and Dimension, Default, and Example

DiskGroup

Name of the disk group configured with VERITAS Volume Manager.

Optional Attributes

Optional Attribute Description, Type and Dimension, Default, and Example

StartVolumes

If value is 1, the DiskGroup online script starts all volumes belonging to that disk group after importing the group.

StopVolumes

If value is 1, the DiskGroup offline script stops all volumes belonging to that disk group before deporting the group.

MonitorReservation

If value set to 1, the agent monitors the SCSI reservation on the disk group. If reservation is missing, it takes the resource offline.

TempUseFence

Do not use. For VERITAS use only.

 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 Bundled Agents Reference Guide  
VERITAS Software Corporation
www.veritas.com