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 » IBM MQ Installation/Configuration Support » number of log file changes dont reflect

Post new topic  Reply to topic
 number of log file changes dont reflect « View previous topic :: View next topic » 
Author Message
paustin_ours
PostPosted: Mon Nov 11, 2013 3:18 pm    Post subject: number of log file changes dont reflect Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

OK. Another linear log question.

created a qmgr with 20 primary and 20 secondary log

under log/active

i see 20 files as expected)[rimary log files)

now i changed the numbers to 2 primary and 1 secondary.

stop/started qmgr and even ran rcdmqimg a couple of time and have waited over 2 hours now.

still under /log/active

i see 20 files. i was hoping to see just 2 files.

is my thought process wrong? Pls help. Thanks.
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Mon Nov 11, 2013 9:23 pm    Post subject: Re: number of log file changes dont reflect Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

paustin_ours wrote:
OK. Another linear log question.

created a qmgr with 20 primary and 20 secondary log

under log/active

i see 20 files as expected)[rimary log files)

now i changed the numbers to 2 primary and 1 secondary.

stop/started qmgr and even ran rcdmqimg a couple of time and have waited over 2 hours now.

still under /log/active

i see 20 files. i was hoping to see just 2 files.

is my thought process wrong? Pls help. Thanks.


Yes you need to issue alter qmgr advance log about 20 times and archive unneeded logs using one of the support packs...
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
paustin_ours
PostPosted: Tue Nov 12, 2013 7:26 am    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

Thanks but i don't see a alter qmgr advance log command. Only option related to logging in alter qmgr is the loggerev
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Tue Nov 12, 2013 10:37 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

paustin_ours wrote:
Thanks but i don't see a alter qmgr advance log command. Only option related to logging in alter qmgr is the loggerev

look at
Code:
reset qmgr type(advancelog)

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mvic
PostPosted: Wed Nov 13, 2013 5:31 pm    Post subject: Re: number of log file changes dont reflect Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

paustin_ours wrote:
stop/started qmgr and even ran rcdmqimg a couple of time and have waited over 2 hours now.

Wait longer. Are you in a hurry? (Why?) If so, recreate the queue manager.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Thu Nov 14, 2013 6:54 am    Post subject: Re: number of log file changes dont reflect Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

paustin_ours wrote:
OK. Another linear log question.

created a qmgr with 20 primary and 20 secondary log

under log/active

i see 20 files as expected)[rimary log files)

now i changed the numbers to 2 primary and 1 secondary.

stop/started qmgr and even ran rcdmqimg a couple of time and have waited over 2 hours now.

still under /log/active

i see 20 files. i was hoping to see just 2 files.

is my thought process wrong? Pls help. Thanks.

So, once you reduced the number of primary and secondary logs, those logs are still active and won't go away. In fact when using linear logs, the logs never go away unless you run rcdmqimg and *you* delete files older than the oldest log required to restart or recover (it will report both and it may or may not be the same file).

There are support packs that you can use to manage linear logs.

IMHO, when using linear logs, it is not useful to change the number of logs. It is useful to correctly pick the size of the logs (by setting the LogFilePages when you create the Qmgr (because you cannot change this after that point)).
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » number of log file changes dont reflect
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.