Update the DB System Resources Using dbcli

You can use the dbcli utility to update your bare metal or virtual machine DB system components. This includes updating the DB system software, the operating systems on the nodes (virtual machines) within the system, and Oracle Database Homes.

For information on updating Oracle Databases running in a bare metal or virtual machine DB system, see Update a Database. For more information on using dbcli to manage your Oracle Cloud Infrastructure DB systems and databases, see Oracle Database CLI Reference.


  1. Preparing for an OS Update

    Before you update the OS, review the following important guidelines and information:

    • Back up your DB system's databases prior to attempting an OS update.
    • Do not remove packages from a DB system. However, you might have to remove custom RPMs (packages that were installed after the system was provisioned) for the update to complete successfully.


      Do not install NetworkManager on the DB system. Installing this package and rebooting the system results in severe loss of access to the system.
    • Oracle recommends that you test any updates thoroughly on a non-production system before updating a production system.
    • The image used to launch a DB system is updated regularly with the necessary updates. After you launch a DB system, you are responsible for applying the required OS security updates published through the Oracle public YUM server.
    • To apply OS updates, the DB system's VCN must be configured to allow access to the YUM repository. For more information, see VCN and Subnets.
  2. Requirements for Using SSH to Connect to a DB System

    To connect to the DB system via SSH, you need the path to the private key associated with the public key used when the DB system was launched.

    You also need the public or private IP address of the DB system.

    Use the private IP address to connect to the system from your on-premises network, or from within the virtual cloud network (VCN). This includes connecting from a host located on-premises connecting through a VPN or FastConnect to your VCN, or from another host in the same VCN. Use the DB system's public IP address to connect to the system from outside the cloud (with no VPN). You can find the IP addresses in the Oracle Cloud Infrastructure Console as follows:

    1. On the DB System Details page, under Resources, click Nodes.
    2. View the values are displayed in the Public IP Address and Private IP Address & DNS Name columns of the table displaying the Nodes of the DB system.

Update the CLI With the Latest Commands

Check for Installed and Available Updates

Update Server Components

Update Database Home Components

Check for Available Operating System Updates for DB System Nodes

Update the Operating System of a DB System Node