If receiver channel QM1.QM2 is just sitting there in running status because
it never got the command from the sender that the discinterval time has
passed because of a network failure, and subsequently QM1.QM2 sender gets
more messages to send after the network is back up, QM2 will now accept a
second channel by that same name if we use AdoptMCA.

My question is , why would the original QM1.QM2 receiver channel ever be in
that permanent running state after a network failure if it was using
Heartbeats? If the heartbeat interval was say 1 minute, wouldn't QM1.QM2
receiver realize that its not getting any more heartbeats and after a minute
(actually a minute + 60 secs) put itself in an inactive state?

Why bother with both AdoptMCA AND Heartbeats?

Peter Potkay
IBM MQSeries Certified Specialist, Developer
[EMAIL PROTECTED]
X 77906


-----Original Message-----
From: Ruzi R [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Re: Channel that always stays running


Also, my another two cents...According to my
understanding, when AdoptMCA function is used this is
what happens:

If the sender channel is trying to re-start after a
communication failure, and the receiver end of the
channel is still in a "running" state (because of
MCA's blocked RECEIVE call), MQSeries will cancel the
receiver channel and start a new one (isn't this what
we want?).

So, although this is a matter of opinion how
Keepalive, Heartbeat int. (not available on all
platforms), Disconnect int., AdoptMCA are used,for
high availability of channels with very high volume of
traffic, what do you think of the following set-up:

   - DISCINT = 0
   - Use MQ AdoptMCA
   - Use TCP Keepalive

I am not quite sure about combining Keepalive with
AdoptMCA. I guess it would work together. Can someone
comment on that?

Thanks,

Ruzi



--- "Ganapathy, Sundari (Cognizant)"
<[EMAIL PROTECTED]> wrote:
> Hi,
> The following link also gives a good picture of
> heartbeat interval and keep
> alive function.
>
>
http://www.share.org/proceedings/sh91mo/data/S1171.PDF
>
> Regards
> Sundari
>
>
> -----Original Message-----
> From: Ruzi R [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 09, 2002 8:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Channel that always stays running
>
>
> Peter,
>
> If you set the sender channel DISCINT to zero, the
> channel will be running ALL the time. If a network
> problem occurs the receving MCA would not be aware
> of
> that and stay in the blocked mode. As a result you
> will not be able to restart the channel (after the
> network fix) as the receving end is still blocked.
>
> I think you should also consider the TCPIP Keepalive
> option along with Disconn. interval. Here is a link
> with very good info on how to use TCPIP keepalive:
>
>
http://www-3.ibm.com/software/ts/mqseries/support/tandts/keepaliv.html
>
> Regards,
>
> Ruzi
>
> --- "Bullock, Rebecca (CSC)" <[EMAIL PROTECTED]>
> wrote:
> > You do that so that if the channel goes inactive
> for
> > some reason, it'll be
> > started. And, yes, of course you can do that.
> >
> > -----Original Message-----
> > From: Potkay, Peter M (PLC, IT)
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, August 09, 2002 8:13 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Channel that always stays running
> >
> >
> > Would this allow the channel to stay up all the
> > time, but if something
> > caused it to do down, the triggering would get it
> > started again?
> >
> > Peter Potkay
> > IBM MQSeries Certified Specialist, Developer
> > [EMAIL PROTECTED]
> > X 77906
> >
> >
> > -----Original Message-----
> > From: Rajesh AVRS [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, August 09, 2002 4:22 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Channel that always stays running
> >
> >
> > But why you would want to do it?
> >
> > -----Original Message-----
> > From: MQSeries List
> [mailto:[EMAIL PROTECTED]]
> > On Behalf Of
> > Ganapathy, Sundari (Cognizant)
> > Sent: Friday, August 09, 2002 9:48 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Channel that always stays running
> >
> >
> > Can you not have a trigger set and a disconnect
> > interval of 0 ?
> >
> > -----Original Message-----
> > From: Bullock, Rebecca (CSC)
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 08, 2002 11:22 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Channel that always stays running
> >
> >
> > Peter, you'll no doubt hear from people telling
> you
> > "Don't do this".
> > Actually,  I haven't seen one of those in a while,
> > but as you may
> > remember, they used to be legion on this listserv.
> >
> > I have to admit that for some of our channels
> where
> > we need quick
> > responses, we have set discint to 0. Initially, we
> > had some problems
> > when a network glitch would break the connection
> and
> > we'd have to
> > manually do stops and starts on one end or the
> > other, but since ADOPTMCA
> > became available, it's been no problem. Oh, except
> > for one thing: If the
> > Unix guys get rid of a server without my knowing
> > about it, I do get
> > error messages for the retries on the channel. Of
> > course, they're
> > supposed to let me know, and this doesn't happen
> > that often anyway, but
> > they do sometimes forget.
> >
> > Ok, all you DISCINT(0)-is-a-no-no people, batter
> me
> > with negative
> > feedback.
> >
> > -- Rebecca
> >
> > Rebecca Bullock
> > Computer Sciences Corporation
> >
> > Educational Testing Service Account
> > Princeton, NJ 08541
> >
> > e-mail: [EMAIL PROTECTED][EMAIL PROTECTED]
> >
> >
> >
> >
> > -----Original Message-----
> > From: Potkay, Peter M (PLC, IT)
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 08, 2002 1:31 PM
> > To: [EMAIL PROTECTED]
> > Subject: Channel that always stays running
> >
> >
> > We have an app that requires its replies within a
> > second. The request
> > goes from QM1, to QM2, to QM3, back to QM2 and
> > eventually QM1. QM2 is
> > our Hub with MQSI that does some data
> > transformation.
> >
> > We have found that after a period of inactivity,
> if
> > the app on QM1
> > submits another request, they get a 2033 on their
> > reply, because the
> > reply is late coming back,but subsequent replies
> > come back OK. Using
> > WatchQ we can see occasionally the depth on the
> XMIT
> > queue from QM2 to
> > QM3 blip up to 1. That along with the fact that
> the
> > period of inactivity
> > required to surface the problem is the disconnect
> > interval on the
> > channel has led us to the conclusion that the
> > channel starting up via
> > triggering is taking to long.
> >
> > What are the cons to leaving this channel up
> always,
> > i.e. it never
> > disconnects?
> >
> >
> > Peter Potkay
> > IBM MQSeries Certified Specialist, Developer
> > [EMAIL PROTECTED] X 77906
> >
> >
> >
> > This communication, including attachments, is for
> > the exclusive use of
> > addressee and may contain proprietary,
> confidential
> > or privileged
> > information. If you are not the intended
> recipient,
> > any use, copying,
> > disclosure, dissemination or distribution is
> > strictly prohibited. If you
> > are not the intended recipient, please notify the
> > sender immediately by
> > return email and delete this communication and
> > destroy all copies.
> >
> > Instructions for managing your mailing list
>
=== message truncated ===> This e-mail and any files
transmitted with it are
> for the sole use of the intended recipient(s) and
> may contain confidential and privileged information.
> If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all
> copies of the original message.
> Any unauthorised review, use, disclosure,
> dissemination, forwarding, printing or copying of
> this email or any action taken in reliance on this
> e-mail is strictly
> prohibited and may be unlawful.
>
>                 Visit us at http://www.cognizant.com
>

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to