Converting Databases
Using SRVCTL, you can convert an Oracle Real Application Clusters (Oracle RAC) database with one instance to an Oracle RAC One Node database, or back to an Oracle RAC database instance.
Converting a Database from Oracle RAC to Oracle RAC One Node
Use SRVCTL to convert an Oracle RAC database to an Oracle RAC One Node database.
Before converting an Oracle RAC database to an Oracle RAC One Node database, you must first ensure that the Oracle RAC database has only one instance. If your Oracle RAC database is administrator managed and has more than one instance, then you must remove all instances except one using the srvctl remove instance command.
If the Oracle RAC database is administrator managed, then you must change the configuration of all services to set the preferred instance to the instance that you want to keep as an Oracle RAC One Node database after conversion. If any service had a PRECONNECT TAF policy, then its TAF policy must be updated to BASIC or NONE before starting the conversion process. These services must no longer have any available instance.
You can convert an Oracle RAC database with one instance to an Oracle RAC One Node database using the srvctl convert database command, as follows:
$ srvctl convert database -db db_unique_name -dbtype RACONENODE
[-instance instance_name -timeout timeout]
-w timeout]
Note:
An Oracle RAC database that you want to convert to Oracle RAC One Node must either use Oracle Managed Files (to enable automatic thread allocation) or have at least two redo threads.
Related Topics
Converting a Database from Oracle RAC One Node to Oracle RAC
You can convert an Oracle RAC One Node database to an Oracle RAC database using SRVCTL.
Note:
The policy-managed database deployment option is desupported in Oracle AI Database 26ai.
Log in as the Oracle RAC One Node database owner and enter the following SRVCTL command:
srvctl convert database -db db_unique_name -dbtype RAC
If you are relocating the database you want to convert to Oracle RAC using online database relocation, or an online database relocation has failed, then you must either quit or complete the relocation before you run the srvctl convert database command.
Converting an Oracle RAC One Node database to an Oracle RAC database configures all database services so that the instance from the Oracle RAC One Node database is the preferred instance in the converted Oracle RAC database for that service. After you convert the database, you can add instances to your database by using the srvctl add instance command.
Related Topics