Linux系统NBU客户端安装配置操作指南

Veritas NetBackup 10.0.0.1 Linux客户端安装配置操作指南

图片[1]-Linux系统NBU客户端安装配置操作指南-UU技术社区

#客户端添加解析
192.168.x.x  nbu-master
#Maste添加客户端hosts解析
192.168.2.x   client-shot

#Master添加防火墙策略,开放客户端访问
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.2.x" port protocol="tcp" port="1-65535" accept'


#客户端添加防火墙策略,允许Master访问

firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.x.x" port protocol="tcp" port="13720" accept'
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.x.x" port protocol="tcp" port="13724" accept'
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.x.x" port protocol="tcp" port="13782" accept'
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.x.x" port protocol="tcp" port="1556" accept'
firewall-cmd --reload

#客户端查询libnsl是否安装,如果未安装libnsl安装过程中无法获取Master证书,安装完成后服务启动报错
rpm -qa | grep libnsl
#安装libnsl
yum install libnsl


#获取NBU安装包
wget http://ipaddress/html/soft/NBU/NetBackup_10.0.0.1_CLIENTS2.tar.gz

#进入安装包执行安装向导./install

#安装完成查看客户端服务状态,如状态正常,Master无法连接检查客户端证书
#查看客户端证书列表
./nbcertcmd -listCACertDetails
#获取证书
./nbcertcmd -getCACertificate -server nbu-master
#强制获取证书
./nbcertcmd -getCertificate -host client-host -server nbu-master -force

如备份策略设置备份目标为一体机(以5230一体机为例)还需补充配置

###如备份至5230还需开放客户端防火墙端口否则59报错

firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.2.x" port protocol="tcp" port="13720" accept'
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.2.x" port protocol="tcp" port="13724" accept'
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.2.x" port protocol="tcp" port="13782" accept'
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.2.x" port protocol="tcp" port="1556" accept'
firewall-cmd --reload

# vi /usr/openv/netbackup/bp.conf添加如下内容否则58报错
MEDIA_SERVER =  nbu-5230


##可选配置,
#客户端添加5230解析
192.168.3.x     nbu-5230

#5230添加客户端防火墙访问
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="clientip" port protocol="tcp" port="1-65535" accept'

#5230添加客户端解析并验证

#测试解析
nbu-5230:/usr/openv/netbackup/bin # bpclntcmd -hn client-host
client hostname could not be found
alter client: client-host : not found. (48)
#刷新解析缓存
nbu-5230:/usr/openv/netbackup/bin # ./bpclntcmd -clear_host_cache
Successfully cleared host cache
Successfully cleared generic cache
nbu-5230:/usr/openv/netbackup/bin # bpclntcmd -hn vm-aivm32-251
host client-host: client-host at 192.168.2.x
aliases:     client-host     192.168.2.x

#客户端测试连接命令./bptestnetconn

如有其他问题请在评论区留言

© 版权声明
THE END
喜欢就支持一下吧
点赞7赞赏 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容