天天看點

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) 的恢複

一流的重複資料删除功能,支援用戶端、媒體伺服器和硬體裝置重複資料删除,優化任意備份戰略

創新的現代化管理控制台可以讓您比以往更輕松地設定備份、管理備份政策、執行災難恢複、将備份轉換為虛拟機,實作即時災難恢複

為實體和虛拟環境中廣泛的作業系統、平台、應用程式和資料庫提供保護,支援磁盤和錄音帶儲存設備

Symantec Backup Exec 2012  Agent  For Linux安裝

步驟一: 檢查作業系統相容性:

Symantec Backup Exec 2012 Agent For Linux安裝

本次安裝系統環境:Oracle Linux Server release 5.7 ,從文檔中可以看出是支援Symantec Backup Exec 2012  Agent  For Linux的

步驟二: 準備安裝媒體。

下載下傳的安裝包RALUS_RMALS_RAMS-1798.17.tar.gz是壓縮的,需要先解包,如果是CD光牒中的安裝程式不是壓縮的,可以直接安裝。需要将安裝媒體挂載(CD光牒)或(鏡像檔案)拷貝到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

Step 3:檢查系統是否符合安裝要求

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.

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

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.

    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

Step 5: 安裝VRTSralus package

Checking Symantec Backup Exec Agent for Linux on nbooraclelnx01:

    Checking VRTSralus package ............................................... not installed

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.

    Removing previous version of initialization scripts ................................................. Done

    Copying new initialization scripts .................................................................. Done

    Updating files for beoper group ..................................................................... Done

    Installing SymSnap driver ........................................................................... Failed

Step 6: 配置自動啟動設定

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.

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 For Linux安裝
Symantec Backup Exec 2012 Agent For Linux安裝

View Code

配置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

     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操作的系統憑據

     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賬号已經對應的密碼

     Please enter your selection: 5

選擇5退出、

     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

     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

選擇4檢視Oracle執行個體的遠端代理程式實用工具已添加的條目

     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: ******

     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

     Created symbolic link for /opt/VRTSralus/bin/libobk.so at /u01/app/oracle/product/10.2.0/db_1/lib/libobk.so

選擇1配置Oracle執行個體相關資訊和Backup Exec Server資訊

     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]#

參考資料;

<a href="http://www.chinaunix.net/old_jh/6/963381.html">http://www.chinaunix.net/old_jh/6/963381.html</a>

<a href="http://blog.sina.com.cn/s/blog_485acedb0100ny0q.html">http://blog.sina.com.cn/s/blog_485acedb0100ny0q.html</a>

<a href="http://www.symantec.com/connect/forums/backup-exec-2012-fedora">http://www.symantec.com/connect/forums/backup-exec-2012-fedora</a>

<a href="http://wenku.baidu.com/view/a972381e6edb6f1aff001f49.html">http://wenku.baidu.com/view/a972381e6edb6f1aff001f49.html</a>

繼續閱讀