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

Summary of Return Values for Entry Points

The following table summarizes the return values for each entry point.

Entry Point Return Values

Monitor

C++ Based Returns ResStateValues:

  • VCSAgResOnline
  • VCSAgResOffline
  • VCSAgResUnknown
  • Script-Based Exit values:

  • 100 - Offline
  • 101-110 - Online
  • 99 - Unknown

Info

0 if successful; non-zero value if not successful

Online

Integer specifying number of seconds to wait before monitor can check the state of the resource; typically 0, i.e., check resource immediately.

Offline

Integer specifying number of seconds to wait before monitor can check the state of the resource; typically 0, i.e., check resource immediately.

Clean

0 if successful; non-zero value if not successful

If clean fails, the resource remains in a transition state awaiting the next periodic monitor. After the periodic monitor, clean is attempted again. The sequence of clean attempt followed by monitoring continues until clean succeeds. Refer to State Transition Diagrams for descriptions of internal transition states.

Action

0 if successful; non-zero value if not successful

Attr_changed

None

Open

None

Close

None

Shutdown

None

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