部署Oracle 11gR2 Data Guard安裝記錄(1)
相關文章:
《部署Oracle 11gR2 Data Guard安裝記錄(2)》http://space.itpub.net/23135684/viewspace-757999
以下是部署Oracle 11gR2 Data Guard的安裝記錄,Oracle Database的軟體版本是11.2.0.3。
使用RMAN DUPLICATE複製standby資料庫的最後收到如下告警:
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 1 thread 1: '/u01/app/oracle/oradata/orcl/redo01.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/orcl/redo02.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/orcl/redo03.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 4 thread 1: '/u01/app/oracle/oradata/orcl/sredo04.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 5 thread 1: '/u01/app/oracle/oradata/orcl/sredo05.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 6 thread 1: '/u01/app/oracle/oradata/orcl/sredo06.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 7 thread 1: '/u01/app/oracle/oradata/orcl/sredo07.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
Finished Duplicate Db at 2013-04-07 08:15:33
該告警的處理參考文章:https://blogs.oracle.com/Database4CN/entry/11g_%E6%96%B0%E7%89%B9%E6%80%A7_active_database_duplication1
解決方法:
在主備資料庫設定LOG_FILE_NAME_CONVERT引數,即使引數的兩個值相同也需要設定。例如:
LOG_FILE_NAME_CONVERT='/u01/app/oracle/oradata/orcl','/u01/app/oracle/oradata/orcl',該引數需要重啟例項才能生效,之後清除備用資料庫,在主資料庫重新執行duplicate操作即可。
成功duplicate之後,主資料庫的日誌不能傳輸到Standby資料庫,在主資料庫告警日誌中顯示如下告警資訊:
2013-04-07 08:15:32.828000 +08:00
ALTER SYSTEM ARCHIVE LOG
Thread 1 advanced to log sequence 35 (LGWR switch)
Current log# 2 seq# 35 mem# 0: /u01/app/oracle/oradata/orcl/redo02.log
Archived Log entry 9 added for thread 1 sequence 34 ID 0x4fccf4e3 dest 1:
2013-04-07 08:19:37.932000 +08:00
Thread 1 advanced to log sequence 36 (LGWR switch)
Current log# 3 seq# 36 mem# 0: /u01/app/oracle/oradata/orcl/redo03.log
Archived Log entry 10 added for thread 1 sequence 35 ID 0x4fccf4e3 dest 1:
2013-04-07 08:19:45.210000 +08:00
Error 12154 received logging on to the standby
PING[ARC2]: Heartbeat failed to connect to standby 'orcldg1'. Error is 12154.
2013-04-07 08:20:45.222000 +08:00
Error 12154 received logging on to the standby
PING[ARC2]: Heartbeat failed to connect to standby 'orcldg1'. Error is 12154.
2013-04-07 08:21:31.206000 +08:00
Thread 1 advanced to log sequence 37 (LGWR switch)
Current log# 1 seq# 37 mem# 0: /u01/app/oracle/oradata/orcl/redo01.log
Archived Log entry 11 added for thread 1 sequence 36 ID 0x4fccf4e3 dest 1:
2013-04-07 08:21:45.232000 +08:00
Error 12154 received logging on to the standby
PING[ARC2]: Heartbeat failed to connect to standby 'orcldg1'. Error is 12154.
2013-04-07 08:22:45.245000 +08:00
Error 12154 received logging on to the standby
PING[ARC2]: Heartbeat failed to connect to standby 'orcldg1'. Error is 12154.
處理辦法是,首先在備用資料庫去掉備用資料庫的靜態註冊,重新載入監聽配置,確保在主資料庫透過備用資料庫Oracle Net Service配置名稱能夠正常的以SYS使用者連線到備用資料庫,之後將主資料庫重啟即可。
處理辦法是,首先在備用資料庫去掉備用資料庫的靜態註冊,重新載入監聽配置,確保在主資料庫透過備用資料庫Oracle Net Service配置名稱能夠正常的以SYS使用者連線到備用資料庫,之後將主資料庫重啟即可。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-757896/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 部署Oracle 11gR2 Data Guard安裝記錄(2)Oracle
- 2 Oracle Data Guard 安裝Oracle
- 1 關於 Oracle Data GuardOracle
- 1 Oracle Data Guard Broker 概念Oracle
- DATA GUARD部署模式——DATA GUARD概念和管理模式
- [Data Guard]Oracle10g Data Guard學習筆記(一)Oracle筆記
- [Data Guard]Oracle10g Data Guard學習筆記(二)Oracle筆記
- [Data Guard]Oracle10g Data Guard學習筆記(三)Oracle筆記
- Windows環境下的Oracle Data Guard安裝和配置WindowsOracle
- oracle data guard!!Oracle
- Oracle 11gR2 Database和Active Data Guard遷移案例OracleDatabase
- 手把手教你安裝Data Guard
- 安裝oracle 11GR2 手記Oracle
- 介紹ORACLE DATA GUARD——DATA GUARD概念和管理Oracle
- Oracle Data Guard配置Oracle
- 10G DATA GUARD 安裝配置過程
- Oracle 19C Data Guard基礎運維-01安裝物理standbyOracle運維
- Oracle Data Guard Broker元件Oracle元件
- Oracle Data Guard簡介Oracle
- Oracle Data Guard 介紹Oracle
- ORACLE Data Guard--IOracle
- 【VMware vSAN】vSAN Data Protection Part 1:安裝部署。
- Oracle 11g Data Guard Enabling Active Data GuardOracle
- 【DataGuard】使用Grid Control快速部署Oracle物理Data GuardOracle
- AIX5L 上Oracle 10gR2 Data Guard 搭建測試記錄AIOracle 10g
- Oracle Data Guard和Broker概述Oracle
- Oracle 11g Data GuardOracle
- Oracle11g Data GuardOracle
- Oracle Data Guard Failover(activate)OracleAI
- 【DataGuard】部署Data Guard相關引數詳解 - Oracle官方文件描述Oracle
- 4.1.6 Oracle Restart 與 Oracle Data Guard 整合OracleREST
- oracle 11gr2 rac 安裝Oracle
- Oracle Data Redaction實驗記錄Oracle
- 【oracle】靜默安裝 oracle 11gr2Oracle
- 【Option】部署安裝Oracle 10g的Data Mining元件Oracle 10g元件
- 【Option】部署安裝Oracle 11g的Data Mining元件Oracle元件
- 8 Oracle Data Guard Broker 屬性Oracle
- 9 Oracle Data Guard 故障診斷Oracle