分行NBU软件日常维护手册Word下载.docx
《分行NBU软件日常维护手册Word下载.docx》由会员分享,可在线阅读,更多相关《分行NBU软件日常维护手册Word下载.docx(22页珍藏版)》请在冰豆网上搜索。
![分行NBU软件日常维护手册Word下载.docx](https://file1.bdocx.com/fileroot1/2023-1/10/cc20fb6c-0680-4299-b6fa-c01d0f8544cc/cc20fb6c-0680-4299-b6fa-c01d0f8544cc1.gif)
2、AlphaTru64
/sbin/rc3.d/S77netbackup
/sbin/rc0.d/K01netbackup
/sbin/init.d/netbackup
3、HP-UX
/sbin/rc2.d/S777netbackup
/sbin/rc1.d/K001netbackup
/sbin/init.d/netbackup
/sbin/rc1.d/K001nbclient
/sbin/rc2.d/S951nbclient
/sbin/init.d/nbclient
4、LinuxRedHat
/etc/rc.d/init.d/netbackup
/etc/rc.d/rc0.d/K01netbackup
/etc/rc.d/rc1.d/K01netbackup
/etc/rc.d/rc2.d/S77netbackup
/etc/rc.d/rc3.d/S77netbackup
/etc/rc.d/rc5.d/S77netbackup
/etc/rc.d/rc6.d/K01netbackup
/etc/rc.d/init.d/nbclient
/etc/rc.d/rc0.d/K01nbclient
/etc/rc.d/rc1.d/K01nbclient
/etc/rc.d/rc2.d/S95nbclient
/etc/rc.d/rc3.d/S95nbclient
/etc/rc.d/rc5.d/S95nbclient
/etc/rc.d/rc6.d/K01nbclient
5、LinuxSuSE
/etc/init.d/netbackup
/etc/init.d/rc0.d/K01netbackup
/etc/init.d/rc2.d/S77netbackup
/etc/init.d/rc3.d/S77netbackup
/etc/init.d/rc5.d/S77netbackup
/etc/init.d/rc6.d/K01netbackup
/etc/init.d/nbclient/etc/init.d/rc0.d/K01nbclient
/etc/init.d/rc2.d/S95nbclient
/etc/init.d/rc3.d/S95nbclient
/etc/init.d/rc5.d/S95nbclient
/etc/init.d/rc6.d/K01nbclient
6、Other操作系统
/etc/rc2.d/S77netbackup
/etc/rc1.d/K01netbackup
/etc/rc0.d/K01netbackup
/etc/rc2.d/S95nbclient
/etc/rc1.d/K01nbclient
/etc/rc0.d/K01nbclient
/etc/init.d/nbclient
第3章NBU启动、关闭的方法
1、Master主机的关闭NBU的方法:
/usr/openv/netbackup/bin/bp.kill_all;
或
/usr/openv/netbackup/bin/goodies/netbackupstop
2、Master主机的启动NBU的方法:
/usr/openv/netbackup/bin/bp.start_all
/usr/openv/netbackup/bin/goodies/netbackup
3、MediaServer主机的关闭NBU的方法:
4、MediaServer主机的启动NBU的方法:
5、使用bpps检查进程启动情况
/usr/openv/netbackup/bin/bpps-x
第4章日常维护健康检查的内容和示例运行结果
NBU的项目规划、安装、配置等实施工艺必须严谨规范,细小技术环节处理的得当,没有发现严重影响系统稳定运行的部分,检查内容和范围请参考如下内容:
✓进程检查
#bpps–x
✓备份索引完整性检查(3个月):
#bpcatlist–online–since-months3
此命令是记录所有备份操作在NBU的catalog的记录;
检查结果输出(举例说明):
BackupidBackupDateFilesSizeSchedPolicyCatarcidSCFilesfile
dms1_1195384006Nov1811:
06:
4620071288kDefault-Application-Backupdms1rmanfull010dms1rmanfull_1195384006_UBAK.f
dms1_1195383991Nov1811:
312007111.0MDefault-Application-Backupdms1rmanfull010dms1rmanfull_1195383991_UBAK.f
dms1_1195383802Nov1811:
03:
22200715.0GDefault-Application-Backupdms1rmanfull010dms1rmanfull_1195383802_UBAK.f
dms1_1195383794Nov1811:
14200718.0GDefault-Application-Backupdms1rmanfull010
FULL.f
✓主机全局变量配置检查:
#bpconfig–U
bpconfig命令显示NetBackup全局配置属性。
这些属性影响所有策略和
客户机的操作;
此项配置符合工程要求;
检查结果输出:
AdminMailAddress:
JobRetryDelay:
30minutes
MaxSimultaneousJobs/Client:
99
BackupTries:
2time(s)in12hour(s)
KeepError/DebugLogs:
28days
Maxdrivesthismaster:
0
KeepTrueImageRecoveryInfo:
1days
CompressImageDBFiles:
(notenabled)
MediaMountTimeout:
0minutes(unlimited)
SharedMediaMountTimeout:
0minutes(unlimited)
DisplayReports:
24hoursago
PreprocessInterval:
4hours(default)
MaximumBackupCopies:
2
ImageDBCleanupInterval:
12hours
PolicyUpdateInterval:
10minutes
✓备份作业检查
#bpdbjobs-summary–U
bpdbjobs与作业数据库进行交互,使用bpdbjobs输出整个作业数据库、输出数据库的等信息。
✓备份异常事件检查
#bperror-U-d/mm/dd/yyyy-e/mm/dd/yyyy
bperror显示来自NetBackup错误目录库的信息。
STATUSCLIENTPOLICYSCHEDSERVERTIMECOMPLETED
6dms1dms1archFullnbu_master11/06/200708:
12:
55
(thebackupfailedtobackuptherequestedfiles)
6dms2dms2archFullnbu_master11/06/200708:
19:
09
0dms1dms1testdms1testnbu_master11/06/200708:
24:
40
0dms2dms2testdms2testnbu_master11/06/200708:
25:
0dms2dms2archDefault-Apnbu_master11/06/200708:
51:
23
53:
54
55:
15
0dms2dms2archFullnbu_master11/06/200708:
42
0dms2dms2archlogDefault-Apnbu_master11/06/200709:
02:
11
27
37
0dms2dms2archlogdms2archlonbu_master11/06/200709:
04:
03
0dms1dms1archDefault-Apnbu_master11/06/200709:
15:
13
43
0dms1dms1archFullnbu_master11/06/200709:
16:
10
0dms1dms1rmanfullDefault-Apnbu_master11/06/200709:
22:
21
35
26:
47
27:
0dms1dms1rmanfullrmanfullnbu_master11/06/200709:
28:
0nbu_masterNBU-CatalogbackuFullnbu_master11/07/200700:
01:
0nbu_masterNBU-CatalogbackuFullunknown11/07/200700:
58
0nbu_masterNBU-CatalogbackuFullnbu_master11/08/200700:
48
0nbu_masterNBU-CatalogbackuFullunknown11/08/200700:
0nbu_masterNBU-CatalogbackuFullnbu_master11/09/200700:
36
22
0nbu_masterNBU-CatalogbackuFullunknown11/09/200700:
22
✓NBU配置检查
#bpgetconfig–L
用于获取配置信息的助手程序;
Client/Master=Master
NetBackupClientPlatform=RS6000,AIX5
NetBackupClientProtocolLevel=6.0.0.0.4.4
Product=NetBackup
VersionName=6.0
VersionNumber=600000
NetBackupInstallationPath=/usr/openv/netbackup/bin
ClientOS/Release=AIX5.3
✓供紧急恢复时的备份镜像保存信息
#bpimagelist-U
bpimagelist使用指定的格式来报告与从命令选项发送的属性相匹配的目录库映像或可移动介质;
注:
-policy-st来检查关键数据的全备和增量镜像所在介质号
✓检查磁带机清洗状况
tpclean-L
输出内容举例如下:
DriveNameTypeMountTimeFrequencyLastCleanedComment
********************************************************
HP.ULTRIUM3-SCSI.001hcart3*0.10N/A
HP.ULTRIUM3-SCSI.000hcart3*0.00N/A
IBM.ULTRIUM-TD2.003hcart2*0.30N/A
IBM.ULTRIUM-TD2.001hcart2*0.30N/A
IBM.ULTRIUM-TD2.000hcart2*0.30N/A
IBM.ULTRIUM-TD2.002hcart2*0.20N/A
✓检查磁带介质是否都正常
#bpmedialist
bpmedialist查询一个或多个NetBackup介质目录库,并生成NetBackup介质状态报告;
经检查,部分磁带介质有被frozen的现象,此操作并不影响正常备份,可以在将来方便的时候(比如系统周期维护日)对其状态进行重置,如继续发现读写错误,建议更换磁带;
✓检查是否还有足够可用磁带
#available_media
部分磁带介质有被frozen的现象,此操作并不影响正常备份,可以在将来方便的时候(比如系统周期维护日)对其状态进行重置,如继续发现读写错误,建议更换磁带
mediamediarobotrobotrobotside/retsizestatus
IDtypetype#slotfacelevelKBytes
----------------------------------------------------------------------------
CE1_FL_POOL_1pool
000051HCART3ACS0--944562752ACTIVE
000052HCART3ACS0----AVAILABLE
CE1_FL_POOL_2pool
000053HCART3ACS0--944562752ACTIVE
000054HCART3ACS0----AVAILABLE
CE1_L0_POOL_1pool
000036HCART3ACS0--967703936ACTIVE
000035HCART3ACS0----AVAILABLE
CE1_L0_POOL_2pool
000038HCART3ACS0--967703936ACTIVE
000037HCART3ACS0----AVAILABLE
CE1_L1_POOL_1pool
000055HCART3ACS0--921280ACTIVE
000056HCART3ACS0--99696640ACTIVE
000039HCART3ACS0--90FROZEN
000040HCART3ACS0--90FROZEN
✓SAN环境下检查所有MediaServer健康状态
在MasterServer上运行:
#vmdareq–display
HP.ULTRIUM3-SCSI.000-AVAILABLE
cec164SCAN_HOSTUP
cec163UP
cec106UP
cec104UP
HP.ULTRIUM3-SCSI.001-AVAILABLE
cec164UP
cec106SCAN_HOSTUP
IBM.ULTRIUM-TD2.000-AVAILABLE
IBM.ULTRIUM-TD2.001-AVAILABLE
IBM.ULTRIUM-TD2.002-AVAILABLE
IBM.ULTRIUM-TD2.003-AVAILABLE
cec104UP
✓检查磁带库设备状态
#tpconfig–l
TypeNumIndexTypeDrNumStatusCommentNamePath
robot0-TLD----cec106
drive-2hcart21UP-IBM.ULTRIUM-TD2.003/dev/rmt2.1
drive-3hcart22UP-IBM.ULTRIUM-TD2.001/dev/rmt3.1
drive-4hcart23UP-IBM.ULTRIUM-TD2.000/dev/rmt4.1
drive-5hcart24UP-IBM.ULTRIUM-TD2.002/dev/rmt5.1
robot1-TLD----cec106
drive-0hcart31UP-HP.ULTRIUM3-SCSI.001/dev/rmt0.1
drive-1hcart32UP-HP.ULTRIUM3-SCSI.000/dev/rmt1.1
✓检查所有策略定义
#bppllist-allpolicies–U
bppllist列出NetBackup数据库中的策略;
输出结果举例说明:
PolicyName:
CE1_FL_POLICY
PolicyType:
Standard
Active:
yes
Effectivedate:
12/28/200610:
11
ClientCompress:
no
FollowNFSMounts:
CrossMountPoints:
CollectTIRinfo:
BlockIncremental:
Mult.DataStreams:
ClientEncrypt:
Checkpoint:
PolicyPriority:
MaxJobs/Policy:
Unlimited
DisasterRecovery:
CollectBMRinfo:
Residence:
nbu_master-hcart3-robot-