11-23-2010 09:10 PM
On master servers the logs are not generated in the logs directory....previously the logs created got purged at the end of the day...I tried increasing the retention period of logs to 1000 days still the logs got purged and now the logs are not created...need some suggestion to troubleshoot this issue...
Solved! Go to Solution.
11-24-2010 09:30 PM
Hi,
Maybe you should set everything to default again, remove all verbose entries, set the retention to 30, and run vxlogcfg -a -p 51216 -o Default -s DebugLevel=1 -s DiagnosticLevel=1
Then restart your services.
11-23-2010 09:13 PM
11-23-2010 09:21 PM
NBU version is 6.5.4 and OS is SLES 10 SP3
11-23-2010 09:27 PM
Legacy or Unified Logging?
11-23-2010 09:28 PM
sry... i replied to ur query incompletely..
Legacy logs in /usr/openv/netbackup/logs directory
11-23-2010 09:38 PM
Which logs? Legacy or unified?
Legacy logs are under /usr/openv/netbackup/logs
Which logs have you enabled here?
Unified logs are under /usr/openv/logs
Please post output of:
bpconfig -L
and
vxlogcfg -p 51216 -o Default -l
If I may ask - why 1000 days? That is close to 3 years? Does your master server have the space and resources to deal with this amount of logs? Each times NBU is restarted, and each night at midnight every single log file has to be evaluated for purging.
11-23-2010 09:49 PM
As mentioned above in my earlier post I am talking about unified logs under /usr/openv/netbackup/logs directory
The ouput you required is mentioned below..
# sudo /usr/openv/netbackup/bin/admincmd/bpconfig -L
Mail Admin: *NULL*
Job Retry Delay: 10 minutes
Max Jobs/Client: 1
Backup Tries: 2 in 12 hours
Keep Logs: 10245 days
Max drives/master: 0
Compress DB Files: (not enabled)
Media Mnt Timeout: 0 minutes (unlimited)
Shared Timeout: 0 minutes(unlimited)
Display Reports: 24 hours ago
Keep TIR Info: 1 days
Prep Interval: 4 hours (default)
Max Backup Copies: 2
DB Clean Interval: 12 hours
DB Clean Wait Time: 60 minutes
Policy Update Interval: 10 minutes
# sudo /usr/openv/netbackup/bin/vxlogcfg -p 51216 -o Default -l
Configuration settings for originator 112, of product 51216...
LogDirectory = /usr/openv/logs/
DebugLevel = 6
DiagnosticLevel = 6
DynaReloadInSec = 0
LogToStdout = False
LogToStderr = False
LogToOslog = False
RolloverMode = FileSize
LogRecycle = False
MaxLogFileSizeKB = 51200
RolloverPeriodInSeconds = 43200
RolloverAtLocalTime = 0:00
NumberOfLogFiles = 3
OIDNames =
L10nLib = /usr/openv/lib/libvxexticu.so.1
L10nResourceDir = /usr/openv/resources
SyslogIdent = VRTS-NB
SyslogOpt = 0
SyslogFacility = LOG_LOCAL5
LogFilePermissions = 664
On your query of putting log retention for 10000 days.. I was just testing it...so that logs do not get deleted.. we keep the logs just for 30 days and then they are moved to our log management server
11-24-2010 08:28 PM
Have you specified any number for verbose in bp.conf entries?
11-24-2010 08:47 PM
Which log directories have you actually created under /usr/openv/netbackup/logs?
Did the logging stop after you increased the 30 days to 1024?
11-24-2010 09:30 PM
Hi,
Maybe you should set everything to default again, remove all verbose entries, set the retention to 30, and run vxlogcfg -a -p 51216 -o Default -s DebugLevel=1 -s DiagnosticLevel=1
Then restart your services.