Data Guard 部署物理备库的 8 大注意事项,这8点主要是面向 10g R2 以后的 DG 部署。① 主库设置为force logging模式idle> select force_logging from v$database;idle> alter database force logging; ② 主库设置为归档模式idle> archive log list;
idle> shutdown immediate;
idle> startup mount;
idle> alter database archivelog;
idle> archive log list; ③ 配置Standby Redo Log配置 standby redo log④ 创建密匙文件(如果不存在的话)先看文档的解释: You must have SYSDBA system privileges for the user accounts that you use to manage the primary and standby database instances
Furthermore, the SYS user must have the same password on all databases in the configuration.那么如果password不一样会怎样?案例如下:Error 1031 received logging on to the standby
Errors in file /u01/app/Oracle/diag/rdbms/pri/orcl/trace/orcl_arcf_5769.trc:
ORA-01031: insufficient privileges
PING[ARCf]: Heartbeat failed to connect to standby "std". Error is 1031.显然、抛出 ORA-01031: insufficient privileges使用 DBCA 建库会在 $ORACLE_HOME/dbs 下自动创建密匙文件如若没有、可使用 orapwd 命令行工具、其 file 和 password 为必填参数、例如(假设当前目录是 $ORACLE_HOME/dbs ):orapwd file=orapworcl password=oracle entries=30 (Linux/Unix 平台命名规则:orapw[sid])
Data Guard 环境配置的初始化参数设置列表Data Guard Standby_archive_dest 和 Log_archive_dest_n 的关系相关资讯 Data Guard
- Data Guard高级应用:通过闪回恢复 (今 16:26)
- 手工搭建Data Guard (08月02日)
- 使用Grid Control快速部署Oracle物 (04月18日)
| - Data Guard跳归档恢复的案例 (08月16日)
- Data Guard中快速Switchover, (06月18日)
- 利用Oracle Data Guard完成跨平台 (01月09日)
|
本文评论 查看全部评论 (0)