09-26-2011 06:41 AM
Hi,
We have upgraded our veritas netbackup enviroment running on w2k3 SP2 from 6.5.6 to 7.0.1.Upgradation completed successfully.
On the week-end full backup we have faced issue with the following log files. NDMP,NDMP agent ,NBSL ,wingui. The size of the mentioned folders are increasing high.
I have stopped my NDMP backup's and deleted the folder's NDMP, NDMP agent. Once i triggered the backup again these folders are creating. I just want to remove the folders permanently.
All my logging level are set to 0.
NBSL, wingui also need to delete permanently.
Solved! Go to Solution.
09-28-2011 03:36 AM
Hi all,
Since it's a unified logs, I have followed the below steps to over come the space crunch issue.
First i have set the Max log file size as 2048KB and changed the rollovermode to FileSize.Third we are recycling the logs in C:/.
1. Set the maximum file size for the logs to 2048 KB using the command..
vxlogcfg -a -p 51216 -o Default -s MaxLogFileSizeKB=2048 (Reduced the size to delete more log files)
2. Set the default NetBackup rollover mode as FileServer using the following command..
vxlogcfg -a --prodid 51216 --orgid Default -s RolloverMode=FileSize
3. Set the log recycle using the following command...
vxlogcfg -a --prodid 51216 --orgid ALL -s RolloverMode=FileSize MaxLogFileSizeKB=2048 NumberOfLogFiles=2 LogRecycle=True
If you want to redirect the logs to different location try the below command.
4. Redirect the logs to the F drive using the following command...
vxlogcfg -a -p NB -o Default -s LogDirectory=F:\Logs
09-26-2011 10:35 AM
You can not delete all the log files. Some of the folders are required to run NBU. I included a screenshot of the min folders, which NBU needs.
If you run out of disk space you can turn logging down, keep logs down, unified logging set it down to keep for one day, ....
09-26-2011 10:58 AM
"All my logging level are set to 0"
Legacy or unified logging level?
Check/verifify unified logging with ' vxlogcfg -p 51216 -o Default -l ' http://www.symantec.com/docs/HOWTO43765
09-28-2011 03:36 AM
Hi all,
Since it's a unified logs, I have followed the below steps to over come the space crunch issue.
First i have set the Max log file size as 2048KB and changed the rollovermode to FileSize.Third we are recycling the logs in C:/.
1. Set the maximum file size for the logs to 2048 KB using the command..
vxlogcfg -a -p 51216 -o Default -s MaxLogFileSizeKB=2048 (Reduced the size to delete more log files)
2. Set the default NetBackup rollover mode as FileServer using the following command..
vxlogcfg -a --prodid 51216 --orgid Default -s RolloverMode=FileSize
3. Set the log recycle using the following command...
vxlogcfg -a --prodid 51216 --orgid ALL -s RolloverMode=FileSize MaxLogFileSizeKB=2048 NumberOfLogFiles=2 LogRecycle=True
If you want to redirect the logs to different location try the below command.
4. Redirect the logs to the F drive using the following command...
vxlogcfg -a -p NB -o Default -s LogDirectory=F:\Logs