Starting a queue manager
When you create a queue manager, you must start it to enable it to process commands or MQI calls.
We can start a queue manager by using the strmqm command. For a description of the strmqm command and its options, see strmqm.
Alternatively, on Windows and Linux (x86 and x86-64 platforms) systems, you can start a queue manager by using the IBM MQ Explorer.
On Windows we can start a queue manager automatically when the system starts using the IBM MQ Explorer. For more information, see Administration using the IBM MQ Explorer.
Procedure
-
To start a queue manager by using the strmqm command, enter the command
followed by the name of the queue manager to start.
For example, to start a queue manager called QMB, enter the following
command:
strmqm QMB
Note: You must use the strmqm command from the installation associated with the queue manager that you are working with. We can find out which installation a queue manager is associated with using the dspmq -o installation command.The strmqm command does not return control until the queue manager has started and is ready to accept connection requests.
-
To start a queue manager by using the IBM MQ Explorer,
complete the following steps:
- Open the IBM MQ Explorer.
- In the Navigator view, select the queue manager.
- Click Start.
Results
The queue manager starts.
If the queue manager start-up takes more than a few seconds IBM MQ issues information messages intermittently detailing the start-up progress.