Oracle DG hw重启操作
#取消DG同步
[oracle@jxdg ~]$ sqlplus / as sysdba
SQL> alter database recover managed standby database cancel;
SQL> shutdown immediate
--root下关闭crs
cd /u01/app/12.2.0/grid/bin/
./crsctl stop has
#重启操作
reboot
#grid用户,asm进程是否启动
ps -ef |grep pmon
crsctl state res -t
crsctl start has
---------------startup db----------------
#oracle用户
[oracle@jxdg ~]$ sqlplus / as sysdba
SQL> startup
SQL> show pdbs;---确认pdb是否open,如果是mount状态,则执行alter pluggable database all open;
SQL> alter database recover managed standby database using current logfile disconnect;----开启日志应用