To use AutoUpgrade to complete the upgrade, you first create a configuration file with AutoUpgrade from the new release Oracle home.
sample_config_file. This parameter generates a configuration file in the home of the user running AutoUpgrade that you can edit to provide environment paths and settings and upgrade preferences for the upgrade. To generate the configuration file (
config), you run AutoUpgrade from the new release Oracle Database home using the
sample_config_fileparameter, and specify an output file name.
In this example, user
oracle navigates to the location of an earlier
release Oracle home, which in this case is Oracle Database 12c Release 2 (12.2):
Next, the Oracle user starts AutoUpgrade from the Oracle Database 19c
Oracle home, and creates a configuration file in its user home directory,
java -jar /u01/app/oracle/product/19/rdbms/admin/autoupgrade.jar -create_sample_file config Created sample configuration file /home/oracle/sample_config.cfg
After you create the configuration file, open it up in your preferred text editor, and modify parameter settings as needed for your environment.
cd / vi sample_config.cfg