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 » IBM MQ Installation/Configuration Support » Why Sender channel has to be started manually in iSeries

Post new topic  Reply to topic
 Why Sender channel has to be started manually in iSeries « View previous topic :: View next topic » 
Author Message
sprakashit
PostPosted: Sat Oct 15, 2005 12:26 am    Post subject: Why Sender channel has to be started manually in iSeries Reply with quote

Newbie

Joined: 13 Jul 2005
Posts: 6

Hi ,

After channel initiator is started using STRMQMCHLI in iSeries, why the Sender Channel has to be started manually using STRMQMCHL.

Will the Channel Initiator itself won't start the Sender Channel automatically when first trigger message arrives.

I did the same configuration in windows XP, Channel intiator automatically starts the channel after the receipt of the first trigger message. But, I am not sure why it is not happening in iSeries.

Regards,
Prakash
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Sat Oct 15, 2005 2:17 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

What version of MQ / CSD?
What configuration of queues / channels / channel initiator?

without additional info, help becomes a guessing game...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sprakashit
PostPosted: Tue Oct 18, 2005 4:09 am    Post subject: Re:Why Sender channel has to be started manually in iSeries Reply with quote

Newbie

Joined: 13 Jul 2005
Posts: 6

Hi,

In my iSeries box , MQVersion is 5.2 and it is at CSD level 6.

Let me rephrase problem which I am facing,

Inorder to send messages to a remote queue, I created a remote queue definition

'A' with Transmission Queue as 'X'.

The following setups where already there in the system

- Transmission Queue is trigger enabled with
trigger type - *ALL,
trigger data - sender channel name - C ,
Initiation queue -'I' and
process 'P'.

- Process 'P' is created with
Application identifier: AMQRMCLA [MCA name]
User data: - Sender Channel name - C

So, whenever a message comes into queue 'A', a trigger message will be sent to initation queue - 'I'. Inorder to monitor this initiation queue, I started channel initiator using STRMQMCHLI command. So, I expected channel initiator should start the corresponding sender channel whenever a first trigger message arrives. Since it is not happening, I have to start the sender channel as well by using STRMQMCHL command after starting the channel initiator.

I have a doubt that, why Sender channel is not started automatically when first trigger message arrives at channel initiation queue ?

Regards,
Prakash
Back to top
View user's profile Send private message
nathanw
PostPosted: Tue Oct 18, 2005 4:18 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

out of curiosity, once it is running does it stay running ie even if the channel is inactive and data ispassed does it start up and start passing messages?

reason I ask is that sometimes a manually shutdown requires a manual startup

had this problem previously whereby the box was backed up over night and rebboted which meant that a startup script was required to initiate the channels and start them manually.
Back to top
View user's profile Send private message MSN Messenger
sprakashit
PostPosted: Tue Oct 18, 2005 4:33 am    Post subject: Re: Why Sender channel has to be started manually in iSeries Reply with quote

Newbie

Joined: 13 Jul 2005
Posts: 6

Hi,

Ya, Once the sender channel started it stays running. But why it should be started manually.

Also, While box is going to backup, the following things are done using calling CL program
- Ends all Queue Manager Command Srvrs
- Stops all Queue Manager Channels
- Record all Queue Manager Images
- Ends all Queue Managers
- Ends all Queue Manager Listeners
- Ends QMQM Subsystem

While box is coming from backup, the following things are done using calling CL program
- Starts QMQM Subsystem
- Starts all Queue Managers
- Starts all Queue Manager Listeners
- Starts all Channel Initiators
- Starts all Channels
- Starts all Command Servers

Regards,
Prakash
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Tue Oct 18, 2005 5:01 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Quote:
trigger type - *ALL,


All? You mean EVERY I guess......but it should be FIRST.
Back to top
View user's profile Send private message
sprakashit
PostPosted: Tue Oct 18, 2005 5:11 am    Post subject: Reply with quote

Newbie

Joined: 13 Jul 2005
Posts: 6

Yes, you are right..

Trigger Type is *FIRST not *ALL ( i.e.. EVERY)
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Oct 18, 2005 6:33 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

(1) I you don not need Process "P" defined, so delete that attribute from the XMITQ.
(2) Did you specify initq 'I' on the STRMQMCHLI command?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
sprakashit
PostPosted: Tue Oct 18, 2005 7:56 pm    Post subject: Reply with quote

Newbie

Joined: 13 Jul 2005
Posts: 6

Yes, I specify the 'Init Queue name' and 'Queue Manager name' to start the channel initator using STRMQMCHLI.

But I can't understand why we need to delete the process attribute from XMITQ queue, because it contains

Application identifier: AMQRMCLA [MCA name]
User data: - Sender Channel name - C

Isn't these things not required ?
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Oct 19, 2005 2:37 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Sorry, my mistake apparently (at least according to the doc) you do need a process def on iSeries.

Do you have triggering enabled on your xmitq?

CRTMQMQ QNAME(MYXMITQ) QTYPE(*LCL) MQMNAME(MYQMGR) +
PRCNAME(MYPROCESS) TRGENBL(*YES) INITQNAME(MYINITQ) +
USAGE(*TMQ)
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Carl Bloy
PostPosted: Wed Oct 19, 2005 6:50 am    Post subject: Reply with quote

Acolyte

Joined: 16 Dec 2003
Posts: 69
Location: England

If my memory serves me right??

I seem to remeber there was an issue with channels not starting after a queue manager restart on iseries in 5.2. I thin kthis was fixed in a later CSD, don't remeber which one as it was a while ago now....
_________________
Regards
Carl
Back to top
View user's profile Send private message Visit poster's website
sprakashit
PostPosted: Sat Oct 22, 2005 12:16 am    Post subject: Reply with quote

Newbie

Joined: 13 Jul 2005
Posts: 6

I can able to resolve this issue.

When the channel is in 'STOPPED' state, it won't be started automatically by the channel initiator. The channel should be in 'INACTIVE' state.

Also, process name need not be specified in the XMITQ attribute.
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 » IBM MQ Installation/Configuration Support » Why Sender channel has to be started manually in iSeries
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.