About the open entry point

When an agent starts, the open entry point of each resource defined in the VCS configuration file is called before its online, offline, or monitor entry points are called. This allows you to include initialization for specific resources. Most agents do not require this functionality and will not implement this entry point.

The open entry point is also called whenever the Enabled attribute for the resource changes from 0 to 1. The entry point receives the resource name and ArgList attribute values as input and returns no value. This entry point typically initializes the resource.

Note   The entry point creates the environment needed for other entry points to function. For example, the entry point could create files required by other entry points for the resource, or perform some resource-specific setup. A resource can be brought online, taken offline, and monitored only if it is managed by an agent. For an agent to manage a resource, the value of the resource's Enabled attribute must be set to 1.