hello andrew, hello all,
i am once more confused about the inner working of rsc_order.
in all emails and in all docs (e.g. on
http://hg.linux-ha.org/dev/file/tip/crm/crm-1.0.dtd) one can read:
rsc_ordering
>
Read as:
to_action to type action from
ok, so i have got my rsc_order, for starting the filesystem after the
drbd device, as below.
<rsc_order id="drbd_before_fs" to_action="start" to="fs_mysql" type="after" action="promote"
from="ms_drbd_mysql" />
but this does not work! the ptest output reads:
> ...
ptest[5279]: 2007/10/09_10:08:42 debug: unpack_rsc_order: order-5
(drbd_before_fs): fs_mysql_start before ms_drbd_mysql_promote flags=0x000112
ptest[5279]: 2007/10/09_10:08:42 debug: unpack_rsc_order: order-6
(drbd_before_fs): ms_drbd_mysql_demote before fs_mysql_stop flags=0x000101
> ...
changing the type to before (which would effectivly revert the default
meaning of to/from) solves the issue, and the resources are started as
expected!
my rsc_order contraint now looks like:
<rsc_order id="drbd_before_fs" to_action="start" to="fs_mysql" type="before"
action="promote" from="ms_drbd_mysql" />
and the ptest output reads:
> ...
ptest[4090]: 2007/10/09_10:07:36 debug: unpack_rsc_order: order-5
(drbd_before_fs): ms_drbd_mysql_promote before fs_mysql_start flags=0x000112
ptest[4090]: 2007/10/09_10:07:36 debug: unpack_rsc_order: order-6
(drbd_before_fs): fs_mysql_stop before ms_drbd_mysql_demote flags=0x000101
> ...
which point do i miss? what am i not able to get in the simple
description: "to_action to type action from" ?
thank you,
raoul
--
____________________________________________________________________
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
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems