[Linux-HA] What is the role of CRM timer in configuring time based failback ?

Andrew Beekhof beekhof at gmail.com
Mon Nov 13 05:10:40 MST 2006


please run crm_verify

On 11/13/06, janardh at vsnl.net <janardh at vsnl.net> wrote:
> Hi,
> My goal is to restrict the failback of a resource between 4 PM and 5 PM. I have added the following  into the cib.xml file.
>
>  <instance_attributes id="ROCLOCK_instance_attrs" score="100">
>            <rule id="ROCLOCK:failover" boolean_op="and">
>                 <day_expression id="ROCLOCK:days" operation="day_spec">
>                   <day_spec id="ROCLOCK:days" weekdays="1-7"/>
>                 </day_expression>
>                 <time_expression id="ROCLOCK:times" operation="time_spec">
>                   <time_spec id="ROCLOCK:times" hours="16-17"/>
>                 </time_expression>
>            </rule>
>            <attributes>
>              <nvpair name="target_role" id="ROCLOCK_target_role" value="started"/>
>              <nvpair name="resource_stickiness" id="daily_sticky" value="0"/>
>            </attributes>
>          </instance_attributes>
>         <instance_attributes id="ROCLOCK" score="10">
>                 <attributes>
>                   <nvpair id="time_sticky" name="resource_stickiness" value="INFINITY"/>
>                 </attributes>
>         </instance_attributes>
>
> With this change, Heartbeat is not coming up. The message file shows the following information and it keeps on retrying.
>
> Nov 13 15:45:56 comics crmd: [13309]: info: crm_timer_popped:utils.c Wait Timer (I_NULL) just popped!
> Nov 13 15:45:56 comics crmd: [13309]: WARN: cib_native_signon:cib_native.c Connection to CIB failed: connection failed
> Nov 13 15:45:57 comics crmd: [13309]: WARN: cib_native_signon:cib_native.c Connection to CIB failed: connection failed
> Nov 13 15:45:57 comics crmd: [13309]: WARN: do_cib_control:cib.c Couldn't complete CIB registration 24 times... pause and retry
>
> Nov 13 15:45:58 comics crmd: [13309]: info: crm_timer_popped:utils.c Wait Timer (I_NULL) just popped!
> Nov 13 15:45:58 comics crmd: [13309]: WARN: cib_native_signon:cib_native.c Connection to CIB failed: connection failed
> Nov 13 15:45:59 comics crmd: [13309]: WARN: cib_native_signon:cib_native.c Connection to CIB failed: connection failed
> Nov 13 15:45:59 comics crmd: [13309]: WARN: do_cib_control:cib.c Couldn't complete CIB registration 25 times... pause and retry
>
> Nov 13 15:45:59 comics crmd: [13309]: info: crm_timer_popped:utils.c Wait Timer (I_NULL) just popped!
> Nov 13 15:45:59 comics crmd: [13309]: WARN: cib_native_signon:cib_native.c Connection to CIB failed: connection failed
> Nov 13 15:46:00 comics crmd: [13309]: WARN: cib_native_signon:cib_native.c Connection to CIB failed: connection failed
> Nov 13 15:46:00 comics crmd: [13309]: WARN: do_cib_control:cib.c Couldn't complete CIB registration 26 times... pause and retry
>
> Any clues on what is happening here. What if the role of crm timer here. Is it an independent process ?. Do I have
> to do some more configuration changes to achieve time based failback?. Have anybody used time-based failback in HA 2.0 ?/
>
> Thanks in advance
> Janardh
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>


More information about the Linux-HA mailing list