how we can change the log size.
Updated: 21 May 2010 | 7 comments
This issue has been solved. See solution.
hi all,
need one help..
how we can change the default log size on client and master servers.
they are really messing my enviroment.
plz help.
discussion Filed Under:
Comments
You haven't stated your NB version, but there are a lot of
Tech Notes on the Knowledge Base that deal with logging:
e.g.
DOCUMENTATION: How to configure Veritas NetBackup (tm) 6.x to write unified log files to a different directory
DOCUMENTATION: Best Practice recommendations for enabling and gathering Veritas NetBackup (tm) 6.0 logging
About the Logging properties
***EDIT***
A couple more that may be of assistance to save you the trouble of trawling thru' the KB articles ;)
DOCUMENTATION: How to configure log file rotation for Unified logging using "vxlogcfg".
DOCUMENTATION: How to configure automatic cleanup and recycling of unified log files with Veritas NetBackup (tm) 6.0
Regards Andy
"It's not too late to panic ..."
Pinku - Andy has the
Pinku -
Andy has the solution, can you mark it as such?
NBU 7.0.1 on Solaris 10
writing to EMC 4206 VTL
duplicating to LTO2 in SL8500
(Soon to be LTO5)
using ACSLS 7.3.1
Hi, NBU version is 6.5 Thanks
Hi,
NBU version is 6.5
Thanks Andy for reply..
but i guess this is not the solution of my query...
these all deals with configuring and moving logs to some different location...
I want to fix their size by allocating some fix space...
I dnt want them to exceed that particular limit which i'll set.....
That can be done by log rotation
which is covered in several of the guides that Andy mentioned.
Have you even tried to read
Have you even tried to read all the links from Andy's post?
Extract from DOCUMENTATION: How to configure log file rotation for Unified logging using "vxlogcfg":
# ./vxlogcfg -a -p 51216 -o Default -s RolloverMode=FileSize -s MaxLogFileSizeKB=51200
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links
@Pinku
As a matter of interest, what issues are you encountering exactly?
As far as our environment is concerned (NB6.5.4), we have logging set to 3 days (clean-up interval setting) which has resulted in a grand total of 672Mb on our Master for legacy logging (all sub-directories/processes) & 1.5Gb for unified logging (35 files of 50Mb each - rollover setting or default?) - so not a lot really!
Do you know at what level your logging is set to? Have you had any issues recently that resulted in Symantec asking you to increase the verbosity of your logging?
As far as your clients are concerned, logs should only really be created if you are having issues with a particular client. e.g. on Windows clients don't run the mklogdir.bat file to create all possible log sub-directories (unless you really have to) as once these are created they will become populated with logs!
These are all covered by the T/N's I quoted earlier, honest!
Regards Andy
"It's not too late to panic ..."
Hi.. "vxlogcfg" was
Hi..
"vxlogcfg" was completely a new thing to me..
i got it now....
earlier i missed some things while reading the note.....
and found this note very helpful....
@Andy : thanks for the additional info(above post), i was not even aware of this thing....
@ Marianne next time i'll read the post carefully before u scold me again :)
Would you like to reply?
Login or Register to post your comment.