Hi John,
due to changes in the security model of MQ9 cloning from MQ8 to 9 might not work as you expect it.
Exporting AUTHREC still works
You may have to grant yourself permissions to access AUTH data.
dspmqver
Name: IBM MQ
Version: 9.1.4.0
dmpmqcfg
...
SET AUTHREC +
PROFILE('SYSTEM.ADMIN.QMGR.EVENT') +
GROUP('mqm@W10FINTECH') +
OBJTYPE(QUEUE) +
AUTHADD(BROWSE,CHG,CLR,DLT,DSP,GET,INQ,PUT,PASSALL,PASSID,SET,SETALL,SETID)
Usage: dmpmqcfg [-m QMgrName] [-n ObjName] [-t ObjType]
[-x ExportType] [-o Format] [-a] [-z]
[-s MsgSeqNo] [-q ReplyQName] [-r RemoteQMgrName]
[-u UserId] [-w NumSecs]
[-c default|-c DEFINE CHANNEL..]
-a Dump all attributes.
-c Client connection:
default, DEFINE CHANNEL(chlname) CHLTYPE(CLNTCONN) ...
-m Queue manager name.
-n Object name or a generic object name.
-o Format: mqsc, 1line, 2line, setmqaut, grtmqmaut, setmqspl.
-q Reply-to queue name, default SYSTEM.DEFAULT.MODEL.QUEUE.
-r Remote queue manager name (queued mode).
-s Reset channel message sequence number.
-t Object type:
all, authinfo, channel, clntconn, comminfo, listener,
mqttchl, namelist, process, queue, qmgr, service, topic.
-u UserId. If specified, a password is requested.
-w Timeout number of seconds
-x Export type:
all, authrec, chlauth, object, policy, sub.
-z Suppress warnings.
------------------------------
Matthias Jungbauer
------------------------------
Original Message:
Sent: Thu July 02, 2020 03:36 PM
From: John Kaufman
Subject: MQ 8 dmpmqcfg vs MQ 9 dmpmqcfg
I am in the process of "cloning" a queue manager on MQ v9 server using dmpmqcfg.
In MQ v8, dmpmqcfg.exe -m QMgr > fileName creates the entire backup of the queue manager including the
SET AUTHREC:
SET AUTHREC +
PROFILE('queue name') +
PRINCIPAL('access group') +
OBJTYPE(QUEUE) +
AUTHADD(BROWSE,DSP,GET,INQ,PUT)
Running the same command in MQ v9 does not export these SET AUTH records.
I've even tried
dmpmqcfg.exe -m QMgr -x all -t all > fileName and get the same information without the SET AUTH records.
Has dmpmqcfg changed between MQ 8 and MQ 9 that is no longer provides a complete dump of the queue manager any longer or are there options I need to include for the dmpmqcfg in MQ 9?
Thanks,
John Kaufman
------------------------------
John Kaufman
Systems Engineer IV
------------------------------