Re: Multiple QMgrs from the Same Port
Some further information... I checked the 5.3 MQ beta documents. The RUNMQLSR command has a new switch, "-i". The document states, "the IP address for the listener,... if you omit this parameter, the listener listens on all IP addresses available to the TCP/IP stack". The key to this is the phrase, "TCP/IP stack". If one decides to multi-home, create VIP addresses, and/or add additional NIC hardware and configure each provides for a unique stack. Therefore, one using these methods does have the ability to have QMgr's on the same server listening on the same port. The key is that each QMgr needs to listen on a unique IP address. Thanks, -B ps.. Thanks to Paul Clarke for the heads up with the MQ 5.3 changes. Brian Bumpass Wachovia Bank Enterprise Architecture & Technology [EMAIL PROTECTED] -Original Message- From: Paul Clarke [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 5:04 AM To: [EMAIL PROTECTED] Subject: Re: Multiple QMgrs from the Same Port >Is there a way to configure a server to run multiple QMgrs listening on the >same port number? This would probably require using "runmqlsr" at startup. >Does anyone know how to restrict/filter the IP address the QMgr listens on? >I once thought I saw some documentation setting up an environmental variable >to handle this? We have multiple network cards and/or VIP addresses >fronting the QMgrs. >Thanks in Advance. >-B Brian, Could you explain a little more about why you would like to do this. What's wrong with having a different port number for each Queue Manager on the same machine ? 5.3 has added a feature where you can tell a listener (or channel) which IP address to listen on (or use) explicitly. This was done primarily for security and firewall reasons, ie. you can listen on only one network. Can't say that I ever tried starting two listeners on the same port but different IP addresses for different Queue Managers. On the face of it this seems like a hazardous thing to do. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Multiple QMgrs from the Same Port
Let me give some more information. I am trying to provide some failover/continuance for my customer. We have Veritas Clustered servers running our QMgrs. There could be a time where both are running on the same hardware. Having different ports requires the application to know specific information for a connection. In the past one could use Client Channel Tables to do this. Our applications use JAVA and I believe these objects cannot be used. Additionally, because there are multiple network cards or VIP addresses each has its own TCP stack. In this case I should not have confusion of which QMgr to connect. I have built a similar environment using VIP with LDAP servers where on startup the Directory listener initiates listening only on the VIP fronting its Directory cluster. I will also investigate the 5.3 documentation. Thanks, -B -Original Message- From: Art Schanz To: [EMAIL PROTECTED] Sent: 7/3/02 8:27 AM Subject: Re: Multiple QMgrs from the Same Port Brian, Just wanted to throw in my 2 cents and follow-up on what Paul said. Early on in my MQ support days, I (unknowingly) tried this exact scenario because I had not yet figured out all the 'ins & outs' of MQ. What you end up with is two (or more) listeners 'fighting' for the inbound traffic on the same port. In other words, sometimes QMGRA will get the data, other times it will be QMGRB. Furthermore, you do not have any way to determine who will get the next transmission. Bottom line, as Paul has said, I don't think you want to (knowingly) try this. My advice is to keep them separate. Cheers, Art Arthur C. Schanz Federal Reserve Information Technology Distributed Systems Engineering IBM Certified Specialist / Solutions Expert - MQSeries (804) 697-3889 [EMAIL PROTECTED] Paul Clarke <[EMAIL PROTECTED]> Sent by: MQSeries List <[EMAIL PROTECTED]> 07/03/02 05:04 AM Please respond to MQSeries List To:[EMAIL PROTECTED] cc: Subject:Re: Multiple QMgrs from the Same Port >Is there a way to configure a server to run multiple QMgrs listening on the >same port number? This would probably require using "runmqlsr" at startup. >Does anyone know how to restrict/filter the IP address the QMgr listens on? >I once thought I saw some documentation setting up an environmental variable >to handle this? We have multiple network cards and/or VIP addresses >fronting the QMgrs. >Thanks in Advance. >-B Brian, Could you explain a little more about why you would like to do this. What's wrong with having a different port number for each Queue Manager on the same machine ? 5.3 has added a feature where you can tell a listener (or channel) which IP address to listen on (or use) explicitly. This was done primarily for security and firewall reasons, ie. you can listen on only one network. Can't say that I ever tried starting two listeners on the same port but different IP addresses for different Queue Managers. On the face of it this seems like a hazardous thing to do. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Multiple QMgrs from the Same Port
Brian, Just wanted to throw in my 2 cents and follow-up on what Paul said. Early on in my MQ support days, I (unknowingly) tried this exact scenario because I had not yet figured out all the 'ins & outs' of MQ. What you end up with is two (or more) listeners 'fighting' for the inbound traffic on the same port. In other words, sometimes QMGRA will get the data, other times it will be QMGRB. Furthermore, you do not have any way to determine who will get the next transmission. Bottom line, as Paul has said, I don't think you want to (knowingly) try this. My advice is to keep them separate. Cheers, Art Arthur C. Schanz Federal Reserve Information Technology Distributed Systems Engineering IBM Certified Specialist / Solutions Expert - MQSeries (804) 697-3889 [EMAIL PROTECTED] Paul Clarke <[EMAIL PROTECTED]> Sent by: MQSeries List <[EMAIL PROTECTED]> 07/03/02 05:04 AM Please respond to MQSeries List To: [EMAIL PROTECTED] cc: Subject: Re: Multiple QMgrs from the Same Port >Is there a way to configure a server to run multiple QMgrs listening on the >same port number? This would probably require using "runmqlsr" at startup. >Does anyone know how to restrict/filter the IP address the QMgr listens on? >I once thought I saw some documentation setting up an environmental variable >to handle this? We have multiple network cards and/or VIP addresses >fronting the QMgrs. >Thanks in Advance. >-B Brian, Could you explain a little more about why you would like to do this. What's wrong with having a different port number for each Queue Manager on the same machine ? 5.3 has added a feature where you can tell a listener (or channel) which IP address to listen on (or use) explicitly. This was done primarily for security and firewall reasons, ie. you can listen on only one network. Can't say that I ever tried starting two listeners on the same port but different IP addresses for different Queue Managers. On the face of it this seems like a hazardous thing to do. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Multiple QMgrs from the Same Port
>Is there a way to configure a server to run multiple QMgrs listening on the >same port number? This would probably require using "runmqlsr" at startup. >Does anyone know how to restrict/filter the IP address the QMgr listens on? >I once thought I saw some documentation setting up an environmental variable >to handle this? We have multiple network cards and/or VIP addresses >fronting the QMgrs. >Thanks in Advance. >-B Brian, Could you explain a little more about why you would like to do this. What's wrong with having a different port number for each Queue Manager on the same machine ? 5.3 has added a feature where you can tell a listener (or channel) which IP address to listen on (or use) explicitly. This was done primarily for security and firewall reasons, ie. you can listen on only one network. Can't say that I ever tried starting two listeners on the same port but different IP addresses for different Queue Managers. On the face of it this seems like a hazardous thing to do. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Multiple QMgrs from the Same Port
Is there a way to configure a server to run multiple QMgrs listening on the same port number? This would probably require using "runmqlsr" at startup. Does anyone know how to restrict/filter the IP address the QMgr listens on? I once thought I saw some documentation setting up an environmental variable to handle this? We have multiple network cards and/or VIP addresses fronting the QMgrs. Thanks in Advance. -B Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive