單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(2)
單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(1):http://space.itpub.net/81227/viewspace-701181
這一部分是Standby端配置
1.建立備庫存放資料檔案和後臺跟蹤目錄。
$ORACLE_BASE/ORADATA/stby
$ORACLE_BASE/ORADATA/stby/arch
$ORACLE_BASE/admin/stby
$ORACLE_BASE/admin/stby/adump
$ORACLE_BASE/admin/stby/bdump
$ORACLE_BASE/admin/stby/cdump
$ORACLE_BASE/admin/stby/dpdump
$ORACLE_BASE/admin/stby/pfile
$ORACLE_BASE/admin/stby/udump
2. 修改初始化引數檔案
$ cp /tmp/init.ora /tmp/initstby.ora
在initstby.ora 修改如下內容:
*.DB_UNIQUE_NAME='stby'
*.log_archive_config='DG_CONFIG=(orcl,stby)'
*.log_archive_dest_1='LOCATION=/u1/app/oracle/oradata/stby/arch valid_for=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stby'
*.log_archive_dest_2='SERVICE=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLES) DB_UNIQUE_NAME=orcl'
*.log_archive_max_processes=2
*.standby_file_management='AUTO'
*.standby_archive_dest=' ?/dbs/arch'
*.FAL_SERVER='orcl'
*.FAL_CLIENT='stby'
*.log_file_name_convert='orcl','stby'
*.db_file_name_convert='orcl','stby'
3. 在備庫用initstby.ora啟動,並生成spfile,最後啟動到mount狀態,準備建立standby庫:
SQL> startup mount pfile='/tmp/initstby.ora'
SQL> create spfile from pfile='/tmp/initstby.ora';
SQL> shutdown immediate;
SQL> startup nomount;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/81227/viewspace-701198/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(10)LinuxOracle 10g
- 單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(9)LinuxOracle 10g
- 單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(8)LinuxOracle 10g
- 單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(7)LinuxOracle 10g
- 單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(6)LinuxOracle 10g
- 單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(5)LinuxOracle 10g
- 單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(4)LinuxOracle 10g
- 單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(3)LinuxOracle 10g
- 單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(1)LinuxOracle 10g
- 單機Linux平臺Oracle 11g DataGuard Physical Standby 搭建例項(2)LinuxOracle
- 單機Linux平臺Oracle 11g DataGuard Physical Standby 搭建例項(7)LinuxOracle
- 單機Linux平臺Oracle 11g DataGuard Physical Standby 搭建例項(6)LinuxOracle
- 單機Linux平臺Oracle 11g DataGuard Physical Standby 搭建例項(5)LinuxOracle
- 單機Linux平臺Oracle 11g DataGuard Physical Standby 搭建例項(4)LinuxOracle
- 單機Linux平臺Oracle 11g DataGuard Physical Standby 搭建例項(3)LinuxOracle
- 單機Linux平臺Oracle 11g DataGuard Physical Standby 搭建例項(1)LinuxOracle
- 單機Linux平臺Oracle 10g DataGuard Logical Standby 搭建例項LinuxOracle 10g
- Oracle Data Guard Linux 平臺 Physical Standby 搭建例項 -2OracleLinux
- 單機Linux平臺Oracle10g DataGuard Logical Standby搭建例項(2)LinuxOracle
- Oracle Data Guard Linux 平臺 Physical Standby 搭建例項OracleLinux
- Oracle Data Guard Linux 平臺 Physical Standby 搭建例項-3OracleLinux
- Oracle Data Guard Linux 平臺 Physical Standby 搭建例項 -1OracleLinux
- 單機Linux平臺Oracle10g DataGuard Logical Standby搭建例項(6)LinuxOracle
- 單機Linux平臺Oracle10g DataGuard Logical Standby搭建例項(5)LinuxOracle
- 單機Linux平臺Oracle10g DataGuard Logical Standby搭建例項(4)LinuxOracle
- 單機Linux平臺Oracle10g DataGuard Logical Standby搭建例項(3)LinuxOracle
- Oracle 10G windows 平臺 DataGuard 例項Oracle 10gWindows
- 配置 Oracle 10g 單例項物理dataguard和邏輯standbyOracle 10g單例
- 在Oracle 10g下單機Physical StandbyOracle 10g
- 配置 Oracle 10g RAC primary + RAC physical standby dataguardOracle 10g
- 【DG】在Linux平臺上搭建單例項的dataguard--duplicateLinux單例
- Linux平臺Oracle 11g DataGuard Physical Standby 非正常關閉後的啟動LinuxOracle
- Oracle11g 搭建單例項DataGuardOracle單例
- DataGuard:Physical Standby Switchover
- 【DG】在Linux平臺上搭建單例項的dataguard--rman還原方式Linux單例
- 【DataGuard】Oracle 11g physical standby switchoverOracle
- Step By Step Configure DataGuard (10g) Physical Standby Database On Linux X86_64(2/2)DatabaseLinux
- DataGuard:Physical Standby FailoverAI