Universal Installer   «Prev  Next»

Lesson 6 Automating Deployments with Fleet Patching & Provisioning (FPP)
Objective Standardize, patch, and provision Oracle 23c/23ai fleets using gold images, out-of-place workflow, and controlled switchover.

Automating Oracle Deployments with Fleet Patching & Provisioning (FPP)

Legacy “Software Packager” workflows were designed for distributing installers to many desktops. In the cloud-era, Oracle’s Fleet Patching & Provisioning (FPP) replaces that approach with centralized, image-based automation for database and grid homes. FPP standardizes software across large estates, minimizes outage windows via out-of-place patching, and lets you operate at fleet scale.

Core Concepts

Why FPP Over Legacy Methods?

Prerequisites & Topology (Sanity Check)

Golden Path Workflow

  1. Create/Import a Gold Image from a patched reference home.
  2. Subscribe target homes (DB/GI) to a specific image/version.
  3. Deploy Working Copies to clients (pre-stage new homes).
  4. Switch databases from old home to the new working copy (brief outage).
  5. Verify services, datapatch status, and performance; decommission old homes after sign-off.

Command-Line Examples (rhpctl)

1) Create or Import a Gold Image

# Import a prepared database home as a gold image
rhpctl import -image DB23_1 -path /u01/app/oracle/product/23.1.0/dbhome_1

# List images
rhpctl query image

2) Provision a Working Copy

# Local working copy on a client host
rhpctl add workingcopy \
  -workingcopy DB_HOME_231 \
  -image DB23_1 \
  -storagetype LOCAL \
  -oraclebase /u01/app/oracle

# Client-directed working copy (explicit path)
rhpctl add workingcopy \
  -image DB23_1 \
  -path /u01/app/oracle/product/23.1.0/dbhome_23c \
  -workingcopy DB_HOME_23c \
  -client client_042 \
  -oraclebase /u01/app/oracle

3) Switch Databases to the New Home

# Stop → switch → start is orchestrated by FPP
# Example flow (syntax may vary by environment/policy)
rhpctl move database \
  -dbname PROD \
  -targetworkingcopy DB_HOME_23c

4) Post-Switch Validation

# Confirm datapatch status, components, and registry
$ORACLE_HOME/OPatch/datapatch -verbose

# Confirm image and working copy status
rhpctl query workingcopy

Enterprise Manager (Optional)

If you prefer a GUI + API approach, Enterprise Manager Fleet Maintenance can create and manage software images and invoke FPP actions. Automations can also be scripted via emcli.

# Example (illustrative)
emcli db_software_maintenance \
  -createSoftwareImage \
  -input_file="data:/home/user/image_input.json"

Automated Patching Modes

Policy, Governance, and Drift Control

Migrating from “Software Packager” to FPP

Next lesson: Module summary & runbook pointers, tying provisioning (Lesson 2), parameters (Lesson 3), DBCA/OCI (Lesson 4), upgrades (Lesson 5), and FPP (Lesson 6) into a single operational playbook.


SEMrush Software 6 SEMrush Banner 6