Quantcast
Channel: Cloud Training Program
Viewing all articles
Browse latest Browse all 1891

[Solved] Container Database set up incorrectly with error ORA-65101 for Hybrid DR

$
0
0

In this post, we’ll be looking at how to troubleshoot error ORA-65101: Container database set up incorrectly while restoring standby control file using RMAN  from On-Premise to Oracle Cloud to configure hybrid data guard.

Note: to read about what is hybrid data guard and hybrid data guard deployment process key points click here

Note: join our FREE training on Migrate E-Business Suite database and application to Cloud using hybrid data guard, in this training we cover Migration Overview & Options, Migration Tools: ZDM, MV2ADB, RMAN, Migration Solution: 4 Phase using Hybrid DR, Customer Case Study: Migration Requirement, Live Q/A Session & Much More join our FREE training by click here

Problem Statement

We encountered the error ORA-65101: container database set up incorrectly while configuring the standby database on Oracle Cloud (OCI) using RMAN when we tried to restore the standby control file.

Error 

RMAN> restore standby controlfile from service ‘PRIMARY’
Mounting database using this standby control file failed with error “ORA-65101: container database set up incorrectly”
Error Reported
—————
RMAN> alter database mount;
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of sql statement command at 12/30/2019 06:50:38
ORA-65101: container database set up incorrectly

Root Cause

Primary database on On-premise is non-container database where as all databases on Oracle cloud (OCI) are pluggable database inside container databases. Therefore, while restoring the standby file it was expecting a non container(non pluggable) database whereas it was set up as pluggable database.

Note: Read more about 12c Multitenant architecture and Container Database(CDB)/Pluggable Database(PDB).

Fix

In order to fix it, we change the database from CDB/PDB to Non-CDB in PFILE/SPFILE
In startup Pfile or SpFile set
Change from
*.enable_pluggable_database=true
TO
*.enable_pluggable_database=false
SQL> show parameter plugg
NAME                                 TYPE        VALUE
———————————— ———– ——————————
enable_pluggable_database            boolean     FALSE

Reference

Related Post

Next Task For You

Join our FREE training on Migrate E-Business Suite database and application to Cloud using hybrid data guard, in this training, we cover Migration Overview & Options, Migration Tools: ZDM, MV2ADB, RMAN, Migration Solution: 4 Phase using Hybrid DR, Customer Case Study: Migration Requirement, Live Q/A Session & Much More.

Click on the below image to join the FREE Training Now!

EBS Cloud FREE Training

Join FREE Community [Oracle Cloud DBA]

The post [Solved] Container Database set up incorrectly with error ORA-65101 for Hybrid DR appeared first on Oracle Trainings.


Viewing all articles
Browse latest Browse all 1891

Trending Articles