cancel
Showing results for 
Search instead for 
Did you mean: 

/usr/openv/logs on Media server 6.5

RPicard
Level 2
Hi,
 
I run with Netbackup entreprise 6.5 on Sun Unix box and I have 2 other Sun Unix with 6.5 for media server and everything work well.
But, I have a problem with the directory /usr/openv/logs of my 2 media server. I always keep my logs and does not expire like my parameter of my Master of Netbackup. The result is my directory /usr/openv/ becomes full and has to erase by command line le logs on that directory /usr/openv/logs.
 
I know we can introduce a parameter in bp.conf or vm.conf of media server as DAYS_TO_KEEP_LOGS = xx, but on the media server seem not work. Have you any idea?
 
Thanks
1 ACCEPTED SOLUTION

Accepted Solutions

Anonymous
Not applicable
/usr/openv/logs is where Unified Logging is written and is controlled via the vxlogcfg command.

Review the settings on each of your media servers, and also what the master is set to with the command:

# Display vxlogview default settings for product 51216
vxlogcfg -p 51216 -o Default -l

There are a whole load of docs on Unified Logging (see at the end of my post but I have some one-liner tips first)

# This will show you what logs are found, the rest in openv can probably be deleted.
vxlogmgr -s -p 51216

# Set the default level of logging for all daemons
vxlogcfg -a -p 51216 -o Default -s DebugLevel=1 -s DiagnosticLevel=1

# Disable logging for all daemons
vxlogcfg -a -p 51216 -o Default -s DebugLevel=0 -s DiagnosticLevel=0

# Delete existing logs based on default settings Number of Logs value
vxlogmgr --auto --del -q

SIDENOTE: I found the same directory to be large but not clearing out some old files, and found that it WAS purging files but only those relevant to NetBackup 6.5. I upgraded my Media Servers from 6.0 and previous vxlogs (6.0) remained and were not being purged. I found from my install_trace file in /usr/openv/tmp when I upgraded to 6.5 and just rm the files prior to that date. Thereafter vxlogging config should take care of the rest, based on your settings.

DOCUMENTATION: A comprehensive list of NetBackup (tm) 6.0 directories and commands relating to Unified Logging.
http://support.veritas.com/docs/278572

DOCUMENTATION: How to configure log file rotation for Unified logging using "vxlogcfg".
http://support.veritas.com/docs/279541

DOCUMENTATION: How to delete Unified Log files to reclaim disk space on the file system.
http://support.veritas.com/docs/279339

DOCUMENTATION: How to configure automatic cleanup and recycling of unified log files with Veritas NetBackup (tm) 6.0
http://support.veritas.com/docs/279590

Good luck

View solution in original post

5 REPLIES 5

CRZ
Level 6
Employee Accredited Certified

/usr/openv/logs means we need to deal with the new "unified" logs.  These TechNotes should help you:

DOCUMENTATION: A comprehensive list of NetBackup (tm) 6.0 directories and commands relating to Unified Logging. 
 http://support.veritas.com/docs/278572

DOCUMENTATION: How to configure log file rotation for Unified logging using "vxlogcfg". 
 http://support.veritas.com/docs/279339

DOCUMENTATION: How to configure log file rotation for Unified logging using "vxlogcfg". 
 http://support.veritas.com/docs/279541

And there's a demonstration you can view here:

How to change debug and diagnostic logging levels for Veritas Unified Logging (VxUL) using the vxlogcfg command in Veritas NetBackup (tm) 6.0 
 http://support.veritas.com/docs/277581

Good luck!

Anonymous
Not applicable
/usr/openv/logs is where Unified Logging is written and is controlled via the vxlogcfg command.

Review the settings on each of your media servers, and also what the master is set to with the command:

# Display vxlogview default settings for product 51216
vxlogcfg -p 51216 -o Default -l

There are a whole load of docs on Unified Logging (see at the end of my post but I have some one-liner tips first)

# This will show you what logs are found, the rest in openv can probably be deleted.
vxlogmgr -s -p 51216

# Set the default level of logging for all daemons
vxlogcfg -a -p 51216 -o Default -s DebugLevel=1 -s DiagnosticLevel=1

# Disable logging for all daemons
vxlogcfg -a -p 51216 -o Default -s DebugLevel=0 -s DiagnosticLevel=0

# Delete existing logs based on default settings Number of Logs value
vxlogmgr --auto --del -q

SIDENOTE: I found the same directory to be large but not clearing out some old files, and found that it WAS purging files but only those relevant to NetBackup 6.5. I upgraded my Media Servers from 6.0 and previous vxlogs (6.0) remained and were not being purged. I found from my install_trace file in /usr/openv/tmp when I upgraded to 6.5 and just rm the files prior to that date. Thereafter vxlogging config should take care of the rest, based on your settings.

DOCUMENTATION: A comprehensive list of NetBackup (tm) 6.0 directories and commands relating to Unified Logging.
http://support.veritas.com/docs/278572

DOCUMENTATION: How to configure log file rotation for Unified logging using "vxlogcfg".
http://support.veritas.com/docs/279541

DOCUMENTATION: How to delete Unified Log files to reclaim disk space on the file system.
http://support.veritas.com/docs/279339

DOCUMENTATION: How to configure automatic cleanup and recycling of unified log files with Veritas NetBackup (tm) 6.0
http://support.veritas.com/docs/279590

Good luck

CRZ
Level 6
Employee Accredited Certified
Stuart, I'm relieved that you and I produced almost exactly the same list of TechNotes.  :)

Stumpr2
Level 6
You both provided the technotes but Stuart put some extra effort and thus was awarded a thumbs up from me. Man, I'm getting slow.

Venkatesh_K
Level 5
Nice post