如何在Linux系统上安装和配置Backup Exec 12.5 Oracle Agent

2025-04-12 23:43:54
推荐回答(1个)
回答1:

  BE11d的Oracle Agent与以前的版本有本质的不同,它采用RMAN来备份Oracle数据库,也支持Linux系统上的Oracle数据库,很多用户对它的配置还不熟悉,特别是在Linux系统上的配置,下面是我所做的一个配置实例。中文部分是我加的说明。
  [root@ora10g lib]#/opt/VRTSralus/bin/AgentConfig // 安装好RALUS之后,请使用root用户来配置代理程序。
  Symantec Backup Exec Remote Agent UtilityChoose one of the following options:
  1. Configure database access
  2. Configure Oracle instance information
  3. Quit
  Please enter your selection: 1 // 要完成两个部分的配置,数据库访问和Oracle实例,下面先配置数据库访问。
  Configuring machine information
  Choose one of the following options:
  1. Add system credentials for Oracle operations2. Edit system credentials used for Oracle operations3. Remove system credentials used for Oracle operations4. View system credentials used for Oracle operations5. Quit
  Please enter your selection: 1 // 添加新的Linux系统级访问凭据。
  Enter a user name that has local system credentials: oracle // Oracle是Linux上面的用户,它必须是beoper组的成员。usermod -G将用户加入多个组//usermod –G groupusernameEnter the password:
  Re-enter password:
  Validating credentials.......
  Do you want to use the full computer name/IP address for Oracle operations? (Y/N):n // 指定名字的好处是,避免因为计算机名字或IP地址的变化导致Recovery Catalog中的记录信息混乱。
  Do you want to use a custom port to connect to the media server during Oracle operations? (Y/N): n// 默认的端口号是5633,建议不要改动它,除非这个端口己经被其它应用程序占用,如果这里做出了改变,介质服务器端也要做同样的修改。
  Commit Oracle operation settings to the configuration file? (Y/N): ySUCCESS: Successfully added the entry to the configuration file.
  //上述配置中的计算机名(如果没有指定就是在介质服务器上连接这台机器时所使用的名字或IP地址),用户名和密码必须也介质服务器全局选项中Oracle选项页中配置的为Oracle和DB2所设置的验证信息完全一致。
  Configuring machine information
  Choose one of the following options:
  1. Add system credentials for Oracle operations2. Edit system credentials used for Oracle operations3. Remove system credentials used for Oracle operations4. View system credentials used for Oracle operations5. Quit
  Please enter your selection: 5
  Symantec Backup Exec Remote Agent UtilityChoose one of the following options:
  1. Configure database access
  2. Configure Oracle instance information
  3. Quit
  Please enter your selection: 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 Utility5. Quit
  Please enter your selection: 1
  Select an Oracle instance to configure
  Entry 1. orcl // 如果RALUS检测到了系统中的Oracle实例,实例名会列在这里供用户选择,如果你的实例名没有出现在这里,请检查Listener和数据库的状态。
  Enter the number 0 to go back
  Enter your selection: 1
  Enter the Oracle database SYSDBA user name: sys // Oralce DBA的账号,推荐使用sys。
  Enter the Oracle database SYSDBA password:
  Re-enter password:
  Validating credentials.......
  Enter the media server name or IP address: be11d // 这里输入介质服务器的名字Do you use a recovery catalog? (Y/N):n // 如果你己经安装好了用做Recovery Catalog的实例并做了初始化,就在这里输入实例名和登录账号,如果没有Recovery Catalog就选n,RMAN编录信息将被写入控制文件。
  Do you want to use a customized job template? (Y/N): n // 这里不需要定义作业模板名,因为你在RMAN脚本中可以使用send “NBBSA_JOB_TEMPLATE=模板名”命令为每个备份指定不同的模板名,当然你要预先在介质服务器端创建好这个模板。
  Commit Oracle operation settings to the configuration file? (Y/N): yRenamed file /u01/app/oracle/oracle/product/10.2.0/db_1/lib/libobk.so to /u01/app/oracle/oracle/product/10.2.0/db_1/lib/libobCreated symbolic link for /opt/VRTSralus/bin/libobk.so at /u01/app/oracle/oracle/product/10.2.0/db_1/lib/libobk.so // 配置向导在Oracle数据库的库文件目录下将libobk.so链接到RALUS的文件,BE接管了RMAN向磁带机写入数据的备份接口,RMAN向 sbt或sbt_tape设备写入数据时,RALUS会把数据传送到介质服务器。
  SUCCESS: Successfully added the entry to the configuration file.
  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 Utility5. Quit
  Please enter your selection: 5
  Symantec Backup Exec Remote Agent UtilityChoose one of the following options:
  1. Configure database access
  2. Configure Oracle instance information
  3. Quit
  Please enter your selection: 3
  [root@ora10g lib]# /etc/init.d/VRTSralus.init start // 配置完成,启动RALUS。
  Starting Symantec Backup Exec Remote Agent ......
  Starting Symantec Backup Exec Remote Agent: [ OK ]
  ##################################################################################安装代理
  安装文档
  配置agent
  主要文件为ralus.cfg这里注意配置格式,需要将media server改为BE server的hostname或者IP address,1. From the /etc/VRTSralus/ directory, open the RALUS.CFG file using a text editor2. To add additional media servers, add the following line:
  SoftwareVERITASBackup ExecEngineAgentsAgent Directory List =
  where is a UNIQUE identifier, 'A', 'B', 'C', '1', '2', '3', and where is the name or IP address of the Backup Exec 10.x media server.