How to delete Unified Log files to reclaim disk space on the file system(ZT)


DOCUMENTATION: How to delete Unified Log files to reclaim disk space on the file system.

Details:
Manual:  VERITAS NetBackup (tm) 6.0 Troubleshooting Guide for UNIX and Windows
Page(s):  84 - 86
Modification Type:  Supplement

Modification:
NetBackup 6.0 introduces a new style. of logging called Unified logging.  This new style. of logging is used by NetBackup 6.0 NetBackup Intelligent Resource Manager (IRM), Enterprise Media Manager (EMM) services as well as other Symantec products.  The previous style. of NetBackup logging is now referred to as Legacy logging and is still used by other NetBackup daemons.  

Unified logs are stored in /usr/openv/logs on the server.  The vxlogmgr command should be used to properly remove Unified logs from a NetBackup server to reclaim space on the file system:
# cd /usr/openv/netbackup/bin
# ./vxlogmgr --del -p -o -e

The options for vxlogmgr are described below.
  • The --del option will delete any matching log files.
  • The -p is optional.  This should be used to limit the deleting of logs to specific products, such as 51216 (NetBackup).
  • The -o is optional.  This should be used to limit the deleting of logs to specific originators, such as 116 (nbpem).
  • The -e is optional.  This will delete any log files created before the date specified.  The format for the date is 'MM/DD/YYYY hh:mm:ss AM|PM' surrounded by single quotes.

Additional command line options for vxlogmgr can be found on page 525 of the NetBackup 6.0 Commands for UNIX (refer below to the Related Documents section).

Examples:
The following command will delete all Unified log files created before midnight on 9/20/2005:
# vxlogmgr --del -e '09/20/2005 00:00:00 AM'

The following command will delete all Unified log files for the NetBackup product created on and before 9/22/2005.
# vxlogmgr --del -p 51216 -e '09/22/2005 23:59:59 PM'

The following command will delete all Unified log files for the NetBackup nbpem daemon created before noon on 9/24/2005.
# vxlogmgr --del -p 51216 -o 116 -e '09/24/2005 12:00:00 AM'

Once the vxlogmgr command is run, a listing of matching files will be displayed along with a prompt asking to delete the files.  Once the expected listing of file names has been displayed, select " y" to delete the Unified log files.


Products Applied:
 NetBackup Enterprise Server 6.0
 NetBackup Server 6.0

Last Updated: December 31 2007 10:51 PM GMT
Expires on: 12-30-2008
Subscribe Via E-Mail IconSubscribe to receive critical updates about this document

Subjects:
 NetBackup Enterprise Server
   Application: Informational
   Best Practice: Error Logs
NetBackup Server
   Application: Informational
   Best Practice: Error Logs

Languages:
 English (US)

Operating Systems:
AIX

5.1, 5.2, 5.3

HP-UX

11.0, 11.11

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/228190/viewspace-524632/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/228190/viewspace-524632/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值