文档详情

配置RAC (ASM) + DATA GUARD (FILE SYSTEM)+ RMAN建库.doc

发布:2017-08-06约6.42千字共6页下载文档
文本预览下载声明
配置RAC (ASM) + DATA GUARD (FILE SYSTEM)+ RMAN建库 一. 检查数据库要处于归档模式. SQL archive log list; Database log mode????????????? No Archive Mode Automatic archival???????????? Disabled Archive destination??????????? USE_DB_RECOVERY_FILE_DEST Oldest online log sequence???? 11 Current log sequence?????????? 12 SQL 1 修改数据库为归档模式(RAC 环境) ?1. 停止数据库 ?? srvctl stop database -d ORCLA ?2. 第一个实例启动到mount 状态. ??? srvctl start instance -d ORCLA -i ORCLA1 牋?牋?shutdown immediate; 牋?startup mount; SQL archive log list Database log mode牋牋牋牋牋牋?No Archive Mode Automatic archival牋牋牋牋牋牋 Disabled Archive destination牋牋牋牋牋?USE_DB_RECOVERY_FILE_DEST Oldest online log sequence牋牋 11 Current log sequence牋牋牋牋牋 12 SQL shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down. SQL startup mount ORACLE instance started. Total System Global Area 1224736768 bytes Fixed Size牋牋牋牋牋牋牋牋?2072352 bytes Variable Size牋牋牋牋牋牋 285212896 bytes Database Buffers牋牋牋牋?9bytes Redo Buffers牋牋牋牋牋牋牋bytes Database mounted. SQL alter database archivelog; Database altered. SQL alter database open; Database altered. 牋 牋3. 启动第二个实例 ??[oracle@rac1 ~]$ srvctl start instance -d racdb -i racdb2??????????? ??? [oracle@rac1 ~]$ srvctl start service -d racdb -s testdb ??? [oracle@rac1 ~]$ crs_stat -t 二: 检查是否为 force logging . 1. SQL select inst_id , force_logging from gv$database; ?? INST_ID FOR ---------- --- ???????? 1 NO ???????? 2 NO 2. 修改数据库为 force logging ? SQL alter database force logging; Database altered. ? ?? note : 只需要在一个instance 执行即可. 三. 修改参数 1. Create pfile from spfile; orcla1.__db_cache_size=390070272 orcla2.__db_cache_size=390070272 orcla1.__java_pool_size=4194304 orcla2.__java_pool_size=4194304 orcla1.__large_pool_size=4194304 orcla2.__large_pool_size=4194304 orcla1.__shared_pool_size=205520896 orcla2.__shared_pool_size=205520896 orcla1.__streams_pool_size=0 orcla2.__streams_pool_size=0 *.audit_file_dest=C:\oracle\product\10.2
显示全部
相似文档