Oracle Solution for Error ora-16217

Solution for Oracle Error ORA-16217

ORA-16217: prepare to switchover has not completed

What triggered the Error:

An ALTER DATABASE PREPARE TO SWITCHOVER command was issued, but the prepare activity did not complete.

What should we do to fix it:

Verify that the standby was prepared properly. You may cancel the prepare and perform an unprepared switchover which requires a database link to complete. Or reissue the prepare operation on the standby.