ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Pros and cons for DISCINT zero ?

Post new topic  Reply to topic
 Pros and cons for DISCINT zero ? « View previous topic :: View next topic » 
Author Message
spellman
PostPosted: Thu Aug 08, 2002 5:33 pm    Post subject: Pros and cons for DISCINT zero ? Reply with quote

Newbie

Joined: 17 Jun 2002
Posts: 3

It seems that specifying a DISCINT of zero provides less opportunities for communications mishaps and transmit queue triggers being set to OFF.

Is there any reason to set the disconnect interval for channels to anything but zero? We arre trying to adopt a standard, and any response would be appreciated.

- spellman
Back to top
View user's profile Send private message
mrlinux
PostPosted: Thu Aug 08, 2002 7:26 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well I have been at companies that have done both and it doesnt seem
to be problem either way


By keeping the channels up you are increasing the chance that any small network glitch will cause a channel to going retry, if the glitch is short it will
recover.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
mgrabinski
PostPosted: Thu Aug 08, 2002 9:47 pm    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

If a channel is transfering messages very often, it's no point in closing it and opening again. On the other nand, if there not so many messages, it will be better to start the channel when needed.

I'm using fuzzy logic - it's up to you to define "often" and "many"
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
spellman
PostPosted: Fri Aug 09, 2002 8:55 am    Post subject: Reply with quote

Newbie

Joined: 17 Jun 2002
Posts: 3

Thank you, Jeff and Marcin.

We will standardize on Allways-running, untill we run into something that makes this choice unwise.

------------
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Aug 12, 2002 6:36 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

When a channel is running, and you send a message from QM1 to QueueB an QM2,
the MCA on QM2 opens up QueueB to put the message there. It then leaves
QueueB Open-For-Output (puts) until the channel shuts down, correct? If this
is so, now QueueB has a permanent OPROCS count of 1. Soon, all of your
queues on QM2 that take messages from remote QMs now have OPROCS of 1.

Can this pose a problem? I know you can't do some Admin-type things to
queues that are open, like issuing a clear queue command.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Mon Aug 12, 2002 6:48 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Peter, on Z/OS I've seen it work in another way... :

It looks like the channel initiator holds the queue open for a long time, but not as long as channel is running... just about 30 minutes without data...

So it seems to me that the channel initiator is pretty clever, is optimizes the use of holding the queues open for limited time to avoid spending resources calling SAF and all the other things that are implied in opening a queue.

Just my $0.02
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mrlinux
PostPosted: Mon Aug 12, 2002 6:50 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

The channel has some form of timeout where it will close the queue connection, I have in the passed tried sending messages to a test queue to get it to close the queue I needed close to clear, it did work, but Iam not sure that it still works, I beleive it v5.0 or v5.1 queue manager
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
jc_squire
PostPosted: Wed Aug 14, 2002 4:56 pm    Post subject: Reply with quote

Centurion

Joined: 14 Apr 2002
Posts: 105
Location: New Zealand

Sorry, don't think the channel initiator has got anything to do with closing a queue open for input. A channel initiator is purely a service/daemon that initiates a channel (similar to a trigger monitor but specifically designed for channels).

I have recently come from a client site where they have not had the channel initiator running for years - they could never get it to start (MQ 5.0) and their solution was to set the discint to 0 to stop the channels from timming out ..........

The point is that during this time MQ worked normally (except channels would not trigger and always require a manual start) without the channel initiator running which indicates that the channel initiator has nothing to do with this process i.e. it is not reliant on the channel initiator at all.

Another potential issue is network bandwidth - is it congested? do you pay for traffic? There is no point in keeping a connection open for a long period of time if there are no messages and the network is congested or you have to pay for the MQ traffic going across the connection to keep the channel alive. And what about weekends when it is possible that no messages will be processed? Yes, there is an overhead in traffic when starting/shutting down a channel so you need to look at how often messages will be processed, take into account your discint and see how many times your chl would stop/start in a day. Compare the cost of this to the cost of keeping chls running and find a centre point here where you can get the best of both worlds.

How many chls are you talking about? What are the max nr of connections for the qmgr? A queue manager has a restriction as to how many connections it can accept. If channels remain active (discint set to 0) and the max nr of connections is reached it will not accept any more new connections.

If you send messages on a regular basis e.g. every 20 minutes just leave discint as default and your channels will always be running anyway.

Not quite sure how you see setting discint to 0 will reduce the risk of comms mishaps - the risk is there irrespective of whether channels are running permanently or triggered.

Regards
_________________
J C Squire
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Pros and cons for DISCINT zero ?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.