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 » Unable to Configure Two Sender Channels

Post new topic  Reply to topic
 Unable to Configure Two Sender Channels « View previous topic :: View next topic » 
Author Message
jack_jiten
PostPosted: Wed Feb 13, 2008 4:02 am    Post subject: Unable to Configure Two Sender Channels Reply with quote

Newbie

Joined: 13 Feb 2008
Posts: 5

I am new to MQSeries. I have just started working with it.

I have one Queue Manager named QMA
i have created 2 local Queues(LQ1,LQ2), 2 RemoteQueues(RemoteQ1, RemoteQ2) and 2 transmission queues(XmitQ1,QmitQ2)

I have defined a Channel named QMA.QMB
[configured for 192.9.28.104(1414) and transmission queue(XmitQ1), RemoteQ1, LQ1]
it works fine and i m able to recieve and send message on it.

Now i have created one more channel named QMA1.QMB1
[configured for 192.9.28.104(1415) and transmission queue(XmitQ2), RemoteQ2, LQ2]. I am unable to get Channel Status as "RUNNING". It goes in "Retrying.." status.

What could be the Problem?
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Feb 13, 2008 4:17 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

how is your queuemanager setup? QMB is on 192.9.28.104 listening to Port 1414. for your second channel - which is the target queuemanager? is it also QMB or do you have another QMB1 listening to Port 1415?

in addition, with the channel QMA.QMB you can only send messages, not receive. a channel is not bidirectional (in terms of mq messages)
_________________
Regards, Butcher
Back to top
View user's profile Send private message
jack_jiten
PostPosted: Wed Feb 13, 2008 4:39 am    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2008
Posts: 5

I m using MQ version 6.0
i have only One Queue Manager named QMA on my machine having IP 192.9.28.138 and
QMB is a Queue Manager on Different Machine having IP 192.9.28.104.

On My machine (192.9.28.138) i have created 2 channel which are suppose to listen on 1414 and 1415.
But at a time only one channel can be in Running Status . Other Channel remains in Retrying Status


Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 13, 2008 4:42 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Channels don't listen on Ports at all.

Listeners listen on Ports.

If you have a Listener running on Port 1414 and a Listener running on Port 1415, you can potentially get both Channels running on connections established through both ports.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 13, 2008 4:45 am    Post subject: Reply with quote

Grand High Poobah

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

jack_jiten wrote:
On My machine (192.9.28.138) i have created 2 channel which are suppose to listen on 1414 and 1415.
But at a time only one channel can be in Running Status . Other Channel remains in Retrying Status


Channels don't listen - listener listen (at the risk of being obvious). Make sure there are 2 listeners on the target queue manager; the symptoms you're describing imply there's nothing on 1415.

Is there a reason for having 2 channels to the same IP address aside from "I'm new & thought I'd try it" (which is a valid reason and better than some I've heard for this kind of configuration)?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 13, 2008 4:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Also, let's be clear.

If you want to create two Sender channels to QMB, that talk to different ports, then you need to create two Listeners on QMB (not QMA!).

The typical setup is
QMA:
Listener on port XXXX
Sender Channel to QMB using (hostname:YYYY)
Receiver Channel

QMB:
Listener on port YYYY
Sender Channel to QMA using (hostname:XXXX)
Reciever Channel
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jack_jiten
PostPosted: Wed Feb 13, 2008 4:58 am    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2008
Posts: 5

my idea is to have only one Queue Manager. under which i will be having multiple Remote Queues, Transmission Queue and local queues.

In current scenario i have two RemoteQueues and two Transmission Queues and 2 local Queues.

i have created 2 listener to listen on PORT 1414 and 1415 respectively.

I have created 2 sender Channels. and one receiver channel

sender channels are configured with CONName =192.9.28.104(1414) and its Transmission Queue is XMITQ1
and another Channel is configured with CONName =192.9.28.104(1415) and its Transmission Queue is XMITQ2

So what could be the problem with My above configuration. where it went wrong?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 13, 2008 5:01 am    Post subject: Reply with quote

Grand High Poobah

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

jack_jiten wrote:
I have created 2 sender Channels. and one receiver channel

....


So what could be the problem with My above configuration. where it went wrong?


Sender / receiver channels work in pairs.

(Before any of our more experienced posters comment, yes I know that's a simplification!)
_________________
Honesty is the best policy.
Insanity is the best defence.


Last edited by Vitor on Wed Feb 13, 2008 5:05 am; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 13, 2008 5:03 am    Post subject: Reply with quote

Grand High Poobah

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

jack_jiten wrote:
my idea is to have only one Queue Manager. under which i will be having multiple Remote Queues, Transmission Queue and local queues.


It's also unclear (to me at least) what exactly you're trying to do. One queue manager implies no remote queues or transmission queues. Also why you have 2 senders/receiver/transmission queue combinations when one can service a number of remote queues.

I'd urge you to review (or re-review) the Intercommunication manual, which describes various topologies and their configuration.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Feb 13, 2008 5:31 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

i suggest you read the intercommunication guide first. you do some mistakes in your setup or setup design because you do not have the knowledge how it works.

after reading verify your setup. if you still have questions yes please post them here. but please read first!
_________________
Regards, Butcher
Back to top
View user's profile Send private message
ashu
PostPosted: Wed Feb 13, 2008 9:34 pm    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

Check if you have given correct RQMNAME in the remote Q definition on the sender QMgr...
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 14, 2008 1:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Mr Butcher wrote:
i suggest you read the intercommunication guide first. you do some mistakes in your setup or setup design because you do not have the knowledge how it works.

after reading verify your setup. if you still have questions yes please post them here. but please read first!




Ashu wrote:
Check if you have given correct RQMNAME in the remote Q definition on the sender QMgr...


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Feb 14, 2008 2:25 am    Post subject: Reply with quote

Grand High Poobah

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

ashu wrote:
Check if you have given correct RQMNAME in the remote Q definition on the sender QMgr...


And this has what to do with the quoted problem? How does a badly spelt or missing RQMNAME stop a channel running??


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jack_jiten
PostPosted: Thu Feb 14, 2008 10:25 pm    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2008
Posts: 5

Thanks Buddies

I have started reading MQ Intercommunication Guide. and let me finish it and understand it. Will get back to you after i finish it.

KEEP SMILING .........
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 » Unable to Configure Two Sender 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.