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 IndexGeneral IBM MQ SupportPOC - Simple Cluster Question

Post new topicReply to topic
POC - Simple Cluster Question View previous topic :: View next topic
Author Message
mca
PostPosted: Wed Jan 02, 2019 1:04 pm Post subject: POC - Simple Cluster Question Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 181

I am doing a POC of clustering two Queue Managers. I followed the link below and successfully created a cluster with two full repository Queue Managers, QMGR1 & QMGR2.

https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.con.doc/q017360_.htm#q017360_d

I created a cluster Queue (CLUQ) on QMGR1. I am able to PUT a message on CLUQ from both QMGR1 & QMGR2, but i am only able to GET the messages from QMGR1 (QM where the cluster Q is created) and not from QMGR2.

What am i missing to not able to GET the messages from the other Queue Manager ?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Vitor
PostPosted: Wed Jan 02, 2019 1:23 pm Post subject: Re: POC - Simple Cluster Question Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25401
Location: Ohio, USA

mca wrote:
What am i missing to not able to GET the messages from the other Queue Manager ?


What you're missing is that any local queue is hosted by a given, singular queue manager. The fact that the queue manager in question participates in a cluster and shares that queue in a cluster doesn't change this fact. So in the same way you wouldn't be able to get a message from queue X if it's hosted on QMGR2 and you're cliented/connected to QMGR1 in a non-clustered topology, you can't get a message from queue X if it's hosted on QMGR2 and you're cliented/connected to QMGR1 and both queue managers are in the same cluster.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 02, 2019 1:24 pm Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25401
Location: Ohio, USA

Before anyone says anything, a z/OS queue sharing group is not a cluster but is the exception to the "can only get from the hosting queue manager" rule.

But that uses a z/OS specific construct to host the queues which is not available on any other platform.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Wed Jan 02, 2019 2:51 pm Post subject: Re: POC - Simple Cluster Question Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1912
Location: Melbourne, Australia

mca wrote:
I am doing a POC of clustering two Queue Managers.

MQ clustering is really only useful for workload balancing / availability if there are at least 3 qmgrs in the cluster. 2 qmgrs contain instances of clustered local queues, and there are 2 instances of the consumer app. The msg producer app runs on the 3rd qmgr, which balances msgs across the 2 others.

There should be exactly 2 Full Repository qmgrs. These can be the app qmgrs, or ideally they should be 2 separate qmgrs on separate highly available servers.
_________________
Glenn
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jan 02, 2019 3:09 pm Post subject: Re: POC - Simple Cluster Question Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 8252
Location: US: west coast, almost. Otherwise, enroute.

mca wrote:
IWhat am i missing to not able to GET the messages from the other Queue Manager ?

MQPUTs can result in a message being put across a network. MQGETs are local; that is, the consuming app must be connected to the qmgr where the local queue exists.

PUT GLOBAL, GET LOCAL.
_________________
There are two types of people in this world:
1) Those that can extrapolate from incomplete data
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportPOC - Simple Cluster Question
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.