By default, the cluster will not ensure that your resources are still healthy. To instruct the cluster to do this, you need to add a monitor operation to the resource’s definition. Monitor operations can be added for all classes or resource agents.
Table 14.4. Resource Operations
|
Operation |
Description |
|---|---|
|
|
Your name for the action. Must be unique. |
|
|
The action to perform. Common values: |
|
|
How frequently to perform the operation. Unit: seconds . |
|
|
How long to wait before declaring the action has failed. |
|
|
What conditions need to be satisfied before this action occurs.
Allowed values: |
|
|
The action to take if this action ever fails. Allowed values:
|
|
|
If |