![]() |
< Previous | Next > |
Product: Cluster Server Guides | |
Manual: Cluster Server 4.1 Agent Developer's Guide |
cleanThe clean entry point is called automatically by the agent framework when all ongoing tasks associated with a resource must be terminated and the resource must be taken offline, perhaps forcibly. The entry point receives as input the resource name, an encoded reason describing why the entry point is being called, and the ArgList attribute values. It must return 0 if the operation is successful, and 1 if unsuccessful. The reason for calling the entry point is encoded according to the following enum type: enum VCSAgWhyClean { VCSAgCleanOfflineHung, VCSAgCleanOfflineIneffective, VCSAgCleanOnlineHung, VCSAgCleanOnlineIneffective, VCSAgCleanUnexpectedOffline, VCSAgCleanMonitorHung };
The offline entry point did not complete within the expected time. (See OfflineTimeout.)
The offline entry point was ineffective.
The online entry point did not complete within the expected time. (See OnlineTimeout.)
The online entry point was ineffective.
The online resource faulted because it was taken offline unexpectedly.
The online resource faulted because the monitor entry point consistently failed to complete within the expected time. (See FaultOnMonitorTimeouts.) The agent supports the following tasks when the clean entry point is implemented:
For the above actions to occur, the clean entry point must return 0. |
^ Return to Top | < Previous | Next > |
Product: Cluster Server Guides | |
Manual: Cluster Server 4.1 Agent Developer's Guide | |
VERITAS Software Corporation
www.veritas.com |