Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 Agent Developer's Guide   

clean


clean resource_name ArgList_attribute_values

The variable clean_reason equals one of the following values:

0 - The offline entry point did not complete within the expected time. (See OfflineTimeout.)
1 - The offline entry point was ineffective.
2 - The online entry point did not complete within the expected time. (See OnlineTimeout.)
3 - The online entry point was ineffective.
4 - The resource was taken offline unexpectedly.
5 - The monitor entry point consistently failed to complete within the expected time. (See FaultOnMonitorTimeouts.)

The exit value is 0 (successful) or 1.

action

action resource_name ArgList_attribute_values_AND_action_arguments

The exit value is 0 (successful) or 1 (if unsuccessful).

For example:


#!/bin/ksh
ResName = $1
ArgListattr1 - $2
ArgListattr2 = $3
.
.
ArgListattrn = $n+1
NumActionArgs - $n+2
Actionarg1 = $n+3
Actionarg2 = $n+4
.
.
.

 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 Agent Developer's Guide  
VERITAS Software Corporation
www.veritas.com