{"id":775,"date":"2016-07-07T09:20:23","date_gmt":"2016-07-07T03:50:23","guid":{"rendered":"http:\/\/www.middlewareprimer.com\/blog\/?p=775"},"modified":"2016-07-07T09:20:23","modified_gmt":"2016-07-07T03:50:23","slug":"mqsicreatebroker-command-iib-v10","status":"publish","type":"post","link":"http:\/\/www.middlewareprimer.com\/blog\/2016\/07\/07\/mqsicreatebroker-command-iib-v10\/","title":{"rendered":"mqsicreatebroker command usage IIB v10"},"content":{"rendered":"<p><strong>mqsicreatebroker command usage IIB v10<\/strong><\/p>\n<p>I was recently working on creating a new Broker and EGs for IBM Integration Bus v10. This was first time I am doing it on IIB v10. While I tried to create a broker, it went through successfully but when starting the same, it popped an error saying that,<\/p>\n<p><strong>BIP8059E: Command has failed because the component&#8217;s Queue Manager is not available<\/strong>. The command has failed because the Queue Manager associated with the component is currently unavailable. Reissue the command after the queue manager has been restarted.<\/p>\n<p>Above message appears when you try to start a broker immediately after creating the broker. After few checks in <span style=\"text-decoration: underline;\"><a href=\"http:\/\/www.ibm.com\/support\/knowledgecenter\/en\/SSMKHH_10.0.0\/com.ibm.etools.mft.doc\/an28135_.htm\" target=\"_blank\">IBM IIB v10 Knowledge center<\/a><\/span>, I could realize that we need to create a queue manually and then create IIB related Queues rather creating a broker like how we did in v9. Here is the process for Creating broker and Queues in IBM Integration Bus v10.<\/p>\n<p>IIB v10<\/p>\n<p>MQ v7.5<\/p>\n<p>RHEL OS v6.5<\/p>\n<p>Step 1: Make sure that the user id which we are using is in mqbrkrs and mqm group.<\/p>\n<p>Step 2: Create a Queue before creating the broker. Use below command to create a Queue<\/p>\n<p><strong>ctrlmqm -q &lt;queue name&gt;<\/strong><\/p>\n<p>Start the queue using, <strong>strmqm &lt;queue name&gt;<\/strong><\/p>\n<p>Step 3: Create IIB related Queues by using below command. This step is mandatory otherwise Broker will not start using the Queue manager.<\/p>\n<p>navigate to <strong>&lt;iib extracted folder&gt;\/iib-10.0.0.n\/server\/sample\/wqm<\/strong> directory<\/p>\n<p>Issue below command,<\/p>\n<p><strong>.\/iib_createqueues.sh &lt;queue name&gt; &lt;mqbrkrs group&gt;<\/strong><\/p>\n<p>Example: .\/iib_createqueues.sh samplequeue mqbrkrs<\/p>\n<p>During this step, it will create all queues that are required for IIB. As mentioned in <a href=\"http:\/\/www.ibm.com\/support\/knowledgecenter\/en\/SSMKHH_10.0.0\/com.ibm.etools.mft.doc\/ah09090_.htm\" target=\"_blank\"><span style=\"text-decoration: underline;\">Knowledge center<\/span><\/a>, <span class=\"ph\">WebSphere MQ<\/span> is no longer a prerequisite for using <span class=\"ph\">IBM Integration Bus<\/span> on distributed systems. However, some <span class=\"ph\">IBM Integration Bus<\/span> capabilities require access to <span class=\"ph\">WebSphere MQ<\/span> components, and a subset of these capabilities require a set of default system queues to be created on the queue manager that is associated with the integration node. The default system queues are used to store information about in-flight messages.<\/p>\n<p>Step 4: Create broker using mqsicreatebroker command<\/p>\n<p>Step 5: Start the Broker and then create Execution Groups.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>mqsicreatebroker command usage IIB v10 I was recently working on creating a new Broker and EGs for IBM Integration Bus v10. This was first time I am doing it on IIB v10. While I tried to create a broker, it went through successfully but when starting the same, it popped an error saying that, BIP8059E: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[225,224],"class_list":["post-775","post","type-post","status-publish","format-standard","hentry","category-ibm-integration-bus","tag-ib-v10","tag-mqsicreatebroker"],"_links":{"self":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/comments?post=775"}],"version-history":[{"count":2,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/775\/revisions"}],"predecessor-version":[{"id":777,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/775\/revisions\/777"}],"wp:attachment":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/media?parent=775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/categories?post=775"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/tags?post=775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}