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 » Switching queue managers port numbers

Post new topic  Reply to topic
 Switching queue managers port numbers « View previous topic :: View next topic » 
Author Message
AlainB
PostPosted: Wed Sep 10, 2003 10:32 pm    Post subject: Switching queue managers port numbers Reply with quote

Voyager

Joined: 31 Oct 2002
Posts: 79
Location: Belgium

Hi all,

On a few AIX systems, we have on each of them 2 queue managers running; one QM1 is listening port 1414 and the other QM2 is listening on port 1415.
For some 'political' reason outside the scope of this message, we need to "switch" these port numbers, thus that means QM1 will listen port 1415 and QM2 port 1414.
Can this be achieve simply by adapting the AIX system file /etc/services, or do I need to completely remove/reinstall both queue managers ? In other words, is the port number information stored somewhere within MQSeries configuration files ?
_________________
Alain Buret
Visit http://www.fosdem.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AlainB
PostPosted: Wed Sep 10, 2003 11:38 pm    Post subject: Reply with quote

Voyager

Joined: 31 Oct 2002
Posts: 79
Location: Belgium

I tested that, and it's working fine ... just stopped both queue managers, adapted /etc/services, HUPed inetd and started the queue managers.
_________________
Alain Buret
Visit http://www.fosdem.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hopfe_de
PostPosted: Thu Sep 11, 2003 1:29 am    Post subject: Reply with quote

Acolyte

Joined: 03 Mar 2002
Posts: 58
Location: Frankfurt, Germany

Why do you use the inetd to control the Listener?
We use these commands to start our QMGR.
Code:
strmqm MQXT5
nohup runmqlsr -t tcp -p 1414 -m MQXT5 &
echo "-> WebSphere MQ MQListener is PID:$!          "
nohup runmqchi -m MQXT5 -q SYSTEM.CHANNEL.INITQ &
echo "-> WebSphere MQ ChannelInitiator is PID:$!    "
strmqcsv MQXT5
Back to top
View user's profile Send private message Send e-mail AIM Address
leongor
PostPosted: Thu Sep 11, 2003 5:01 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

BTW, hopfe_de, why do you start chanel initiator separately ?
It supposed to start automatically, doesn't it ?
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
hopfe_de
PostPosted: Thu Sep 11, 2003 6:29 am    Post subject: Reply with quote

Acolyte

Joined: 03 Mar 2002
Posts: 58
Location: Frankfurt, Germany

We have up to 4 Qmgrs on a AIX, and with these scripts we can easy start them on different ports.
Back to top
View user's profile Send private message Send e-mail AIM Address
Leafar
PostPosted: Thu Sep 11, 2003 6:33 am    Post subject: Reply with quote

Acolyte

Joined: 03 Apr 2003
Posts: 74
Location: Buenos Aires

After changing the /etc/services file you must run
#refresh -s inetd to restart the services with the new configuration

Saludos
Rafael
Back to top
View user's profile Send private message MSN Messenger
EddieA
PostPosted: Thu Sep 11, 2003 6:37 am    Post subject: Reply with quote

Jedi

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

Two other points.

I hope that theses Queue Managers were not part of a Cluster. If so, then it's a little more complicated.

And, you did remember to go around every 'other' Queue Manager that connects to these two to change the Connection values.

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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Switching queue managers port numbers
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.