Oracle Error ORA-16623: database detected role change

Oracle Error Message

ORA-16623: database detected role change

Reason for the Error

A successful switchover or failover operation had been completed and was detected during database startup or broker health check. If this database was unavailable during a switchover or failover operation, it may not be a viable standby database for the new primary database and was disabled by the Data Guard broker.

Solution

Connect to the new primary database and examine the broker configuration for databases that were disabled and that may require reinstatement or re-creation.