0% found this document useful (0 votes)
49 views12 pages

ID5 IIB Commands

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views12 pages

ID5 IIB Commands

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Commands

Introduction :- 2

Basic Commands :- 2

Monitoring Commands :- 3

Security Identity Commands :- 3

mqsichangeproperties Commands :- 4

mqsireportproperties Commands :- 4

Normal Commands :- 5

Bar file Commands :- 5

Mqsiapplybaroverride Command :- 6

mqsideploybar command 6

mqsistopmsgflow command 6

mqsistartMsgflow command :- 7

mqsichangeproperties command :- 7

Mqsi Backup Command :- 7

mqsireportproperties command :- 8

mqsisetdbparms command :- 8

mqsireadlog command :- 9

other commands :- 9

To set the log files in IIB :- 9

Override commands :- 9

New Commands in Version 12 :- 11


Introduction :-
This Document will help to know the Commands in IIB.

Basic Commands :-
→ To List out all the Integration Nodes created in the current
installation
● mqsilist
→ To create the IntegrationNode with Queue Manager association -- (not
using)
● mqsicreatebroker {IntegrationNodeName} -q {QMGRNAME} -i {USERNAME}
-p {Password}
→ To create an integration Node
● mqsicreatebroker BROKER_NAME
(or)
● mqsicreatebroker IntegrationNode_Name
→ To start an integration_Node
● mqsistart Broker_Name (or) mqsistart IntegrationNode_Name
→ To stop an integration_Node
● mqsistop Broker_Name (or) mqsistop IntegrationNode_Name
→ To delete an integration_Node
● mqsideletebroker Broker_Name or mqsideletebroker IntegrationNode_Name
→ To create Execution Group
● mqsicreateexecutiongroup {IntegrationNodeName} -e {EGName}
→ To start Execution Group
● mqsistartmsgflow {IntegrationNodeName} -e {EGName}
→ To stop Execution Group
● mqsistopmsgflow {IntegrationNodeName} -e {EGName}
→ To delete Execution Group
● mqsideleteexecutiongroup {IntegrationNodeName} -e {EGName}
→ To delete Execution Group an remote broker
● mqsideleteexecutiongroup -n {IntegrationNodeName} -e {EGName}
→To specify Debug Port for EG
● mqsichangeproperties {IntegrationNodeName} -e Server_Name -o
ComIbmJVMManager -n jvmDebugPort -v number( ex 7789)
→ To List out all the deployed objects under Execution Group
● mqsilist {IntegrationNodeName} -e Server_Name -k ApplicationName
→ To List out all the deployed objects that are configured Library
● mqsilist {IntegrationNodeName} -e Server_Name -k ApplicationName -y
{LibraryName}
→ To return detailed information about Application
● mqsilist {IntegrationNodeName} -e Server_Name -k myApplication -d2
→ To lists all deployed objects that are configured in Application
● mqsilist {IntegrationNodeName} -e Server_Name -k ApplicationName -r
→ To List out a summary of the EG that are defined on a broker
● mqsilist {IntegrationNodeName}
→ To display detailed info about all resources for Integration Nodes on
Local System
● mqsilist -a -r -d2

Monitoring Commands :-

→ To activate the Monitoring


● mqsichangeflowmonitoring {IntegrationNodeName} -e Server_Name -k
{ApplicationName} -f {MsgFlowName} -c active
→ To report the Monitoring
● mqsireportflowmonitoring {IntegrationNodeName} -e Server_Name -k
{ApplicationName} -f {MsgFlowName} -a
→ To report the Monitoring
● mqsireportflowmonitoring {IntegrationNodeName} -e default -k
{ApplicationName} -f {FlowName}
Security Identity Commands :-

→ To Assign DSN with Integration Node


● mqsisetdbparms {IntegrationNodeName} -n {DSName} -u {SchemaName} -p
{Password};
→ To know whether IntegrationNode is associated with DSN or Not
● mqsicvp {IntegrationNodeName} -n {DSName}
→ To assign the Ftp security identity to make connection to the
Integration Node.
● mqsisetdbparms {IntegrationNodeName} -n ftp::{SecurityIdentity} -u
{SchemaName} -p {Password};
→ Assign the SMTP(Email Receiving) to make connections to the
Integration node.
● mqsisetdbparms {IntegrationNodeName} -n smtp::{SecurityIdentity} -u {email
id} -p {Password};
→ To assign Email security identity to make connection to the
Integration node.
● mqsisetdbparms {IntegrationNodeName} -n email::{SecurityIdentity} -u {email
id} -p {Password};
→ To give security for JDBC Configurable Service
● mqsisetdbparms {IntegrationNodeName} -n jdbc::{SecurityIdentity} -u
{SchemaName} -p {Password};

mqsichangeproperties Commands :-

→ To Change the HTTP Listener Port Number(IntegrationNode Level)


● mqsichangeproperties {IntegrationNodeName} -b httplistener -o HTTPConnector
-n port -v 7800
→ To change the HTTP Listener Port Number ( EG Level)
● mqsichangeproperties {IntegrationNodeName} -e default -o HTTPConnector -n
port -v 7800

mqsireportproperties Commands :-
→ To report the HTTP Listener Property at IntegrationNode Level
● mqsireportproperties {IntegrationNodeName} -b httplistener -o HTTPConnector -
a
→ To report the HTTP Listener Property at EG Level
● mqsireportproperties {IntegrationNodeName} -e Server_Name -o
HTTPConnector -a

Normal Commands :-

→ To start the Application


● mqsistartmsgflow {IntegrationNodeName} -e {EGName} -k {ApplicationName}
→ To stop the Application
● mqsistopmsgflow {IntegrationNodeName} -e {EGName} -k {ApplicationName}
→ To delete the Application
● mqsideploy {IntegrationNodeName} -e {EGName} -d {ApplicationName}
→ To know the Deployment Status
● mqsilist {IntegrationNodeName} -e {EGName} -d2

Bar file Commands :-


→ to create a property file
● Mqsireadbar -b barfilename >> -r
→ To deploy the BAR
● mqsideploy {IntegrationNodeName} -e {EGName} -a {BARFileName}
→ To delete the BAR
● mqsideploy {IntegrationNodeName} -e {EGName} -d {BARFileName}
→ To read the BAR
● mqsireadbar -b {BARFileName or path} -r

Example
mqsireadbar -b C:\IIBWorkspace\DTPTibcoConn\BARfiles\
DA_PersistUWSInfo_integrationProd_prod_v1_1.bar -r
→ BAR Override Command
● mqsiapplybaroverride -b {BARFileName} -p propertyfileName -r
Example
mqsiapplybaroverride -b C:\IIBWorkspace\iib9\BARfiles\emp.bar -k Test12App -m
Test12Flow#TABLE=DEPT
→ to read the bar file
● mqsireadbar -b <barfilename> (name of the bar file to be read)

2) mqsireadbar -b <location of barfilename> > <location of propertiefile> -r (Run the


command recursively content of application and libria is display)

Mqsiapplybaroverride Command :-

→ convert the bar file into property file


● mqsiapplybaroverride -b <location of the bar file> -p <location of changed
properties file> -r
→ save the changes which is made in the bar file
● Mqsiapplybaroverride -b barfilename.bar -p propertyfile
● mqsiapplybaroverride -b <original.bar> -k application -p <location of changed bar
filename> -r(-b bar file name,-k application name,-r recursively content display)
3)mqsiapplybaroverride -b myflow.bar -k application -y <library filename> -p
myOtherIntegrationNode.xml(-p property file name)

mqsideploybar command

1)mqsidepolybar <IntegrationNodeName> -e <Executiongroup> -a <bar filename> ( -a


bar file applicationname)
2)mqsidepolybar <IntegrationNodeName> -e <execution group> -d <bar filename>(-d
for delete,-e execution group)

mqsistopmsgflow command
1)mqsistopmsgflow <IntegrationNodeName> -e <executionname> -k
<applicationname>
2)mqsistopmsgflow <IntegrationNodeName> -e <executionname> -k <application
name> -m <msgflow name>
3)mqsistopmsgflow <IntegrationNodeName> -e <IntegrationServer> -m
<myFlowname> -f <restartExecutionGroup>(-f for restart the execution group name)

mqsistartMsgflow command :-

1)mqsistartmsgflow <IntegrationNodeName> -e <IntegrationServer> -k


<applicationname>
2)mqsistartmsgflow <IntegrationNodeName> -e <executionname> -k <application
name> -m <msgflow name>
3)mqsistartmsgflow <IntegrationNodeName> -e <IntegrationServer> -m
<myFlowname> -f <restartExecutionGroup>(-f for restart the execution group name)

mqsichangeproperties command :-

1)mqsichangeproperties <IntegrationNodeName> -b httplistener -o HTTPListener -n


startListener -v false(disable http port,-o object,-v value,-n component,-b property name)
2)mqsichangeproperties <IntegrationNodeName> -b httplistener -o HTTPListener -n
startListener -v true(enable http port )
3)mqsichangeproperties <IntegrationNodeName> -o ComIbmJVMManager -n
jvmMaxHeapSize -v size_in_bytes(to change jvm heap size)
4)mqsichangeproperties <IntegrationNodeName> -e <ExecutionGroup> -o
ComIbmJVMManager -n jvmDebugPort -v 8018
5)mqsichangeproperties <IntegrationNodeName> -b httplistener -o HTTPListener -n port
-v 7843
6)mqsichangeproperties BRKR -o BrokerRegistry -n brokerKeystoreFile -v
/tmp/mb7brokerkeystore1.jks (To add a keystore to the IntegrationNode)
Mqsi Backup Command :-

1)mqsibackupbroker <IntegrationNodeName> -d <filedirector location path> -v <path


filename>
2)mqsirestorebroker <IntegrationNodeName> -d <filedirectorylocatiopath> -a
<zipfilelocation>

mqsireportproperties command :-

1)mqsireportproperties <IntegrationNodeName> -b httplistener -o HTTPListener -


a(Display all the current HTTPListener settings associated with HTTP and SOAP nodes)
2)mqsireportproperties <IntegrationNodeName> -b httplistener -o HTTPListener -n
startListener(Check if the broker-wide listener is active for deployed HTTP and SOAP
nodes)
3)mqsireportproperties <IntegrationNodeName> -b cachemanager -o CacheManager -
r(Display the properties for the cache manager)
4)mqsireportproperties <IntegrationNodeName> -b httplistener -o HTTPSConnector -n
port(Displays httpsconnector ports)
5)mqsireportproperties <IntegrationNodeName> -c JDBCProviders -o Oracle -r(Report
the properties of the Oracle JDBCProvider configurable service)
6)mqsireportproperties <IntegrationNodeName> -o BrokerRegistry -r

mqsisetdbparms command :-

1)mqsisetdbparms <IntegrationNodeName> -n <DSN NAME> -u userID -p password


(For setting database)
2)mqsisetdbparms <IntegrationNodeName> -n smtp::mySecurityIdentityObjectName -u
myUserID -p myPassword(for setting SMTP SERVER)
3)mqsisetdbparms <IntegrationNodeName> -n jdbc::JDBC -u Username -p password(For
setting jdbc database)
4)mqsisetdbparms <IntegrationNodeName> -n ftp::identityName -u user1 -p
MyPassword(for setting ftp security identity)
5)mqsisetdbparms <IntegrationNodeName> -n sftp::identityName -u user1 -p
MyPassword(for setting sftp security identity)
mqsireadlog command :-

1)mqsireadlog <IntegrationNodeName> -t -b services -f -o <path outputfilename>


2)mqsifromatelog -i <locationofinputfilename> -o <locationofoutputfilename>

other commands :-

1)mqsideleteexecutiongroup <IntegrationNodeName> -e <IntegrationServer>


2)mqsicreateexecutiongroup <IntegrationNodeName> -e <IntegrationServer>
3)mqsilist <IntegrationNodeName> -e <executionname>
4)mqsistopbroker -i <IntegrationNodeName>
5)mqsistartbroker <IntegrationNodeName>
6)mqsicreatebroker <IntegrationNodeName> -q <queue manager>
7)mqsideletebroker <IntegrationNodeName>
8)mqsicvp <IntegrationNodeName> -n <service name>
9)mqsilist <IntegrationNodeName> -d2(To get all execution group Process id and
running message flows)

To set the log files in IIB :-

1)Go to /var/logs create user.log and giver full permissions


2) go to /etc/rsys.log
set user.info /var/logs/user.log

Override commands :-

1. How can we Override the HTTP Request ?


SET OutputLocalEnvironment.Destination.HTTP.RequestURL =
‘http://localhost:7800/name';

2. How to override the Labels ?


SET OutputLocalEnvironment.Destination.RouterList.DestinationData[1].labelName =
'SinglePassenger';

(or)

Propagate to LABEL ‘Label Name’;

3. How to override the soap Request ?


SET OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.RequestURI
= '/abc/def?x=y&g=h';

4. How to override the operation ?


SET OutputLocalEnvironment.Destination.SOAP.Request.Operation =
'myOperation';

5. How to override the file name ?


SET OutputLocalEnvironment.Destination.File.Name = 'remoteFile';

6. How to override the file Directory ?


SET OutputLocalEnvironment.Destination.File.Directory = ' path ';

7. How to override the MQ Get ?


SET LocalEnvironment.MQ.GET.QueueName = 'new_queue';

8. Override the Queue name of MQGET ?


SET OutputLocalEnvironment.MQ.GET.QueueName = 'myQueue';

9. How to Override the Queue Name of OutputNode ?


SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueName='
queue name ' ;

10. How to override the REST Request ?


SET OutputLocalEnvironment.Destination.REST.Request.BaseURL = ' parent
url / v1';

11. How to override the terminals ?


propagate to TERMINAL ‘terminal Name ’;

12. How to override the Callable async flow invoke Override ?


Application override :
SET LocalEnvironment.Destination.CallableFlow.Invoke.targetApplication =
'App2';

Target Endpoint name Override :


SET LocalEnvironment.Destination.CallableFlow.Invoke.targetEndpointName =
'Gold';

13. How to change debug port number through Command


mqsichangeproperties Provider -e Pro -o ComIbmJVMManager -n jvmDebugPort -v
7809

Note : port number will not display in the YAMIL file .

14. How to check the password and username is correct or not to a DSN ?
mqsireportdbparms Broker_Name -n DSN_Name -u User_Name -p Password.

New Commands in Version 12 :-

For reference link


https://www.ibm.com/docs/en/app-connect/12.0?topic=administration-app-connect-
enterprise-commands

1. To Create Broker
ibmint create node N1

2. To Start Broker
ibmint start node N1
3. To Delete Broker
ibmint delete node N1

4. To Create ExecutionGroup
ibmint create server S1 --integration-node N1

5. To Start ExecutionGroup
ibmint start server S1 --integration-node N1

6. To Start Node in TimeInterval


ibmint start node N1 --timeout-seconds 30

7. To Stop Node in TimeInterval


ibmint stop node N1 --timeout-seconds 30

8. BarFile Deploy command with ibmint (ace v12)


ibmint deploy --input-bar-file (bar file path) --output-node (Node Name) --output-
server ServerName
9. Application Deploy command with ibmint(Ace v12)
ibmint deploy --input-path (workspace path) --output-work-dir ibminttest/ --
project (Application Name)

***

Prepared By
Rajesh Ponnathota

You might also like