Upgrading to 12c with physical standby
In reviewing the documentation on this subject I've seen where it mentions that the physical standby should not be opened until the primary database is upgraded, and then I came across
some other information that said:
(1) on the physical standby do an 'alter database recover managed standby database cancel', then shutdown the standby and shutdown the primary.
(2) start the standby in mount mode
(3) on the standby 'alter database recover managed standby database using current logfile disconnect'
(4) run dbua on the primrary
(5) once the redo apply has been completed the standby will also be upgraded to 12c
Are both approaches correct ?