mqsideploy command iib v9
mqsideploy command IIB v9 given below for reference.
mqsideploy command is used for deployments in IBM Integration Bus v9.0. This command can be useful while running any batch scripts so that they perform the deployment without any manual intervention.
Below are the attributes that a mqsideploy command have in general,
mqsideploy <broker_name> -e <executiongroup_name> -a <bar_file_path>
example: mqsideploy mwpbroker -e mwpeg -a mwpapp.bar
where, -a attribute is used for pointing out the bar file for deployment.
If you want to delete a message flow then below is the command,
mqsideploy <broker_name> -e <executiongroup_name> -d <application_name>
where, -d attribute is used for removing the message flows from the Execution group.
Attributes information as mentioned in knowledge center,
-a BARFileName
This parameter specifies the name of the broker archive (BAR) file that is to be used for deployment of the message flow and other resources. You must also specify the -e parameter with this option.
-d deployedObjects
This parameter describes the set of objects that you want to remove from the integration server. You can specify multiple files to delete by separating the filenames with a colon (:).
-e integrationServerName
This parameter specifies the name of the integration server to which to deploy. You must also specify the -a parameter with this option.
-m
Use the -m parameter to override the default operation and run a complete deployment.
For a BAR file deployment, -m removes all currently-deployed message flows and message sets from the integration server as part of the deployment. If you do not set -m, the contents of the BAR file are deployed in addition to what is already deployed to the integration server. Any deployed objects with the same name as an item inside the BAR file are replaced by the version inside the BAR file. For a remove message flow or message set operation, the -m parameter is ignored.
-v traceFileName
This parameter sends internal debug trace information to the specified file.
-w timeoutSecs
This parameter specifies the maximum time in seconds that the command waits for the broker to complete the request before returning.
There are cases where I use, -w also as one of the attribute when I receive a message something as shown below,
“””” The broker did not respond to the deployment request within a reasonable amount of time. The request is queued for processing and will be completed when the broker is able to do so.
It is not usually necessary to repeat the deployment action. Increasing the value of the timeout period (-w) will allow the utility to wait for a longer period of time before this message is displayed.“”””
In those cases, my command will be,
mqsideploy mwpbroker -e mwpeg -a mwpapp.bar -w 300
IBM Integration Bus v9 Knowledge center link for reference.
