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 Discussion » QMGR alias... how does it work???

Post new topic  Reply to topic
 QMGR alias... how does it work??? « View previous topic :: View next topic » 
Author Message
vzboy
PostPosted: Mon Nov 14, 2005 3:48 am    Post subject: QMGR alias... how does it work??? Reply with quote

Novice

Joined: 21 Jul 2005
Posts: 14

Hi All,

Can any one pls tell me how does the QMGR alias work. I was told by one of one of my pal, just create a remote q with the name of the queuemanafer a part of it, say if my QMGR name is QM1, create a config like:

DEFINE QREMOTE ('TST.QM1') -
REPLACE -
RNAME ('') -
RQMNAME ('')

can any one tell me how does the qmgr take it as a alias, if the above one is correct.

PS: This was the trick that worked for me in my previous post.
http://www.mqseries.net/phpBB2/viewtopic.php?t=25426
_________________
Thanks

vzboy
Back to top
View user's profile Send private message
wschutz
PostPosted: Mon Nov 14, 2005 4:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Tell your pal he's worng, you also need to specify a
RQMNAME ('REAL.QMGR.NAME')
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Mr Butcher
PostPosted: Mon Nov 14, 2005 4:12 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

if your qmgr name is QM1, the qmgr alias should read:

DEFINE QREMOTE ('TST.QM1') -
REPLACE -
RNAME ('') -
RQMNAME ('QM1')

This qmgralias will make QM1 accept messages that arrive and are destigned for a queuemanager TST.QM1. this is part of the name resolution (the application programmers guide has a section for this).
_________________
Regards, Butcher
Back to top
View user's profile Send private message
vzboy
PostPosted: Mon Nov 14, 2005 5:05 am    Post subject: Reply with quote

Novice

Joined: 21 Jul 2005
Posts: 14

hoo.. ok...

so in that case do i only have to define this Alias Remote Q in the queuemanager QM1 from which i'm connecting (Source QMGR), or on the remote qmgr to which i'm connecting (Destination QMGR)....
_________________
Thanks

vzboy
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Nov 14, 2005 5:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Name resolution happens locally, except in clustering.

So if you need a name to resolve in some particular place, you need to define it in that particular place.

Also, let me repeat what you have already been told, but you probably missed.

IT IS A BAD IDEA to have more than one qmgr with the same name in the same network. Even if it works, it is a bad idea. You will set yourself up for all sorts of management and change control problems that are very easily avoided otherwise.

Qmgrs in HA failover configurations do not count, they are not both in the same network at the same time - they are essentially "the same" qmgr.
_________________
I am *not* the model of the modern major general.


Last edited by jefflowrey on Mon Nov 14, 2005 5:12 am; edited 1 time in total
Back to top
View user's profile Send private message
sandiksk
PostPosted: Mon Nov 14, 2005 5:11 am    Post subject: Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

vzboy wrote

so in that case do i only have to define this Alias Remote Q in the queuemanager QM1 from which i'm connecting (Source QMGR), or on the remote qmgr to which i'm connecting (Destination QMGR)....


Depends if u only need one way communication,
yes you only need to define the q.m alias (remote queue definition with a blank queue name), at the source.
if u need two way communication u have to define another q.m alias at the destination to the source. (of course u also need all other neccessary stuff like xmitq and channels)
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 » General Discussion » QMGR alias... how does it work???
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.