Cluster Server 7.3.1 Bundled Agents Reference Guide - Linux
- Introducing Bundled agents
- Storage agents
- DiskGroup agent
- DiskGroupSnap agent
- Notes for DiskGroupSnap agent
- Sample configurations for DiskGroupSnap agent
- Volume agent
- VolumeSet agent
- Sample configurations for VolumeSet agent
- LVMLogicalVolume agent
- LVMVolumeGroup agent
- Sample configurations for LVMVolumeGroup agent
- Mount agent
- Sample configurations for Mount agent
- VMwareDisks agent
- SFCache agent
- AWS EBSVol agent
- AzureDisk agent
- Network agents
- About the network agents
- IP agent
- NIC agent
- Notes for the NIC agent
- Sample configurations for NIC agent
- IPMultiNIC agent
- MultiNICA agent
- IP Conservation Mode (ICM) for MultiNICA agent
- Performance Mode (PM) for MultiNICA agent
- Sample configurations for MultiNICA 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
- AWSIP agent
- AWSRoute53 agent
- AzureIP agent
- AzureDNSZone agent
- File share agents
- NFS agent
- NFSRestart agent
- Share agent
- About the Samba agents
- SambaServer agent
- SambaShare agent
- NetBios agent
- Service and application agents
- Apache HTTP server agent
- Application agent
- Notes for Application agent
- Sample configurations for Application agent
- CoordPoint agent
- KVMGuest agent
- Notes for KVMGuest agent
- Sample configurations for KVMGuest environment
- Sample configurations for RHEV environment
- Process agent
- Usage notes for Process agent
- Sample configurations for Process agent
- ProcessOnOnly agent
- AzureAuth agent
- Infrastructure and support agents
- Testing agents
- Replication agents
- RVG agent
- RVGPrimary agent
- RVGSnapshot
- RVGShared agent
- RVGLogowner agent
- RVGSharedPri agent
- VFRJob agent
- Dependencies for VFRJob agent
- Notes for the VFRJob agent
Agent functions for KVMGuest agent
Online | KVM environment: Agent uses the virsh start command to start the guest virtual machine. When the resource is configured to define the guest configuration, agent uses the virsh define command to define the virtual machine while bringing it online. RHEV environment: Agent uses the REST APIs to start the virtual machine. If the DROpts attribute is set to configure the guest network, the agent also sets the payload as a cdrom. This payload contains networking parameters to be set within the guest after a DR failover. |
Offline | KVM environment: Agent uses the virsh shutdown command to shutdown the guest virtual machine. If the SyncDir attribute is configured to synchronize the guest virtual machine configuration file, then the configuration file is copied to the location configured as a SyncDir attribute. RHEV environment: Agent uses the REST APIs to shutdown the virtual machine. |
Monitor | KVM environment: Agent uses the virsh domstate command to determine the status of the guest virtual machine. RHEV environment: Agent uses the REST APIs to get the status of the virtual machine. |
Clean | KVM environment: Agent uses the virsh destroy command to forcefully shutdown the guest virtual machine. If the SyncDir attribute is configured to synchronize the guest virtual machine configuration file, then the configuration file is copied to the location configured as a SyncDir attribute. RHEV environment: Agent uses REST APIs to stop the virtual machine. |
Open | Starts the vcskvmguestd process which is used to detect the virtual machine migration. |
Close | Stops the vcskvmguestd process |
Shutdown | Stops the vcskvmguestd process |
attr_changed | Checks the value of the DelayAfterGuestOnline and DelayAfterGuestOffline attributes. If it is less than the default value then the warning message is logged. Additionally, it also initiates the virtualization environment validation process whenever any of the following attributes is modified:
|
Action | guestmigrated vcskvmguestd process detects the virtual machine migration and executes this action entry point to create the migration state file and initiate the resource monitor using the hares -probe command. vmconfigsync: Saves virtual machine configuration of the node to a shared storage. This entry point is only for internal use. Use the havmconfigsync utility for synchronizing virtual machine configuration across the cluster nodes. DevScan: The DevScan action is applicable only in RHEV environments and it is only for internal use. This action is used internally by the preonline trigger script in RHEV DR environments. This action makes sure that Storage Pool Manager (SPM) is active on a healthy node in the current RHEV cluster. After a cluster-wide failover, the state of the replicated devices on RHEL hosts has to be changed from read-only to read-write. This state change is performed by the DevScan action. DevScan also deactivates all the hosts in the remote cluster so that SPM can failover to the local cluster in finite time. DevScan then reactivates all the deactivated hosts. If the DevScan action finds that the current SPM host is in NON_RESPONSIVE state, it isolates that host from RHEV-M so that the SPM status can be moved to some other healthy node in the local cluster. |
Migrate | KVM environment: The agent uses the virsh migrate command to start virtual machine migration. RHEV environment: The agent uses REST APIs to start virtual machine migration. Additionally, it checks whether the virtual machine migration is allowed or not. |