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 Channels

Post new topic  Reply to topic
 Auto Start Channels « View previous topic :: View next topic » 
Author Message
jason_e
PostPosted: Wed Oct 15, 2003 12:18 pm    Post subject: Auto Start Channels Reply with quote

Apprentice

Joined: 19 Aug 2003
Posts: 33

Hi,
I'm using WebSphere MQ 5.3 on W2k.

How can I setup my channels to automatically start when WebSphere MQ starts? I know it has something todo with channel triggering and SYSTEM.DEFAULT.???

Please can somebody provide me the with necessary steps.

Thanks
Jason
Back to top
View user's profile Send private message
mrlinux
PostPosted: Wed Oct 15, 2003 12:28 pm    Post subject: Reply with quote

Grand Master

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

1) turn Trigger on for XMITQ
2) SET the Trigger Data for the XMITQ to the channel name.
3) SET the Inititaiotn Queue name for the XMITQ to
SYSTEM.DEFAULT.INITIATION.QUEUE

and thats it, assuming the channel initatior is being started from MQSeries
which it is by default.
_________________
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
sree
PostPosted: Wed Oct 15, 2003 12:56 pm    Post subject: Reply with quote

Novice

Joined: 12 Mar 2003
Posts: 19

One Correction please.

Setting TRIGDATA to channel name may not required ( it is optional)
Set INITQ to SYSTEM.CHANNEL.INITQ ( not SYSTEM.DEFALUT.INITIATION.QUEUE)
_________________
Thank you.

sree
Back to top
View user's profile Send private message
mrlinux
PostPosted: Wed Oct 15, 2003 4:13 pm    Post subject: Reply with quote

Grand Master

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

Your are right about the SYSTEM.CHANNEL.INITQ, thanks for catching my oops
_________________
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
dgolding
PostPosted: Thu Oct 16, 2003 4:36 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Hi,

TRIGDATA may be optional, but how does the channel initiator know which channel to run? Don't forget, you can have more than channel with the same XMITQ defined, for use in fall-back situations.... (obviously no more than one channel can run at the same time....)
Back to top
View user's profile Send private message Visit poster's website
Nathan
PostPosted: Thu Oct 16, 2003 4:53 am    Post subject: Reply with quote

Acolyte

Joined: 15 Sep 2003
Posts: 52
Location: Rochester, NY

I have been looking into the two channel-one XMITQ setup recently. From what I have observed, it appears as though the channel that is activated is either the first one created or the first one in locates alphabetically. If you number the channels channel1 and channel2, channel1 will be the one used. However, if you stop channel1, channel2 does not start automatically. It will have to be started by other means.
Back to top
View user's profile Send private message
pgorak
PostPosted: Thu Oct 16, 2003 4:54 am    Post subject: Reply with quote

Disciple

Joined: 15 Jul 2002
Posts: 158
Location: Cracow, Poland

Quote:
Setting TRIGDATA to channel name may not required ( it is optional)


To be strict, we have two options:

1. Set TRIGDATA to channel name (does not apply to mainframe)
2. Left it blank AND define a process with USERDATA set to channel name

On UNIX systems (as well as on Windows, I believe) the process definition should contain a blank APPLICID, whereas on mainframe it should contain APPLICID set either to CSQX or CKSG.

Piotr
Back to top
View user's profile Send private message
Nathan
PostPosted: Thu Oct 16, 2003 5:02 am    Post subject: Reply with quote

Acolyte

Joined: 15 Sep 2003
Posts: 52
Location: Rochester, NY

pgorak wrote:
Quote:
Setting TRIGDATA to channel name may not required ( it is optional)


To be strict, we have two options:

1. Set TRIGDATA to channel name (does not apply to mainframe)
2. Left it blank AND define a process with USERDATA set to channel name

On UNIX systems (as well as on Windows, I believe) the process definition should contain a blank APPLICID, whereas on mainframe it should contain APPLICID set either to CSQX or CKSG.

Piotr


I have not setup either of these 2 options. They are both blank and they work well.
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 Channels
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.