< Previous | Next > | |
Product: Cluster Server Guides | |
Manual: Cluster Server 4.1 Agent Developer's Guide |
attr_changedThe attr_changed entry point is called when a resource attribute is modified, and only if that resource is registered with the agent framework for notification. See the primitives VCSAgRegister and VCSAgUnregister for details. To register automatically, see RegList. This entry point receives as input the resource name registered with the agent framework for notification, the name of the changed resource, the name of the changed attribute, and the new attribute value. It does not return a value. This entry point provides a way to respond to resource changes. Most agents do not require this functionality and will not implement this entry point. openThe open entry point is called when the VCS agent starts managing a resource; for example, when the agent starts, or when the value of the Enabled attribute is changed from 0 to 1. It receives a resource name and ArgList attribute values as input and returns no value. This entry point typically initializes the resource. Note A resource can be brought online, taken offline, and monitored only if it is managed by a VCS agent. The value of the resource's Enabled attribute must be set to 1. When a VCS agent is started, the open entry point of each resource is guaranteed to be called before its online, offline, or monitor entry points are called. This allows you to include initializations for specific resources. Most agents do not require this functionality and will not implement this entry point. closeThe close entry point is called when the VCS agent stops managing a resource. For example, it is called when the value of the Enabled attribute is changed from 1 to 0. It receives a resource name and ArgList attribute values as input and returns no value. This entry point typically deinitializes the resource if implemented. Most agents do not require this functionality and will not implement this entry point. Note A resource is monitored only if it is managed by a VCS agent. The value of the resource's Enabled attribute must be set to 1. shutdownThe shutdown entry point is called before the VCS agent shuts down. It receives no input and returns no value. Most agents do not require this functionality and will not implement this entry point. |
^ Return to Top | < Previous | Next > |
Product: Cluster Server Guides | |
Manual: Cluster Server 4.1 Agent Developer's Guide | |
VERITAS Software Corporation
www.veritas.com |