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,
红色部分表示需要手动输入的部分信息
[root@nbooraclelnx01 BE2012]# mkdir ralus
[root@nbooraclelnx01 BE2012]# tar -zxvf RALUS_RMALS_RAMS-1798.17.tar.gz -C /depot/os/BE2012/ralus
[root@nbooraclelnx01 BE2012]# cd ralus
[root@nbooraclelnx01 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比较好,后面文章将探讨这个问题。
配置Symantec Backup Exec 2012 Agent
[root@nbooraclelnx01 BE2012]# cd /opt/VRTSralus/bin/
[root@nbooraclelnx01 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 ,进入配置步骤
[root@nbooraclelnx01 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
[root@nbooraclelnx01 bin]#
[root@nbooraclelnx01 bin]# /etc/init.d/VRTSralus.init stop
Stopping Symantec Backup Exec Remote Agent ...
Stopping Symantec Backup Exec Remote Agent: [ OK ]
[root@nbooraclelnx01 bin]# /etc/init.d/VRTSralus.init start
Starting Symantec Backup Exec Remote Agent ......
Starting Symantec Backup Exec Remote Agent: [ OK ]
[root@nbooraclelnx01 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