Upgrade a DB System

This article describes the procedures to upgrade the operating system (OS) and Grid Infrastructure (GI) in DB systems using the OCI Console.

You can now upgrade the operating system to Oracle Linux 8 (OL8) and the Oracle Grid Infrastructure to 19c in your DB system.

Required IAM Policy

To use Oracle Cloud Infrastructure, you must be granted security access in a policy by an administrator. This access is required whether you’re using the Console or the REST API with an SDK, CLI, or other tool. If you get a message that you don’t have permission or are unauthorized, verify with your administrator what type of access you have and which compartment to work in.

For administrators: The policy in Let database admins manage Oracle Cloud database systems lets the specified group do everything with databases and related Database resources.

If you’re new to policies, see Getting Started with Policies and Common Policies. If you want to dig deeper into writing policies for databases, see Details for the Database Service.

Prerequisites

The following are required to upgrade a DB system:

Note: Oracle Linux Release 7 (OL7) on Base Database Service is nearing its end of life (EOL). For more information, see Support Timeline for Oracle Linux Release 7 (OL7) on Base Database Service (Doc ID 3056652.1).

About Upgrading a DB System

For DB system upgrades, note the following:

Roll Forward a Failed Upgrade

You can roll forward upgrades that did not complete successfully for the following reasons using the Oracle support team.

Roll Back a Failed Upgrade

You can roll back upgrades that did not complete successfully. A rollback resets your DB system to the state before the upgrade. All changes to the DB system made during and after the upgrade will be lost.

Note: The public IP addresses present before the upgrade process would have changed and cannot be reclaimed.

After the rollback, you can try upgrading the DB system again after finding and fixing the cause of the earlier upgrade failure.

After your Upgrade is Complete

After a successful upgrade, note the following:

Upgrade the Operating System of a DB System

Perform the following steps to upgrade the operating system (OS) of a DB system using the OCI Console:

  1. On the DB Systems list page, select the DB system that you want to work with. If you need help finding the list page or the DB system, see List the DB Systems.
  2. On the DB System details page, select the Updates (OS) tab to view the list of available OS upgrades for the DB system.
  3. Under the Upgrades section, from the Actions menu for the upgrade you are interested in, select the following actions:

    • View details: View information about the upgrade, such as the description, version, and last successful precheck.
    • Precheck: Check for any prerequisites to ensure that the upgrade can be successfully applied.

      To review the precheck details, go to the Update History tab and, from the Actions menu, select View details.

    • Apply OS Update: Apply the selected upgrade. Oracle recommends that you run the precheck for an upgrade before applying it.

Caution:

In the list, the State displays the status of the operation. While an upgrade is being applied, the State changes to Updating and the status of the DB system changes to Updating. Lifecycle operations on the DB system and its resources might be temporarily unavailable. When the upgrade completes successfully, the State changes to Applied and the status of the DB system changes to Available.

Upgrade the Grid Infrastructure of a DB System

Perform the following steps to upgrade the Grid Infrastructure (GI) of a DB system using the OCI Console:

  1. On the DB Systems list page, select the DB system that you want to work with. If you need help finding the list page or the DB system, see List the DB Systems.
  2. On the details page, select the Updates (GI) tab to view the list of available Grid Infrastructure upgrades for the DB system.

    The latest approved Release Update is available by default. You can also select one of the two preceding Release Updates (N-1 or N-2) after acknowledging the message displayed. To use a Release Update older than N-2, you must submit a Service Request.

  3. From the Actions menu for the upgrade you are interested in, select one of the following actions:

    • View details: View the details about this upgrade.
    • Precheck: Check for any prerequisites to ensure that the upgrade can be successfully applied.
    • Apply update: Applies the selected upgrade. Oracle recommends that you run the precheck operation for an upgrade before applying it.

In the list, the State displays the status of the operation. While an update is being applied, the State displays as Updating. The status of the DB system also displays as Updating. Lifecycle operations on the DB system and its resources might be temporarily unavailable. If the update completes successfully, the State changes to Applied and the status of the DB system changes to Available.

View the Upgrade History of a DB System

Perform the following steps to view the upgrade history of a DB system using the OCI Console:

  1. On the DB Systems list page, select the DB system that you want to work with. If you need help finding the list page or the DB system, see List the DB Systems.
  2. On the details page, select the Update History tab to view the history of update and upgrade operations for that DB system.

Roll Back a Failed Upgrade

Perform the following steps to roll back an unsuccessful upgrade of a DB system using the OCI Console:

  1. On the DB Systems list page, select the DB system that you want to work with. If you need help finding the list page or the DB system, see List the DB Systems.
  2. On the details page, select the Update History tab to view the history of update and upgrade operations for that DB system.

    When there is an unsuccessful upgrade, an alert message will be displayed at the top of the page.

  3. Select Rollback and confirm.