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 » Bind qmanager to a virtual IP only on the multihomed SUN mac

Post new topic  Reply to topic
 Bind qmanager to a virtual IP only on the multihomed SUN mac « View previous topic :: View next topic » 
Author Message
Ilya
PostPosted: Thu Apr 18, 2002 11:28 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
mrlinux
PostPosted: Thu Apr 18, 2002 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
rwa
PostPosted: Fri Apr 19, 2002 4:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
rwa
PostPosted: Sun Apr 21, 2002 11:13 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
mrlinux
PostPosted: Mon Apr 22, 2002 11:09 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Bind qmanager to a virtual IP only on the multihomed SUN mac
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.