Universal Installer   «Prev  Next»

Understanding Oracle Cloud Provisioning

Lesson 2Understanding the Universal Installer
ObjectiveUse Universal Installer and view currently installed software

In Oracle Database 23c and 23ai, the concept of “installation” has evolved into provisioning - an automated, cloud-native process that replaces manual software setup with infrastructure as code (IaC). This lesson explains how DBAs and cloud administrators use the Oracle Cloud Infrastructure (OCI) Console, Command Line Interface (CLI), and Terraform / Resource Manager to deploy, configure, and scale Oracle databases consistently across environments.

Learning Objectives

From Manual Installation to Automated Provisioning

In earlier Oracle releases, administrators used tools like the Universal Installer (OUI) and Database Configuration Assistant (DBCA) to perform step-by-step installations on local servers. Today, these steps are performed programmatically through OCI services that handle storage, networking, parameter initialization, and high availability automatically. The focus has shifted from “how to install Oracle” to “how to provision repeatable, secure, and compliant environments.”

Provisioning Options in OCI

Oracle provides several ways to create new database instances depending on your needs and control level:

  1. OCI Console - A web-based interface ideal for first-time deployments and one-off environments. Wizards handle VCNs, storage, backups, and HA configuration.
  2. OCI CLI - A command-line interface built on OCI APIs that lets you script and automate provisioning in shell or batch workflows.
  3. OCI REST APIs - Direct programmatic access for developers and automation frameworks.
  4. Terraform / OCI Resource Manager - Infrastructure as Code (IaC) for scalable, version-controlled provisioning across multiple environments.

Provisioning Workflow

A modern provisioning cycle consists of four repeatable stages:

  1. Define - Specify compartment, shape, storage, and edition parameters.
  2. Deploy - Create database systems through Console, CLI, or Terraform.
  3. Configure - Apply parameter templates, users, and network security rules.
  4. Automate - Store definitions in version control for reuse or cloning.

Example: Creating a DB System Using OCI CLI

# Example: Launch an Oracle 23c VM Database System
oci db system launch \
  --compartment-id ocid1.compartment.oc1..aaaaexample \
  --availability-domain AD-1 \
  --subnet-id ocid1.subnet.oc1..aaaaexample \
  --shape "VM.Standard3.Flex" \
  --cpu-core-count 8 \
  --db-edition "ENTERPRISE_EDITION_EXTREME_PERFORMANCE" \
  --db-home "{ \"displayName\": \"db23c_home\", \"database\": { \"dbName\": \"PROD23C\" } }"

Example: Terraform Definition for a 23c Autonomous Database

provider "oci" {}

resource "oci_database_autonomous_database" "adb23c" {
  compartment_id        = var.compartment_id
  db_name               = "ADW23C"
  cpu_core_count        = 2
  data_storage_size_in_tbs = 1
  admin_password        = var.admin_password
  db_workload           = "DW"
  is_auto_scaling_enabled = true
  display_name          = "autonomous23c"
}

Automating Configuration with OCI Resource Manager

OCI Resource Manager runs Terraform stacks directly in the cloud. It manages state files, handles permissions securely through IAM, and allows DBAs to trigger provisioning pipelines without maintaining local Terraform binaries. This enables declarative deployments - you describe the desired infrastructure, and OCI ensures it matches the defined state.

Integrating Provisioning with Lifecycle Management

Provisioning is only the start. Oracle 23c and 23ai integrate with tools like Fleet Patching and Provisioning (FPP) and AutoUpgrade for ongoing management. Once provisioned:

Provisioning Best Practices (Sanity Check)

Key Takeaways

Next lesson: Managing Initialization Parameters in Oracle 23c - how dynamic parameters and PDB inheritance simplify configuration and tuning.


SEMrush Software 2 SEMrush Banner 2