3 Using AutoUpgrade to Upgrade and convert Non-CDBs to PDBs
The AutoUpgrade Utility simplifies the task of upgrading and converting your earlier release Oracle Database to Oracle Database 19c using the multitenant architecture.
- AutoUpgrade with Source and Target Database Homes on Same Server (Typical)
When your Oracle Database Source and Target Oracle homes are installed on the same physical server, use this example. - AutoUpgrade with Source and Target Database Homes on Different Servers
When your Oracle Database Source and Target Oracle homes are located on different physical servers, you must complete tasks on both servers.
AutoUpgrade with Source and Target Database Homes on Same Server (Typical)
When your Oracle Database Source and Target Oracle homes are installed on the same physical server, use this example.
Context: Source and Target homes are on the same server.
To start the analysis, enter the following command.
java -jar autoupgrade.jar -config config.txt -mode analyze
The command produces a report that indicates any error conditions that the command finds. Review the error conditions. When relevant, customize the fixups that AutoUpgrade has created to address error conditions.
To start the deployment of the upgrade, enter the following command:
java -jar autoupgrade.jar -config config.txt -mode deploy
AutoUpgrade with Source and Target Database Homes on Different Servers
When your Oracle Database Source and Target Oracle homes are located on different physical servers, you must complete tasks on both servers.
Context: Source and Target Oracle homes are on different physical servers.
To start the analysis, enter the following command.
java -jar autoupgrade.jar -config config.txt -mode analyze
The command produces a report that indicates any error conditions that the command finds. Review the error conditions. When relevant, customize the fixups that AutoUpgrade has created to address error conditions.
Because the source and target Oracle Database Oracle homes are on different servers, you run fixups on each server.
-
Run fixups on the source server:
java -jar autoupgrade.jar -config config.txt -mode fixups
-
Complete the tasks to move the source Oracle Database from the source server to the target server.
-
On the target server, start up the database in upgrade mode, and then run AutoUpgrade in
upgrade
mode:java -jar autoupgrade.jar -config config.txt -mode upgrade