Hello Raoul,

I just wanted to create these master/slave-monitoring-roles form my
drbd-master/slave set.

The moment I added these 2 lines to my CIB via cibadmin --cib_update the
monitoring resources failed and the drbd-resource went down.

Why?

         <op id="drbd_Monitoring_Slave" interval="20s"
name="monitor_slave" timeout="15s" role="Slave"/>
         <op id="drbd_Monitoring_Master" interval="10s"
name="monitor_master" timeout="15s" role="Master"/>

My drbd-primitive now looks like this:

<primitive id="drbd_r0" class="ocf" provider="heartbeat" type="drbd">
       <operations>
         <op id="drbd_Monitoring" interval="30s" name="monitor"
timeout="15s"/>
         <op id="drbd_Monitoring_Slave" interval="20s"
name="monitor_slave" timeout="15s" role="Slave"/>
         <op id="drbd_Monitoring_Master" interval="10s"
name="monitor_master" timeout="15s" role="Master"/>
       </operations>
       <instance_attributes id="instance_attributes_drbd_r0">
         <attributes>
           <nvpair id="drbd_resource" name="drbd_resource" value="r0"/>
         </attributes>
       </instance_attributes>
     </primitive>


Regards
Florian

Adrian Chapela wrote:
>> It's cancelled because you have a monitor configured only for the
>> demoted/slave state; you need one with role="master" (and a slightly
>> different interval) as well.
>>   
> Can you explain a bit more ?? I dont understand this very well. I will

> re-read the docs some more... but I can't remember now you are talking

> about it.

i update the wiki. please see [1]. The website [2] should be
automatically updated during the next couple of hours/days.

please correct me, if i made a mistake!

cheers,
raoul

[1] 
http://wiki.linux-ha.com/ClusterInformationBase/Actions#head-951a50aae16
1c116d73c95aa0659873ee7a2973b
[2] http://www.linux-ha.org/ClusterInformationBase/Actions
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          [EMAIL PROTECTED]
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            [EMAIL PROTECTED]
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________
_______________________________________________
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
_______________________________________________
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