AutoUpgrade Utility Configuration Files
AutoUpgrade configuration files contain all the information required to perform Oracle Database upgrades.
AutoUpgrade configuration files contain global and local configuration parameters. Global parameters by default apply to all databases addressed by the configuration file. When specified for a specific database, local configuration parameters override global parameters specified by the configuration file.
- Global Parameters for the AutoUpgrade User Configuration File
To specify a default behavior for a parameter for all Oracle Database upgrades addressed in the configuration file, you can use the optional AutoUpgrade global parameters. - Local Parameters for the AutoUpgrade Configuration File
To configure information for specific Oracle Databases for the AutoUpgrade utility upgrade, you provide information in the AutoUpgrade local parameters. - Locally Modifiable Global Parameters for AutoUpgrade Configuration File
Locally modifiable global parameters are parameters that you set both globally, and as you require, set locally, so that you can better control AutoUpgrade job processing.
Parent topic: Using AutoUpgrade for Oracle Database Upgrades
Global Parameters for the AutoUpgrade User Configuration File
To specify a default behavior for a parameter for all Oracle Database upgrades addressed in the configuration file, you can use the optional AutoUpgrade global parameters.
Usage Notes
All global parameters are optional. All global parameters take the
prefix global
.
The add_after_upgrade_pfile
and
del_during_upgrade_pfile
global and local
PFILE
parameters operations are run in the following
hierarchical order:
- Global Actions
- Remove global
- Add global
- Local Actions
- Remove local
- Add local
Table 3-1 Global Configuration Parameters for Oracle Database AutoUpgrade Utility
Parameter | Description |
---|---|
|
(Optional) Specifies a path and file name of a Example:
|
add_during_upgrade_pfile |
(Optional) Specifies a path and file name of a
|
|
(Optional) Specifies a path and a file name for a custom user script that you want to
have run after all the upgrade jobs finish successfully. The script
that you use must be in the form of
By default, if the script fails, then AutoUpgrade continues to run. Use the Examples: If the script fails, then stop AutoUpgrade:
If the script fails, then continue AutoUpgrade:
|
|
(Optional) Sets the location of the log files, and temporary files that belong to global modules, which AutoUpgrade uses. Example:
Starting with AutoUpgrade 19.7, you can configure
different log directory path in the
The result of using this syntax is that log files and temporary files
are placed in the following path for databases identified by the
prefix
If you do not set this parameter to a path, then by default the log
files are placed in the location indicated by the
If the |
|
(Optional) Specifies a custom user script that you want to have run for all upgrades
before starting the upgrade jobs. The script that you use must be in
the form of Permitted extension options:
By default, if the script fails, then AutoUpgrade continues to run. Use the Examples: If the script fails, then stop AutoUpgrade:
If the script fails, then continue AutoUpgrade:
|
|
(Optional) Specifies one or more of a set of
Available
Example:
|
del_after_upgrade_pfile |
(Optional) Specifies a path and file name of a Example:
|
del_during_upgrade_pfile |
(Optional) Specifies a path and file name of a Example:
|
|
(Optional) Deletes the Guaranteed Restore Point (GRP)
after database upgrade. If you select this option, then GRP is
deleted after upgrade completes successfully. If you set
Options:
The default value is Example:
|
|
(Optional) Specifies the target
Example:
|
|
(Optional) Increases the compatible parameter to the default value of the target release after the upgrade is completed successfully. Options:
The default value is CAUTION:
Example:
|
|
(Optional for analyze and fixups modes. Required for upgrade and deploy modes.) Sets
a global target home for all of the databases specified in the
configuration file. Use this option to avoid specifying the same
Example:
|
|
(Optional) Specifies the target release version on which you want AutoUpgrade to perform the upgrade. AutoUpgrade uses the release version information that you provide in this parameter to ensure that the correct checks and fixups are used for the target Oracle Database release to which you are upgrading. The format for this parameter are period-delimited values of valid Oracle versions. Valid values
This option is only required if the target home is not present on the system, or if the target home is a 12.2 release. Otherwise, AutoUpgrade can derive the target release value. Example:
|
|
(Optional) Generates the The Example:
|
Related Topics
Parent topic: AutoUpgrade Utility Configuration Files
Local Parameters for the AutoUpgrade Configuration File
To configure information for specific Oracle Databases for the AutoUpgrade utility upgrade, you provide information in the AutoUpgrade local parameters.
Usage Notes
Local parameters take precedence over any global parameters set in the AutoUpgrade configuration file. Except where indicated with (Optional), all local parameters are required. All local parameters take a prefix (in examples, identified by a value you define to identify a particular database or upgrade. The prefix identifies the specific upgrade job to which the parameter applies in the configuration file.
Example: The set of parameters for the first upgrade in the configuration file
uses the prefix sales
, and the set of
parameters for the next upgrade in the configuration file uses the prefix employees
:
sales.source_home=/u01/app/oracle/12.2/dbhome1
.
.
.
employees.sid=salescdb
employees.source_home-/03/app/oracle/21/dbhome1
Table 3-2 Local Configuration Parameters for Oracle Database AutoUpgrade Utility
Parameter | Description |
---|---|
|
(Optional) Specifies a path and file name of a
Example:
|
|
(Optional) Specifies a path and file name of a Example:
|
|
(Optional) Specifies a custom action that you want to have performed after completing the upgrade job for the database identified by the prefix address. The script that you use must be in the form of
By default, if the script fails, then AutoUpgrade continues to run.
Use the In contrast to the global Examples: Run the specified script before AutoUpgrade starts processing, with
the
Run the specified script before AutoUpgrade starts processing, with AutoUpgrade set to continue to run if the script fails:
|
|
(Optional) Specifies a custom action that you want to have performed
before starting the upgrade job for the specific database job addressed by the
prefix. If you want to have a script run before all upgrade jobs, then specify
that script by using the local parameter
( The script that you use must be in the form of
By default, if the script fails, then AutoUpgrade continues to run.
Use the In contrast to the global Examples: Run the specified script before AutoUpgrade starts processing, with
the
Run the specified script before AutoUpgrade starts processing, with AutoUpgrade set to continue to run if the script fails:
|
|
(Optional) Specifies one or more of a set of
Available
Example:
|
|
(Optional) Specifies the path to a checklist that you can use to override the default list of fixups that AutoUpgrade performs, such as fixups that you do not want implemented automatically, due to policy or security concerns. To use this parameter during other AutoUpgrade modes, you must run
AutoUpgrade in Example:
In the preceding example, |
|
(Optional) Specifies a path and file name of a
Example:
|
|
(Optional) Specifies a path and file name of a Example:
|
|
(Optional) Specifies custom operating system environment variables
set on your operating system, excluding Use case: Use this parameter to provide environment setting that are indicated
in the database Syntax:
For example, assume that for the PDB
In that case, for AutoUpgrade to know what those custom environment
variables are, you must provide them using the
|
|
(Optional with AutoUpgrade 19.8) Sets the location of log files that are generated for database upgrades that are in the set of databases included in the upgrade job identified by the prefix for the parameter. When set, AutoUpgrade creates a hierarchical directory based on a
local log file path that you specify. For example, where the job identifier prefix
is
You cannot use wild cards for paths, such as tilde
( Example:
By default, if the global configuration file parameter
When neither If the |
|
(Optional) Sets a list of PDBs on which you want the upgrade to run. This parameter only applies to upgrades of multitenant architecture (CDB) databases. If you are plugging in and upgrading a non-CDB database, then this parameter is ignored. The PDB list is comma-deliminated. The list can contain either PDB
names, or a star character ( Example:
|
|
(Optional) Increases the compatible parameter to the default value of the target release after the upgrade is completed successfully. Options:
The default value is CAUTION:
Example:
|
|
(Optional) Removes underscore (hidden) parameters from
Options:
The default value is Example:
|
|
(Optional) Generates a Guaranteed Restore Point (GRP) for database
restoration. If you set Options:
The default value is Example:
|
|
(Optional) Enables or disables running The Example:
|
|
(Required) Identifies the Oracle system identifier (SID) of the database that you want to upgrade. Example:
|
|
(Optional) The default is |
|
(Required for Example:
|
|
(Optional) Specifies the path to the Example:
|
|
(Optional) Sets a future start time for the upgrade job to run. Use this parameter to schedule upgrade jobs to balance the load on your server, and to prevent multiple jobs from starting immediately. Values must either take the form Example:
Permitted values:
If more than one job is started with the Values are invalid that use the wrong deliminator for the date or time element, or use the wrong date or hour format. Example:
|
target_base |
(Optional) Specifies the target Example:
|
target_cdb |
(Optional) Specifies the SID of the target CDB into which a non-CDB Oracle Database is plugged in. This parameter is mandatory when you want to upgrade and convert a non-CDB Oracle Database. Example:
|
|
(Optional) This option is only used when creating a pluggable
database within the target CDB. It specifies the
On the target CDB, if you have the parameters
If you want one or more data file names changed during conversion,
then enter values for the parameter to indicate the filename you want to change,
and the filename to which you want the existing files copied, using the syntax
Example: In this example, AutoUpgrade will copy existing datafiles during
conversion of a database specified with the prefix string
To convert OMF files with
In this example, the parameter is configured so that data files that
are stored on Oracle ASM, but not stored as Oracle-managed files, are copied from
|
|
(Optional) Specifies the name that you want to assign to a non-CDB source Oracle Database after is plugged in to the target CDB. The default value is to use the database unique name of the non-CDB Oracle Database. If you want to specify a name that is different from the existing name of the non-CDB when you plug it in to the CDB, then you must set this parameter. Example:
|
|
(Optional) Specifies the path to the TNS_ADMIN directory in the target database home. Example:
|
|
(Optional) Enables or disables running the time zone upgrade as part
of the AutoUpgrade process. To preserve data integrity, Oracle recommends that you
upgrade the time zone settings at the time of your database upgrade. In
particular, upgrade the timezone when you have data that depend on the time zone,
such as Example:
|
|
(Optional) Specifies the node on which the current user configuration
is valid. The default value is The purpose of this parameter is to prevent AutoUpgrade from
processing databases that are listed in the configuration file that you use with
AutoUpgrade, where the value for the Use case: The configuration file Example:
|
Parent topic: AutoUpgrade Utility Configuration Files
Locally Modifiable Global Parameters for AutoUpgrade Configuration File
Locally modifiable global parameters are parameters that you set both globally, and as you require, set locally, so that you can better control AutoUpgrade job processing.
Usage Notes
Locally modifiable global parameters are required parameters. You must define these parameters in your AutoUpgrade configuration file, either globally, or locally. With locally modifiable global parameters, you can use the prefix global
to set values as global parameters for all jobs in your AutoUpgrade configuration file, but reset the same parameter with a local job prefix for a particular job in the same configuration file. You can also choose to set locally modifiable global parameters only as local parameters for each AutoUpgrade job.
Note:
These parameters are available in the latest version of AutoUpgrade that you can download from My Oracle Support.When a locally modifiable global parameter is set both with a global prefix, and
with a local job prefix, the locally modified parameter value overrides the global
parameter values for the job identified by the prefix that you use with the
parameter. The syntax you use is in the form global.target_home=Global target Oracle home
, and
database.target_home=local target Oracle home.
Example:
In the AutoUpgrade configuration file, the required parameter
target_home
is set globally to one Oracle home path. But in the
configuration file, the same parameter is set locally to a different Oracle home
path. As AutoUpgrade processes the jobs in the configuration file, it uses the
locally defined path for target_home
for the job defined by the
prefix upgrade3
, overriding the global parameter setting:
global.target_home=/u01/app/oracle/21.0.0/dbhome01
upgrade3.target_home=/u03/app/oracle3/12.2.0.1/dbhome3
Table 3-3 Locally Modifiable Global Parameters for AutoUpgrade Configuration Files
Parameter | Description |
---|---|
|
(Optional) Defers shipping logs from the primary database
to the standby database before the upgrade, where you have a primary
database with a physical standby database. When Autoupgrade defers
log shipping, you will receive a notice that log shipping is
deferred, and that after the upgrade completes successfully, you
need to reenable shipping logs from the primary database to the
secondary database. The default option is |
|
(Optional) Deletes the Guaranteed Restore Point (GRP) after database upgrade. If you select this option, then GRP is deleted after upgrade completes successfully. Options:
The default value is Examples:
|
|
(Optional) For a CDB upgrade, specifies whether or not
When local undo is first enabled, the size of the undo tablespace in
|
|
Specifies whether network files are processed during the upgrade. Options: [
The following network files are processed:
|
|
(Optional) Removes underscore (hidden) parameters from
Options:
The default value is Example:
|
|
(Optional, available with Enterprise Edition only) Generates a Guaranteed Restore Point (GRP) for database restoration. If you select this option, then both database backup and database restoration must be performed manually by the DBA. Options:
The default value is Example:
Standard Edition does not support Flashback Database, so this option is not available for Standard Edition. If your database is a Standard Edition Oracle Database, then you must ensure that you have a separate fallback mechanism is in place. |
|
(Optional) Specifies the target release version on which you want AutoUpgrade to perform the upgrade. AutoUpgrade uses the release version information that you provide in this parameter to ensure that the correct checks and fixups are used for the target Oracle Database release to which you are upgrading. The format for this parameter are period-delimited values of valid Oracle versions. Valid values
This option is only required if the target home is not present on the system, or if the target home is a 12.2 release. Otherwise, AutoUpgrade can derive the target release value. Example:
|
target_home |
Specifies the target Oracle home ( Example:
If the mode is |
target_base |
(Optional) Specifies the target Example:
|
Parent topic: AutoUpgrade Utility Configuration Files