Clusterware Resource Modeling
Resource Types
- When an application is registered, you define how Clusterware manages it by defining its attributes.
- The registration information includes an action script or action program that Clusterware calls to start, stop, check, and clean up the application.
- An action script is a shell script that a generic script agent provided by Oracle Clusterware calls.
- An application-specific agent is usually a C or C++ program that calls Clusterware APIs directly.
- Oracle Clusterware 11g R2 includes two agents:
- Script agent: CRS_HOME/bin/scriptagent
- Application agent: CRS_HOME/bin/appagent
Resource Types
- Oracle Clusterware uses resource types to organize resources employing similar attributes.
- Benefits from the use of resource types include:
- You need to manage only necessary resource attributes.
- You can manage all resources based on the resource type.
- All resources registered with Oracle Clusterware must be associated with a resource type.
- There are two resource types predefined in Oracle Clusterware:
- Local resource
- Cluster resource
- You can define custom resource types with Enterprise Manager.
No comments:
Post a Comment