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 » Clustering » QAlias difference

Post new topic  Reply to topic
 QAlias difference « View previous topic :: View next topic » 
Author Message
MQMB&WAS
PostPosted: Tue Jun 28, 2016 8:00 pm    Post subject: QAlias difference Reply with quote

Centurion

Joined: 12 Jun 2016
Posts: 130

I have the below two alias queues targeting to the same local queue, I want to know the difference between the two

dis qa(AliasQ1)
TYPE(QALIAS) QSGDISP(QMGR)
CLUSTER(clus1) CLUSNL()
TARGTYPE(QUEUE)
PUT(ENABLED) DEFPRTY(0)
DEFPSIST(YES) GET(ENABLED)
DEFREADA(NO) DEFPRESP(SYNC)
TARGET(QLocal1) PROPCTL(COMPAT)
DEFBIND(NOTFIXED) CLWLRANK(0)
CLWLPRTY(0) CUSTOM()



dis qa(AliasQ2)
TYPE(QALIAS) QSGDISP(QMGR)
CLUSTER() CLUSNL()
TARGTYPE(QUEUE)
PUT(ENABLED) DEFPRTY(0)
DEFPSIST(YES) GET(ENABLED)
DEFREADA(NO) DEFPRESP(SYNC)
TARGET(QLocal1) PROPCTL(COMPAT)
DEFBIND(NOTFIXED) CLWLRANK(0)
CLWLPRTY(0) CUSTOM()

thanks
Back to top
View user's profile Send private message
MQsysprog
PostPosted: Tue Jun 28, 2016 10:23 pm    Post subject: Reply with quote

Centurion

Joined: 24 Feb 2014
Posts: 116

Hi

the first alias is defined as a cluster one, so all the qmanagers in the cluster clus1 are aware of it .
The second is a normal qalias so it is know only to the qmanager where is defined...
You will find al lot more information on the proper manuals given by IBM .
Back to top
View user's profile Send private message
MQMB&WAS
PostPosted: Wed Jun 29, 2016 9:22 am    Post subject: Reply with quote

Centurion

Joined: 12 Jun 2016
Posts: 130

[quote="MQsysprog"]Hi

the first alias is defined as a cluster one, so all the qmanagers in the cluster clus1 are aware of it .
The second is a normal qalias so it is know only to the qmanager where is defined...
You will find al lot more information on the proper manuals given by IBM .[/quote]

Thank you.
So if a job puts 10 messages to the first aliasq, they will be load balanced to all qmgrs in the cluster.
but the msgs put to the 2nd aliasq will be directing only to it's localq ??
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Jun 29, 2016 9:54 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

[quote="MQMB&WAS"]
MQsysprog wrote:
Hi

So if a job puts 10 messages to the first aliasq, they will be load balanced to all qmgrs in the cluster.
but the msgs put to the 2nd aliasq will be directing only to it's localq ??


Possibly.
There are numerous posts there about the sometimes thorny and non obvious topic of

BIND ON OPEN

https://www.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.dev.doc/q027030_.htm

Without looking at the documentation I can't say for certain what would happen but if the open is done with MQOO_BIND_ON_OPEN then the messages may not be distributed around the cluster.
Do some research. All your answers are more than likely in the documentation.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 29, 2016 10:23 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Also, messages aren't load balanced across queue managers.

They're load balanced across channels.
_________________
chmod -R ugo-wx /
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 » Clustering » QAlias difference
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.