Skip to main content

What is Clustering in WebSphere MQ Series?



What is Cluster?
Ans: A cluster is a group of queue managers set up in such a way that the queue managers can communicate directly with one another over a single network, without the need for transmission queue, channel, and remote queue definitions.
 
Some important MQSC commands that work with cluster
DISPLAY CLUSQMGR SUSPEND CLUSQMGR
RESUME CLUSQMGR REFRESH CLUSTER
RESET CLUSTER
 
 
What are the Advantages of clustering?
Advantages: Reduced system administration
Increased high availability
Improved resource utilization
Workload sharing
What is the algorithm that is followed by MQ in clustering?
Ans: WebSphere MQ uses a workload management algorithm that uses a round-robin routine to select an available queue manager to route a message to.
 
What is Cluster queue manager?
A cluster Queue manager is a queue manager that is a member of a cluster. A queue manager can be a member of more than one cluster
 
What happens when we give a Refresh Cluster mqsc command ?
This command issued on a queue manager, the queue manager discard all locally held information about a cluster except the FULL repository information. This enables you to perform a “cold-start” on the cluster.
 
How to remove a Qmgr from Cluster?
àSuspend queue manager
àRemove the CLUSRCVR channel definition from the cluster by setting the CLUSTER attribute to empty
à0&&(f=parseInt(a[a.length-1].timestamp,10)+1);var g=null,r=null,G=void 0,H=null,t=(window.location.hash||"#").substring(1),I,J;/^comment-form_/.test(t)?I=t.substring(13):/^c[0-9]+$/.test(t)&&(J=t.substring(1));var V={id:c.postId,data:a,loadNext:function(k){if(f){var h=c.feed+"?alt=json&v=2&orderby=published&reverse=false&max-results=50";f&&(h+="&published-min="+(new Date(f)).toISOString());window.bloggercomments=function(u){f=null;var p=[];if(u&&u.feed&& u.feed.entry)for(var d,K=0;d=u.feed.entry[K];K++){var l={},e=/blog-(\d+).post-(\d+)/.exec(d.id.$t);l.id=e?e[2]:null;a:{e=void 0;var L=d&&(d.content&&d.content.$t||d.summary&&d.summary.$t)||"";if(d&&d.gd$extendedProperty)for(e in d.gd$extendedProperty)if(d.gd$extendedProperty[e].name=="blogger.contentRemoved"){e=''+L+"";break a}e=L}l.body=e;l.timestamp=Date.parse(d.published.$t)+"";d.author&&d.author.constructor===Array&&(e=d.author[0])&&(l.author={name:e.name? e.name.$t:void 0,profileUrl:e.uri?e.uri.$t:void 0,avatarUrl:e.gd$image?e.gd$image.src:void 0});d.link&&(d.link[2]&&(l.link=l.permalink=d.link[2].href),d.link[3]&&(e=/.*comments\/default\/(\d+)\?.*/.exec(d.link[3].href))&&e[1]&&(l.parentId=e[1]));l.deleteclass="item-control blog-admin";if(d.gd$extendedProperty)for(var v in d.gd$extendedProperty)d.gd$extendedProperty[v].name=="blogger.itemClass"?l.deleteclass+=" "+d.gd$extendedProperty[v].value:d.gd$extendedProperty[v].name=="blogger.displayTime"&& (l.displayTime=d.gd$extendedProperty[v].value);p.push(l)}f=p.length<50?null:parseInt(p[p.length-1].timestamp,10)+1;k(p);window.bloggercomments=null};var z=P();z.type="text/javascript";O(z,Q(h+"&callback=bloggercomments"));document.getElementsByTagName("head")[0].appendChild(z)}},hasMore:function(){return!!f},getMeta:function(k,h){return"iswriter"==k?h.author&&h.author.name==c.authorName&&h.author.profileUrl==c.authorUrl?"true":"":"deletelink"==k?c.baseUri+"/delete-comment.g?blogID="+c.blogId+"&postID="+ h.id:"deleteclass"==k?h.deleteclass:""},onReply:function(k,h){g==null&&(g=document.getElementById("comment-editor"),g!=null&&(H=g.style.height,g.style.display="block",r=g.src.split("#")));g&&k&&k!==G&&(document.getElementById(h).insertBefore(g,null),h=r[0]+(k?"&parentID="+k:""),r[1]&&(h=h+"#"+r[1]),g.src=h,g.style.height=H||g.style.height,G=k,g.removeAttribute("data-resized"),g.dispatchEvent(new Event("iframeMoved")))},rendered:!0,initComment:J,initReplyThread:I,config:{maxDepth:c.maxThreadDepth}, messages:b};a=function(){if(window.goog&&window.goog.comments){var k=document.getElementById("comment-holder");window.goog.comments.render(k,V)}};window.goog&&window.goog.comments?a():(window.goog=window.goog||{},window.goog.comments=window.goog.comments||{},window.goog.comments.loadQueue=window.goog.comments.loadQueue||[],window.goog.comments.loadQueue.push(a))},S=["blogger","widgets","blog","initThreadedComments"],T=x;S[0]in T||typeof T.execScript=="undefined"||T.execScript("var "+S[0]); for(var U;S.length&&(U=S.shift());)S.length||R===void 0?T=T[U]&&T[U]!==Object.prototype[U]?T[U]:T[U]={}:T[U]=R;}).call(this);

Post a Comment

Popular posts from this blog

Asynchronous Vs. Synchronous Communications

Synchronous (One thread):   1 thread -> |<---A---->||<----B---------->||<------C----->| Synchronous (multi-threaded):   thread A -> |<---A---->| \ thread B ------------> ->|<----B---------->| \ thread C ----------------------------------> ->|<------C----->|

WebSphere MQ Interview Questions

What is MQ and what does it do? Ans. MQ stands for MESSAGE QUEUEING. WebSphere MQ allows application programs to use message queuing to participate in message-driven processing. Application programs can communicate across different platforms by using the appropriate message queuing software products. What is Message driven process? Ans . When messages arrive on a queue, they can automatically start an application using triggering. If necessary, the applications can be stopped when the message (or messages) have been processed. What are advantages of the MQ? Ans. 1. Integration. 2. Asynchrony 3. Assured Delivery 4. Scalability. How does it support the Integration? Ans. Because the MQ is independent of the Operating System you use i.e. it may be Windows, Solaris,AIX.It is independent of the protocol (i.e. TCP/IP, LU6.2, SNA, NetBIOS, UDP).It is not required that both the sender and receiver should be running on the same platform What is Asynchrony? Ans. With messag...

Advantages & Disadvantages of Synchronous / Asynchronous Communications?

  Asynchronous Communication Advantages: Requests need not be targeted to specific server. Service need not be available when request is made. No blocking, so resources could be freed.  Could use connectionless protocol Disadvantages: Response times are unpredictable. Error handling usually more complex.  Usually requires connection-oriented protocol.  Harder to design apps Synchronous Communication Advantages: Easy to program Outcome is known immediately  Error recovery easier (usually)  Better real-time response (usually) Disadvantages: Service must be up and ready. Requestor blocks, held resources are “tied up”.  Usually requires connection-oriented protocol