Netbackup 7 FS space issue
Created: 26 Dec 2010 | 5 comments
Hi,
We recently upgraded to netbackup 7. In master server (solaris) /usr/openv mount point is increasing in size and i want to delete the old log files.. Back in NB 6.5, i used to delete old log files in /usr/openv/logs.. Now i'm a little confused with NB 7 as there are some directories under that path.. So which log files should i delete to reduce the file system usage.. Appreciate your help...
Discussion Filed Under:
Comments
Still the same logs - just
Still the same logs - just different directories for each process / OID. Extract from 7.0 Release Notes:
■ VxUL Log Directory Restructuring
This change enhances the usability of VxUL logs by putting the logs for each service in a unique directory, making it easier for support to find and copy the correct logs.
Use vxlogmgr and vxlogcfg to delete and manage unified logs. Extracts from Commands manual:
EXAMPLE
The following deletes log files that NetBackup created 15 days back:
# vxlogmgr -d --prodid NB -n 15
EXAMPLE
The following sets the DebugLevel and DiagnosticLevel for all unified logging originators in NetBackup:
# vxlogcfg -a --prodid 51216 -orgid ALL -s DebugLevel=3 -s DiagnosticLevel=3
(It's fine to set Debug and Diag levels to 0.)
Also have a look at this old, but still valid quik ref guide: ftp://exftpp.symantec.com/pub/support/products/Net...
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links
Hi Jeganath, Do this: 1. cd
Hi Jeganath,
Do this:
1. cd to /usr/openv/logs and execute "du -sk * |sort -n". This will list you the most comsumed directory at the last line of the output.
2. Then go to that directory and check for old log files which you can delete.
3. Otherwise repeate from step 1.
- Sri
I had same issue
It was the unified logging.
Check this file
<installdir>/openv/netbackup/nblog.conf
there are two items to look at
Default.DiagnosticLevel=1
Default.DebugLevel=1
After I upgraded to 7.0 these were at 6 - lots of detail and was eating up my disk space.
These are the logs in <installdir>/openv/logs
I ended up with 175 gig of logs here!
DO NOT MODIFY THE NBLOG.CONF FILE
use the vxlogcfg command to change it such as
windows
\install_path\VERITAS\NetBackup\bin\vxlogcfg -a -p 51216 -o Default -s DiagnosticLevel=1
for unix
<installpath/openv/netbackup/bin/vxlogcfg -a -p 51216 -o Default -s DiagnosticLevel=1
do it again for the DebugLevel
(I think that is the command I used) then check the nblog.conf file again to see that the levels are down. Choose a level you are comfortable with.
I don't have to know how to spell....I work on Unix.
NetBackup 7.0.1 - AIX & Windows
To complete the picture use
To complete the picture use vxlogcfg to set NumberOfLogFiles, RolloverMode,MaxLogFileSize and so forth so you have it all under control, then relax.
Jim
All documented in Quick Ref
All documented in Quick Ref Guide posted on 26 Dec...
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links
Would you like to reply?
Login or Register to post your comment.