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 » General Discussion » xmit queue gets disabled when a sdr chl is stopped

Post new topic  Reply to topic
 xmit queue gets disabled when a sdr chl is stopped « View previous topic :: View next topic » 
Author Message
cra1gl1
PostPosted: Thu May 10, 2018 6:21 am    Post subject: xmit queue gets disabled when a sdr chl is stopped Reply with quote

Apprentice

Joined: 25 Apr 2018
Posts: 30

Hi,
I was reading a mq doc and it says stopping a sender channel get inhibits the associated transmit queue. If this is true, what if more than one sender channel uses the same xmitq ? aren't those channel-links affected?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 10, 2018 6:26 am    Post subject: Re: why does a xmit queue gets disabled when a sdr chl is st Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cra1gl1 wrote:
what if more than one sender channel uses the same xmitq ?


It can't. The sender MCA opens the xmitq exclusively so the second channel that tries to use it will fail.

It's also topologically weird to want to do that. Why would you want 2 channels, with 2 destinations, to have all their messages in a single queue? How would you expect the right message to go to the right place?

Note this behavior is for a sender channel, not a cluster sender channel.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cra1gl1
PostPosted: Thu May 10, 2018 2:07 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Apr 2018
Posts: 30

I thought the message header contains the details on what qmgr its targeted to and the sender channel to that qmgr picks the messages. Am I wrong?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 10, 2018 2:33 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cra1gl1 wrote:
I thought the message header contains the details on what qmgr its targeted to and the sender channel to that qmgr picks the messages. Am I wrong?


You're describing a cluster sender channel.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cra1gl1
PostPosted: Thu May 10, 2018 4:26 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Apr 2018
Posts: 30

hmm, so in distributed queuing(non clustered), a qmgr should have a separate transmit queue for each of the remote qmgrs it needs to connect to?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 10, 2018 5:34 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

cra1gl1 wrote:
hmm, so in distributed queuing(non clustered), a qmgr should have a separate transmit queue for each of the remote qmgrs it needs to connect to?

Yes that's the design. You can forgo that if you have a hub and spoke setup.
Everybody talks to the HUB...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri May 11, 2018 5:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cra1gl1 wrote:
hmm, so in distributed queuing(non clustered), a qmgr should have a separate transmit queue for each of the remote qmgrs it needs to connect to?




If you read more MQ docs, you'll discover that the software's default name resolution expects a separate xmitq for each remote queue manager, named for the remote queue manager, and you need to add additional configuration to make it use a different one.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cra1gl1
PostPosted: Fri May 11, 2018 7:24 am    Post subject: Reply with quote

Apprentice

Joined: 25 Apr 2018
Posts: 30

Thanks guys.
I found this doc https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_7.5.0/com.ibm.mq.con.doc/q017180_.htm, it explains on what objects are needed for distributed vs clusters. But I couldn't find any doc on hub-spoke model. Could someone explain how it is diff from distributed and cluster setup please?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri May 11, 2018 7:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cra1gl1 wrote:
Could someone explain how it is diff from distributed and cluster setup please?


It's a specific kind of distributed set up where the topology is configured (as I alluded to above) so that name resolution makes all messages flow through a designated central queue manager.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mvic
PostPosted: Fri May 11, 2018 2:14 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

cra1gl1 wrote:
But I couldn't find any doc on hub-spoke model

If you search Google for hub spoke mq you'll find plenty of hits.
Back to top
View user's profile Send private message
cra1gl1
PostPosted: Mon Jun 04, 2018 6:09 am    Post subject: Reply with quote

Apprentice

Joined: 25 Apr 2018
Posts: 30

Quote:
It's a specific kind of distributed set up where the topology is configured (as I alluded to above) so that name resolution makes all messages flow through a designated central queue manager.


From this definition, Is a qmgr used as gateway between two clusters considered a HUB?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 04, 2018 6:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cra1gl1 wrote:
Quote:
It's a specific kind of distributed set up where the topology is configured (as I alluded to above) so that name resolution makes all messages flow through a designated central queue manager.


From this definition, Is a qmgr used as gateway between two clusters considered a HUB?


It's more often considered a single point of failure

But yes, on that definition it would be because you're be using queue manager and cluster aliases to funnel traffic through that queue manager. Not a hub in the hub-and-spoke sense of the word but certainly a hub in the traffic sense.

Depending on you did it, you may or may not have transmission queues that are inhibited in the way you originally posted.

I remain uncertain how important the status of the transmission queue is in normal usage, though I accept it's an interesting philosophical / educational aspect.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » xmit queue gets disabled when a sdr chl is stopped
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.