The online
entry point typically contains the code to bring a resource online. For example, the online
entry point for an IP agent configures an IP address. When the online procedure completes, the monitor
entry point is automatically called by the framework to verify that the resource is online.
The online
entry point receives a resource name and ArgList
attribute values as input. It returns an integer indicating the number of seconds to wait for the online to take effect. The typical return value is 0. If the return value is not zero, the agent framework waits the number of seconds indicated by the return value before calling the monitor
entry point for the resource.