Oracle 12c R2 new feature dbca 命令可以建立standby 庫

來源:互聯網
上載者:User

Oracle 12c R2 new feature dbca 命令可以建立standby 庫

Oracle從12c R2 版本開始,dbca 命令提供建立standby備庫的文法:

文法如下:

dbca -silent -createDuplicateDB -gdbName BOS.domain.com -sid BOS1 -sysPassword oracle -primaryDBConnectionString MyHost.domain.com:1521/bos.domain.com -createAsStandby -dbUniquename BOS1 -customScripts $ORACLE_HOME/PostCR.sql

前提條件:

1:要在standby server上安裝好oracle 軟體和啟動監聽

2:配置好tnsnames for dataguard

3:如果有db broker也要配置

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.