+

Search Tips | Advanced Search

Stop a queue manager

We can use the endmqm command to stop a queue manager. This command provides three ways to stop a queue manager: a controlled, or quiesced, shutdown, an immediate shutdown, and a preemptive shutdown. Alternatively, on Windows and Linux , we can stop a queue manager by using the IBM MQ Explorer.


There are three ways to stop a single instance queue manager with the endmqm command:

The endmqm command stops all instances of a multi-instance queue manager in the same way as it stops a single instance queue manager. We can issue the endmqm on either the active instance, or one of the standby instances of a multi-instance queue manager. However, you must issue endmqm on the active instance to end the queue manager.

For a detailed description of the endmqm command and its options, see endmqm.

Tip: Problems with shutting down a queue manager are often caused by applications. For example, when applications:

If a problem occurs when you try to stop the queue manager, we can break out of the endmqm command by using Ctrl-C. We can then issue another endmqm command, but this time with a parameter that specifies the type of shutdown that you require.

As an alternative to using the endmqm command, on Windows and Linux, we can stop a queue manager by using the IBM MQ Explorer to carry out either a controlled or an immediate shutdown.


Procedure