[Linux-HA] clone behavior when set on-fail to "restart"

Junko IKEDA ikedaj at intellilink.co.jp
Mon Nov 12 22:19:25 MST 2007


Hi,

I set up one clone and one group like this;
(heartbeat version is 2.1.3, changeset:8cb7664b7bfd)
----------------------------------------------------------------
Node: prec370e (9d9ca527-cea9-470c-9e03-e49fe5630bba): online
Node: prec370d (6a42b4b7-7a31-4ae7-b241-ed4ad4267ec6): online

Clone Set: clone
    c-Dummy:0   (heartbeat::ocf:Dummy): Started prec370e
    c-Dummy:1   (heartbeat::ocf:Dummy): Started prec370d
Resource Group: group
    g-Dummy-1   (heartbeat::ocf:Dummy): Started prec370d
    g-Dummy-2   (heartbeat::ocf:Dummy): Started prec370d
----------------------------------------------------------------

when I broke the clone on prec370e, (remove the state file)
clone resources switched positions with each other.

----------------------------------------------------------------
Node: prec370e (9d9ca527-cea9-470c-9e03-e49fe5630bba): online
Node: prec370d (6a42b4b7-7a31-4ae7-b241-ed4ad4267ec6): online

Clone Set: clone
    c-Dummy:0   (heartbeat::ocf:Dummy): Started prec370d
    c-Dummy:1   (heartbeat::ocf:Dummy): Started prec370e
Resource Group: group
    g-Dummy-1   (heartbeat::ocf:Dummy): Started prec370d
    g-Dummy-2   (heartbeat::ocf:Dummy): Started prec370d
----------------------------------------------------------------

Is it an expected behavior for on-fail="restart"?
I've got the different result in 2.1.2 with the same cib.xml.
this sounds more reasonable to me.

----------------------------------------------------------------
Node: prec370e (9d9ca527-cea9-470c-9e03-e49fe5630bba): online
Node: prec370d (6a42b4b7-7a31-4ae7-b241-ed4ad4267ec6): online

Clone Set: clone
    c-Dummy:0   (heartbeat::ocf:Dummy): Stopped
    c-Dummy:1   (heartbeat::ocf:Dummy): Started prec370d
Resource Group: group
    g-Dummy-1   (heartbeat::ocf:Dummy): Started prec370d
    g-Dummy-2   (heartbeat::ocf:Dummy): Started prec370d
----------------------------------------------------------------

Thanks,
Junko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hb_report.tar.gz
Type: application/octet-stream
Size: 57432 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20071113/245c62f6/hb_report.tar-0001.obj


More information about the Linux-HA mailing list