Check archive log gaps

<S>SELECT THREAD#, LOW_SEQUENCE#, HIGH_SEQUENCE# FROM V$ARCHIVE_GAP;

<S>ALTER DATABASE REGISTER PHYSICAL LOGFILE ‘filespec1‘;

<S>ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH FORCE;

<S>ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;

<S>ALTER DATABASE OPEN; OR SHUTDOWN IMMEDIATE and STARTUP;