About the close entry point

The close entry point is called whenever the Enabled attribute changes from 1 to 0, or when a resource is deleted from the configuration on a running cluster and the state of the resource permits running the close entry point. The open and close entry points are related in the sense that the open entry point creates the environment needed for other entry points, while the close entry points cleans the setup created by open entry point.

See the table below to find out which states of the resource allow running of the close entry point when the resource is deleted on a running cluster. It receives a resource name and ArgList attribute values as input and returns no value. This entry point typically deinitializes the resource if implemented. Most agents do not require this functionality and will not implement this entry point.

States in which CLOSE entry point runs - based on operations type of resource

Resource Type

Online State

Offline State

Probing

Going Offline Waiting

Going Online Waiting

None (persistent) 

Yes 

N/A 

Yes 

Yes 

N/A 

OnOnly 

Yes 

Yes 

Yes 

Yes 

Yes 

OnOff 

No 

Yes 

Yes 

No 

No 

Note   A resource is monitored only if it is managed by an agent. For an agent to manage a resource, the resource's Enabled attribute value must be set to 1.