Oracle RAC 11gR2開啟歸檔
一、fk資料庫
1、關閉監聽
lsnrctl stop
2、備份引數檔案
SQL> create pfile='/tmp/initfk.ora' from spfile;
3、修改資料庫叢集引數
oracle@EPC1-C3:/home/oracle$ export ORACLE_SID=fk1
oracle@EPC1-C3:/home/oracle$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Dec 30 16:46:51 2020
Version 19.9.0.0.0
Copyright (c) 1982, 2020, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.9.0.0.0
SQL> show parameter cluster
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
cdb_cluster boolean FALSE
cdb_cluster_name string
cluster_database boolean TRUE
cluster_database_instances integer 2
cluster_interconnects string
SQL>
4、停止兩節點資料庫例項,開啟節點1例項
#srvctl stop database -d fk
#srvctl start database -d fk -i fk1 -o mount
5、建立、配置歸檔路徑並開啟歸檔路徑,將叢集引數修改至原值
oracle@EPC1-C3:/home/oracle$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Dec 30 16:49:44 2020
Version 19.9.0.0.0
Copyright (c) 1982, 2020, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 1.0737E+10 bytes
Fixed Size 12446800 bytes
Variable Size 3892314112 bytes
Database Buffers 6777995264 bytes
Redo Buffers 54661120 bytes
SQL> alter database mount;
Database altered.
SQL> alter system set log_archive_dest_1='location=+data_dg/FK/fkarch' scope=spfile sid='*';
System altered.
SQL> alter database archivelog;
Database altered.
SQL> alter system set cluster_database=true scope=spfile sid='*';
System altered.
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL>
oracle@EPC1-C3:/home/oracle$ srvctl start database -d fk
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30258496/viewspace-2748126/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RAC開啟資料庫歸檔資料庫
- ORACLE RAC開啟歸檔的正確姿勢與ORA-01126Oracle
- oracle 11g開啟歸檔模式及修改歸檔目錄Oracle模式
- Oracle RAC啟動歸檔時需要設定CLUSTER_DATABASE引數嗎?OracleDatabase
- Oracle 11gR2 RAC 叢集服務啟動與關閉總結Oracle
- ORACLE 11GR2 RAC的網路規劃解析Oracle
- oracle歸檔Oracle
- Oracle資料庫歸檔模式的開啟和關閉Oracle資料庫模式
- Oracle RAC自啟動Oracle
- 11gR2 RAC convert ONENODE
- 11gR2 OneNode Convert RAC
- Oracle歸檔檔案丟失導致OGG不用啟動Oracle
- Oracle 11gR2 RAC 單網路卡轉雙網路卡繫結配置Oracle
- Oracle RAC 環境 引數檔案的啟動順序Oracle
- oracle歸檔日誌Oracle
- Oracle RAC引數檔案管理Oracle
- 歸檔oracle alert日誌Oracle
- Oracle歸檔日誌清理Oracle
- Oracle:歸檔量統計Oracle
- Oracle RAC修改引數檔案位置Oracle
- 11gR2 RAC新增節點步驟
- Oracle RAC啟動失敗(DNS故障)OracleDNS
- ORACLE NBU調取oracle rman指令碼備份歸檔不自動刪除歸檔Oracle指令碼
- 咦?Oracle歸檔檔案存哪了?Oracle
- Oracle 歸檔使用情況分析Oracle
- Oracle dg歸檔同步失敗Oracle
- Oracle RAC NFS掛載檔案系統OracleNFS
- Oracle RAC的自定義service自啟動Oracle
- Oracle 11gr2修改RAC叢集的scan ip,並處理ORA-12514問題Oracle
- oracle RACOracle
- rac歸檔模式/非歸檔模式下檔案建至本地儲存修復方法-ORA-01157模式
- Oracle RAC Cache Fusion 系列十七:Oracle RAC DRMOracle
- 【Oracle】歸檔日誌管理-設定歸檔日誌路徑以及歸檔日誌冗餘Oracle
- rac使用預設閃回區歸檔空間滿
- 一步一步搭建oracle 11gR2 rac+dg之環境準備(二)Oracle
- linux7 靜默安裝 11GR2 RACLinux
- Oracle 11GR2 Duplicate from BackupOracle
- Oracle 11.2 DataGuard RAC To RAC搭建Oracle