企业级备份软件Veritas NetBackup(NBU)8.1.1的Linux客户端部署
接上一篇企业级备份软件Veritas NetBackup(NBU) 8.1.1服务端的安装部署
下面介绍Netbackup Linux Client安装
1、配置/etc/hosts解析
注意:NBU Master Server服务端和客户端都需要配置
2、 Netbackup Linux Client安装
以CentOS7的服务器为例,安装Netbackup Linux Client
上传并解压NetBackup_8.1.1_CLIENTS2.tar.gz
安装过程中需要使用上一篇最后生成的Token
[root@centos home]# cd NetBackup_8.1.1_CLIENTS2/ [root@centos NetBackup_8.1.1_CLIENTS2]# ll total 116 drwxr-xr-x 2 root bin 4096 Feb 4 2018 Doc -r-xr-xr-x 1 root bin 74296 Feb 4 2018 install -r--r--r-- 1 root bin 25621 Feb 4 2018 LICENSE drwxr-xr-x 4 root bin 4096 Feb 4 2018 NBClients -r--r--r-- 1 root bin 2428 Feb 4 2018 VSM_README [root@centos NetBackup_8.1.1_CLIENTS2]# ./install Veritas Installation Script Copyright (c) 2018 Veritas Technologies LLC. All rights reserved. Installing NetBackup Client Software Please review the VERITAS SOFTWARE LICENSE AGREEMENT located on the installation media before proceeding. The agreement includes details on the NetBackup Product Improvement Program. For NetBackup installation and upgrade information specific to your platform and to find out if your installed EEBs or hot fixes are contained in this release, check the Installation and Upgrade checklists and the Hot Fix and EEB Release Auditor, both available on the Veritas Services and Operations Readiness Tools (SORT) page: https://sort.veritas.com/netbackup. Do you wish to continue? [y,n] (y) y Checking for required system conditions... ok unsupported_platform: Passed checks for unsupported platforms. ok be_nb_same_host: inapplicable on linux: skipping Checking for recommended system conditions... ok hotfix_auditor: NetBackup is not installed or there is no hotfix or EEB data present. Skipping HF/EEB Auditor check. not ok ephemeral_port_range: The ephemeral port range include ports used by NetBackup services. The NetBackup Master Servers may not start up correctly if the system is configured with an ephemeral port range that conflicts with the ports that are used by NetBackup services. This test checks whether the current ephemeral port range includes the ports used by NetBackup services. See https://www.veritas.com/support/en_US/article.100040677.htm for details. WARNING: One or more non-critical preinstall checks have failed. Do you want to install the NetBackup client software for this client? [y,n] (y) y This package will install Linux/RedHat2.6.18 client. This package will install NetBackup client 8.1.1. Enter the name of the NetBackup master server : nbuserver Would you like to use "centos.walkingcloud.cn" as the configured name of the NetBackup client? [y,n] (y) n Enter the name of this NetBackup client : centos Successfully unpacked /home/NetBackup_8.1.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/certcmdTool_for_UNIX.tar.gz. Checking connectivity to the master server. NOTE: Depending on the network, this action may take a few minutes. To continue without setting up secure communication, press Ctrl+C. Connectivity established. Checking for local CA certificate Local CA certificate is not found on host. Proceeding with installation. Getting CA certificate details. NOTE: Depending on the network, this action may take a few minutes. To continue without setting up secure communication, press Ctrl+C. CA Certificate received successfully from server nbuserver. Subject Name : /CN=nbatd/OU=root@nbuserver/O=vx Start Date : Jun 11 23:04:17 2022 GMT Expiry Date : Jun 07 00:19:17 2042 GMT SHA1 Fingerprint : FB:33:C7:D3:86:8A:E9:DE:00:B4:69:F1:0A:29:76:58:90:A6:D9:C1 CA Certificate State : Not Trusted Master server [nbuserver] reports CA Certificate fingerprint [FB:33:C7:D3:86:8A:E9:DE:00:B4:69:F1:0A:29:76:58:90:A6:D9:C1]. Is this correct? [y,n] y Storing CA certificate. NOTE: Depending on the network, this action may take a few minutes. To continue without setting up secure communication, press Ctrl+C. The validation of root certificate fingerprint is successful. CA certificate stored successfully from server nbuserver. Getting host certificate for hostname centos. NOTE: Depending on the network, this action may take a few minutes. To continue without setting up secure communication, press Ctrl+C. An authorization token is required in order to get the host certificate for this host. At the prompt, enter the authorization token or q to skip the question. NOTE: The answer entered will not be displayed to the terminal. Enter the authorization token for nbuserver or q to skip: Getting host certificate with token for hostname centos. NOTE: Depending on the network, this action may take a few minutes. To continue without setting up secure communication, press Ctrl+C. Host certificate and certificate revocation list received successfully from server nbuserver. Client binaries are located in /home/NetBackup_8.1.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18. Starting NetBackup Deduplication installer testing: /tmp/pdde_pkg_dir_3157 NetBackup Deduplication preinstall check passed Installing VRTSnbpck ... Installation of VRTSnbpck was successful. Check /tmp/install_VRTSnbpck.rpm_trace.3141 for details. Installing VRTSpbx ... Installation of VRTSpbx was successful. Check /tmp/install_VRTSpbx.rpm_trace.3141 for details. Installing VRTSnbclt ... Installation of VRTSnbclt was successful. Check /tmp/install_VRTSnbclt.rpm_trace.3141 for details. Terminating NetBackup and/or Media Manager processes. Installing NB-Java. Installing VRTSnbjre ... Installation of VRTSnbjre was successful. More details regarding VRTSnbjre can be found in file /tmp/install_VRTSnbjre.rpm_trace.3554 on centos.walkingcloud.cn. Installing VRTSnbjava ... Installation of VRTSnbjava was successful. More details regarding VRTSnbjava can be found in file /tmp/install_VRTSnbjava.rpm_trace.3554 on centos.walkingcloud.cn. Migrating log files in /usr/openv/logs Migration of log files complete. No [x]inetd process found. Installing VRTSpddea.rpm ... Installation of VRTSpddea.rpm was successful. Check /tmp/install_VRTSpddea.rpm_trace.3141 for details. Installing VRTSnbcfg.rpm ... Installation of VRTSnbcfg.rpm was successful. Check /tmp/install_VRTSnbcfg.rpm_trace.3141 for details. File /usr/openv/tmp/install_trace.2865 contains a trace of this install. That file can be deleted after you are sure the install was successful.
3、Client所在服务器的防火墙开放相关端口
firewall-cmd --permanent --zone=public --add-port=13724/tcp firewall-cmd --permanent --zone=public --add-port=1556/tcp firewall-cmd --reload
需要开放的端口参考官方说明
4、检查解析是否正常
/usr/openv/netbackup/bin/bpclntcmd -hn nbuserver /usr/openv/netbackup/bin/bpclntcmd -hn centos /usr/openv/netbackup/bin/bpclntcmd -pn
4、NetBackup Administration Console上
配置Storeage Units
创建备份策略
步骤简单截图如下
(说明:可能存在配置不正确的地方,请自行尝试)
Netbackup Linux Client的简单安装就介绍到这里
备份与恢复的具体操作系统后续有空再写