Hi All,
Recently, 11g database is upgraded to 18c. Now, I want to convert non-cdb to pdbs. I am using the below link to move forward.
https://oracle-base.com/articles/12c/multitenant-migrate-non-cdb-to-pdb-12cr1
My db version - 18.3.0.0
O/s Linux - Red Hat Enterprise Linux Server release 7.7 (Maipo)
testdb is my 11g's original database.
Steps -
export ORACLE_SID=testdb
sqlplus / as sysdba
SHUTDOWN IMMEDIATE;
STARTUP OPEN READ ONLY;
BEGIN
DBMS_PDB.DESCRIBE(
pdb_descr_file => '/u01/testdb.xml');
END;
/
Shutdown the non-CDB database.
export ORACLE_SID=testdb
sqlplus / as sysdba
SHUTDOWN IMMEDIATE;
Connect to an existing CDB and create a new PDB using the file describing the non-CDB database. Remember to configure the FILE_NAME_CONVERT
parameter to convert the existing files to the new location.
export ORACLE_SID=cdb1
sqlplus / as sysdba
SQL> CREATE PLUGGABLE DATABASE pdb6 USING '/u01/testdb.xml'
COPY FILE_NAME_CONVERT = ('/u01/app/oracle/oradata/testdb/', '/u05/app/oracle/oradata/cdb1/pdb1/');
CREATE PLUGGABLE DATABASE pdb6 USING '/u01/testdb.xml'
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
Here, error message is as per the behavior of oracle but I am not able to understand what steps doing wrong? Please assist me the steps for converting non-cdb to pdb's.
Regards,
Ashish Kumar Mahanta