Examples of AutoUpgrade Workflows
To guide your upgrade, review the AutoUpgrade workflow example that matches your upgrade use case.
These examples are presented in a typical workflow sequence.
- AutoUpgrade with Source and Target Database Homes on Same Server
When your Oracle Database source and target Oracle homes are located on the same physical server, and where both Oracle homes are up and available, use this example. - AutoUpgrade with Source and Target Database Homes on Different Servers
When AutoUpgrade where your Oracle Database source and target Oracle homes are located on different physical servers, use this example.
Parent topic: Using AutoUpgrade for Oracle Database Upgrades
AutoUpgrade with Source and Target Database Homes on Same Server
When your Oracle Database source and target Oracle homes are located on the same physical server, and where both Oracle homes are up and available, 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
Parent topic: Examples of AutoUpgrade Workflows
AutoUpgrade with Source and Target Database Homes on Different Servers
When AutoUpgrade where your Oracle Database source and target Oracle homes are located on different physical servers, use this example.
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 for each server.
-
Run fixups on the source server:
java -jar autoupgrade.jar -config config.txt -mode fixups
-
Perform the relevant tasks to move the source Oracle Database from the source server to the target server. For example, use a technology such as Oracle Data Pump or Oracle Recovery Manager (RMAN) to copy database files from the source 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
Parent topic: Examples of AutoUpgrade Workflows