[Linux-HA] WARN: unpack_rsc_op:
Andrew Beekhof
beekhof at gmail.com
Wed Jul 18 02:45:32 MDT 2007
On 7/18/07, Taldevkar, Chetan <chetan.taldevkar at patni.com> wrote:
>
> Message: 9
> Date: Wed, 18 Jul 2007 09:31:47 +0200
> From: "matilda matilda" <matilda at grandel.de>
> Subject: Re: [Linux-HA] WARN: unpack_rsc_op:
> To: <linux-ha at lists.linux-ha.org>
> Message-ID: <469DDE04.117B.0044.0 at grandel.de>
> Content-Type: text/plain; charset=US-ASCII
>
> >>> "Taldevkar, Chetan" <chetan.taldevkar at patni.com> 18.07.2007 07:23
> >>>
> >Hi all,
> >
> >When I start cluster lunixha is able to invoke start call on both the
> >nodes. On first node start fails as script calls echo "stopped"
> >followed by exit 1 as this resource needs to be running on the second
> >node. After that it successfully starts on second node. But if I
> >simulate error conditions on second node it does not invoke the script
> >on first node resulting no failover.
> >
>
> As far as I know: As soon as a RA couldn't be started on a node this
> RA is not able to start there anymore. You have to use crm_resource -C
> (--force) to reset the information that this RA couldn't be started
> there.
> So, if you like the resource to be run initially on node 2 add a
> location constraint to the resource and it will be started on the
> second node. After a failure of that resource heartbeat will start
> it on the first one if and only if the values for stickiness and
> failure stickiness are set properly.
>
> Best regards
> Andreas Mock
>
> <Chetan>
> Thanks Andreas,
>
> I executed crm_resource -C -r res_ttsvc -H failed start node. After
> which I executed crm_verify -VL but it returned with same list of
> warnings for failed start node. Is this expected? Or do I have to
> something more.
>
> </Chetan>
you should only run that command once you've repaired whatever the
problem was that caused the resource to fail in the first place.
otherwise it will just fail again
More information about the Linux-HA
mailing list