Step 2 - Create a Database KVM (Database System)

To create a database KVM (Database System) in Oracle Database Appliance, you must first download the DB system image (database VM template) into the appliance, then update the repository so that the database VM template is saved in Oracle Database Appliance.

$  odacli update-repository -f /opt/oracle/dcs/patchfiles/odacli-dcs-19.14.0.0.0-220118-ODAVM-19.14.0.0.zip 
{
  "jobId" : "2d45004d-923b-45d9-b27c-cfbda391edb6",
  "status" : "Running",
  "message" : "/opt/oracle/dcs/patchfiles/odacli-dcs-19.14.0.0.0-220118-ODAVM-19.14.0.0.zip",
  "reports" : [ ],
  "createTimestamp" : "February 26, 2022 07:45:04 AM UTC",
  "resourceList" : [ ],
  "description" : "Repository Update",
  "updatedTime" : "February 26, 2022 07:45:05 AM UTC"
}

In the BUI, select DB Systems on the left, and click Create DB System. Then, click Create.

Create DB System

Enter the System Information, Network Information, CPU Pool and Database Information, then click Create.

System Information

Note the database shape selected will determine the number of CPU cores assigned to the database.  A database CPU pool is automatically created, or a database CPU Pool can be selected.  A default network is also be automatically assigned to the database, or a network can be selected.  Make sure CDB is selected.

Database Information

You can see that a database KVM dbsystem1 is created. 

DB System Information

You can find the details for dbsystem1 by clicking on it.

DB System Information

You can modify the DB System by clicking Actions and then selecting Modify.

Modify DB System

You can change the database shape from odb2 (2 cores) to odb4 (4 cores).

Modify DB System

Click the DB Systems tab on the left to verify that dbsystem1 has 4 cores now.

DB Systems tab

This concludes Lab 4.