Author |
Message
|
Jimmy3 |
Posted: Tue May 08, 2007 7:47 am Post subject: How to use Save Queue Manager with remote queue managers |
|
|
Novice
Joined: 08 May 2007 Posts: 16
|
Hi, I am new to Save Queue Manager. Can anybody tell me how to use this with remote queues.
A summary of what I have done:
saveqmgrc -r <remoteQM> -a <host_ip> -f <filename>
This is what I got the error :
SAVEQMGR V6.0.3
Compiled for Websphere MQ V6.0 on Aug 22 2006
Using the server connection channel "SYSTEM.DEF.SVRCONN"
on connection name "10.249.2.138".
MQCONNX failed for , CC=2 RC=2059
It works perfectly with saveqmgr <localQM>. |
|
Back to top |
|
 |
Michael Dag |
Posted: Tue May 08, 2007 8:38 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
2059 is Qmgr not available
is there a queue manager running on 10.249.2.138 with a listener with port 1414 ? _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Jimmy3 |
Posted: Tue May 08, 2007 8:40 am Post subject: |
|
|
Novice
Joined: 08 May 2007 Posts: 16
|
Hi Michael,
First of all thanks for the reply. Yes there is a queue manager running on the ip. Port is not 1414, but 59440. Does it ring a bell? |
|
Back to top |
|
 |
Jimmy3 |
Posted: Tue May 08, 2007 8:53 am Post subject: |
|
|
Novice
Joined: 08 May 2007 Posts: 16
|
Hi,
I tried this after you mentioned the port,
saveqmgrc -r <QM> -a 10.249.2.138(59440) -f <file>
Th eerror it returned is:
SAVEQMGR V6.0.3
Compiled for Websphere MQ V6.0 on Aug 22 2006
Using the server connection channel "SYSTEM.DEF.SVRCONN"
on connection name "10.249.2.138(59440)".
MQCONNX failed for , CC=2 RC=2035
Now the RC code has changed, do you see a problem? |
|
Back to top |
|
 |
dgolding |
Posted: Tue May 08, 2007 9:00 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
What userid are you logged in as when you run saveqmgr - try logging in as "mqm" and then running it. This user ID will be passed to the remote queue manager as default (unless you've changed it on the channel or are running a channel exit) and you will then be authorised - 2035 is MQRC_NOT_AUTHORIZED |
|
Back to top |
|
 |
Jimmy3 |
Posted: Tue May 08, 2007 9:05 am Post subject: |
|
|
Novice
Joined: 08 May 2007 Posts: 16
|
Well I m logged on to Windows machine, which has no userid 'mqm'. I am connected to Solaris box which has the queue manager running. I can view the queue manager's content in the MQ explorer. Should the userid be a problem, then even my MQ explorer could not have connected to the remote QM.
Can you let me know the syntax of using saveqmgrc (connect to remote QM)? Let me crosscheck and try. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue May 08, 2007 7:01 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Jimmy3 wrote: |
Well I m logged on to Windows machine, which has no userid 'mqm'. I am connected to Solaris box which has the queue manager running. I can view the queue manager's content in the MQ explorer. Should the userid be a problem, then even my MQ explorer could not have connected to the remote QM.
Can you let me know the syntax of using saveqmgrc (connect to remote QM)? Let me crosscheck and try. |
Your syntax is right. Your MQExplorer is probably not using the SYSTEM.DEF.SVRCONN channel. Check out the syntax (savemqmgrc -?) there is a parameter to specify the channel name. And remember this is case sensitive...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Jimmy3 |
Posted: Tue May 08, 2007 11:47 pm Post subject: |
|
|
Novice
Joined: 08 May 2007 Posts: 16
|
Hi,
I got this done.. it was the channel name missing, with a user mca. Thanks everyone who has posted a reply. |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed May 09, 2007 12:17 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
Jimmy3 wrote: |
Hi,
I got this done.. it was the channel name missing, with a user mca. Thanks everyone who has posted a reply. |
I hope you realise, if you put a user with enough authority on the channels mcauser, ANYONE can access this queue manager now...  _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
|