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 » any exe / utility to connect to a remote queue manager ?

Post new topic  Reply to topic
 any exe / utility to connect to a remote queue manager ? « View previous topic :: View next topic » 
Author Message
shanlz
PostPosted: Mon Jun 07, 2004 8:48 pm    Post subject: any exe / utility to connect to a remote queue manager ? Reply with quote

Newbie

Joined: 07 Jun 2004
Posts: 4
Location: India

Hi !

I'm using Websphere MQ 5.3.

And I dont have MQ Series MMC / Control Centre.

Is there any utility in Websphere/bin to connect to a remote queue manger and administer it ?

eg we use runmqsc NAME.QMGR to connect to local queue manager

Is there any other exe other than runmqsc.exe to connect to a QMGR on a remote machine ?

Thanks very much.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
jefflowrey
PostPosted: Tue Jun 08, 2004 3:20 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can use runmqsc to control a remote queue manager.

You will have to configure it to do so first, and configure the remote queue manager as well.

There are instructions in the System Administration guide, or possibly the Script Commmand guide...

Or maybe the platform quick beginnings?

Well. There are instructions.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
offshore
PostPosted: Tue Jun 08, 2004 4:33 am    Post subject: Reply with quote

Master

Joined: 20 Jun 2002
Posts: 222

CH 6 - Sys Admin Guide
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Jun 08, 2004 4:40 pm    Post subject: Reply with quote

Grand High Poobah

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

Try MO71 Pack.
Will work fine for remote admin if your id is in the mqm group or has been set up for admin (setmqaut).

Hope it helps
F.J.
Back to top
View user's profile Send private message Send e-mail
shanlz
PostPosted: Tue Jun 08, 2004 9:44 pm    Post subject: remote admin of queue managers not working / not using MMC r Reply with quote

Newbie

Joined: 07 Jun 2004
Posts: 4
Location: India

Hi !

Please note, me don't have MMC / explorer.

Ways to connect to remote queue manager are :
1. Websphere MQ support pac ...has a simple GUI...not tried yet
2. Web administration : need a support pack / installation for this

3. MQJExplorer (http://www.kolban.com/mqjexplorer/download.htm)
This needs the following to be done :
(a) A channel definition for a SVRCONN channel called SYSTEM.ADMIN.SVRCONN
eg define channel(SYSTEM.ADMIN.SVRCONN) chltype(SVRCONN) mcauser('mqm')

on the remote queue manager

(b) strmqcsv <queueManagerName>

Not working. I suspect that the problem is the mqm group. I think my user id should be a member of that. But I don't rights to do that on my NT !

4. Page 87 admin guide : 'Administering Remote MQSeries Objects'

I did all the steps mentioned here. I changed the order or steps as per remote queue definition example on another pdf.

Local QMGR : source.queue.manager
Remote QMGR : target.queue.manager

local machine
(1) runmqslr -m source.queue.manager -t TCP -p 6002
(2) define qlocal(target.queue.manager) usage(XMITQ)
(3) define channel(source.to.target) CHLTYPE(SDR) conname('<Remote IP here(6001)>')
XMITQ(target.queue.manager) TRPTYPE(TCP)
(4) define channel(target.to.source) CHLTYPE(RCVR) TRPTYPE(TCP)

Now...on the remote machine, lemme...just run a few cubicles away !

(5) runmqlsr -m target.queue.manager -t TCP -p 6001
(6) define qlocal(source.queue.manager) usage(XMITQ)
(7) define channel(target.to.source) CHLTYPE(SDR) CONNAME('<my machine ip(6002)>')
XMITQ(source.queue.manager) TRPTYPE(TCP)
( define channel(source.to.target) CHLTYPE(RCVR) TRPTYPE(TCP)
(9) strmqcsv target.queue.manager

local machine
(10) runmqchl -c source.to.target -m source.queue.manager

remote machine
(11) runmqchl -c target.to.source -m target.queue.manager


Now as per the pdf, I run the following command on my machine :
runmqsc -w 30 target.queue.manager
and get this message :

5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager target.queue.manager.


AMQ8146: WebSphere MQ queue manager not available.

No MQSC commands read.
0 command responses received.

Someone please explain what I could be doing wrong.

Wounded Dark Warrior
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
mqonnet
PostPosted: Wed Jun 09, 2004 5:25 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Looks like you have missed out on the following from the manuals.

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

I am assuming, since you did not make a mention of this as the default qm.


Cheers
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
shanlz
PostPosted: Wed Jun 09, 2004 7:05 am    Post subject: ok, how do I make a queue manager as the default QMGR Reply with quote

Newbie

Joined: 07 Jun 2004
Posts: 4
Location: India

Thanks !

I'm now trying to figure out how to make a QMGR as the default one !

Inputs please.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
kevinf2349
PostPosted: Wed Jun 09, 2004 9:54 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

From the MQ services console. Right click properties and there is a check box to make the queue manager the default queue manager
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Jun 09, 2004 10:41 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

That could be difficult:
Quote:
Please note, me don't have MMC / explorer.


If this is a Windows box, then you'll have to hack the registry. Otherwise, it's in the DefaultQueueManager stanza in mqs.ini.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 09, 2004 11:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

EddieA wrote:
That could be difficult:
Quote:
Please note, me don't have MMC / explorer.


If this is a Windows box, then you'll have to hack the registry.


Not having to hack the registry is what amqmdain is for.

Something like (and hopefully JasonE will correct my syntax... )
Quote:
amqmdain reg * -c add -s DefaultQueueManager -v Name=queue manager name

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed Jun 09, 2004 12:24 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

My bad. I failed to notice the part about them not having MMC. Sorry
Back to top
View user's profile Send private message
shanlz
PostPosted: Thu Jun 10, 2004 3:19 am    Post subject: default queue manager... Reply with quote

Newbie

Joined: 07 Jun 2004
Posts: 4
Location: India

People,

crtmqm -q ZEPPELIN.QMGR

create a queue manager and makes it default !

Also, I got MQJExplore to connect to remote queue manager.


For unrestricted connection
Steps :

1.
runmqsc REMOTE.QMGR

2.
define channel(SYSTEM.ADMIN.SVRCONN) CHLTYPE(SVRCONN)
(No need to define the MCAUSER !!)

3. Start the command server
strmqcsv REMOTE.QMGR

3. Run a listener
runmqlsr -m REMOTE.QMGR -t TCP -p 5000

Now, just connect with MQJExplorer. Works fine.

Restricted Connection
Working on it !


I've also manager to move a step ahead with the MQSeries approach....no I can get the runmqsc to wait on the remote queuemanager ! Thanks to you folks, I realised that I had to make my local queue manager the default one.

Cheers.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » any exe / utility to connect to a remote queue manager ?
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.