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='";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);
Very nice questions , thanks man, here is my list of spring interview questions
ReplyDelete