BE备份数据库RAC.docx

上传人:b****6 文档编号:5245820 上传时间:2022-12-14 格式:DOCX 页数:11 大小:217.20KB
下载 相关 举报
BE备份数据库RAC.docx_第1页
第1页 / 共11页
BE备份数据库RAC.docx_第2页
第2页 / 共11页
BE备份数据库RAC.docx_第3页
第3页 / 共11页
BE备份数据库RAC.docx_第4页
第4页 / 共11页
BE备份数据库RAC.docx_第5页
第5页 / 共11页
点击查看更多>>
下载资源
资源描述

BE备份数据库RAC.docx

《BE备份数据库RAC.docx》由会员分享,可在线阅读,更多相关《BE备份数据库RAC.docx(11页珍藏版)》请在冰豆网上搜索。

BE备份数据库RAC.docx

BE备份数据库RAC

1、数据库归档模式

2、安装RALUS

2.1、安装包RALUS_RMALS_RAMS-1798.17.tar.gz是压缩的,需要先解包,

如果是光盘中的安装程序不是压缩的,可以直接安装。

需要将安装介质挂载(光盘)或(镜像文件)拷贝到Linux服务器

2.2、安装SymantecBackupExec2012 Agent ForLinux

[root@rac01BE2012]# mkdirralus

[root@rac01BE2012]# tar-zxvfRALUS_RMALS_RAMS-1798.17.tar.gz-C/depot/os/BE2012/ralus

[root@rac01BE2012]# cdralus

[root@rac01ralus]# ./installralus

Step1:

检查系统配置

SymantecBackupExecAgentforLinux14.0.1798

EnterthesystemnamesseparatedbyspacesonwhichtoinstallRALUS:

(rac01)rac01

Checkingsystemcommunication:

CheckingOSversiononrac01.............................Linux2.6.32-200.13.1.el5uek

Checkingsystemsupportforrac01........................Linux2.6.32-200.13.1.el5ueksupportedbyRALUS

Initialsystemcheckcompletedsuccessfully.

Press[Return]tocontinue:

Step2:

安装VRTSralus

SymantecBackupExecAgentforLinux14.0.1798

installraluswillinstallthefollowingRALUSpackagesonLinuxtargetsystem:

rac01

VRTSralus       SymantecBackupExecAgentforLinux

Press[Return]tocontinue:

Step3:

检查系统是否符合安装要求

SymantecBackupExecAgentforLinux14.0.1798

Checkingsysteminstallationrequirements:

CheckingRALUSinstallationrequirementsonLinuxtargetsystems:

rac01

CheckingRALUSinstallationrequirementsonrac01:

Checkingfilesystemspace.............................................................requiredspaceisavailable

Installationrequirementscheckscompletedsuccessfully.

Press[Return]tocontinue:

StoppingSymantecagentservice.................................................................................Done

Checkingforport10000......................................................................................Done

Step4:

配置BEServer信息

AgentandBackupExecserverConfiguration

EnterthenamesorIPaddressesoftheBackupExecserversthatyouwanttheagenton'rac01'tocommunicatewith.

AnIPAddress:

192.168.52.2

AHostName:

backupserver

Enteradirectoryhost:

192.168.52.2

Doyouwanttoaddanothernameoraddressforthisagent?

[y,n](n)n

AgentandBackupExecserverConfiguration

Hostnamesand/orIPaddressesverificationfor'rac01':

Address:

192.168.52.201

Isthisinformationcorrect?

[y,n](y)y

Step5:

检查/配置beoper用户组

AgentandBackupExecserverConfiguration

Toperformbackups,youmusthavea'beoper'usergroupconfiguredwithrootaccountpriviledgesonthesystem.The'beoper'usergroupcanbecreatedonallsystemsexceptNISServers.

Afterpressing[Return],thesystem'rac01'willbescannedtodetecta'beoper'usergroupwithrootaccountprivileges.ItwillalsoscanforaNISserver.

Press[Return]tocontinue:

CheckingforNISserver:

..........................................No

Checkingfor'beoper'usergroup:

...........................NotFound

Checkingfor'root'usermembershipin'beoper'usergroup:

...NotFound

Youcancreate'beoper'usergroupmanuallyoryoucanchoosetohaveitcreatedautomatically.

Doyouwantinstallertocreate'beoper'usergroupon'rac01'?

[y,n](y)y

DoyouwanttousespecificgroupIDwhencreating'beoper'usergroup?

[y,n](n)n

Creatinggroup'beoper':

.........................................Done

Doyouwanttoaddthe'root'userto'beoper'usergroup?

[y,n](y)y

Adding'root'userto'beoper'usergroup:

......................Done

Press[Return]tocontinue:

Step5:

安装VRTSraluspackage

SymantecBackupExecAgentforLinux14.0.1798

CheckingSymantecBackupExecAgentforLinuxonrac01:

CheckingVRTSraluspackage...............................................notinstalled

Press[Return]tocontinue:

SymantecBackupExecAgentforLinux14.0.1798

InstallingSymantecBackupExecAgentforLinuxonrac01:

InstallingVRTSralus14.0.1798onrac01.......................................done1of1steps

SymantecBackupExecAgentforLinuxinstallationcompletedsuccessfully.

Press[Return]tocontinue:

Removingpreviousversionofinitializationscripts.................................................Done

Copyingnewinitializationscripts..................................................................Done

Updatingfilesforbeopergroup.....................................................................Done

InstallingSymSnapdriver...........................................................................Failed

Step6:

配置自动启动设置

SymantecBackupExecAgentforLinux14.0.1798

ConfiguringSymantecBackupExecAgentforLinux:

Creatingconfigurationfilesonrac01.....................................................Done

Theagentinstallercanautomaticallystarttheagentaftertheinstallationcompletes.Doyouwanttoautomaticallystarttheagenton'rac01'?

[y,n](y)y

Startingagentonrac01...................................................................Done

ToestablishatrustbetweentheBackupExecserverandtheagent,movetotheBackupExecserverandaddtheagentcomputertothelistofservers.

Toaddtheagentcomputer,clickAddontheBackupandRestoretab.

SymantecBackupExecAgentforLinuxconfiguredsuccessfully.

Press[Return]tocontinue:

Theresponsefileissavedat:

/var/tmp/vxif/installralus724135530/installralus724135530.response

Theinstallraluslogissavedat:

/var/tmp/vxif/installralus724135530/installralus.log

安装成功,此时可以查看安装日志

Step7:

配置数据库服务器访问

使用以下命令将用户oracle添加到beoper组:

 

[root@popgo-tsdb ralus]# usermod -a-G beoper oracle

在每一个节点上复制/etc/oratab到/etc/VRTSralus/beoratab,并使用vi对/etc/VRTSralus/beoratab进行编辑

在本例子中虚拟实例为TESTDB,在节点1上的物理实例为TESTDB1,节点2的物理实例为TESTDB2。

下图为在节点1上修改后的配置,在节点2上红色圈起部分应该为TESTDB2:

用root下执行下面命令./AgentConfig,进入配置步骤

[root@rac01bin]# ./AgentConfig

SymantecBackupExecRemoteAgentUtility

    Chooseoneofthefollowingoptions:

    1.Configuredatabaseaccess

    2.ConfigureOracleinstanceinformation

    3.Quit

    Pleaseenteryourselection:

 1

选择1,配置数据库访问设置

Configuringmachineinformation

    Chooseoneofthefollowingoptions:

    1.AddsystemcredentialsforOracleoperations

    2.EditsystemcredentialsusedforOracleoperations

    3.RemovesystemcredentialsusedforOracleoperations

    4.ViewsystemcredentialsusedforOracleoperations

    5.Quit

    Pleaseenteryourselection:

 4

    Noobjectshavebeenconfigured.

选择4,查看Oracle操作的系统凭据

Configuringmachineinformation

    Chooseoneofthefollowingoptions:

    1.AddsystemcredentialsforOracleoperations

    2.EditsystemcredentialsusedforOracleoperations

    3.RemovesystemcredentialsusedforOracleoperations

    4.ViewsystemcredentialsusedforOracleoperations

    5.Quit

    Pleaseenteryourselection:

 1

    Enterausernamethathaslocalsystemcredentials:

oracle

    Enterthepassword:

********

    Re-enterpassword:

********

    Validatingcredentials.......

    DoyouwanttouseacustomporttoconnecttotheBackupExecserverduringOracleoperations?

(Y/N):

 N

    CommitOracleoperationsettingstotheconfigurationfile?

(Y/N):

 y

    SUCCESS:

Successfullyaddedtheentrytotheconfigurationfile.

选择1,输入oracle账号已经对应的密码

Configuringmachineinformation

    Chooseoneofthefollowingoptions:

    1.AddsystemcredentialsforOracleoperations

    2.EditsystemcredentialsusedforOracleoperations

    3.RemovesystemcredentialsusedforOracleoperations

    4.ViewsystemcredentialsusedforOracleoperations

    5.Quit

    Pleaseenteryourselection:

 5

选择5退出、

用oracle下执行下面命令./AgentConfig,进入配置步骤

SymantecBackupExecRemoteAgentUtility

    Chooseoneofthefollowingoptions:

    1.Configuredatabaseaccess

    2.ConfigureOracleinstanceinformation

    3.Quit

    Pleaseenteryourselection:

 2

然后选择2进入Oracle实例信息配置

IfthiscomputerisaRACnode,youmustperformadditionalstepsforconfigurationbeforeyoucontinue.Refertothereadmefortheseadditionalsteps.

ConfiguringtheOracleAgent

    Chooseoneofthefollowingoptions:

    1.AddanewOracleinstancetoprotect

    2.EditanexistingOracleinstance

    3.DeleteanexistingOracleinstance

    4.ViewOracleinstanceentriesthathavebeenaddedintheRemoteAgentUtility

    5.Quit

    Pleaseenteryourselection:

 4

    Noobjectshavebeenconfigured.

选择4查看Oracle实例的远程代理程序实用工具已添加的条目

ConfiguringtheOracleAgent

    Chooseoneofthefollowingoptions:

    1.AddanewOracleinstancetoprotect

    2.EditanexistingOracleinstance

    3.DeleteanexistingOracleinstance

    4.ViewOracleinstanceentriesthathavebeenaddedintheRemoteAgentUtility

    5.Quit

    Pleaseenteryourselection:

 1

    SelectanOracleinstancetoconfigure

         Entry1.EPPS

         Enterthenumber0togoback

    Enteryourselection:

1

    EntertheOracledatabaseSYSDBAusername:

 sys

    EntertheOracledatabaseSYSDBApassword:

 ******

    Re-enterpassword:

 ******

    Validatingcredentials.......

    EntertheBackupExecservernameorIPaddress:

 192.168.xx.xx

    Doyouusearecoverycatalog?

(Y/N):

n

    Doyouwanttouseacustomizedjobtemplate?

(Y/N):

 n

    CommitOracleoperationsettingstotheconfigurationfile?

(Y/N):

 y

    Createdsymboliclinkfor/opt/VRTSralus/bin/libobk.soat/u01/app/oracle/product/10.2.0/db_1/lib/libobk.so

    SUCCESS:

Successfullyaddedtheentrytotheconfigurationfile.

选择1配置Oracle实例相关信息和BackupExecServer信息

ConfiguringtheOracleAgent

    Chooseoneofthefollowingoptions:

    1.AddanewOracleinstancetoprotect

    2.EditanexistingOracleinstance

    3.DeleteanexistingOracleinstance

    4.ViewOracleinstanceentriesthathavebeenaddedintheRemoteAgentUtility

    5.Quit

    Pleaseenteryourselection:

 5

SymantecBackupExecRemoteAgentUtility

    Chooseoneofthef

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 艺术

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1