Oracle DG ry重启操作
#取消DG同步
[oracle@jxdg ~]$ sqlplus / as sysdba
SQL> select open_mode from v$database;
OPEN_MODE
--------------------
READ ONLY WITH APPLY
SQL> alter database recover managed standby database cancel;
Database altered.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
#开启步骤:
reboot #重启系统
mount /dev/sdb1 /data01 #挂载数据盘
mount /dev/sdb2 /data02
mount /dev/sdb3 /data03
[oracle@jxdg ~]$ sqlplus / as sysdba
SQL> startup
SQL> show pdbs;----如果pdb是mount状态,则alter pluggable database all open;
SQL> alter database recover managed standby database using current logfile disconnect;
Database altered.