织梦CMS - 轻松建站从此开始!

欧博ABG官网-欧博官方网址-会员登入

oracle data guard配置皇冠dg

时间:2024-09-24 13:53来源: 作者:admin 点击: 5 次
https://community.oracle.com/docs/DOC-1007327 本文主要包括以下内容: 1. 配置dg broker,需要完成以下几个工作: 在主备库配置静态监听注册,注册的服务名为db_unique_name_DGMGRL; 在主备库修改tnsnames.ora文件,配

[oracle@ora12c admin]$ dgmgrl sys/oracle@db12g DGMGRL for Linux: Release 12.2.0.1.0 - Production on Tue May 23 16:47:58 2017 Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved. Welcome to DGMGRL, type "help" for information. Connected to "db12g" Connected as SYSDBA. DGMGRL> switchover to db12g_s Performing switchover NOW, please wait... Operation requires a connection to database "db12g_s" Connecting ... Connected to "db12g_s" Connected as SYSDBA. New primary database "db12g_s" is opening... Operation requires start up of instance "db12g" on database "db12g" Starting instance "db12g"... ORACLE instance started. Database mounted. Database opened. Connected to "db12g" Switchover succeeded, new primary is "db12g_s" SQL> select database_role from v$database; DATABASE_ROLE ---------------- PHYSICAL STANDBY

SQL> select process,status,sequence# from v$managed_standby;

PROCESS   STATUS        SEQUENCE#
--------- ------------ ----------
ARCH      CONNECTED             0
ARCH      CONNECTED             0
ARCH      CLOSING               1
ARCH      CLOSING               2
ARCH      CONNECTED             0
ARCH      CONNECTED             0
ARCH      CONNECTED             0
ARCH      CONNECTED             0
DGRD      ALLOCATED             0
DGRD      ALLOCATED             0
RFS       IDLE                  0

PROCESS   STATUS        SEQUENCE#
--------- ------------ ----------
MRP0      APPLYING_LOG          3
RFS       IDLE                  0
RFS       IDLE                  3

14 rows selected.

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2024-11-15 00:11 最后登录:2024-11-15 00:11
栏目列表
推荐内容