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

Technote (FAQ)


Question

You want to know 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 in YouTube:

Creating a Queue Manager using the MQ Explorer

Answer

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')

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

Related information

WMQ V7.5 Info Center: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

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere MQ
Configuration

Software version:

7.0, 7.1, 7.5

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows

Reference #:

1623113

Modified date:

2013-04-03

Translate my page

Machine Translation

Content navigation