ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How to tell what log type QMGR is using?

Post new topic  Reply to topic
 How to tell what log type QMGR is using? « View previous topic :: View next topic » 
Author Message
klabran
PostPosted: Fri Aug 13, 2004 2:16 pm    Post subject: How to tell what log type QMGR is using? Reply with quote

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
View user's profile Send private message Visit poster's website
EddieA
PostPosted: Fri Aug 13, 2004 2:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
klabran
PostPosted: Fri Aug 13, 2004 2:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Fri Aug 13, 2004 4:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
kevinf2349
PostPosted: Tue Nov 16, 2004 10:24 am    Post subject: Reply with quote

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
View user's profile Send private message
JasonE
PostPosted: Wed Nov 17, 2004 2:10 am    Post subject: Reply with quote

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
View user's profile Send private message
kevinf2349
PostPosted: Wed Nov 17, 2004 6:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to tell what log type QMGR is using?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.