For IBM® Predictive
Maintenance and Quality, you must start the queue manager command line
processor to enable remote access to the queue manager.
Procedure
- In a terminal window, go to the installation_location/mqsi/9.0.0.2/bin directory. For example, if you installed to the default location, go to the /opt/IBM/mqsi/9.0.0.2/bin
directory.
- Change to the mqm user. For
example, su mqm.
- Enter the following command to load the profile
that is needed for the mqm user, and press Enter:
.
~/.bash_profile
- As the mqm user, enter the following command
to start the queue manager:
runmqsc queue_manager_name
For example, to use the default queue manager named pmqmanager,
enter:
runmqsc pmqmanager
- Enter the following lines, and press Enter after each line:
START LISTENER
ALTER
QMGR CHLAUTH(ENABLED)
SET CHLAUTH(SYSTEM.BKR.CONFIG) TYPE(ADDRESSMAP) ADDRESS('*')
MCAUSER('mqm')
SET
CHLAUTH(SYSTEM.BKR.CONFIG) TYPE(BLOCKUSER) USERLIST('*NOACCESS')
END
Important: The ADDRESS('*') value in the command
allows connections from any IP address. Consider restricting the access
to a single computer. For more information about these values, see
the WebSphere® MQ documentation.