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 » How to use Save Queue Manager with remote queue managers

Post new topic  Reply to topic
 How to use Save Queue Manager with remote queue managers « View previous topic :: View next topic » 
Author Message
Jimmy3
PostPosted: Tue May 08, 2007 7:47 am    Post subject: How to use Save Queue Manager with remote queue managers Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Tue May 08, 2007 8:38 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Jimmy3
PostPosted: Tue May 08, 2007 8:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Jimmy3
PostPosted: Tue May 08, 2007 8:53 am    Post subject: Reply with quote

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
View user's profile Send private message
dgolding
PostPosted: Tue May 08, 2007 9:00 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Jimmy3
PostPosted: Tue May 08, 2007 9:05 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue May 08, 2007 7:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Jimmy3
PostPosted: Tue May 08, 2007 11:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Wed May 09, 2007 12:17 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to use Save Queue Manager with remote queue managers
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.