How MainView AutoOPERATOR connects to IBM MQ


For MainView AutoOPERATOR for MQ to perform automation of IBM MQ events, MainView AutoOPERATOR must make connections to IBM MQ local queue managers. MainView AutoOPERATOR for MQ determines which queue managers to connect with automatically and dynamically based on automation needs.

MainView AutoOPERATOR for MQ can connect directly only to IBM MQ queue managers running on the same z/OS image. However, IBM MQ instrumentation events on distributed operating systems can still be automated by MainView AutoOPERATOR for MQ if the distributed system is connected to a z/OS queue manager. Refer to Defining-connectivity for more information.

Connections between z/OS queue managers and MainView AutoOPERATOR can be made in one of two ways:

  1. For Rules created for event type MQS, MainView AutoOPERATOR searches for the queue manager during Rule enablement. If the queue manager is found and a connection has not already been established, a connection is made.
  2. When a queue manager completes initializing and issues the message CSQ9022I xxxx CSQYASCP 'STA QMGR' NORMAL COMPLETION, MainView AutoOPERATOR detects the message. MainView AutoOPERATOR checks all enabled MQS-initiated Rules to see if the Selection Criteria Queue Manager value matches the queue manager ID that is starting up, and connects to that queue manager. If the CSQ9022I message is not issued because it is added to the EXCLMSG attribute of the MQ ZPARM module (available in IBM MQ Version 8 and later), MainView AutoOPERATOR does not recognize the initialization of IBM MQ.

    Therefore, you must ensure that the CSQ9022I message is not supressed or MainView AutoOPERATOR might not be able to connect. If MainView AutoOPERATOR Rules cannot detect the CSQ9022I message, the only way MainView AutoOPERATOR can connect tot he queue manager is if you enable a Rule or Ruleset that detects the started queue manager.

At the time of connection, only the eligible queue names listed in BBPARM member AAOMQLxx become eligible for automation. If new queues are added later that require automation, you must refresh the list of eligible queues. For more information about including specific queue managers in BBPARM member AAOMQLxx, refer to Parameters-for-BBPARM-member-AAOMQLxx.

Note

At MainView AutoOPERATOR startup time or during a reset situation, MainView AutoOPERATOR for MQ creates the following IBM MQ queues for internal processing of commands and replies:

  • BBMVAO.COMMAND.REPLY.MODEL
  • BBOMVAO.xxxx.RULES.INITIALIZE
  • BBOMVAO.xxxx.RULES.CMDREPLY
  • BBOMVAO.EXEC.REPLY.xxxx.yyyy

xxxx is the MainView AutoOPERATOR subsystem ID and yyyy is the name of the queue manager.

You should not be concerned with these queues or events related to these queues unless error messages are issued regarding them.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*