mqsimode command
Use the mqsimode command to configure and retrieve operation mode information.
Supported platforms
- Windows
- Linux® and UNIX systems
- z/OS®. Run this command by customizing and submitting BIPMODE; see Contents of the integration node PDSE
Purpose
Use the mqsimode command to change the operation mode of an integration node, or to retrieve information about the mode in which the integration node is currently working.
Syntax
Parameters
- integrationNodeSpec
- (Required) You must specify at least one parameter to identify the target integration node for this command, in one of the following forms:
- -o operationMode
- (Optional) This parameter sets the mode of the target
integration node. Valid values are advanced (Advanced mode,
which includes all IBM® Integration Bus features apart from the SalesforceRequest node), applicationIntegrationSuite (Application
Integration Suite mode, which includes the same functionality as the
Advanced mode, plus the entitlement to use the SalesforceRequest node), standard (Standard Edition), express (Express
Edition), scale (Scale mode), and adapter (Remote Adapter Deployment mode). The default value is advanced, unless you have
the Developer Edition, in which
case the default value is developer. If you do not
specify the -o parameter, the command
displays the mode in which
the integration node is running.
If you have purchased a license for the Standard Edition, you are entitled to run your integration nodes in either standard or scale mode.
- -x modeExtensions
- (Optional) This parameter uses a comma separated list of to specify
the mode extensions to which the integration node is entitled. You
can also use the -x parameter to switch off all
mode extensions (See Examples).
If the mode extension is DecisionServices, you do not need to specify the integration node name. If you do specify an integration node name, it is ignored.
- -w timeoutSecs
- (Optional) This parameter specifies the time in seconds that the utility waits to ensure that the command completed; the default value is 60.
- -v traceFileName
- (Optional) This parameter sends internal debug trace information to the specified file.
Deprecation of the -q parameter
In previous versions of IBM Integration Bus, you might have used the -q parameter for this command to define a connection to a queue manager. A queue manager connection is no longer used to connect to an integration node. The -q parameter is now deprecated, and is ignored if used. If you use the -q parameter, a BIP1922 warning is displayed.
Authorization
- Security requirements for Linux and UNIX platforms
- Security requirements for Windows systems
- Security requirements for z/OS
Responses
Examples
Running the mqsimode command specifying the -o parameter
When you run the mqsimode command for integration nodeINODE1
, and specify the -o parameter,
the mode is updated, and
you receive a report about all errors. For example, if you run
the following mqsimode command
to change your integration node to the Remote Adapter Deployment mode, and your integration node is
in the following state: - integrationNodeName is the name of your integration node.
- Message_Flow is the name of your message flow.
- Integration_Server is the name of your integration server.
- The command changes integrationNodeName to the Remote Adapter Deployment mode, but contains a node Node_Type that is not valid in this mode.
mqsimode INODE1 -o adapter
You receive
the following messages:
BIP1045: Connecting to the integration node...
BIP1805: The mode for integration node 'integrationNodeName' has been changed to 'adapter'.
BIP1823: WARNING: Integration node 'integrationNodeName' has a message flow called 'Message_Flow'
in integration server 'Integration_Server', which contains one or more nodes that are not
valid in this mode: Node_Type.
BIP8229: The command completed with the following number of warnings: 1.
Running the mqsimode command without the -o parameter
When you run the mqsimode command without the -o parameter, you receive a report about the mode being used by your integration node, a report about all mode violations, and a report for any mode extensions that are required and not set. For example, if you run the following mqsimode command, and your integration node is in the following state:- integrationNodeName is the name of your integration node.
- Your integration node is in Standard Edition mode.
- Your integration node has no violations.
mqsimode integrationNodeName
You
receive the following messages:BIP1807: Discovering mode information from integration node 'integrationNodeName'...
BIP1802: Integration node 'integrationNodeName' is in 'standard' mode.
BIP8071: Successful command completion.
Switching off all mode extensions
To switch off all mode extensions, run the mqsimode command with the -x parameter:mqsimode integrationNodeName -x
where
integrationNodeName is
the name of your integration node.