In this example, the RA attribute ip is set to 10.10.0.1. For the IPaddr RA,
this RA attribute is mandatory, as can be seen in
(page 109).
NOTE
When configuring a resource with Heartbeat, the same resource should not be
initialized by init. Heartbeat should be responsible for all service start or stop
actions.
To add this IPaddr configuration to the cluster, first save the configuration to a file
named ip_1.xml. Add this file to the cluster configuration with the command:
cibadmin -o resources -C -x ip_1.xml
If the configuration was successful, a new resource appears in crm_mon that is started
on a random node of your cluster.
28
Heartbeat
Appendix A, HB OCF Agents