01-27-2014 01:43 AM
in my master/media server, i found that /usr/openv/logs/nbemm is occupying 20GB of space. is it safe to delete the logs there except the most current month entries?
the same question with the other directories in /usr/openv/logs/ and /usr/openv/netbackup/logs/ can i delete entries older than a month?
Solved! Go to Solution.
01-27-2014 02:29 AM
You may want to see if logging levels have been increased (i.e. for Support case):
vxlogcfg -p 51216 -o Default -l
or for EMM :
vxlogcfg -p 51216 -o 111 -l
The default Debug level is 1 and Diagnostic is 6.
You can then use vxlogcfg to change the levels for ALL processes:
01-27-2014 01:53 AM
Its safe to delete these logs if you dont need them for any troubleshooting reasons. I would first check what is the global logging level set on master if it set to 5 and i will change it 0 and restart the services on the master when no backups are running. make sure to revert the loggings back to 0 when you change them.
01-27-2014 02:05 AM
In both cases the answer i yes. You can with the unified logs use the vxlogdel command to delete logs:
vxlogmgr --del -p 51216 -e '06/12/2010 12:00:00 PM'
This command will delete all unified loge before 06/12/2010 (d/m/y).
For classic logs, see the option called robust logging to prevent full disk conditions.
see a description at : http://www.symantec.com/docs/TECH125990 (you did not specify a NBU version so check the manual for how to set, it was a touch file, later a option in master server attributes).
Also : http://www.symantec.com/docs/HOWTO34332
01-27-2014 02:29 AM
You may want to see if logging levels have been increased (i.e. for Support case):
vxlogcfg -p 51216 -o Default -l
or for EMM :
vxlogcfg -p 51216 -o 111 -l
The default Debug level is 1 and Diagnostic is 6.
You can then use vxlogcfg to change the levels for ALL processes:
01-27-2014 03:33 AM
what is "EMM"?
my debug level is 6. i'm resetting it to 1.
will do the same for diagnostic.
01-27-2014 03:42 AM
EMM = Netbackup Enterprise Media Manager. EMM is a small database using Sybase ASA.
With both debug and diagnostic set to 6 you will have large mount of debug logs generated. Reset to 0 or one.
01-27-2014 03:42 AM
i gave the command to delete everything before Dec 1, 2013 and it didn't return anything.
so i guess my log files are not that old.
01-27-2014 03:45 AM
what is "EMM"?
This is the name of the relational database in all NBU versions since 6.0. The process managing it is called nbemm.
It contains all device and media databases and as from 7.5, the Image headers as well.
For the best possible explanation, please read through these chapters in NBU Admin Guide I:
01-27-2014 03:49 AM
reset to 1.
thanks!