dbaascli grid upgrade

The grid upgrade subcommand of the dbaascli utility enables you to upgrade the Oracle Grid Infrastructure software release.

Connect to the compute node as the opc user and execute this command as the root user.

dbaascli grid upgrade --version grid_version [--targethome oracle_home] [--containerUrl container] [--executePrereqs] [--skipPrereqs] [--ignorePrereqFailure] [--resume] [--revert]

In the preceding command:

  • --version grid_version — specifies the Oracle Grid Infrastructure version that you want to upgrade to.

  • --targethome oracle_home — optionally specifies the path to the existing Oracle Grid Infrastructure directory location.

  • --containerUrl container — optionally specifies the Oracle Grid Infrastructure image files to use for the upgrade. The location is specified as a URL to a cloud storage container that contains the software images.

    Normally, the --containerUrl option is not required because the location of the software image library is automatically derived from configuration information in the Exadata Cloud at Customer environment. However, if you experience any difficulties with the automatic location, you can lodge a service request (SR) with Oracle Support and they may instruct you to use this option to specify an alternate location.

  • --executePrereqs — optionally performs a prerequisite check. You can use this option to test the environment prior to performing an upgrade.
  • --skipPrereqs — optionally skips prerequisite checks.
  • --ignorePrereqFailure — optionally ignores failure of a prerequisite check. You can use this option to perform the upgrade even if a prerequisite check fails.
  • --resume — optionally resumes an upgrade. You can use this option to resume an upgrade after resolving the issue that caused a previous upgrade failure.
  • --revert — optionally performs a version downgrade. Use this option only after an upgrade failure and with the guidance of Oracle Support.

You can use this command to upgrade Oracle Grid Infrastructure to another major software release version. For example, you can upgrade from 12.2.0.1 to 19.0.0.0. See Upgrading to 19c Oracle Grid Infrastructure on Gen 1 Exadata Cloud at Customer.