AsyncMon

Available on VCS only.

Use the AsyncMon attribute to enable asynchronous monitoring of Process resources. When asynchronous monitoring of a resource is enabled (AsyncMon = 1), no monitoring of an online resource takes place until the state of the resource has changed. When the resource changes state, the agent framework immediately begins monitoring the resource. If the resource is found to be offline, the agent identifies the resource as faulted. If the resource is found to be online, then the framework resumes monitoring the resource in the asynchronous manner.

The default for AsyncMon is 0, that is, asynchronous monitoring is not enabled. The AsyncMon attribute can be overridden.

Enabling and disabling asynchronous monitoring

You can enable and disable asynchronous monitoring for all resources or selected resources.

To enable or disable asynchronous monitoring for all resources of a type

The default for AsyncMon = 0. To enable disable asynchronous monitoring for all resources of the Process resource type, use haytpe command to modify the AsyncMon attribute:

# hatype -modify Process AsyncMon 1

To disable asynchronous monitoring for all resources of the Process resource type, use haytpe command to modify the AsyncMon attribute:

# hatype -modify Process AsyncMon 0

To enable or disable asynchronous monitoring for selected resources

Because you can override the value of the AsyncMon attribute, you can selectively apply the method of monitoring.

For example, to allow the AsyncMon attribute for a given Process resource type to be overridden:

# hares -override MyProcess AsyncMon

To override the current value, use hares -modify command. For example, if asynchronous monitoring is not currently enabled, but you want to use it for the MyProcess resource on system A, enter:

# hares -modify Myprocess AsyncMon 1 -sys A