Author |
Message
|
AlainB |
Posted: Wed Sep 10, 2003 10:32 pm Post subject: Switching queue managers port numbers |
|
|
 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 |
|
 |
AlainB |
Posted: Wed Sep 10, 2003 11:38 pm Post subject: |
|
|
 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 |
|
 |
hopfe_de |
Posted: Thu Sep 11, 2003 1:29 am Post subject: |
|
|
 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 |
|
 |
leongor |
Posted: Thu Sep 11, 2003 5:01 am Post subject: |
|
|
 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 |
|
 |
hopfe_de |
Posted: Thu Sep 11, 2003 6:29 am Post subject: |
|
|
 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 |
|
 |
Leafar |
Posted: Thu Sep 11, 2003 6:33 am Post subject: |
|
|
 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 |
|
 |
EddieA |
Posted: Thu Sep 11, 2003 6:37 am Post subject: |
|
|
 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 |
|
 |
|