GOLD Image Creation IN OEM
🛠️ GOLD Image Creation
Creating a standardized GOLD image for Oracle Grid Infrastructure and Database binaries is essential for maintaining consistency, simplifying patching, and ensuring compliance across production environments. This guide walks you through the process of setting up and generating a GOLD image using Oracle Enterprise Manager (OEM) on the GCP production server (OEM Server).
✅ Prerequisites
🖥️ Environment Setup
Login Server:
OEM Server
Source Database Server:
Test DB Server
Oracle Version: 19.22
Target Requirement: Database must be patched with version 19.22 before proceeding.
🔐 Credential Creation
In the OEM Console, create the following credentials:
Normal Credential
Name:
V2V_ORACLE_VM_LOGIN
User:
oracle
Privilege Credential
Name:
GLOBAL_SUDO_TO_ROOT_VIA_ORACLE
User:
oracle
with sudo privileges to root
📸 Screenshot
Placeholder:
🖼️ OEM
Console → Setup → Security → Named Credentials
👉 Show
creation screen of both credentials
📁 Step 1: Prepare Directories on Source DB Server
On
the source server geetldbpl01
,
execute:
bash CopyEditmkdir -p /ora01/app/dispatch
mkdir -p /ora01/app/stage
📸 Screenshot
Placeholder:
🖼️ Terminal
session showing directory creation
🧾 Step 2: Create Parameter and Input Files
Login
to the GCO prod server (OEM
Server
)
as oracle
user.
🔧 Create a Working Directory
bash CopyEditmkdir FPP
cd FPP
✍️ Create Parameter Files
bash CopyEditvi grid1922_image.txt
vi DB1922_image.txt
chmod 755 *.txt
📸 Screenshot
Placeholder:
🖼️ Terminal
window showing ls
-lrt
of
FPP directory after file creation
✍️ Create Input Deployment Files
bash CopyEditvi input_deploy_grid1922.txt
vi input_deploy_db1922.txt
chmod 755 *.txt
📸 Screenshot
Placeholder:
🖼️ Final
file listing with permissions shown via ls
-lrt
📄 Step 3: Parameter File Contents
grid1922_image.txt
ini CopyEditIMAGE_NAME=GRID922
IMAGE_DESCRIPTION=GRID PSU
REF_TARGET_NAME=OraHome1_4_Test DB Server_8731
IMAGE_SWLIB_LOC=FPPGIMAGE/GRID_1922
STORAGE_TYPE_FOR_SWLIB=OmsShared
STORAGE_NAME_FOR_SWLIB=default_loc
REF_GI_CREDENTIALS=V2V_ORACLE_VM_LOGIN:SYSMAN
REF_HOST_ROOT_CREDENTIALS=GLOBAL_SUDO_TO_ROOT_VIA_ORACLE:SYSMAN
WORKING_DIRECTORY=/ora01/app/stage
VERSION_NAME=19.22
DB1922_image.txt
ini CopyEditIMAGE_NAME=DB1922
IMAGE_DESCRIPTION=DB PSU
REF_TARGET_NAME=OraHome2_5_Test DB Server_6713
IMAGE_SWLIB_LOC=FPPGIMAGE/DB_922
STORAGE_TYPE_FOR_SWLIB=OmsShared
STORAGE_NAME_FOR_SWLIB=default_loc
REF_HOST_CREDENTIALS=V2V_ORACLE_VM_LOGIN:SYSMAN
REF_HOST_ROOT_CREDENTIALS=GLOBAL_SUDO_TO_ROOT_VIA_ORACLE:SYSMAN
WORKING_DIRECTORY=/ora01/app/stage
VERSION_NAME=19.22
📸 Screenshot
Placeholder:
🖼️ Terminal
output showing contents using cat
grid1922_image.txt
and cat
DB1922_image.txt
🖥️ Step 4: OEM Console – Create FPP Image Directory
Login to OEM Console.
Navigate to Enterprise → Provisioning and Patching → Software Library.
Create a new directory:
Path:
FPPGIMAGE
Structure: Subdirectories for
GRID_1922
andDB_922
📸 Screenshot
Placeholder:
🖼️ OEM
Console view showing creation of directories in Software Library
🚀 Step 5: Initiate GOLD Image Creation
Use the OEM’s image creation workflow.
Select the parameter files
grid1922_image.txt
andDB1922_image.txt
.Choose the respective credentials.
Confirm all validations and begin the creation process.
📸 Screenshot
Placeholder:
🖼️ OEM
screen during image creation wizard showing parameter file inputs
🧩 Summary Checklist
Task |
Description |
Status |
---|---|---|
Patch source DB to 19.22 |
Ensure DB is updated |
✅ |
Create required directories |
On source server |
✅ |
Create credentials in OEM |
|
✅ |
Build parameter/input files |
Use provided formats |
✅ |
Setup Software Library |
Create |
✅ |
Launch Image Creation |
From OEM Console |
✅ |
Comments
Post a Comment
Dear User,
Thank you very much for your kind response