1. 程式人生 > 其它 >NBU軟體master&media的安裝(Linux環境)

NBU軟體master&media的安裝(Linux環境)

NBU軟體master&media的安裝(Linux環境)

注意: 1.此安裝配置測試適用於nbu7.7.3 – 8.1.2版本,其他版本可能有些出入,需要檢視官方文件,nbu8.1.1之後的版本安裝需要提前準備veritas_…

注意:

1.此安裝配置測試適用於nbu7.7.3 – 8.1.2版本,其他版本可能有些出入,需要檢視官方文件,nbu8.1.1之後的版本安裝需要提前準備veritas_customer_registration_key.json

2.防火牆和selinux是關閉,作業系統版本Redhat7.x,若使用suse或debian作業系統需要查詢支援版本,NBU暫時不支援Ubuntu,centos作業系統,可以裝來測試,但不建議用在生產上

3.生產上一般把NBU安裝在Windows,Redhat或suse作業系統上

一、master server的安裝

1.配置伺服器hosts檔案

# vim /etc/hosts

192.1.3.200 nbumaster #新增伺服器業務IP和主機名的hosts解析

2.建立nbwebsvc使用者及nbwebgrp組

# groupadd nbwebgrp

# mkdir -p /usr/openv/wmc #建立目錄,否則下面命令會報錯

# useradd -g nbwebgrp -c ‘NetBackup Web Services Account’ -d /usr/openv/wmc nbwebsvc

3.修改核心引數及ulimint限制

# echo “kernel.sem=300 307200 32 1024”>> /etc/sysctl.conf #永久生效,一般這樣配置

# sysctl -p

# vim /etc/security/limits.conf #修改限制,重新登入使用者後生效

* soft nproc 2047

* hard nproc 16384

* soft nofile 8192

* hard nofile 65536

4.安裝

# tar xf NetBackup_8.1.2_LinuxR_x86_64.tar.gz

# cd NetBackup_8.1.2_LinuxR_x86_64

# ./install

Veritas Installation Script

Do you wish to continue? [y,n] (y) y

Is this host the master server? [y,n] (y) y

Are you currently performing a disaster recovery of a master server? [y,n] (n) n

/tmp/veritas_customer_registration_key.json

Do you want to install NetBackup and Media Manager files? [y,n] (y) y

Enter license key:

xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx:

Do you want to add additional license keys now? [y,n] (y) n

NetBackup server name of this machine? [y,n] (y) y

Do you want to add any media servers now? [y,n] (n) n

5.修改環境變數

# vim /etc/profile

PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/goodies:/usr/openv/netbackup/bin/admincmd:/usr/openv/volmgr/bin

export PATH

# source /etc/profile

二、media server的安裝

1.master和media都是用的同一個安裝包,作業系統的環境配置都一樣

2.安裝過程中才會提示這臺伺服器是否為master,然後如果選n,再輸入master的名稱,其餘步驟可以參考master的安裝

作者:Brendansmisle
連結:https://www.jianshu.com/p/28a38bc54c3c
來源:簡書
著作權歸作者所有。商業轉載請聯絡作者獲得授權,非商業轉載請註明出處。