<primitive id="Public-IP" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op id="public-ip-check" name="monitor" interval="60s"/>
</operations>
<instance_attributes id="params-public-ip">
<nvpair id="public-ip-addr" name="ip" value="1.2.3.4"/>
</instance_attributes>
</primitive>
| Field | Description |
|---|---|
| id | Your name for the action. Must be unique. |
| name | The action to perform. Common values: monitor, start, stop |
| interval | How frequently (in seconds) to perform the operation. Default value: 0 |
| timeout | How long to wait before declaring the action has failed. |
| requires |
What conditions need to be satisfied before this action occurs. Allowed values:
STONITH resources default to nothing, and all others default to fencing if STONITH is enabled and quorum otherwise.
|
| on-fail |
The action to take if this action ever fails. Allowed values:
The default for the stop operation is fence when STONITH is enabled and block otherwise. All other operations default to stop.
|
| enabled | If false, the operation is treated as if it does not exist. Allowed values: true, false |