Administering MQIPT by using the command line
You can use the mqiptAdmin command on the command line to administer MQIPT.
- List active local instances of MQIPT.
- Refresh an instance of MQIPT after you make changes to the configuration file.
- Stop an instance of MQIPT.
mqiptAdmin command is located in the bin subdirectory of
the MQIPT installation directory.- by making a network connection to a command port.
- by connecting to a local instance of MQIPT without using the command port.
The mqiptAdmin command is compatible with previous versions of MQIPT, but you cannot use the command to administer versions of MQIPT that are a higher version than the version of the mqiptAdmin command. In an environment that includes different versions of MQIPT, you must use the latest version of the mqiptAdmin command.
For more information about the syntax of the mqiptAdmin command, see mqiptAdmin (administer MQIPT).
Local administration without a command port
Local instances of MQIPT can be administered without using a command port. Local administration allows you to administer MQIPT by using the mqiptAdmin command only when it is run on the same system as the MQIPT instance that you want to administer.
In order for mqiptAdmin to be authorized to administer a local instance of
MQIPT without using the command port, the MQIPT instance must be running on the same system and under the
same user ID as mqiptAdmin. Alternatively, on AIX® and Linux®, mqiptAdmin can be run as
root.
Local administration is enabled by default. To disable local administration, use the LocalAdmin configuration property. For more information about the LocalAdmin property, see LocalAdmin.
ipt1 to the instance:mqipt /opt/mqipt1 -n ipt1ipt1:mqiptAdmin -stop -n ipt1mqiptAdmin -listAdministration using a command port
You can configure MQIPT with one command port that is unsecured and one command port that is secured with TLS. You can use these command ports to administer MQIPT as any user that is on the same system as the MQIPT instance that you want to administer, or from a remote system.
In order for MQIPT to listen on a command port for commands issued by the mqiptAdmin command, a value must specified for either the CommandPort or SSLCommandPort properties in the global section of the mqipt.conf configuration file.
Review the security considerations in Other security considerations before enabling either of the MQIPT command ports. Consider enabling authentication for commands received by the command ports. For more information about command port authentication, see Command port authentication.
mqipt.example.com, and has the unsecured command port configured to listen on port
1890, issue the following
command:mqiptAdmin -refresh -r mqipt.example.com:1890If you do not specify
the host name and port number, mqiptAdmin attempts to connect to
localhost, port 1881.For more information about administering MQIPT by using the TLS command port, see Administering MQIPT using the TLS command port.