Author |
Message
|
petertohen |
Posted: Mon Jan 08, 2018 4:23 am Post subject: 2 channel status and there are 2 different sequence numbers |
|
|
Newbie
Joined: 08 Jan 2018 Posts: 1
|
Currently we have 2 sender chls defined on 2 different servers with the same channel name, for example, AA.BB.T1
We have one receiver chl defined on QMGR BB named AA.BB.T1.
Both sender chls are in running status. and when we display the receiver chs from QMGR BB, we see that there are 2 channel status and there are 2 different sequence numbers.
Initially I thought sequence number was tagged to the channel names only, but from this example it seems that it is not.
Has anyone ever experienced this kind of setup? and what is the sequence number tagged to? both the channel name and the connection ip?
I really appreciate if someone can help me on this issue..
Thanks |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jan 08, 2018 6:04 am Post subject: Re: please help me |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
petertohen wrote: |
Initially I thought sequence number was tagged to the channel names only, but from this example it seems that it is not. |
petertohen wrote: |
Has anyone ever experienced this kind of setup? |
petertohen wrote: |
what is the sequence number tagged to? both the channel name and the connection ip? |
Each MCA.
Your naming convention is a bit odd for this sort of set up. Typically that sort of name indicates a channel running from queue manager AA to queue manager BB; typically this kind of multiple-sender-to-single receiver would be named for the receiving queue manager. You have the same sender on 2 queue managers, which both can't be called AA.
Because having 2 queue managers with the same name in your estate is a worse idea than using this kind of channel set up. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
PaulClarke |
Posted: Thu Jan 11, 2018 11:24 pm Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Peter,
A long, long time ago Channels did used to key the Channel Sequence Number off the IP address but they haven't done that for many releases. Nowadays it is keyed off the 'other' Queue Manager name because that should be unique (no one would be dumb enough to have two Queue Managers with the same name right ? )
Actually your situation is not that unusual. It is often the case that two senders of the same name on different Queue Managers connect in to a single receiver channel. Just think of clustering...this is exactly how it works. It would be chaos if the channels were unable to keep a sequence number per pairing,
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jan 12, 2018 5:42 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
PaulClarke wrote: |
Nowadays it is keyed off the 'other' Queue Manager name because that should be unique (no one would be dumb enough to have two Queue Managers with the same name right ? ) |
Qmgr Name? Or QMID? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jan 12, 2018 5:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
PaulClarke wrote: |
(no one would be dumb enough to have two Queue Managers with the same name right ? ) |
Vitor wrote: |
Because having 2 queue managers with the same name in your estate is a worse idea than using this kind of channel set up |
PaulClarke wrote: |
Actually your situation is not that unusual. It is often the case that two senders of the same name on different Queue Managers connect in to a single receiver channel. Just think of clustering...this is exactly how it works |
I've just been lucky then.
And given the chaos I've seen, it's a good reason to get the cluster to manage it!!!!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
PaulClarke |
Posted: Fri Jan 12, 2018 10:19 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Bruce,
It is the Queue Manager Name, not the QMID. If you delete and redefine your Queue Manager with the same name then the partner channels will reuse the same record they had before.
Essentially if you issue a DIS CHS(*) SAVED you can see the key that is used in the CONNAME field. The full key is essentially:
XMITQ : CHANNEL : CONNAME
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
|