Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Netbackup 7 FS space issue

Created: 26 Dec 2010 | 5 comments
Jeganath_K's picture
0 0 Votes
Login to vote

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...

Comments

Marianne van den Berg's picture
26
Dec
2010
0 Votes 0
Login to vote

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

Sriram's picture
27
Dec
2010
0 Votes 0
Login to vote

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

J.Hinchcliffe's picture
28
Dec
2010
0 Votes 0
Login to vote

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

jim dalton's picture
31
Dec
2010
0 Votes 0
Login to vote

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

Marianne van den Berg's picture
31
Dec
2010
0 Votes 0
Login to vote

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