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 192.168.72.234

MQSI 9.0.0.2
/opt/ibm/mqsi/9.0.0.2

Check MQ list status
[mquser@devsoa ~]$ mqsilist
BIP1285I: Broker 'TES_DEV' on queue manager 'TESQ_DEV' is stopped.
BIP8071I: Successful command completion.
[mquser@devsoa ~]$ uptime
 17:58:30 up 10 days,  1:54,  2 users,  load average: 0.27, 0.16, 0.06
[mquser@devsoa ~]$ 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.
[mquser@devsoa ~]$
Running the mq service with following commad and check the listen port
[mquser@devsoa ~]$ runmqlsr -t tcp -p 1551 -m TESTQ_DEV&
[1] 29499
[mquser@devsoa ~]$ 5724-H72 (C) Copyright IBM Corp. 1994, 2014.

[mquser@devsoa ~]$ netstat -atn | grep 6969
tcp        0      0 :::6969                    :::*                        LISTEN
[mquser@devsoa ~]$
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
where:

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.
[mquser@devsoa ~]$ mqsistop TES_DEV -q
[mquser@devsoa ~]$ 

[mquser@devsoa ~]$ endmqlsr -m TESTQ_DEV
[mquser@devsoa ~]$ endmqm TESTQ_DEV

Tidak ada komentar :

Posting Komentar