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 » Administrer QueueManager throught intermediate QueueManager

Post new topic  Reply to topic Goto page 1, 2, 3  Next
 Administrer QueueManager throught intermediate QueueManager « View previous topic :: View next topic » 
Author Message
Blomman
PostPosted: Mon Nov 12, 2012 11:57 am    Post subject: Administrer QueueManager throught intermediate QueueManager Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

Hi!

Ive been trying to find out how to connect and admin a QueueManager throught a intermediate QueueManager..

This is my setup.

QmA(WMB QueueManager, V7.0.1, linux) <---FireWall---> QmB (MSCS QueueManger Win 2008 server, running under an AD account).

QmA and QmB has channels and xmit queue setup for wmq communication to each other.
Communication between QmA and QmB works fine.

Now i have been trying to connect to QmB throught QmA with MQ explorer and runmqsc aswell. But all i get is a timeout thats says something like "command server not responding"(Command server is of course running on both boxes).

I have set up qmodel queues for MQExplorer, i have been trying all kind of security configurations, i have checked thats SYSTEM.ADMIN.COMMAND.QUEUE looks ok etc, etc...

I have noticed that he SDR channel on QmA starts, but the SDR channel back to QmA on QmB dosent.

What am i missing? Is this a security issue on QmB box? No hint in the logs either.

Best Regards!

//Blomman
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Nov 12, 2012 12:13 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

runmqsc won't work.

When using MQExplorer, did you specifically say that the new qmgr should be added using "Connect using an intermediate queue manager"?

Is the name of the intermediate queue manager you specified the same as the name of the xmitq on QMB for QMA?
Back to top
View user's profile Send private message
Blomman
PostPosted: Mon Nov 12, 2012 12:24 pm    Post subject: Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

mqjeff wrote:
runmqsc won't work.


Ok, what does this means then?
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.amqzag.doc%2Ffa11760_.htm

mqjeff wrote:

When using MQExplorer, did you specifically say that the new qmgr should be added using "Connect using an intermediate queue manager"?

Yes i do that.

mqjeff wrote:

Is the name of the intermediate queue manager you specified the same as the name of the xmitq on QMB for QMA?


No, can it?
Do you mean:
QmB(Xmitq:QmB) --> QmA?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Nov 12, 2012 12:50 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Blomman wrote:
mqjeff wrote:
runmqsc won't work.


Ok, what does this means then?
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.amqzag.doc%2Ffa11760_.htm


So that means you can use runmqsc, as long as you are using runmqsc on the same machine as QmA. It didn't sound you like you were, it sounded like you were on a third machine. So that's why I said it won't work.

As long as you're running runmqsc on the same machine as QMA, then you can use runmqsc.


Blomman wrote:
mqjeff wrote:

When using MQExplorer, did you specifically say that the new qmgr should be added using "Connect using an intermediate queue manager"?

Yes i do that.

I thought you did, but it never hurts to double-check.

Blomman wrote:
mqjeff wrote:

Is the name of the intermediate queue manager you specified the same as the name of the xmitq on QMB for QMA?


No, can it?
Do you mean:
QmB(Xmitq:QmB) --> QmA?

I mean that there must be an xmitq on QmB named 'QmA', and you need to have told MQ Explorer to use QmA.

It sounds like you do not have the reply path back from the command server on QmB working. So that's why it says the command server isn't working - because it's not getting back responses.

And you said the channel doesn't start, so that says that the reply messages aren't getting put on the xmitq tied to the channel (or maybe the channel isn't triggeredd?), so they're going to the wrong xmitq or to the DLQ or getting disposed.
Back to top
View user's profile Send private message
Blomman
PostPosted: Mon Nov 12, 2012 1:08 pm    Post subject: Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

Messy to quote one more time, answer like this..

Sorry not being clear enough, but runmqsc is supposed to work on QmB when i run it from QmA host.

Yes i have xmitq QmA on QmB.
Yes i have told MQ explorer to use QmA.

Other messages is triggering SDR channel on QmB, so not an triggering issue.
No messages on DLQ om QmB..

But probably the problem is QmB to sent the replys back to QmA, cant see the reason why.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Nov 12, 2012 1:14 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Yes, runmqsc is supposed to work if you run it on the machine that hosts QmA and tell it to connect to QmA and then talk to QmB remotely.

Yes, it does appear that the reply messages are the problem. If you are positive that the name of the xmitq is indeed *the same name* as the name of the receiving queue manager, then it's not clear what the issue is.

I would suggest trying to use a regular request/reply program to send messages to QMB from QMA and get them back as replies.

I would suggest stopping the channel from QMA to QMB, and trying to connect to QMB and then looking at the messages that should be sitting on the xmitq. Then you can look at the replytoqmgr name and verify what it it is.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Nov 12, 2012 5:21 pm    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:

As long as you're running runmqsc on the same machine as QMA, then you can use runmqsc.


Looking at http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.amqzag.doc/fa11760_.htm

This seems to be contradicting your statement:
Quote:
The source queue manager defaults to the default local queue manager. If you specify the -m LocalQmgrName option in the runmqsc command, you can direct the commands to be issued by way of any local queue manager.


Nowhere is is specified that the remote qmgr needs to reside on the same box. What you do need though is a DEFAULT path to the remote qmgr and back.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Blomman
PostPosted: Tue Nov 13, 2012 2:06 am    Post subject: Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

fjb_saper wrote:
mqjeff wrote:

As long as you're running runmqsc on the same machine as QMA, then you can use runmqsc.


Looking at http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.amqzag.doc/fa11760_.htm

This seems to be contradicting your statement:
Quote:
The source queue manager defaults to the default local queue manager. If you specify the -m LocalQmgrName option in the runmqsc command, you can direct the commands to be issued by way of any local queue manager.


Nowhere is is specified that the remote qmgr needs to reside on the same box. What you do need though is a DEFAULT path to the remote qmgr and back.


Probably what im missing is that the source queuemanger has to be the default queue manager, im not sure it is, will loook at this tomorrow when im back on site. I will test and let u know the result.

//Blomman
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Nov 13, 2012 2:23 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Blomman wrote:
Probably what im missing is that the source queuemanger has to be the default queue manager...

The source queue manager does not have to be a default queue manager but you do need a 'default' path back from the target queue manager:

Code:
Queue Manager QMA -
SDR: QMA.TO.QMB
RCVR: QMB.TO.QMA
XMITQ: QMB

Queue Manager QMB -
SDR: QMB.TO.QMA
RCVR: QMA.TO.QMB
XMITQ: QMA

_________________
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
Blomman
PostPosted: Tue Nov 13, 2012 3:11 am    Post subject: Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

exerk wrote:
Blomman wrote:
Probably what im missing is that the source queuemanger has to be the default queue manager...

The source queue manager does not have to be a default queue manager but you do need a 'default' path back from the target queue manager:

Code:
Queue Manager QMA -
SDR: QMA.TO.QMB
RCVR: QMB.TO.QMA
XMITQ: QMB

Queue Manager QMB -
SDR: QMB.TO.QMA
RCVR: QMA.TO.QMB
XMITQ: QMA


This is basic intercommunication..

Quote:

Note: If you are using runmqsc with the -w option, source.queue.manager must be the default queue manager.


I dont want to put mqsc commands in a file all the time, not if it is necessary.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Nov 13, 2012 3:28 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

It's easy to do with MO71.
Back to top
View user's profile Send private message
Blomman
PostPosted: Tue Nov 13, 2012 3:34 am    Post subject: Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

zpat wrote:
It's easy to do with MO71.


Ok, and how is MO71 gonna help me throught the firewall...?

//Blomman
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Nov 13, 2012 3:48 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

If qma has already punched through the firewall, why can't you get the same firewall access for an admin tool?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Nov 13, 2012 3:51 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Blomman wrote:
exerk wrote:
Blomman wrote:
Probably what im missing is that the source queuemanger has to be the default queue manager...

The source queue manager does not have to be a default queue manager but you do need a 'default' path back from the target queue manager:

Code:
Queue Manager QMA -
SDR: QMA.TO.QMB
RCVR: QMB.TO.QMA
XMITQ: QMB

Queue Manager QMB -
SDR: QMB.TO.QMA
RCVR: QMA.TO.QMB
XMITQ: QMA


This is basic intercommunication..

Quote:

Note: If you are using runmqsc with the -w option, source.queue.manager must be the default queue manager.


I dont want to put mqsc commands in a file all the time, not if it is necessary.

I know it's basic intercommunication but the question is whether you have an XMITQ explicitly named QMA or something like QMA.XMITQ - one will work, one will not; you've not really made clear in your posts which it is.
_________________
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
mqjeff
PostPosted: Tue Nov 13, 2012 4:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
mqjeff wrote:

As long as you're running runmqsc on the same machine as QMA, then you can use runmqsc.


Looking at http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.amqzag.doc/fa11760_.htm

This seems to be contradicting your statement:
Quote:
The source queue manager defaults to the default local queue manager. If you specify the -m LocalQmgrName option in the runmqsc command, you can direct the commands to be issued by way of any local queue manager.


Nowhere is is specified that the remote qmgr needs to reside on the same box.

I didn't say the remote qmgr needs to reside on the same box. QmA is the "local qmgr".

I said, and I continue to say, that runmqsc acts as a bindings application only. So you can't use it to talk to a queue manager that is not running on the same machine.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2, 3  Next Page 1 of 3

MQSeries.net Forum Index » General IBM MQ Support » Administrer QueueManager throught intermediate QueueManager
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.