![[OpenShift Container Platform]](ngocp.gif)
![[MQ 9.4.0 Jun 2024]](ng940.gif)
![[Amazon EKS]](ngeks.gif)
Stopping a queue manager (mq.ibm.com/stop)
Stop a queue manager by adding an annotation to the queue manager definition.
About this task
Queue managers created by the IBM MQ Operator have an associated StatefulSet.
This StatefulSet declares the number of Pods to be deployed
for a given queue manager availability type through the '.replicas' field. This
takes the value of 1 (Single Instance), 2 (Multi Instance) or 3 (NativeHA).
Note: Manually changing the value in the '
.replicas' field prevents the queue
manager from functioning correctly.In some cases you might want to stop your queue manager so that the StatefulSet has a replica count of 0 and no Pods are deployed. Examples of when you might want to do this include during maintenance or a backup procedure.
Note: Because there are no queue manager Pods deployed when the queue manager is
stopped, you and your applications will not be able to access the queue manager until it is started
again.