Table B.1. Required Actions for OCF Agents
Action | Description | Instructions |
---|---|---|
start
|
Start the resource
| |
stop
|
Stop the resource
| |
monitor
|
Check the resource’s state
|
NOTE: The monitor script should test the state of the resource on the local machine only.
|
meta-data
|
Describe the resource
|
NOTE: This is not performed as root.
|
validate-all
|
Verify the supplied parameters
|
Table B.2. Optional Actions for OCF Resource Agents
Action | Description | Instructions |
---|---|---|
promote
|
Promote the local instance of a multi-state resource to the master (primary) state.
| |
demote
|
Demote the local instance of a multi-state resource to the slave (secondary) state.
| |
notify
|
Used by the cluster to send the agent pre- and post-notification events telling the resource what has happened and will happen.
|
recover
, is not currently used by the cluster. It is intended to be a variant of the start
action that tries to recover a resource locally.