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;即可。
阅读(1549) | 评论(0) | 转发(0) |