Upgrade (Primary & Standby)
Install 12.1.0.2 binaries on both Primary and Standby Server.
Shut down Primary Database.
Shutdown Standby Database.
At standby and standby database server copy init file and password file to new home
Copy listener.ora and tnsnames.ora file to new Oracle home
upgrade the primary database
After successful completion of Primary database upgrade. Start recovery on a standby database using recover managed standby database disconnect; command
Standby database will be upgraded through redo apply.
After completion of all redo apply we can open a database in open mode.