Open Naros opened 2 years ago
@Naros Which version are you trying? Non container mode is not supported.
Hi @yunus-qureshi, I know this is problematic for Oracle 19 and 21. I don't recall if this was a problem on Oracle 12.
That said, I would strongly urge that you support non-container mode installations with your images. Deploying Oracle in an EE environment with no container support is still quite commonplace. For software providers like myself who need to test across a wide array of Oracle installations to verify/certify compliance, it would be much more useful if this deployment strategy was something that could more easily be managed via the installation process.
Right now we take the base images (prior to Oracle install) and explicitly overwrite the dbca.rsp.tmpl and the shell scripts mentioned here in order to get a non-container Oracle installation up and running successfully. Anything that can simplify that would be most welcomed.
@Naros Hi, How can you solove this when build non-cdb?
Hi @GOODBOY008, if I recall correctly it required (at least on 19.3) to apply a custom dbca.rsp.tmpl
, createDB.sh
, and checkDBStatus.sh
files before the installation started in order to create a non-CDB image.
Hi @GOODBOY008, if I recall correctly it required (at least on 19.3) to apply a custom
dbca.rsp.tmpl
,createDB.sh
, andcheckDBStatus.sh
files before the installation started in order to create a non-CDB image.
There's a how-to for this in my book...
When making the following changes to
dbca.rsp.tmpl
to use a non-containerized installation:The installation fails because several SQL scripts/checks that are performed fail and Oracle treats the installation as unsuccessful and a restart of the container re-installs the database again. The problem scripts are:
checkDBStatus.sh
assumes there are PDB installs, returning an unexpected result codecreateDB.sh
executes several PDB related SQL statements.The installation should allow the user to specify non-container support and install without the need to make modifications to the above two scripts before allowing the installation to commence in order for the installation to succeed.
checkDBStatus.sh
This script should return a
0
exit code or otherwise check something that is unrelated to PDBs.createDB.sh
The following two SQL statements should be excluded when built without CDB support:
and