http://linux-ha.org/DRBD/HowTov2

it has the example

 <rsc_order id="drbd0_before_fs0" from="fs0" action="start"
to="ms-drbd0" to_action="promote"/>

which seems to mean "promote ms-drbd0 (the "to") THEN start fs0 (the "from")

But if you look at this page

http://www.linux-ha.org/ClusterInformationBase/ResourceGroups

it has, for example

<rsc_order id="database_before_apache" from="WebServerDatabase"
action="start" type="before" to="WebServerApache" symmetrical="TRUE"/>

where "WebServerDatabase" is started first (the "from") and THEN
apache is started (the "to")

If you look at this PDF, it looks like the promote example (page 5)

http://oss.beekhof.net/~beekhof/heartbeat/docs/Ordering-Explained.pdf

it looks like the DRBD example at the top should be

<rsc_order id="drbd0_before_fs0"  action=promote from="ms-drbd0"
to_action=start to="fs0"/>

the PDF claims this is the behavior from 2.1.2-4 onwards, so did the
meaning of "to" and "from" change recently or am I somehow mistaken?
_______________________________________________
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