|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
QMGR alias... how does it work??? |
« View previous topic :: View next topic » |
Author |
Message
|
vzboy |
Posted: Mon Nov 14, 2005 3:48 am Post subject: QMGR alias... how does it work??? |
|
|
 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 |
|
 |
wschutz |
Posted: Mon Nov 14, 2005 4:10 am Post subject: |
|
|
 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 |
|
 |
Mr Butcher |
Posted: Mon Nov 14, 2005 4:12 am Post subject: |
|
|
 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 |
|
 |
vzboy |
Posted: Mon Nov 14, 2005 5:05 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Mon Nov 14, 2005 5:09 am Post subject: |
|
|
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 |
|
 |
sandiksk |
Posted: Mon Nov 14, 2005 5:11 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|