Author |
Message
|
paustin_ours |
Posted: Mon Nov 11, 2013 3:18 pm Post subject: number of log file changes dont reflect |
|
|
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 |
|
 |
fjb_saper |
Posted: Mon Nov 11, 2013 9:23 pm Post subject: Re: number of log file changes dont reflect |
|
|
 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 |
|
 |
paustin_ours |
Posted: Tue Nov 12, 2013 7:26 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Tue Nov 12, 2013 10:37 am Post subject: |
|
|
 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 |
|
 |
mvic |
Posted: Wed Nov 13, 2013 5:31 pm Post subject: Re: number of log file changes dont reflect |
|
|
 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 |
|
 |
JosephGramig |
Posted: Thu Nov 14, 2013 6:54 am Post subject: Re: number of log file changes dont reflect |
|
|
 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 |
|
 |
|