Author |
Message
|
shadden |
Posted: Thu Aug 07, 2003 5:51 am Post subject: MQ Setup |
|
|
Newbie
Joined: 07 Aug 2003 Posts: 3
|
In Windows, you can set up the queue manager, channel initiator, mq listener to autostart. How do you do this in AIX?
If you have the channels setup to trigger when something hits the system initq, do you still have to script a startup on your channels that runs when the machine reboots? |
|
Back to top |
|
 |
vennela |
Posted: Thu Aug 07, 2003 5:57 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Yes:
In AIX you have to put the startup scripts to bring MQ up automatically on reboot or system startup. |
|
Back to top |
|
 |
shadden |
Posted: Thu Aug 07, 2003 5:59 am Post subject: |
|
|
Newbie
Joined: 07 Aug 2003 Posts: 3
|
Do you have to start up just the queue manager, or the channels as well? |
|
Back to top |
|
 |
vennela |
Posted: Thu Aug 07, 2003 6:01 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Not the channels.
Ususally you start MQ, listener and any trigger monitors. Channels will be started by MQ when there is a message on the transmission queue. |
|
Back to top |
|
 |
EddieA |
Posted: Thu Aug 07, 2003 8:45 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
Channels will be started by MQ when there is a message on the transmission queue. |
That's only if you have configured the Transmission Queues with the correct Trigger information.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
shadden |
Posted: Thu Aug 07, 2003 9:10 am Post subject: |
|
|
Newbie
Joined: 07 Aug 2003 Posts: 3
|
The book led me to believe we only had to enter SYSTEM.CHANNEL.INITQ in the initiation queue of the transmission queue and select enable triggering. No process was needed. Is that what you are referring to? |
|
Back to top |
|
 |
Prahasith |
Posted: Thu Aug 07, 2003 10:56 am Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
There are two ways of triggering channel
you can trigger the channel without a process definition
and with a process definition
If you are triggering the channel without the process definition
then you need to give the name of channel in trigdata of the transmisson queue
without process definition:DEFINE QLOCAL(QM4) TRIGGER INITQ(SYSTEM.CHANNEL.INITQ) +
USAGE (XMITQ) TRIGDATA(QM3.TO.QM4)
with process definition:
DEFINE QLOCAL(QM4) TRIGGER INITQ(SYSTEM.CHANNEL.INITQ) PROCESS(P1) USAGE (XMITQ)
DEFINE PROCESS(P1) USERDATA(QM3.TO.QM4) |
|
Back to top |
|
 |
|