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 » IBM MQ Installation/Configuration Support » multiple qmanager on sigle port and single host

Post new topic  Reply to topic
 multiple qmanager on sigle port and single host « View previous topic :: View next topic » 
Author Message
vikrant
PostPosted: Mon Jan 10, 2011 4:52 am    Post subject: multiple qmanager on sigle port and single host Reply with quote

Newbie

Joined: 10 Jan 2011
Posts: 4

Hi,

I want to move two different qmanger running on two different machines and on two different ports on to a single machine .

I know running two different qmanager on same port and single machine is not possible , Can this be done using qmanager alias ?

Thanks and Regards
Vikrant
Back to top
View user's profile Send private message
fatherjack
PostPosted: Mon Jan 10, 2011 5:15 am    Post subject: Re: multiple qmanager on sigle port and single host Reply with quote

Knight

Joined: 14 Apr 2010
Posts: 522
Location: Craggy Island

vikrant wrote:
I know running two different qmanager on same port and single machine is not possible , Can this be done using qmanager alias ?


Why would you want two processes, queue managers or anything else for that matter, listening on the same port?
_________________
Never let the facts get in the way of a good theory.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jan 10, 2011 5:20 am    Post subject: Re: multiple qmanager on sigle port and single host Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

vikrant wrote:
I know running two different qmanager on same port and single machine is not possible , Can this be done using qmanager alias ?


If what you're saying is that you currently have 2 queue managers & you want to replace them with a single queue manager that handles traffic for both queue managers then yes, you could use an alias to readdress traffic to the "missing" queue manager.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jan 10, 2011 5:57 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can configure two queue managers on the same machine, and they can both have a listener running on port 1414.

Just not on the same IP address.

You *can* configure the listener to bind ONLY to a *specific* IP address. It doesn't do this by *default*.

You could even have the same hostname resolve to *both* IP addresses.

Your applications might not like not knowing which qmgr they have connected to, however.

OR they might be just fine with that. But your other qmgrs won't be....
Back to top
View user's profile Send private message
vikrant
PostPosted: Tue Mar 29, 2011 12:57 am    Post subject: Re: multiple qmanager on sigle port and single host Reply with quote

Newbie

Joined: 10 Jan 2011
Posts: 4

@ mqjeff . I assigned one additional IP to my linux box and then tried to bind the listener on this additional IP for the qmanager on the same port (1416) . And get below error

runmqlsr -t tcp -p 1416 -i 10.10.212.165 -m TESTQM

03/29/2011 07:19:40 AM AMQ9218: The TCP/IP listener program could not bind to port number 1416.


this port is already being used by another qmgr on the very same machine
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 29, 2011 1:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

And how did you configure the listener for the OTHER qm?
Back to top
View user's profile Send private message
vikrant
PostPosted: Tue Mar 29, 2011 1:30 am    Post subject: Re: multiple qmanager on sigle port and single host Reply with quote

Newbie

Joined: 10 Jan 2011
Posts: 4

runmqlsr -t tcp -p 1416 -m FXQM1

And i checked the netstat on the machine and can see that 1416 is bind to other IP .

tcp 0 0 10.10.212.15:1416
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Mar 29, 2011 1:41 am    Post subject: Re: multiple qmanager on sigle port and single host Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

vikrant wrote:
runmqlsr -t tcp -p 1416 -m FXQM1

And i checked the netstat on the machine and can see that 1416 is bind to other IP .

tcp 0 0 10.10.212.15:1416

So you didn't read the manual properly, particularly the last sentence of the -i IPAddr block of the runmqlsr command (note that I make a statement, not ask a question). And why are you using that command anyway? Why are you not using a listener object?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
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 » IBM MQ Installation/Configuration Support » multiple qmanager on sigle port and single host
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.