Windows2003安装Oracle10g DataGuard数据容灾的详细配置过程Step by Step
Windows2003安装Oracle10g DataGuard数据容灾的详细配置过程Step by Step
目 录
第一章 安装操作系统和oracle软件...........................................................................................4
1.1 安装主库window server 2003.......................................................................................4
1.2 安装主库oracle软件。..................................................................................................4
1.3 安装备库window server 2003.......................................................................................4
1.4 安装备库oracle软件......................................................................................................4
第二章主库数据库配置.................................................................................................................5
2.1 用dbca工具创建数据库..................................................................................................5
2.2 设置主数据库为force logging 模式...........................................................................5
2.3 设置主数据库为归档模式和归档路径............................................................................5
2.4 创建主库的初始化参数给备库用....................................................................................5
2.5 在主库创建备库的控制文件............................................................................................5
2.6 在主库创建监听和配置tnsnams.ora.............................................................................6
2.7 设置主库传输归档日志到备库的参数............................................................................8
2.8 关闭主库数据库,冷备份数据文件...................................................................................8
2.9 拷贝数据文件,参数文件,控制文件到备库上............................................................9
2.10 启动主数据库..................................................................................................................9
第三章备库数据库配置.................................................................................................................9
3.1 用oradim工具创建备库orcl实例..................................................................................9
3.2 创建备库存放数据文件和后台跟踪目录........................................................................9
3.3 在备库创建监听和配置tnsnams.ora...........................................................................10
3.4 配置备库初始化参数......................................................................................................12
3.5 配置备库控制文件..........................................................................................................13
3.6 启动备用数据库..............................................................................................................13
第四章测试..................................................................................................................................14
4.1 测试备库和主库之间网络是否通,数据库连接是否正常..........................................14
4.2 测试主库产生的归档日志是否能正常传送到归档日志..............................................14
第五章 switchover......................................................................................................................15
5.1 switchover概述................................................................................................................15
5.2 switchover操作步骤.....................................................................................................15
5.2.1 增加以下参数.....................................................................................................15
5.2.2 查看switchover 状态......................................................................................16
5.2.3 切换成备库.........................................................................................................16
5.2.4 启动到mount和应用日志状态.........................................................................16
5.2.5 增加以下参数:...................................................................................................16
5.2.6 停止应用日志.....................................................................................................17
5.2.7 查看switchover状态.......................................................................................17
5.2.8 切换成主库.........................................................................................................17
第六章 Failover..........................................................................................................................19
6.1 Failover概述.................................................................................................................19
6.2 Failover步骤.................................................................................................................20
6.2.1 备库上查询是否有时间间隙.............................................................................20
6.2.2 拷贝所有最近的归档(正常已经传送到备库)和redo到备库...................20
6.2.3 手工注册归档.....................................................................................................20
6.2.4 重复1-3步骤查询和注册文件,直到没有时间间隙.....................................20
6.2.5 执行以下命令停止应用归档.............................................................................21
6.2.6 Failover切换成主库,并且启动数据库..........................................................21
337
338
详细见附件PDF文档:
Windows2003安装Oracle10g DataGuard数据容灾的详细过程Step by Step.pdf