InfoScale™ Cluster Server 9.0 Bundled Agents Reference Guide - Solaris
- Introducing bundled agents
- Storage agents
- DiskGroup agent
- DiskGroupSnap agent
- Notes for DiskGroupSnap agent
- Sample configurations for DiskGroupSnap agent
- Disk agent
- Volume agent
- VolumeSet agent
- Sample configurations for VolumeSet agent
- Mount agent
- Sample configurations for Mount agent
- Zpool agent
- VMwareDisks agent
- SFCache agent
- Network agents
- About the network agents
- IP agent
- NIC agent
- About the IPMultiNICB and MultiNICB agents
- IPMultiNICB agent
- Sample configurations for IPMultiNICB agent
- MultiNICB agent
- Sample configurations for MultiNICB agent
- DNS agent
- Agent notes for DNS agent
- About using the VCS DNS agent on UNIX with a secure Windows DNS server
- Sample configurations for DNS agent
- File share agents
- NFS agent
- NFSRestart agent
- Share agent
- About the Samba agents
- NetBios agent
- Service and application agents
- AlternateIO agent
- Apache HTTP server agent
- Application agent
- Notes for Application agent
- Sample configurations for Application agent
- CoordPoint agent
- LDom agent
- Dependencies
- Process agent
- Usage notes for Process agent
- Sample configurations for Process agent
- ProcessOnOnly agent
- Project agent
- RestServer agent
- Zone agent
- Infrastructure and support agents
- Testing agents
- Replication agents
Agent functions for DiskGroup agent
Online | Imports the disk group using the vxdg command. |
Offline | Deports the disk group using the vxdg command. |
Monitor | Determines if the disk group is online or offline using the vxdg command. The Monitor function sets the VxVM noautoimport flag. This action allows VCS to maintain control of importing the disk group. The monitor function uses the following command to set the noautoimport flag: # vxdg -g disk_group set autoimport=no If IMF is enabled for the DiskGroup agent, the resource is monitored asynchronously and any change in the disk group state is immediately sent to the DiskGroup agent for appropriate action. |
Clean | Terminates all ongoing resource actions and takes the resource offline - forcibly when necessary. |
Info | The Info function gets information from the Volume Manager and displays the type and free size for the DiskGroup resource. Initiate the Info function by setting the InfoInterval timing to a value greater than 0. In the following example, the Info function executes every 60 seconds: # haconf -makerw # hatype -modify DiskGroup InfoInterval 60 Enter the following command to retrieve information about the DiskType and FreeSize of the DiskGroup resource: # hares -value diskgroupres ResourceInfo Output includes: DiskType sliced FreeSize 35354136 The value specified is in kilo bytes. |
Action | Different actions follow:
|
imf_init | Initializes the agent to interface with Intelligent monitoring framework (IMF). The function runs when the agent starts up. |
imf_getnotification | Waits for notification about disk group state changes. The function runs after the agent initializes with IMF. The function waits for notification. Upon receiving notification, the agent takes action on the resource. |
imf_register | Registers the resource entities, which the agent must monitor using IMF. The function runs for each resource after the resource goes into a steady state, either online or offline. |