Sunday, February 9, 2014

How to create a linear logging qmgr in MQ

-bash-4.1$ crtmqm -ll -lp 20 -ls 10 -lf 1024 LLQM
There are 81 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager created.
Directory '/var/mqm/qmgrs/LLQM' created.
The queue manager is associated with installation 'Installation1'.
Creating or replacing default objects for queue manager 'LLQM'.
Default objects statistics : 74 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.

-ll  : linear logging 
-lp : number of primary logs
-ls : number of secondary logs
-lf : log-file size


How to findout particular qmgr is in Circular/Linear logging ????

Please, Find the difference between queue manager status's using "DIS QMSTATUS ALL" for LLQM and QM1:

dis qmstatus all  (LLQM is a linear logging qmgr)
     3 : dis qmstatus all
AMQ8705: Display Queue Manager Status Details.
   QMNAME(LLQM)                            STATUS(RUNNING)
   CONNS(21)                               CMDSERV(RUNNING)
   CHINIT(RUNNING)                         INSTNAME(Installation1)
   INSTPATH(/opt/mqm)                      INSTDESC( )
   STANDBY(NOPERMIT)                       CURRLOG(S0000000.LOG)
   RECLOG(S0000000.LOG)                    MEDIALOG(S0000000.LOG)
   STARTDA(2014-02-09)                     STARTTI(04.45.40)

dis qmstatus all (QM1 is a circular logging qmgr)
     1 : dis qmstatus all
AMQ8705: Display Queue Manager Status Details.
   QMNAME(QM1)                             STATUS(RUNNING)
   CONNS(21)                               CMDSERV(RUNNING)
   CHINIT(RUNNING)                         INSTNAME(Installation1)
   INSTPATH(/opt/mqm)                      INSTDESC( )
   STANDBY(NOPERMIT)                       STARTDA(2014-02-09)

   STARTTI(04.39.40)                    

How to find the channel initiator is running or not..??    CHINIT(RUNNING)
How to find command server is running or not..??   CMDSERV(RUNNING)





No comments:

Post a Comment