I was trying to define time based rule to stop a resource in a certain
period. I want a granularity on a minute basis. like stopeed between
9-10.30 daily..

for this there is no support of minutes in HA. i was trying fractional
hours as following:

<meta_attributes id="core-hours" score="10">
          <rule id="core-hour-rule" score="100">
            <date_expression id="myrule" operation="date_spec">
              <date_spec id="daytime" hours="9-10.5"/>
            </date_expression>
          </rule>
          <nvpair id="core-hour-role" name="target-role" value="stopped"/>
   </meta_attributes>



should it work ..Will 10.5 correspond to 10:30 .


abhishek
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to