Commands to create a queue manager and to configure it for remote administration via MQ Explorer

Technote (troubleshooting)


Problem(Abstract)

This document provides details of the line commands for WebSphere MQ to create a queue manager and to configure it for remote administration using MQ Explorer

Cause

This technote is a companion to the following IBM SupportTV video on YouTube:

Resolving the problem

Issue these three steps to create a WebSphere MQ queue manager using line commands:

1. It is good practice to define a Dead Letter Queue when creating a queue manager

crtmqm -u SYSTEM.DEAD.LETTER.QUEUE QM_TEST


2. Start the queue manager

strmqm QM_TEST


3. Run the MQ administration tool

runmqsc QM_TEST

a. Define and start a listener. The default is port 1414.
define listener(TCP.LISTENER) trptype(tcp) control(qmgr) port(1414)
start listener(TCP.LISTENER)

b. Define a channel to be used by a remote MQ Explorer
define channel(SYSTEM.ADMIN.SVRCONN) chltype(SVRCONN) REPLACE

c. For MQ 7.1 and later, and if you need to allow remote connections by an MQ Administrator:
set CHLAUTH(*) TYPE(BLOCKUSER) USERLIST('nobody','*MQADMIN')
set CHLAUTH(SYSTEM.ADMIN.*) TYPE(BLOCKUSER) USERLIST('nobody')

d. For MQ 8.0 and later, and if you want the password to be optional for an MQ Administrator
ALTER AUTHINFO(SYSTEM.DEFAULT.AUTHINFO.IDPWOS) AUTHTYPE(IDPWOS) +
CHCKCLNT(OPTIONAL)
REFRESH SECURITY TYPE(CONNAUTH)

end

+++ Additional commands are needed for non-MQ administrators to connect to the queue manager and to access queues using MQ Explorer

For more details see:

HOW TO: Setmqaut commands to allow Windows Explorer remote administration of WMQ on a UNIX

++ References

WMQ 7.1, 7.5, 8.0 queue manager RC 2035 MQRC_NOT_AUTHORIZED or AMQ4036 when using client connection as an MQ Administrator

MQ 8.0: errors AMQ5540 and AMQ5541, application did not supply a user ID and password, 2035 MQRC_NOT_AUTHORIZED

Related information

WMQ V7.5: Administering remote WMQ objects
Webcast:Remote admin of queue managers using WMQ Explor
WMQ V7: Free client conn on z/OS allow remote admin
HOWTO: Allow Windows Explorer remote admin of UNIX

Product Alias/Synonym

WebSphere MQ WMQ

Document information


More support for:

WebSphere MQ
Configuration

Software version:

7.0, 7.1, 7.5, 8.0

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows

Reference #:

1623113

Modified date:

2015-04-13

Translate my page

Content navigation