Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1182677
  • 博文数量: 398
  • 博客积分: 10110
  • 博客等级: 上将
  • 技术积分: 4055
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-23 20:01
个人简介

新博客http://www.cnblogs.com/zhjh256 欢迎访问

文章分类

全部博文(398)

文章存档

2012年(1)

2011年(41)

2010年(16)

2009年(98)

2008年(142)

2007年(100)

我的朋友

分类:

2011-02-19 14:01:21

DGMGRL> connect sys/james@crm1
已连接。
错误:
ORA-16525: Data Guard 中介尚不可用
ORA-06512: 在 "SYS.DBMS_DRS", line 124
ORA-06512: 在 line 1
在主库和备库执行
alter system set DG_BROKER_START=TRUE scope=both;

DGMGRL> show database crm1;
错误: ORA-16532: Data Guard 中介配置不存在
先执行配置:
DGMGRL> create configuration crm as primary database is 'CRM1' connect identifie
r is CRM1;
已创建配置 "crm", 其中主数据库为 "CRM1"

DGMGRL> add database crm2 as connect identifier is CRM2 maintained as physical;
错误: ORA-16796: 无法从数据库导入一个或多个属性
主库:
shutdown immediate;
startup mount;
alter system set db_broker_start = false scope=both;
alter system set db_broker_start = true scope=both;

备库:
alter system set db_broker_start = false scope=both;
alter system set db_broker_start = true scope=both;

再次执行add database crm2 as connect identifier is CRM2 maintained as physical;即可。
阅读(1498) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~