VCS behavior for resources that support the intentional offline functionality
Certain agents can identify when an application has been intentionally shut down outside of VCS control.
For agents that support this functionality, if an administrator intentionally shuts down an application outside of VCS control, VCS does not treat it as a fault. VCS sets the service group state as offline or partial, depending on the state of other resources in the service group.
This feature allows administrators to stop applications without causing a failover. The feature is available for V51 agents.
About the IntentionalOffline attribute
To configure a resource to recognize an intentional offline of configured application, set the IntentionalOffline attribute to 1. Set the attribute to its default value of 0 to disable this functionality.
-
If you set the attribute to 1: When the application is intentionally stopped outside of VCS control, the resource enters an OFFLINE state.
-
If you set the attribute to 0: When the application is intentionally stopped outside of VCS control, the resource enters a FAULTED state.
About the ExternalStateChanged attribute
Use the ExternalStateChanged attribute to control service group behavior in response to a a configured application is intentionally started or stopped outside of VCS control.
The attribute defines how VCS handles service group state when resources are intentionally brought online or taken offline outside of VCS control.
The attribute can take the following values:
-
OnlineGroup: If the configured application is started outside of VCS control, VCS brings the corresponding service group online. If you attempt to start the application on a frozen node or service group, VCS brings the corresponding service group online once the node or service group is unfrozen.
-
OfflineGroup: If the configured application is stopped outside of VCS control, VCS takes the corresponding service group offline.
-
OfflineHold: If a configured application is stopped outside of VCS control, VCS sets the state of the corresponding VCS resource as offline. VCS does not take any parent resources or the service group offline.
OfflineHold and OfflineGroup are mutually exclusive.