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 » General IBM MQ Support » Auto Start MQ Channel for windows/unix

Post new topic  Reply to topic
 Auto Start MQ Channel for windows/unix « View previous topic :: View next topic » 
Author Message
N
PostPosted: Wed Nov 12, 2008 1:58 am    Post subject: Auto Start MQ Channel for windows/unix Reply with quote

Acolyte

Joined: 21 Jul 2007
Posts: 64

Hi,

Any1 knows how to set AUTO START Attribute for sender channel? My sender channel become 'inactive' when the machine re-boot.

Back to top
View user's profile Send private message
exerk
PostPosted: Wed Nov 12, 2008 2:18 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

If your XMITQ is set to be triggered then your SDR channel will 'auto-start' once messages arrive on the XMITQ.

After the DISCINT interval expires, and no messages have arrived on the XMITQ within that interval, the channel will return to INACTIVE until a message again arrives on the XMITQ, thereby starting the triggering process again.

This will ensure you do not have to start the channel manually, even after queue manager restart, or server reboot.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
AkankshA
PostPosted: Wed Nov 12, 2008 2:44 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

if resorces are not a problem.. you can set DISINT to "0"

channel shall remain in active state always
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Wed Nov 12, 2008 4:26 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

AkankshA wrote:
if resorces are not a problem.. you can set DISINT to "0"


And you trust your network completely.

AkankshA wrote:
channel shall remain in active state always


Unless the link drops in which case it will stop.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Wed Nov 12, 2008 4:37 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

AkankshA,

How could you even suggest this is good faith? Nothing is perfect and eventually there will be a network error (a lot sooner then you think).

I look for this setting when conducting "Health Checks" and consider this an erroneous configuration. The channel needs to be configured to trigger to start correctly and if there are still know times when burst of messages will arrive, use cron (or the equivalent) to start the channel a few minutes before that known time.
Back to top
View user's profile Send private message AIM Address
bruce2359
PostPosted: Wed Nov 12, 2008 6:46 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Presupposing that there will be network errors, it seems to me that there is no difference if you use cron or triggered xmit queue to start your channels.

Scenario 1: the xmit queue is tirggered or not; cron tries to start the channel x minutes ahead of when you expect messages to arrive on the xmitq; a channel failure is detected; the channel fails to start.

Scenario 2: the xmit queue is triggered; messages arrive; a channel failure is detected; the channel fails to start.

If you cron 1 or 10 or 60 minutes ahead, the channel can still fail before messages arrive on the xmitq.

How is this better or different? Am I missing something here?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 12, 2008 7:40 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bruce2359 wrote:
How is this better or different? Am I missing something here?


This assumes messages turn up on a regular basis and hence a cron can be scheduled. If the messages are intermittant, you save more resources with a triggered queue.

Another point - if the messages are time-critical you may not want to wait 10 or 60 mins for the cron to restart the channel.

Like many design decisions, no method is "better". It's simply better for your situation.

Of course, some design decisions are better for your situation is some bizzare alternate universe!!!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
SAFraser
PostPosted: Wed Nov 12, 2008 10:51 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

Really, this has been discussed nearly to death but I shall be brave and offer a comment anyway.

I do have some channels that are so consistently busy that I have the DISCINT set to 0. You could argue that, for a really busy channel, the DISCINT is a moot point, and that's probably a valid argument.

But even for a channel with DISCINT=0, I trigger the channels to cover such things as network drops, the target receiving server going down, server restarts, and so forth.

The point I'm aiming for is that a DISCINT=0 and a triggered XMITQ are not mutually exclusive concepts.....

I prefer the self-healing aspects of a triggered XMITQ to a cron job.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Nov 12, 2008 12:40 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

You never ever never ever want that channel to end?

Set DISCINT to 1 week, or 1 month, or 1 year. If you have a channel that hasn't had a message go over in a month, you probably don't need or want it running.

And N is probably asking why don't his/her channels come up running after a reboot, even if there are no messages in the XMITQ to trigger. N, the answer is "just because". If there are no messages to move after a reboot, why do you need / or want the channels to come up running? Let them trigger once you finally get a mesage on the XMITQ after the reboot.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Nov 12, 2008 12:56 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

The false assumption that get us to this conversation: A channel in running state is capable of sending/receiving messages or is currently sending/receiving messages. (The IBM technical definition of running: transferring messages, or waiting for messages to arrive on the transmission queue.)

A running channel may be able to send/recieve a message. The only effective method of determining with any finality if it is possible to send a message is to successfully send a message. An as-yet undetected error may cause the channel to fail; thus retry count and interval settings.

The only channel state that can be reasonably believed to be true for a long(er) period of time is stopped. Stopped takes some kind of manual (automated) intervention. All the other channel states are transitory.

The underlying issue with an inactive state channel is: will it start? The answer is yes, no, it depends.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » General IBM MQ Support » Auto Start MQ Channel for windows/unix
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.