Symantec Backup Exec 2012 Agent For Linux安裝
Backup Exec 2012 介紹
Backup Exec 2012 是一種為虛擬和物理環境提供保護的集成產品,能夠簡化備份和災難恢復,並提供了無可匹敵的恢復功能。借助於強大的 Symantec V-Ray 技術,Backup Exec 2012 可以恢復整個服務器、關鍵 Microsoft 應用程序以及 VMware 或 Microsoft Hyper-V 虛擬環境,從而最大限度減少業務停機。
主要功能
- 使用獲得專利的 V-Ray 技術,通過一次性備份在數秒內輕松地恢復虛擬機、應用程序、數據庫、文件/文件夾或全面恢復
- 虛擬機無代理備份
- 集成強大的恢復功能,可恢復到裸機、不同硬件以及從物理到虛擬 (P2V) 的恢復
- 一流的重復數據刪除功能,支持客戶端、介質服務器和硬件設備重復數據刪除,優化任意備份戰略
- 創新的現代化管理控制臺可以讓您比以往更輕松地設置備份、管理備份策略、執行災難恢復、將備份轉換為虛擬機,實現即時災難恢復
- 為物理和虛擬環境中廣泛的操作系統、平臺、應用程序和數據庫提供保護,支持磁盤和磁帶存儲設備
更多內容可以參考官網介紹:http://www.symantec.com/zh/cn/backup-exec
Symantec Backup Exec 2012 Agent For Linux安裝
步驟一: 檢查操作系統兼容性:
首先,請查看官網提供的文檔“be_2012_scl.pdf”,http://www.symantec.com/business/support/index?page=content&id=tech175581上面有各個版本Liux系統是否支持Backup Exec 2012 Server、Agent的具體文檔信息。如下圖截圖所示
本次安裝系統環境:Oracle Linux Server release 5.7 ,從文檔中可以看出是支持Symantec Backup Exec 2012 Agent For Linux的
步驟二: 準備安裝介質。
首先,RALUS的安裝程序較大,被放在單獨的光盤中提供。如果沒有安裝光盤,也可以通過Symantec網站下載,官網提供使試用下載,不過需要註冊。URL 地址http://www.symantec.com/zh/cn/backup-exec
下載的安裝包RALUS_RMALS_RAMS-1798.17.tar.gz是壓縮的,需要先解包,如果是光盤中的安裝程序不是壓縮的,可以直接安裝。需要將安裝介質掛載(光盤)或(鏡像文件)拷貝到Linux服務器
步驟三: 安裝Symantec Backup Exec 2012 Agent For Linux,
紅色部分表示需要手動輸入的部分信息
[[email protected] BE2012]# mkdir ralus
[[email protected] BE2012]# tar -zxvf RALUS_RMALS_RAMS-1798.17.tar.gz -C /depot/os/BE2012/ralus
[[email protected] BE2012]# cd ralus
[[email protected] ralus]# ./installralus
Step 1:檢查系統配置
Symantec Backup Exec Agent for Linux 14.0.1798
Enter the system names separated by spaces on which to install RALUS: (nbooraclelnx01)nbooraclelnx01
Checking system communication:
Checking OS version on nbooraclelnx01 ............................. Linux 2.6.32-200.13.1.el5uek
Checking system support for nbooraclelnx01 ........................ Linux 2.6.32-200.13.1.el5uek supported by RALUS
Initial system check completed successfully.
Press [Return] to continue:
Step 2:安裝VRTSralus
Symantec Backup Exec Agent for Linux 14.0.1798
installralus will install the following RALUS packages on Linux target system: nbooraclelnx01
VRTSralus Symantec Backup Exec Agent for Linux
Press [Return] to continue:
Step 3:檢查系統是否符合安裝要求
Symantec Backup Exec Agent for Linux 14.0.1798
Checking system installation requirements:
Checking RALUS installation requirements on Linux target systems: nbooraclelnx01
Checking RALUS installation requirements on nbooraclelnx01:
Checking file system space ............................................................. required space is available
Installation requirements checks completed successfully.
Press [Return] to continue:
Stopping Symantec agent service ................................................................................. Done
Checking for port 10000 ......................................................................................Done
Step 4:配置BE Server信息
Agent and Backup Exec server Configuration
Enter the names or IP addresses of the Backup Exec servers that you want the agent on ‘nbooraclelnx01‘ to communicate with.
An IP Address: XXX.XXX.XXX.XXX
A Host Name: COMPUTERNAME
Enter a directory host:192.168.xx.xx
Do you want to add another name or address for this agent? [y, n] (n)n
Agent and Backup Exec server Configuration
Hostnames and/or IP addresses verification for ‘nbooraclelnx01‘:
Address: 192.168.16.16
Is this information correct? [y, n] (y)y
Step 5: 檢查/配置beoper用戶組
Agent and Backup Exec server Configuration
To perform backups, you must have a ‘beoper‘ user group configured with root account priviledges on the system. The ‘beoper‘ user group can be created on all systems except NIS Servers.
After pressing [Return], the system ‘nbooraclelnx01‘ will be scanned to detect a ‘beoper‘ user group with root account privileges. It will also scan for a NIS server.
Press [Return] to continue:
Checking for NIS server: .......................................... No
Checking for ‘beoper‘ user group: ........................... Not Found
Checking for ‘root‘ user membership in ‘beoper‘ user group: ... Not Found
You can create ‘beoper‘ user group manually or you can choose to have it created automatically.
Do you want installer to create ‘beoper‘ user group on ‘nbooraclelnx01‘? [y, n] (y)y
Do you want to use specific group ID when creating ‘beoper‘ user group? [y, n] (n)n
Creating group ‘beoper‘: ......................................... Done
Do you want to add the ‘root‘ user to ‘beoper‘ user group? [y, n] (y)y
Adding ‘root‘ user to ‘beoper‘ user group: ...................... Done
Press [Return] to continue:
Step 5: 安裝VRTSralus package
Symantec Backup Exec Agent for Linux 14.0.1798
Checking Symantec Backup Exec Agent for Linux on nbooraclelnx01:
Checking VRTSralus package ............................................... not installed
Press [Return] to continue:
Symantec Backup Exec Agent for Linux 14.0.1798
Installing Symantec Backup Exec Agent for Linux on nbooraclelnx01:
Installing VRTSralus 14.0.1798 on nbooraclelnx01 ....................................... done 1 of 1 steps
Symantec Backup Exec Agent for Linux installation completed successfully.
Press [Return] to continue:
Removing previous version of initialization scripts ................................................. Done
Copying new initialization scripts .................................................................. Done
Updating files for beoper group ..................................................................... Done
Installing SymSnap driver ........................................................................... Failed
Step 6: 配置自動啟動設置
Symantec Backup Exec Agent for Linux 14.0.1798
Configuring Symantec Backup Exec Agent for Linux:
Creating configuration files on nbooraclelnx01 ..................................................... Done
The agent installer can automatically start the agent after the installation completes. Do you want to automatically start the agent on ‘nbooraclelnx01‘? [y, n] (y)y
Starting agent on nbooraclelnx01 ................................................................... Done
To establish a trust between the Backup Exec server and the agent, move to the Backup Exec server and add the agent computer to the list of servers.
To add the agent computer, click Add on the Backup and Restore tab.
Symantec Backup Exec Agent for Linux configured successfully.
Press [Return] to continue:
The response file is saved at:
/var/tmp/vxif/installralus724135530/installralus724135530.response
The installralus log is saved at:
/var/tmp/vxif/installralus724135530/installralus.log
安裝成功,此時可以查看安裝日誌(註意Installing SymSnap Driver Failed 是因為操作系統版本原因,不影響BE2012 Agent的備份工作),註意在BE Server端可能訪問不到BE Agent客戶端,這時需要配置iptables或關閉iptables,個人建議配置iptables比較好,後面文章將探討這個問題。
View Code
配置Symantec Backup Exec 2012 Agent
[[email protected] BE2012]# cd /opt/VRTSralus/bin/
[[email protected] bin]# ls
AgentConfig libbedscomn.so libbenetutl.so libcrbproxy.so libmetab.so libnrdsparameter.so libsth.so libvxbsa.so mktls
bediag libbedsedir.so libbeobk.so libcr.so libndmpclient.so libobk.so libsthtar.so libvxcrypto.so.5 pd.conf
begather libbedsrman.so libbescsicap.so libcrypto.so.0.9.8 libndmpcomm.so libpd.so libstsapi.so libvxicudata.so pdregister
beremote libbedssmsp.so libbesocket.so libcurl.so.4 libndmp_dsss.so libpdvfs.so libstsimage.so libvxicui18n.so rptool
crbclnt libbedssms.so libbestdutl.so libdbsbora.so libndmp_loops.so libpuredisk++.so libstspipdMT.so libvxicuuc.so svr_begather.cfg
hct libbedsvx.so libBESymBDSnapSC.so libdbsb.so libndmpsrvr.so libsmstools.so libstspipd.so libvxssl.so.5 tracercli
libACE.so.5.8.0 libbeengsvr.so libbetools.so libdct.so libndmp_tpfmt.so libssh2.so.1 libstspisimdisk.so libvxTAO.so.6 VRTSralus.init
libACE_SSL.so.5.8.0 libbenetapi.so libBEUnixSC.so libDeviceIo.so libnrdscommon.so libssl.so.0.9.8 libsts.so libvxustdio.so
libbebsdu.so libbenetns.so libbe_util.so libeng_dsss.so libnrdsmessage.so libsthapi.so libtapesrvr.so libxml2.so.2
libbecluster.so libbenettcp.so libbsafs.so libfsysora.so libnrdsnet.so libsthpimtfMT.so libvxACE.so.6 libz.so.1
執行下面命令 ./AgentConfig ,進入配置步驟
[[email protected] bin]# ./AgentConfig
Symantec Backup Exec Remote Agent Utility
Choose one of the following options:
1. Configure database access
2. Configure Oracle instance information
3. Quit
Please enter your selection: 1
選擇1,配置數據庫訪問設置
Configuring machine information
Choose one of the following options:
1. Add system credentials for Oracle operations
2. Edit system credentials used for Oracle operations
3. Remove system credentials used for Oracle operations
4. View system credentials used for Oracle operations
5. Quit
Please enter your selection: 4
No objects have been configured.
選擇4,查看Oracle操作的系統憑據
Configuring machine information
Choose one of the following options:
1. Add system credentials for Oracle operations
2. Edit system credentials used for Oracle operations
3. Remove system credentials used for Oracle operations
4. View system credentials used for Oracle operations
5. Quit
Please enter your selection: 1
Enter a user name that has local system credentials: oracle
Enter the password: ********
Re-enter password: ********
Validating credentials.......
Do you want to use a custom port to connect to the Backup Exec server during Oracle operations? (Y/N): N
Commit Oracle operation settings to the configuration file? (Y/N): y
SUCCESS: Successfully added the entry to the configuration file.
選擇1,輸入oracle賬號已經對應的密碼
Configuring machine information
Choose one of the following options:
1. Add system credentials for Oracle operations
2. Edit system credentials used for Oracle operations
3. Remove system credentials used for Oracle operations
4. View system credentials used for Oracle operations
5. Quit
Please enter your selection: 5
選擇5退出、
Symantec Backup Exec Remote Agent Utility
Choose one of the following options:
1. Configure database access
2. Configure Oracle instance information
3. Quit
Please enter your selection: 2
然後選擇2進入Oracle 實例信息配置
If this computer is a RAC node, you must perform additional steps for configuration before you continue. Refer to the readme for these additional steps.
Configuring the Oracle Agent
Choose one of the following options:
1. Add a new Oracle instance to protect
2. Edit an existing Oracle instance
3. Delete an existing Oracle instance
4. View Oracle instance entries that have been added in the Remote Agent Utility
5. Quit
Please enter your selection: 4
No objects have been configured.
選擇4查看Oracle實例的遠程代理程序實用工具已添加的條目
Configuring the Oracle Agent
Choose one of the following options:
1. Add a new Oracle instance to protect
2. Edit an existing Oracle instance
3. Delete an existing Oracle instance
4. View Oracle instance entries that have been added in the Remote Agent Utility
5. Quit
Please enter your selection: 1
Select an Oracle instance to configure
Entry 1. EPPS
Enter the number 0 to go back
Enter your selection: 1
Enter the Oracle database SYSDBA user name: sys
Enter the Oracle database SYSDBA password: ******
Re-enter password: ******
Validating credentials.......
Enter the Backup Exec server name or IP address: 192.168.xx.xx
Do you use a recovery catalog? (Y/N):n
Do you want to use a customized job template? (Y/N): n
Commit Oracle operation settings to the configuration file? (Y/N): y
Created symbolic link for /opt/VRTSralus/bin/libobk.so at /u01/app/oracle/product/10.2.0/db_1/lib/libobk.so
SUCCESS: Successfully added the entry to the configuration file.
選擇1配置Oracle實例相關信息和Backup Exec Server信息
Configuring the Oracle Agent
Choose one of the following options:
1. Add a new Oracle instance to protect
2. Edit an existing Oracle instance
3. Delete an existing Oracle instance
4. View Oracle instance entries that have been added in the Remote Agent Utility
5. Quit
Please enter your selection: 5
Symantec Backup Exec Remote Agent Utility
Choose one of the following options:
1. Configure database access
2. Configure Oracle instance information
3. Quit
Please enter your selection: 3
啟動停止Symantec Backup Exec Remote Agent Utility
[[email protected] bin]#
[[email protected] bin]# /etc/init.d/VRTSralus.init stop
Stopping Symantec Backup Exec Remote Agent ...
Stopping Symantec Backup Exec Remote Agent: [ OK ]
[[email protected] bin]# /etc/init.d/VRTSralus.init start
Starting Symantec Backup Exec Remote Agent ......
Starting Symantec Backup Exec Remote Agent: [ OK ]
[[email protected] bin]#
參考資料;
http://www.chinaunix.net/old_jh/6/963381.html
http://blog.sina.com.cn/s/blog_485acedb0100ny0q.html
http://www.symantec.com/connect/forums/backup-exec-2012-fedora
http://wenku.baidu.com/view/a972381e6edb6f1aff001f49.html
Symantec Backup Exec 2012 Agent For Linux安裝