IBM Support

Configuring an IBM MQ queue manager to use a dedicated Listener, Channel and Queue in Linux

White Papers


Abstract

Configuring an IBM MQ queue manager to use a dedicated Listener, Channel and Queue in Linux

Content

This tutorial is very comprehensive, and includes workarounds for Test queue managers regarding channel authentication records.
It provides the steps to allow a non-Administrator user (fulano) to use a server-connection channel and to put/get messages from a queue.
.
Even though the focus is for Linux, the actual MQ steps are the same for Windows.
.
The chapters are:
Chapter 1: User “root” adds the proper user and group in both hosts
  User "fulano" is not an MQ administrator, and will be allowed to put/get messages.
  User "bob" is not an MQ administrator, and will NOT be allowed to put/get messages.
Chapter 2: MQ administrator (user “mqm”) creates a queue manager with the basic/normal objects in host-1
Chapter 3: MQ administrator adds the dedicated objects.
Chapter 4: User “fulano” from host-2 puts and gets messages using the dedicated objects.
Chapter 5: User “fulano” from host-2 uses runmqsc to look at CURDEPTH on MY.Q
Chapter 6: User “bob” from host-2 fails to put/get messages using the dedicated objects
.
The dedicated objects are:
- Listener (such as MY.LISTENER in port 1420)
- Server-Connection Channel (such as MY.CHANNEL)
- Queue in Linux (such as MY.Q)
- Channel Authentication Record (CHLAUTH) for this server-connection channel that allows only the user “fulano” who is a member of the group “mqusers”.
- Authority records for group “mqusers” to display, put, get, browse, etc. from the dedicated queue.
 
++ Updated on 16-Jan-2024:
Revision for MQ 9.3
+++ See attached PDF file:
+ tags:
Author: Angel Rivera;
+++ end +++

[{"Type":"SW","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m0z00000008ObAAI","label":"Components and Features-\u003EAdministration"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Version(s)"}]

Document Information

Modified date:
13 May 2024

UID

ibm11135522