>When discint is 0 then the heartbeat can be any value greater than zero >because the time the channel will stay active with no traffic is infinite >not zero. So the logic for setting heartbeat and discint is more like: if >discint <> 0 then heartbeat should be less than discint; else heartbeat can >be any reasonable value.
>Marc Verhiel >Candle Corp. >Sure like to hear what IBM thinks about this, how about it guys? >Steve Harmeson >OS/390 Systems Programming >Enterprise Systems Support >Naptheon, Inc. Steve, Not sure what you'd like me to add. Marcs comments are perfectly valid. The setting of the heartbeat value is a compromise between "how quickly do you want to notice a failure" and "how much network bandwidth (and CPU) are you prepared to use finding out". Setting a really low heartbeat will allow you to detect a failure quickly but you will be sending network traffic even when there aren't messages to send. Sometimes you find that this is not a problem. Consider a really important channel in your organisation. It is the main feed of data between your two data centers. It is *always* sending messages. You want to know really quickly about a problem on this channel. Well setting a heartbeat interval of, say, 5 seconds may not cost you anything since the channel is always moving messages it will never actually send a heartbeat. Unfortunately there are no hard and fast rules about setting these parameters. If there were they would probably be set internally in the product and not be externalised as tunable variables at all. They should be set sensibly, according to the channel traffic, type of comms, and channel importance. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley 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
