Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Please replace the values below with the correct ones for your installation.

{qmgr} Queue Manager Name
{User} The MQ user being used by Lamaxu (

Enable Queue Manager Monitoring and Statistics

...

ALTER QMGR CHLEV(ENABLED) +
MONCHL(MEDIUM) +
MONQ(MEDIUM) +
PERFMEV(ENABLED) +
STATCHL(MEDIUM) +
STATQ(ON) +
FORCE

Define the Lamaxu Channel

For the purposes of this example the username 'lamaxu' has been used.

DEFINE CHANNEL('LAMAXU.CHANNEL') CHLTYPE(SVRCONN) MCAUSER('lamaxu')

MQ8/9 Unauthenticated

...

Setup

To disable the security on the SVRCONN channels execute the following runmqsc commands below.

...

ALTER AUTHINFO('SYSTEM.DEFAULT.AUTHINFO.IDPWOS') AUTHTYPE(IDPWOS) CHCKCLNT(OPTIONAL)
REFRESH SECURITY TYPE(CONNAUTH)
DEFINEALTER QMGR CHANNEL('LAMAXU.CHANNEL') CHLTYPE(SVRCONN) MCAUSER({User})
ALTER QMGR CHLAUTH(DISABLEDCHLAUTH(DISABLED)

MQ8/9 Authenticated Setup

The commands below are MQ 'runmqsc' commands that need to be executed by an MQ privileged user, like the 'mqm' user.

 

ALTER QMGR CONNAUTH(USE.PW)
ALTER AUTHINFO(USE.PW) +
AUTHTYPE(IDPWOS) +
FAILDLAY(10) +
CHCKLOCL(REQUIRED) +
CHCKCLNT(REQUIRED)
REFRESH SECURITY TYPE(CONNAUTH)

Setmqaut OAM Commands

Include Page
Setmqaut OAM Commands
Setmqaut OAM Commands

...

PE {QMGR}.RESET.* CLASS(MQCMDS) ID({USER}) ACCESS(CONTROL) 
PE {QMGR}.QUEUE.* CLASS(MQADMIN) ID({USER}) ACCESS(CONTROL)
SETR GENERIC(MQCMDS) REFRESH
SETR GENERIC(MQADMIN) REF
SETR RACLIST(MQADMIN) REF

MQ command

REFRESH SECURITY