My Oracle Support Banner

runInstaller includes Instance specific artefacts from <Source OH>/dbs during Gold Image Creation (Doc ID 2992985.1)

Last updated on JANUARY 30, 2024

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


When running runInstaller -createGoldImage to create a Gold Image of an Oracle Home, the process excludes the files under <Source OH>/network/admin directory, but it does not exclude files under <Source OH>/dbs directory:

[oracle@test dbhome_1]$ ./runInstaller -silent -createGoldImage -destinationLocation /u01/app/oracle/gold
Launching Oracle Database Setup Wizard...

Successfully Setup Software.
Gold Image location: /u01/app/oracle/gold/

The Gold Image zip file contains DB-specific files in the dbs directory:

# unzip -l /u01/app/oracle/gold/ | grep -E "\bdbs/"
-rw-rw----. 1 test testgroup 1544 Oct 24 13:18 hc_ORCLCDB.dat
-rwxr-xr-x. 1 test testgroup 3079 May 14 2015 init.ora
-rw-r-----. 1 test testgroup 24 Oct 24 13:15 lkORCLCDB
-rw-r-----. 1 test testgroup 24 Oct 24 13:13 lkORCLCDB_CWF_SJC
-rw-r-----. 1 test testgroup 2048 Oct 24 13:15 orapwORCLCDB
-rw-r-----. 1 test testgroup 19087360 Oct 24 13:28 snapcf_ORCLCDB.f
-rw-r-----. 1 test testgroup 4608 Oct 24 13:19 spfileORCLCDB.ora

These should not be present inside the Gold Image, as they're Instance specific.


 The Gold Image Creation process excludes the Instance-specific Network Configuration Files like - tnsnames.ora,listener.ora and sqlnet.ora-

$ unzip -l /u01/goldimages/19c/  | grep -E "\bnetwork/admin/"
       0  11-08-2023 12:36   network/admin/
    1536  02-14-2018 03:04   network/admin/shrept.lst
       0  04-17-2019 10:43   network/admin/samples/
   32844  05-19-2014 06:15   network/admin/samples/sqlnet.ora
    3867  09-09-1997 22:45   network/admin/samples/listener.ora
    2939  02-13-1997 23:37   network/admin/samples/tnsnames.ora


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.