mqsicreatebroker command usage IIB v10
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: Command has failed because the component’s Queue Manager is not available. 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.
Above message appears when you try to start a broker immediately after creating the broker. After few checks in IBM IIB v10 Knowledge center, 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.
IIB v10
MQ v7.5
RHEL OS v6.5
Step 1: Make sure that the user id which we are using is in mqbrkrs and mqm group.
Step 2: Create a Queue before creating the broker. Use below command to create a Queue
ctrlmqm -q <queue name>
Start the queue using, strmqm <queue name>
Step 3: Create IIB related Queues by using below command. This step is mandatory otherwise Broker will not start using the Queue manager.
navigate to <iib extracted folder>/iib-10.0.0.n/server/sample/wqm directory
Issue below command,
./iib_createqueues.sh <queue name> <mqbrkrs group>
Example: ./iib_createqueues.sh samplequeue mqbrkrs
During this step, it will create all queues that are required for IIB. As mentioned in Knowledge center, WebSphere MQ is no longer a prerequisite for using IBM Integration Bus on distributed systems. However, some IBM Integration Bus capabilities require access to WebSphere MQ 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.
Step 4: Create broker using mqsicreatebroker command
Step 5: Start the Broker and then create Execution Groups.
