ITPub博客

首页 > 数据库 > Oracle > Oracle 19c Broker配置

Oracle 19c Broker配置

原创 Oracle 作者:hooca 时间:2023-01-12 10:33:40 0 删除 编辑

在搭建完DG后,才能配置Broker。

本例中主备都是单实例,如果是RAC,需要确认Broker配置文件(参数dg_broker_config_file1和2)在共享存储上

  1. 主备两端都启用Broker

ALTER SYSTEM SET DG_BROKER_START=TRUE scope=both;

2. 主库连接dgmgrl,在主库创建主库配置

create configuration 'o19' as primary database is 'o19' connect identifier is o19;

3. 依然是在主库dgmgrl中,添加备库配置

Add database 'o19dg' as connect identifier is o19dg maintained as physical;

4. 启用配置

ENABLE CONFIGURATION;

5. 观察结果

show configuration;
show database verbose <库名>;


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22621861/viewspace-2931863/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-09-29

  • 博文量
    239
  • 访问量
    490883