Kamis, 27 September 2018

How to start and stop IBM MQ broker service

  Tidak ada komentar
Login as mqsi user
login as: mquser
[email protected]'s password:
Last login: Thu Sep 20 16:36:14 2018 from


Check MQ list status
[[email protected] ~]$ mqsilist
BIP1285I: Broker 'TES_DEV' on queue manager 'TESQ_DEV' is stopped.
BIP8071I: Successful command completion.
[[email protected] ~]$ uptime
 17:58:30 up 10 days,  1:54,  2 users,  load average: 0.27, 0.16, 0.06
[[email protected] ~]$ mqsistart TEST_DEV
WebSphere MQ queue manager 'TESTQ_DEV' starting.
The queue manager is associated with installation 'Installation1'.
9 log records accessed on queue manager 'TESQ_DEV' during the log replay phase.
Log replay for queue manager 'TESQ_DEV' complete.
Transaction manager state recovered for queue manager 'TESQ_DEV'.
WebSphere MQ queue manager 'TESQ_DEV' started using V8.0.0.2.
BIP8096I: Successful command initiation, check the system log to ensure that the component started without problem and that it continues to run without problem.
[[email protected] ~]$
Running the mq service with following commad and check the listen port
[[email protected] ~]$ runmqlsr -t tcp -p 1551 -m TESTQ_DEV&
[1] 29499
[[email protected] ~]$ 5724-H72 (C) Copyright IBM Corp. 1994, 2014.

[[email protected] ~]$ netstat -atn | grep 6969
tcp        0      0 :::6969                    :::*                        LISTEN
[[email protected] ~]$
If you are preparing to stop a broker, you can stop the broker's WebSphere® MQ queue manager at the same time.

You can specify a -q parameter on the mqsistop command to initiate a controlled shutdown of the queue manager for a broker.

To stop a WebSphere MQ queue manager enter the following command on the command line:
mqsistop IB9NODE  -qCopy

IB9NODE is the name of the broker.

-q stops the WebSphere MQ queue manager associated with the component.

The command cannot complete until shutdown of the queue manager has completed.
[[email protected] ~]$ mqsistop TES_DEV -q
[[email protected] ~]$ 

[[email protected] ~]$ endmqlsr -m TESTQ_DEV
[[email protected] ~]$ endmqm TESTQ_DEV

Tidak ada komentar :

Posting Komentar