Author |
Message
|
Ilya |
Posted: Thu Apr 18, 2002 11:28 am Post subject: |
|
|
Newbie
Joined: 17 Apr 2002 Posts: 5
|
What if I want to bind each Qmanager to a specific Virtual IP address. For
example: I do not want to use different ports, rather I would listen on the same port (1414) but ont he differnt ip on the same
machine. How can this be accomplished? What can I use instead of /etc/services entree? Or how can this entree be modified?
TIA Ilya |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Apr 18, 2002 11:46 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
not certain about Sun, but I beleive you can place the IP Address in /etc/inetd.conf, this may not work on Sun !!!!!
127.0.0.1:QMGR_NAME ...
_________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
rwa |
Posted: Fri Apr 19, 2002 4:42 am Post subject: |
|
|
Voyager
Joined: 22 Jan 2002 Posts: 76 Location: Duesseldorf/Germany
|
A better solution is to configure the listener to listen only on a single ip-address. This can be done by editing the section TCP in file qm.ini
[TCP]
PORT=n
IPADDR=x.x.x.x or hostname |
|
Back to top |
|
 |
rwa |
Posted: Sun Apr 21, 2002 11:13 pm Post subject: |
|
|
Voyager
Joined: 22 Jan 2002 Posts: 76 Location: Duesseldorf/Germany
|
I was just able to test the configuration with IPADDR. This feature is documented in the book IBM MQ Series Intercommunication (Appendix C). If I set this feature the listener did not start. The errormessage is "AMQ9224: Unexpected token detected.". |
|
Back to top |
|
 |
mrlinux |
Posted: Mon Apr 22, 2002 11:09 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Just an FYI on LINUX!! This works
I setup 2 virtual IPs on the loop back device
and added the following to my inetd.conf
128.0.0.1:telnet1 stream tcp nowait root /usr/sbin/tcpd in.telnetd
129.0.0.1:telnet2 stream tcp nowait root /usr/sbin/tcpd in.ftpd
added the following to my services file
telnet1 1414/tcp
telnet2 1414/tcp
restarted inetd
when I issue a telnet to 128.0.0.1 1414 I get telnet session
when I issue a telnet to 129.0.0.1 1414 I get a ftp session
Now if the inetd works the same on Sun then this type of setup will allow you
to listen on 1414 for more than 1 queue manager if you have the seperate virtual IP Address
_________________
Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
_________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
|