Netbackup5230备份一体机重删率异常故障分析日志收集

1.修改bp.conf配置文件显示重删率

BPDBJOBS_COLDEFS = JOBID 5 true 
BPDBJOBS_COLDEFS = TYPE 7 false 
BPDBJOBS_COLDEFS = STATE 4 false 
BPDBJOBS_COLDEFS = STATUS 4 false 
BPDBJOBS_COLDEFS = POLICY 35 false 
BPDBJOBS_COLDEFS = SCHEDULE 12 false 
BPDBJOBS_COLDEFS = CLIENT 5 true 
BPDBJOBS_COLDEFS = DSTMEDIA_SERVER 15 true 
#BPDBJOBS_COLDEFS = DSTMEDIAID 5 true 
BPDBJOBS_COLDEFS = STARTED 5 true 
BPDBJOBS_COLDEFS = ENDED 5 true 
BPDBJOBS_COLDEFS = ELAPSED 5 true 
BPDBJOBS_COLDEFS = KILOBYTES 5 true 
BPDBJOBS_COLDEFS = KBPERSEC 5 true 
#BPDBJOBS_COLDEFS = PERCENT 5 true 
#BPDBJOBS_COLDEFS = RETENTION 5 true 
BPDBJOBS_COLDEFS = DEDUPRATIO 5 true

2.bpdbjobs 结果最后一列就是重删率
bpdbjobs >/tmp/DEDUP.txt


3.bpimagelist
bpimagelist -d 01/11/1900 00:00:00 -e 05/20/2019 23:59:59
bpimagelist -d 01/01/2018 -U
bpimagelist -d 01/01/2018 -L
bpimagelist -d 01/01/2018 -l


4.datacollect
一体机界面收集

5.nbsu

执行收集

/usr/openv/netbackup/bin/support/nbsu
日志输出文件夹
/usr/openv/netbackup/bin/support/output/nbsu/

6.单条策略重删率脚本
oracle数据库重删率
bpdbjobs -jobid `"bpdbjobs |grep -i oracleRman_|grep -v "De"|head -1|awk '{print $1}' "`|-all_columns
文件重删率
bpdbjobs -jobid `"bpdbjobs |grep -i vm head -1|awk '{print $1}' "`|-all_columns

7.5230备份一体机菜单

NBU5230.Main_Menu>

Appliance Manage master and media appliances.
Exit Log out and exit from the current shell. 
Manage Manage NetBackup appliance.  常用的子菜单为存储管理和硬件信息查看
Monitor Monitor NetBackup appliance activities.常用的子菜单为硬件自检
Network Network Administration. 网络配置
Reports Examine the running and historical state of the host.报告
Settings Change NetBackup appliance settings. 设置
Shell Shell operations.
Support NetBackup Support. 常用的子菜单为root提权

NBU5230.Main_Menu>Appliance
Entering appliance install and configure view...

Exit Log out and exit from the current shell.
Return Return to the previous menu.
Shell Shell operations.
ShowDedupPassword Display NetBackup deduplication password of the appliance.
Status Display appliance status information.

NBU5230.Main_Menu>Manage
Entering appliance management view...

Exit Log out and exit from the current shell.
FibreChannel Manage Fibre Channel.
Libraries Manage Robotic Tape Libraries.
License License Administration.
MountPoints Manage remote mount points.
NetBackupCLI Execute NetBackup Commands.
OpenStorage Manage OpenStorage plugins.
Return Return to the previous menu.
Shell Shell operations.
Software Manage Software Updates.
Storage Manage Storage.
Tapes Manage Tape Media.

NBU5230.Main_Menu>Monitor
Entering appliance monitoring view...

Beacon Flashes or stops flashing the lights.
Exit Log out and exit from the current shell.
Hardware Hardware Monitor.
MemoryStatus Report memory usage statistics in KB.
NetworkStatus Report interface statistics.
Return Return to the previous menu.
SDCS Symantec Data Center Security
Shell Shell operations.
Top Display top process information.
Uptime Display uptime statistics for this host.
Who Display who is currently logged into this host.

NBU5230.Main_Menu> Network
Entering Network administration view...

Configure Configure IP address.
Date Manage system time.
DNS Manage DNS configuration.
Exit Log out and exit from the current shell.
Gateway Add or delete gateway or route.
Hostname Set or display the hostname.
Hosts Manage IP address to hostname mapping.
IPv4 Configure an IPv4 address for a network interface.
IPv6 Configure an IPv6 address for a network interface.
LinkAggregation Network link aggregation.
NetStat Examine network statistical information.
NTPServer Manage NTP server list.
Ping Reach a host/IP with ICMP ECHO_REQUESTs.
Return Return to the previous menu.
Security Manage IPsec policies.
SetProperty Set Ethernet interface property.
Shell Shell operations.
Show Display network properties.
TimeZone Time zone settings.
TraceRoute Display network packet route.
Unconfigure Remove IP address and shut down interface.
VLAN Tag and delete a protocol based VLAN
WANOptimization Manage WAN Optimization

NBU5230.Main_Menu>Reports
Entering NetBackup reporting view...

Deduplication Show deduplication statistics.
Exit Log out and exit from the current shell.
Process Show current process status.
Return Return to the previous menu.
Shell Shell operations.

NBU5230.Main_Menu> Settings
Entering appliance settings view...

Alerts Alerts and Call Home settings.
Deduplication Change Deduplication parameters.
Exit Log out and exit from the current shell.
FibreTransport Administer Fibre Transport features.
NetBackup NetBackup settings.
Notifications Configure appliance notifications.
Password Change user password.
Return Return to the previous menu.
Security Manage Security.
Share Configure media share.
Shell Shell operations.
Sysctl Change Sysctl parameters.
SystemLocale Display/Change appliance system locale for international support.

NBU5230.Main_Menu> Support
Entering NetBackup support view...

Checkpoint Appliance Checkpoint Management.
Cleanup Clear monitoring data that is associated with the decommissioned storage shelves
DataCollect Gather device logs.
Disk Gather disk information.
Errors Display NetBackup errors.
Exit Log out and exit from the current shell.
FactoryReset Reset this system to factory install image
FibreTransport Advanced settings.
InfraServices Show/control infrastructure services.
iostat Execute the iostat command.
IPMI Remote management port configuration.
KillRemoteCall Terminate running or hung remote calls on peer compute nodes.
Logs Set level, share, unshare, view, and upload debug logs.
Maintenance Launch maintenance shell.
Messages Display the messages file.
NBDNA Network traces with NBDNA tool (Select Create or Remove).
Nbperfchk Execute the disk IO or network bandwidth check.
NBSU Manage NetBackup support data files (Select Create or Remove).
Processes Show/control NetBackup and Admin Console processes.
Reboot Reboot the system.
RecoverStorage View or delete directories backed up during appliance re-image.
Return Return to the previous menu.
Service Service management.
Shell Shell operations.
Show Display information.
Shutdown Power off the system.
Storage Storage data and configuration
Test Test the current status of various appliance components.

原文地址:https://www.cnblogs.com/yihr/p/10794755.html