Author |
Message
|
jason_e |
Posted: Wed Oct 15, 2003 12:18 pm Post subject: Auto Start Channels |
|
|
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 |
|
 |
mrlinux |
Posted: Wed Oct 15, 2003 12:28 pm Post subject: |
|
|
 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 |
|
 |
sree |
Posted: Wed Oct 15, 2003 12:56 pm Post subject: |
|
|
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 |
|
 |
mrlinux |
Posted: Wed Oct 15, 2003 4:13 pm Post subject: |
|
|
 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 |
|
 |
dgolding |
Posted: Thu Oct 16, 2003 4:36 am Post subject: |
|
|
 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 |
|
 |
Nathan |
Posted: Thu Oct 16, 2003 4:53 am Post subject: |
|
|
 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 |
|
 |
pgorak |
Posted: Thu Oct 16, 2003 4:54 am Post subject: |
|
|
 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 |
|
 |
Nathan |
Posted: Thu Oct 16, 2003 5:02 am Post subject: |
|
|
 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 |
|
 |
|