InfoScale™ 9.0 Cluster Server Bundled Agents Reference Guide - Windows
- Introducing VCS bundled agents
- Storage agents
- Network agents
- FileShare agents
- Services and applications agents
- VCS infrastructure and support agents
- VCS hardware replication agent for NetApp
- Troubleshooting bundled agents
AppMonHB agent
The AppMonHB agent integrates with the application and with VMware. It monitors the application states, and if the application is unable to come online or to recover from a failure, it uses the heartbeat mechanism to inform VMware of the state. Additionally, if the VM is in an unhealthy state, AppMonHB cannot heartbeat with VMware, which indicates that corrective action is required. VMware may then restart the VM or move it, according to the virtualization configuration in your environment. AppMonHB is designed to wait for a predefined, customizable duration before taking any corrective action in case a fault occurs in any of the critical service groups. If the faulted service groups come online within this duration, no corrective action is taken.
For details on application monitoring on single-node clusters, refer to the Cluster Server Administrator's Guide - Windows.
Table: Required attributes
Required attribute | Description |
---|---|
Provider | Virtualization environment in which the single-node cluster is configured. This attribute is used as a switch to toggle between the supported virtualization environments. Type and dimension: string-scalar Default: VMware Note: As of now, only VMware is supported. |
ServiceGroupName | List of service groups for the agent to track. If a service group from this list faults and is unable to recover, the appropriate corrective action is triggered. Type and dimension: string-vector Default: No value |
WaitBeforeCorrectiveAction | Number of seconds to wait before any pending online or failover attempts are made. Thereafter, the possible corrective actions are evaluated. This duration provides a grace window so that agent does not rush to perform any corrective actions. Type and dimension: integer-scalar Default: 300 |
The resource type for the AppMonHB agent is defined in types.cf
as follows:
type AppMonHB ( static int MonitorInterval = 10 static int NumThreads = 1 static int OfflineMonitorInterval = 10 static str ArgList[] = { ServiceGroupName, WaitBeforeCorrectiveAction, Provider } static str Operations = None str ServiceGroupName[] int WaitBeforeCorrectiveAction = 300 str Provider = VMware )
The following sample from a main.cf
file represents an application monitoring configuration in a single-node cluster.
group VCSAppMon ( SystemList = { hostname = 0 } ) AppMonHB VCSAppMonRes ( ServiceGroupName = { Application_SG } )