Automatic channel creation is one of the operational wins that sells IBM MQ clustering: instead of defining sender and receiver channels between every pair of fifty queue managers (thousands of definitions), the queue manager creates CLUSSDR and CLUSRCVR channels when routing first needs them. The first put from QM_APP to a cluster queue on QM_REPORTING may cause MQ to define a cluster sender on QM_APP targeting QM_REPORTING and ensure a matching cluster receiver exists—names often derived from queue manager names and cluster conventions. That magic does not remove security obligations—CHLAUTH, TLS, and firewall rules still govern who connects. This tutorial explains triggers for auto creation, naming patterns, relationship to repository CONNAME and CLUSQM data, CHAD-related queue manager attributes at overview level, manual versus automatic strategies, monitoring DISPLAY CHANNEL, cleaning orphaned auto channels, and troubleshooting BINDING or retry on first cluster route.
| Aspect | Pre-defined channels | Auto-created channels |
|---|---|---|
| Operations effort | High N×N planning | Low—MQ creates on demand |
| Predictability | Fixed names in runbooks | Names follow QMGR naming rules |
| Security lockdown | Easier explicit CHLAUTH per channel | Need wildcard or QMGRMAP rules |
| First message delay | Channel may already exist | Short define plus connect on first use |
| Drift | Forgotten pairs when QMs added | New QM gets channels when referenced |
Auto channels use knowledge from cluster repository messages—IP, port, queue manager name. Wrong CLUSRCVR CONNAME on manual seed channel propagates bad data. When relocating a queue manager, update cluster definitions and refresh repository before expecting auto channels to dial correct host. NAT and firewall must allow return path to listener port on each member.
12345DISPLAY QMGR CLUSTER CLUSNL DISPLAY CLUSQMGR('QM_REPORTING') CLUSTER('SALES') DISPLAY CHANNEL(*) CHLTYPE(CLUSSDR) WHERE(CLUSTER EQ 'SALES') * After first remote cluster put, new CLUSSDR may appear: DISPLAY CHSTATUS(*) WHERE(CHLTYPE EQ CLUSSDR)
CHLAUTH TYPE(QMGRMAP) or ADDRESSMAP rules must allow partner queue managers. TLS with mutual authentication is common in production—auto channel picks SSL parameters from queue manager and channel template attributes. Deny-by-default CHLAUTH with explicit permits for cluster partner names beats wide open AUTO. Review MCAUSER on cluster channels—overly privileged MCAUSER on CLUSRCVR allows remote puts with that identity context per IBM rules.
Regulated environments may require every channel in Git MQSC before production. Pre-define critical CLUSSDR with explicit HBINT, SSLCIPH, and MAXMSGL. Auto creation handles long tail of rare pairs. Hybrid: pre-define full repository interconnects; allow auto among partial application members.
Automatic channel creation is like paving a road the first time a delivery truck needs to reach a new warehouse—later trucks use the same road. Manual pre-definition is paving all roads before any truck exists.
When your school needs to call another school for the first time, the phone company sets up the phone line automatically instead of you writing hundreds of line orders in advance.
After first cluster put, which DISPLAY commands find new CLUSSDR?
List three CHLAUTH considerations for auto channels.
When would you pre-define all cluster channels?
1. Auto cluster channels are types:
2. Auto creation reduces:
3. First cluster put may:
4. CHLAUTH still applies to: