NBU7.5 Activity Monitor展示时长调整手册

2021-09-08 11:22:39 浏览数 (2)

背景:Activity Monitor展示了各个备份策略执行详情,很直观的显示了备份了哪些文件、备份的时间、备份到了哪里、备份状态、备份大小等,极端情况还能通过这些job的详情定位磁带恢复数据。默认的Activity Monitor只显示了78h的备份信息,本文将改时间延长至一个月即720h

环境说明:

主机名

ip

操作系统版本

NBU版本

备注

nbu-master

172.28.x.xx

AIX 6.1

7.5.0.6

Master Server

1.查看保留时间

代码语言:javascript复制
bs-nbu-master:/ #cd /usr/openv/netbackup/bin/admincmd
bs-nbu-master:/usr/openv/netbackup/bin/admincmd #./bpgetconfig |grep KEEP
KEEP_DATABASE_COMM_FILE = NO
KEEP_LOGS_DAYS = 3
KEEP_VAULT_SESSIONS_DAYS = 30
KEEP_JOBS_SUCCESSFUL_HOURS = 78
KEEP_JOBS_HOURS = 78
KEEP_DBM_IMAGECHANGELOG_DAYS = 7
CLIENT_KEEP_LOG_DAYS = 0
NBRNTD_MIN_KEEP_ALIVE_TIME = 30
NBRNTD_MAX_KEEP_ALIVE_TIME = 60

可以看到现在的保留时间为78小时,即只会展示3天多的job执行情况。

2.修改保留时间

代码语言:javascript复制
bs-nbu-master:/usr/openv/netbackup/bin/admincmd #./bpsetconfig -h bs-nbu-master
bpsetconfig> KEEP_JOBS_SUCCESSFUL_HOURS = 720
bpsetconfig> KEEP_JOBS_HOURS = 720

3.重启进程并检查

代码语言:javascript复制
bs-nbu-master:/usr/openv/netbackup/bin/goodies #./netbackup stop
stopping the NetBackup Service Monitor
stopping the NetBackup CloudStore Service Container
stopping the NetBackup Vault daemon
stopping the NetBackup Agent Request Server
stopping the NetBackup Service Layer
stopping the NetBackup Remote Monitoring Management System
stopping the NetBackup Indexing Manager
stopping the NetBackup Storage Lifecycle Manager
stopping the NetBackup Policy Execution Manager
stopping the NetBackup Job Manager
stopping the NetBackup request daemon
stopping the NetBackup compatibility daemon
stopping the NetBackup database daemon
stopping the Media Manager device daemon
stopping the Media Manager volume daemon
stopping the NetBackup Resource Broker
stopping the NetBackup Enterprise Media Manager
stopping the NetBackup Audit Manager
stopping the NetBackup Event Manager
stopping the NetBackup Database Server
stopping the NetBackup client daemon
stopping the NetBackup network daemon
bs-nbu-master:/usr/openv/netbackup/bin/goodies #./netbackup
NetBackup Authentication daemon started.
NetBackup network daemon started.
NetBackup client daemon started.
NetBackup SAN Client Fibre Transport daemon started.
Running /usr/sbin/mkdev -l ovpass0
ovpass0 Available
Running /usr/sbin/mkdev -l ovpass1
ovpass1 Available
NetBackup Database Server started.
NetBackup Authorization daemon started.
NetBackup Event Manager started.
NetBackup Audit Manager started.
NetBackup Deduplication Manager started.
NetBackup Deduplication Engine started.
NetBackup Enterprise Media Manager started.
NetBackup Resource Broker started.
Media Manager daemons started.
NetBackup request daemon started.
NetBackup compatibility daemon started.
NetBackup Job Manager started.
NetBackup Policy Execution Manager started.
NetBackup Storage Lifecycle Manager started.
NetBackup Indexing Manager started.
NetBackup Remote Monitoring Management System started.
NetBackup Key Management daemon started.
NetBackup Service Layer started.
NetBackup Agent Request Server started.
NetBackup Bare Metal Restore daemon started.
NetBackup Vault daemon started.
NetBackup CloudStore Service Container started.
NetBackup Service Monitor started.
NetBackup Bare Metal Restore Boot Server daemon started.

修改参数后需重启NBU进程

代码语言:javascript复制
bs-nbu-master:/usr/openv/netbackup/bin/admincmd #./bpgetconfig |grep KEEP
KEEP_DATABASE_COMM_FILE = NO
KEEP_LOGS_DAYS = 3
KEEP_VAULT_SESSIONS_DAYS = 30
KEEP_JOBS_SUCCESSFUL_HOURS = 720
KEEP_JOBS_HOURS = 720
KEEP_DBM_IMAGECHANGELOG_DAYS = 7
CLIENT_KEEP_LOG_DAYS = 0
NBRNTD_MIN_KEEP_ALIVE_TIME = 30
NBRNTD_MAX_KEEP_ALIVE_TIME = 60

修改完成

NBU优化系列文章

AIX6.1通过rsync同步到Centos7.6

NBU一体化备份虚拟带库Administrator密码修改

NBU一体化备份报表服务器邮件通知设置

0 人点赞