Author |
Message
|
krypton |
Posted: Tue May 09, 2017 10:08 am Post subject: CHLTAB and Comma Separated IP? |
|
|
 Disciple
Joined: 14 Mar 2010 Posts: 186
|
I have a question, whether we can use Comma Separated 2 different IPs (belonging to 2 different servers and with the same name queue managers) in CHLTABL file?
and how it will behave, so the connections would be tried in the order of IP's addresses listed until a connection is successfully established?
Regards, _________________ Dreams are not something which you watch when you are asleep,it is something which doesn't let you sleep. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue May 09, 2017 11:05 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
That's the way it's supposed to work. I would however go one further and always specify the port as well. Expecting it to work with the default port is not a given. Works until somebody changes the default port for the qmgr...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
krypton |
Posted: Tue May 09, 2017 12:07 pm Post subject: |
|
|
 Disciple
Joined: 14 Mar 2010 Posts: 186
|
thank you for the information fjb_saper.
Yes, we would be providing HostNames as well with the IP addresses . _________________ Dreams are not something which you watch when you are asleep,it is something which doesn't let you sleep. |
|
Back to top |
|
 |
PaulClarke |
Posted: Tue May 09, 2017 2:28 pm Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
We should just say that the only time you should have the same Queue Manager name existing at two different IP addresses is when you are using multi-instance. It is NEVER a good idea to have two completely different Queue Managers with the same name. For example, normal sender/receiver channels will not cope with this very well.
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
exerk |
Posted: Tue May 09, 2017 11:07 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
PaulClarke wrote: |
We should just say that the only time you should have the same Queue Manager name existing at two different IP addresses is when you are using multi-instance. It is NEVER a good idea to have two completely different Queue Managers with the same name. For example, normal sender/receiver channels will not cope with this very well.
Cheers,
Paul. |
And Lord help you if you try and cluster two queue managers of the same name... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed May 10, 2017 5:51 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
krypton wrote: |
Yes, we would be providing HostNames as well with the IP addresses . |
You provide IP addresses OR host names, not both.
Why do you have two queue managers with the same name on 2 different servers?
Do you have two queue managers with the same name on 2 different servers? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 10, 2017 12:48 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
PeterPotkay wrote: |
krypton wrote: |
Yes, we would be providing HostNames as well with the IP addresses . |
You provide IP addresses OR host names, not both.
Why do you have two queue managers with the same name on 2 different servers?
Do you have two queue managers with the same name on 2 different servers? |
And if you do, can you verify if those are multi-instance queue managers?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
krypton |
Posted: Thu May 18, 2017 11:43 am Post subject: |
|
|
 Disciple
Joined: 14 Mar 2010 Posts: 186
|
I mean, we would be providing both HostName and port number, sorry earlier was typo.
We don't have multi-instance queue manager. _________________ Dreams are not something which you watch when you are asleep,it is something which doesn't let you sleep. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri May 19, 2017 3:36 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
krypton wrote: |
We don't have multi-instance queue manager. |
krypton wrote: |
belonging to 2 different servers and with the same name queue managers |
Please explain why you have 2 servers with the same queue manager name.
Both servers on the same network?
Both servers up at the same time? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|