Author |
Message
|
klabran |
Posted: Fri Aug 13, 2004 2:16 pm Post subject: How to tell what log type QMGR is using? |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
How do I find out what logging type was setup for a QMGR? |
|
Back to top |
|
 |
EddieA |
Posted: Fri Aug 13, 2004 2:18 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
What platform.
On Windows, use the MQ Services GUI. Distributed, look in the qm.ini file.
Or just look at the log files names. If the QM has been running for a while, it should be fairly obvious.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
klabran |
Posted: Fri Aug 13, 2004 2:24 pm Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
Eddie,
I did look at the logs and they are circular by the looks of things. Can I change it to linear? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Aug 13, 2004 4:03 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
You will have to delete then recreate the QM. You cant change thetype of logs a QM has. Yes there are some backdoor tricks if you search on this site, but it is not a supported method and there is no guarantee it will work with your version. Its probably just as fast a nd a whole lot easier to delete the QM and recreate it. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
kevinf2349 |
Posted: Tue Nov 16, 2004 10:24 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
If you still need a way to tell what the logging type is on Wintell platforms I have a little utility that I wrote that will tell you the logging type and the primary and secondary values in use for all queue managers on the box (regardless of if they are started or not). If you are interested please PM me.
I am out of town this week so it may be next week before I can send it to you (if you want it that is) |
|
Back to top |
|
 |
JasonE |
Posted: Wed Nov 17, 2004 2:10 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Of course, you could shut down the qmgr and run dmpmqlog -m QMGR, and look at the top section. Mine says...
Quote: |
LOG FILE HEADER
***************
counter1 . . . : 21 counter2 . . . : 21
FormatVersion . : 3 StrucId . . . . : 'HLFH'
logactive . . . : 3 loginactive . . : 2
logsize . . . . : 256 pages
baselsn . . . . : <0:0:0:0>
nextlsn . . . . : <0:0:2:14516>
lowtranlsn . . : <0:0:2:11430>
minbufflsn . . : <0:0:2:11430>
headlsn . . . . : <0:0:2:11430>
taillsn . . . . : <0:0:2:14515>
hflag1 . . . . : 0
-> CIRCULAR
HeadExtentID . : 0 LastEID . . . . : 1100606107
LogId . . . . . : 1100606107
FirstArchNum . : 4294967295 LastArchNum . . : 4294967295
nextArcFile . . : 4294967295
FileCount . . . : 3
Files . . . . . : 0, 1, 2
LastCId . . . . : 0 softmax . . . . : 1048576
|
This tells you the primary and secondary values, page size and log type |
|
Back to top |
|
 |
kevinf2349 |
Posted: Wed Nov 17, 2004 6:34 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Jason
True, but who wants to shutdown a production Qmgr to find out. I guess there are always aways and means of finding this stuff out. I just wrote my program as an exercise in VB.Net more than anything. It works like a champ regardless of the state of the queue mangers. |
|
Back to top |
|
 |
|