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 » Sender / Receiver Channel

Post new topic  Reply to topic
 Sender / Receiver Channel « View previous topic :: View next topic » 
Author Message
manishpnp
PostPosted: Mon Sep 01, 2008 3:58 am    Post subject: Sender / Receiver Channel Reply with quote

Apprentice

Joined: 21 Feb 2008
Posts: 46

This is new setup with 3 Qmgrs in two different Windows machines.
I have been asked to use connection TCP port range from 3600 onwards.

Messages are put from qmgr1 and qmgr2 to qmgr3.

Machine 1 - Qmgr1 and Qmgr2 (sender to Qmgr3)
Machine 2 - Qmgr3 (Receiver from Qmgr1 and Qmgr2)

Machine 1 - Sender Channel
DEFINE CHANNEL('qmgr1.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3621)') XMITQ('qmgr3')

DEFINE CHANNEL('qmgr2.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3622)') XMITQ('qmgr3')

QMGR1 is assigned port 3601
QMGR2 is assigned port 3611

Machine 2 - Receiver Channel
DEFINE CHANNEL('qmgr1.TO.qmgr3') CHLTYPE(RCVR) TRPTYPE(TCP)
DEFINE CHANNEL('qmgr2.TO.qmgr3') CHLTYPE(RCVR) TRPTYPE(TCP)

Listner service - "runmqlsr -t tcp -p 3624 -m qmgr3 &

QMGR3 is assigned port 3625.

When I run the command display channel - dis chs(*) in all queue managers the channel status(RETRYING) mode.

I am getting below errors in all Qmanagers logs:-
AMQ9202: Remote host machine2 (10.58.10.1) (3622)' not available, retry later.

EXPLANATION:
The attempt to allocate a conversation using TCP/IP to host machine2(10.58.10.1) (3622)' was not successful. However the error may be a transitory one and it may be possible to successfully allocate a TCP/IP conversation later.
ACTION:
Try the connection again later. If the failure persists, record the error
values and contact your systems administrator. The return code from TCP/IP is 10061 (X'274D'). The reason for the failure may be that this host cannot reach the destination host. It may also be possible that the listening program at host 'machine2 (10.58.10.1) (3622)' was not running. If this is the case, perform the relevant operations to start the TCP/IP listening program, and try again.

Could you please help me to resolve above issues?

Is this because port is not activated as i am not using default port?

Do I need to specify same sender channel port number in receiver channels?

Do i need to add new port range in host/services file like :-
MQSeries 3621
MQSeries1 3622

I would appreciate your help on this...

Thanks&Regards
manish
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Mon Sep 01, 2008 4:30 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

you started a listener for qmgr3 on port 3624, this is the port qmgr1 and qmgr2 have to specify in the conname of the sender channel to connect to qmgr3.

wrong
Quote:
DEFINE CHANNEL('qmgr1.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3621)') XMITQ('qmgr3')

DEFINE CHANNEL('qmgr2.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3622)') XMITQ('qmgr3')


right
Quote:
DEFINE CHANNEL('qmgr1.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3624)') XMITQ('qmgr3')

DEFINE CHANNEL('qmgr2.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3624)') XMITQ('qmgr3')


i dont know what you mean by

Quote:
QMGR3 is assigned port 3625.


you started the listener for qmgr3 on port 3624, what is port 3625 now for? and how is it assigned?

maybe you should check the intercommunication guide for listener and port assignment....
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Mon Sep 01, 2008 4:30 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

pressed submit twice? so double psot erased
_________________
Regards, Butcher


Last edited by Mr Butcher on Mon Sep 01, 2008 4:31 am; edited 1 time in total
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Sep 01, 2008 4:31 am    Post subject: Re: Sender / Receiver Channel Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

manishpnp wrote:
Machine 1 - Sender Channel
DEFINE CHANNEL('qmgr1.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3621)') XMITQ('qmgr3')

DEFINE CHANNEL('qmgr2.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3622)') XMITQ('qmgr3')

QMGR1 is assigned port 3601
QMGR2 is assigned port 3611

Machine 2 - Receiver Channel
DEFINE CHANNEL('qmgr1.TO.qmgr3') CHLTYPE(RCVR) TRPTYPE(TCP)
DEFINE CHANNEL('qmgr2.TO.qmgr3') CHLTYPE(RCVR) TRPTYPE(TCP)

Listener service - "runmqlsr -t tcp -p 3624 -m qmgr3 &

QMGR3 is assigned port 3625...


You have different IP Ports in each SDR to 'machine2', you have started a Listener on 'machine2' that is not the assigned IP Port for the QMGR3.

Correct and retry...

Edit: And I see Mr. Butcher is now suffering the same double-click, double-post issue that AkankshA had
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
atheek
PostPosted: Tue Sep 02, 2008 11:30 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Quote:
I have been asked to use connection TCP port range from 3600 onwards


Just wondering for what purpose you have been asked to. Since machine 1 and machine 2 are different, there may be a firewall between the two and the firewall might have been opened only for inbound tcp/ip connections from port 3600 and above from machine 1. If this is the case you may have to use the LOCALADDR attribute when defining the sender channels.

To fix your issue : start your listener at Port 'P' for QM3 and use the same port in the CONNAME for both the sender channels ie. fom QM1 and QM2
Back to top
View user's profile Send private message
manishpnp
PostPosted: Wed Sep 03, 2008 9:02 pm    Post subject: Re: Sender / Receiver Channel Reply with quote

Apprentice

Joined: 21 Feb 2008
Posts: 46

Hi All,

Thanks for all quick responses...

I will make the changes as per your responses.

For your information :-
1) Machine1 and Machine2 are local network (no firewall).
2) After created QM1 and QM2 in Machine1 and QM3 in Machine2. I have change their port setting from 1414 (default) to below mentioned ports. (because we do not want 2 use default ports).

For Example :-
MQExplorer-Rightclick-QM1-Properties-TCP-TCPPort-change 1414 to 3601
MQExplorer-Rightclick-QM2-Properties-TCP-TCPPort-change 1414 to 3611

3) After change port setting for all three queue managers i have created sender channel between machine1 to machine2 - ('qmgr1.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3621)').

4) Receiver channel is machine2 (QM3) - ('qmgr1.TO.qmgr3') CHLTYPE(RCVR) TRPTYPE(TCP).
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Sep 03, 2008 9:32 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

i may have missed it, but is qmgr3 listening on port 3621?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Sep 03, 2008 10:55 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Mr Butcher wrote:
i may have missed it, but is qmgr3 listening on port 3621?


Not according to an earlier post, which has it on Port 3625. However, according to the post above yours QM2 is listening on that Port!
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
manishpnp
PostPosted: Thu Sep 04, 2008 1:58 am    Post subject: Re :- Sender / Receiver Channel Reply with quote

Apprentice

Joined: 21 Feb 2008
Posts: 46

Hello,

As per your suggestion I have made some changes :-

ALTER CHANNEL('qmgr1.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3624)') XMITQ('qmgr3')
1 : ALTER CHANNEL('qmgr1.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3624)') XMITQ('qmgr3')
AMQ8016: WebSphere MQ channel changed.

ALTER CHANNEL('qmgr2.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3624)') XMITQ('qmgr3')
1 : ALTER CHANNEL('qmgr2.TO.qmgr3') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('machine2(3624)') XMITQ('qmgr3')
AMQ8016: WebSphere MQ channel changed.


Machine 2
Qmgr is listening on TCP Port 3624.
runmqlsr -t tcp -p 3624 -m qmgr3 &

Now "qmgr2.TO.qmgr3" sender channel is running perfectly.

But "qmgr1.TO.qmgr3" is not running it is still showing "Retrying" mode.

Following error thrown while starting qmgr1.TO.qmgr3 sender channel :-
----- amqrccca.c : 777 --------------------------------------------------------
9/4/2008 15:13:18 - Process(5048.1) User(MUSR_MQADMIN) Program(runmqchl.exe)
AMQ9002: Channel 'qmgr1.TO.qmgr3' is starting.

EXPLANATION:
Channel 'qmgr1.TO.qmgr3' is starting.
ACTION:
None.
-------------------------------------------------------------------------------
9/4/2008 15:13:18 - Process(5048.1) User(MUSR_MQADMIN) Program(runmqchl.exe)
AMQ9526: Message sequence number error for channel 'qmgr1.TO.qmgr3'.

EXPLANATION:
The local and remote queue managers do not agree on the next message sequence
number. A message with sequence number 2 has been sent when sequence number 1
was expected.
ACTION:
Determine the cause of the inconsistency. It could be that the synchronization
information has become damaged, or has been backed out to a previous version.
If the situation cannot be resolved, the sequence number can be manually reset
at the sending end of the channel using the RESET CHANNEL command.
----- amqrfpta.c : 340 --------------------------------------------------------
9/4/2008 15:13:18 - Process(5048.1) User(MUSR_MQADMIN) Program(runmqchl.exe)
AMQ9506: Message receipt confirmation failed.

EXPLANATION:
Channel 'qmgr1.TO.qmgr3' has ended because the remote queue manager did not
accept the last batch of messages.
ACTION:
The error log for the channel at the remote site will contain an explanation of
the failure. Contact the remote Systems Administrator to resolve the problem.
----- amqrmrca.c : 794 --------------------------------------------------------
9/4/2008 15:13:18 - Process(5048.1) User(MUSR_MQADMIN) Program(runmqchl.exe)
AMQ9999: Channel program ended abnormally.

EXPLANATION:
Channel program 'qmgr1.TO.qmgr3' ended abnormally.
ACTION:
Look at previous error messages for channel program 'qmgr1.TO.qmgr3' in the
error files to determine the cause of the failure.
----- amqrccca.c : 777 --------------------------------------------------------


Is there any issue to using 3624 port to both sender channels as qmgr1 and qmgr2 running in single machine. Any port conflict issue?

I would appreciate your help on this...

Thanks,
manish
Back to top
View user's profile Send private message
zhanghz
PostPosted: Thu Sep 04, 2008 2:15 am    Post subject: Reply with quote

Disciple

Joined: 17 Jun 2008
Posts: 186

what does the log on QMGR3 say?

does a RESET CHANNEL(XX) SEQNUM(1) on QMGR1 help?
Back to top
View user's profile Send private message
manishpnp
PostPosted: Thu Sep 04, 2008 2:22 am    Post subject: Re :- Sender / Receiver Channel Reply with quote

Apprentice

Joined: 21 Feb 2008
Posts: 46

what does the log on QMGR3 say?

9/4/2007 15:48:15 - Process(2720.10) User(machine2) Program(amqrmppa.exe)
AMQ9526: Message sequence number error for channel 'qmgr1.TO.qmgr3'.

EXPLANATION:
The local and remote queue managers do not agree on the next message sequence
number. A message with sequence number 2 has been sent when sequence number 1
was expected.
ACTION:
Determine the cause of the inconsistency. It could be that the synchronization
information has become damaged, or has been backed out to a previous version.
If the situation cannot be resolved, the sequence number can be manually reset
at the sending end of the channel using the RESET CHANNEL command.
----- amqrmtra.c : 3846 -------------------------------------------------------
Back to top
View user's profile Send private message
zhanghz
PostPosted: Thu Sep 04, 2008 2:55 am    Post subject: Reply with quote

Disciple

Joined: 17 Jun 2008
Posts: 186

tried RESET CHANNEL(XX) SEQNUM(1) on QMGR1? what's the result? what the logs say?
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Thu Sep 04, 2008 5:29 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

i do not want to repeat the last 4 post telling you to reset the channel, i am just wondering why you do not read the error messages you got? the text explains it all in details if you do not understand the text, then you did not read the MQ manuals. so go and read at least the MQ Intercommunication guide so you understand what you are doing when trying to connect queuemanagers.
Your questions look very lazy to me and do not show basic understanding of MQ. read, read, read !!!!
_________________
Regards, Butcher
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 » Sender / Receiver Channel
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.