Agent functions for LVMVG agent

Online

Activates the volume group. The Online agent function expects that the volume group is already imported on the system. If the volume group had been modified on a system where it was previously active, the online agent function detects the modification. It then syncs up the ODM on the system where you want to bring the volume group resource online.

Offline

Deactivates the volume group.

Monitor

Determines the volume group's state (activated or deactivated) and availability for read/write operations.

Clean

Terminates all ongoing resource actions and takes the resource offline, forcibly when necessary.

Action

Different action agent functions follow:

  • pv.vfd

    Checks if all the disks in the volume group are visible on a host. If it fails, check if the path to disks exists from the host and check if LUN masking and zoning are set properly.

  • autoon.vfd

    Checks if the flag to automatically activate volume group on system restart is set to yes. If it fails, set the "auto on" flag of volume group to "no".

  • volinuse

    Checks if open volumes are in use or file systems on volumes that are mounted outside of VCS configuration.

  • updatepv

    Updates the volume group's physical volumes (PV) information on all the other nodes in the cluster. You must run this action whenever there are changes in the disk configuration, such as addition, deletion, or replacement of physical volumes of the volume group. Running this action ensures that the other nodes are updated with the new information, which is used when the agent brings the volume group online.