mq-container icon indicating copy to clipboard operation
mq-container copied to clipboard

Stop metrics on standby server when QM switches over

Open jade2020 opened this issue 4 years ago • 0 comments

First of all, thanks for the great work!

I have my 9.2.0.1 multi-instance QM running in docker containers with an LXC container as host for the docker containers. I created the volume as an nfs volume on the host.

I can do a switchover of the QM ok but I notice that the metrics process continues to attempt to start every 10 seconds on the standby node.

Do you have any suggestions on what I can do to stop the metrics on the standby server when a switchover occurs and so stop the continuous errors in the standby server logs?

2021-01-29T02:16:44.695Z Retrying metrics gathering 2021-01-29T02:16:44.698Z Metrics Error: Failed to connect to queue manager MIQM1: Cannot access queue manager. Error: MQCONNX: MQCC = MQCC_FAILED [2] MQRC = MQRC_STANDBY_Q_MGR [2543] 2021-01-29T02:16:54.698Z Retrying metrics gathering 2021-01-29T02:16:54.707Z Metrics Error: Failed to connect to queue manager MIQM1: Cannot access queue manager. Error: MQCONNX: MQCC = MQCC_FAILED [2] MQRC = MQRC_STANDBY_Q_MGR [2543]

Thanks,

jade2020 avatar Jan 29 '21 02:01 jade2020