I have tried reading and interpreting the link below but could not get the 
Resource Monitoring to work.

http://linux-ha.org/ClusterInformationBase/Actions

I have installed heartbeat-2.1.3-1.  The following is in my 
/var/lib/heartbeat/crm/cib.xml file.

<primitive id="ecas" class="lsb" type="dirsrv" provider="heartbeat">
<meta_attributes id="ecas_meta_attrs">
<attributes>
<nvpair id="ecas_metaattr_is_managed" name="is_managed" value="true"/>
</attributes>
</meta_attributes>
<operations>
<op id="3cb67e8a-0c36-43be-a758-be32ff1a377d" name="stop" timeout="3s" 
start_delay="0s"
 disabled="false" role="Started"/>
<op id="0aa741d5-3540-4f0a-a998-b842e346e574" name="start" timeout="5s" 
start_delay="0s
" disabled="false" role="Started"/>
<op id="df305ad8-92c7-4c95-bb8f-5646f9049a6f" name="monitor" interval="5s" 
timeout="3s"
 start_delay="0s" disabled="false" role="Master" on_fail="restart" 
prereq="nothing"/>
<op id="e4e428cf-b1c7-40af-aa3f-c8f25cded958" name="monitor" interval="10s" 
timeout="3s
" start_delay="0s" disabled="false" role="Slave" on_fail="restart" 
prereq="nothing"/>
<op id="977d0884-b419-4494-ab4c-d1c130e8dee4" name="monitor" interval="6s" 
timeout="3s"
 role="Started" on_fail="restart" start_delay="0s" disabled="false" 
prereq="nothing"/>
<op id="9a46191d-cf6e-4243-bd25-6f9ea44116ca" name="monitor" interval="7s" 
timeout="3s"
 role="Stopped" on_fail="restart" start_delay="0s" disabled="false" 
prereq="nothing"/>
</operations>
</primitive>"

I only have a single node as I just wanted to test if Heartbeat will start the 
service automatically if I shutdown the dirsrv service manually.

Here is my /etc/ha.d/ha.cf.

# cat /etc/ha.d/ha.cf
use_logd on
bcast eth0
node server1
crm yes

Help.

jerome
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to