Add compatibility for installing Oracle Free Editions#175
Merged
Conversation
Member
|
/test bms-toolkit-install |
Collaborator
Author
|
/test bms-toolkit-install |
Toolkit required significant modification to support installing Oracle Database Free Edition. Summarized as: * Must support an RPM based installation (only option for installing Free Edition). * Must support installing the Oracle pre-installation RPM. * Must support installation in to /opt. * Some options and Grid Infrastructure (ASM) are not applicable/excluded. * Version can be specified or can default to the latest version (software must be staged in the swlib). Documentation is updated with additional details.
07cecf9 to
16d9182
Compare
Collaborator
Author
|
/test bms-toolkit-install |
simonpane
commented
Jan 27, 2025
mfielding
requested changes
Jan 27, 2025
mfielding
reviewed
Jan 27, 2025
Member
mfielding
left a comment
There was a problem hiding this comment.
More comments here; Thanks for going through these, and we'll likely need another round due to the complexity.
f694be3 to
a5e6009
Compare
…andled by setting install_gi=false
… determine whether srvctl should be used
Collaborator
Author
|
Updated gist links showing execution from the latest set of commits: |
mfielding
approved these changes
Jan 28, 2025
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mfielding, simonpane The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
DanielUlisses
added a commit
to pythian/google-toolkit-for-oracle
that referenced
this pull request
May 27, 2026
…emplates (google#175) Adds Storage Pools options to implement the environment with storage pools backed disks. Including updated test script for storage Pools provisioning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Description:
Add support for installing Oracle Database 23ai Free Edition.
Solution Overview:
Toolkit required significant modification to support installing Oracle Database Free Edition. Summarized as:
/opt.Documentation is updated with additional details.
Test Commands:
Multiple tests, using different options, to be run.
Test Prep:
Required
asm_disk_config.jsonfile content:[ { "diskgroup": "DATA", "disks": [ { "blk_device": "/dev/disk/by-id/google-oracle-asm-1", "name": "DATA1" } ] }, { "diskgroup": "RECO", "disks": [ { "blk_device": "/dev/disk/by-id/google-oracle-asm-2", "name": "RECO1" } ] } ]Required
data_mounts_config.jsonfile content:[ { "purpose": "software", "blk_device": "/dev/disk/by-id/google-oracle-disk-1", "name": "u01", "fstype": "xfs", "mount_point": "/u01", "mount_opts": "nofail" } ]Test 1: Check that software is available:
Test 2: Run a complete 23ai Free Edition install:
Enter the appropriate IP address for the target database server:
export INSTANCE_IP_ADDR=10.2.80.66Install the "latest" version of 23ai Free Edition by default (i.e. by not explicitly stating a specific version):
./install-oracle.sh \ --instance-ip-addr ${INSTANCE_IP_ADDR} \ --ora-edition FREE \ --ora-swlib-bucket gs://pythian-gto-oracle-software/free-edition \ --backup-dest /opt/oracle/fast_recovery_area/FREE \ --ora-pdb-count 2 \ --ora-pdb-name-prefix FREEPDB \ --allow-install-on-vmTest 3: Run a custom version of 23ai Free Edition full installation:
Enter the appropriate IP address for a new target database server:
export INSTANCE_IP_ADDR=10.2.80.67Install a specific version of 23ai Free Edition by including the
--ora-versionargument:./install-oracle.sh \ --instance-ip-addr ${INSTANCE_IP_ADDR} \ --ora-edition FREE \ --ora-version 23.5.0.24.07 \ --ora-swlib-bucket gs://pythian-gto-oracle-software/free-edition \ --backup-dest /opt/oracle/fast_recovery_area/FREE \ --ora-pdb-count 2 \ --ora-pdb-name-prefix FREEPDB \ --allow-install-on-vmTest 4: Run a regression test to create a 19c EE database environment:
Enter the appropriate IP address for a new target database server:
export INSTANCE_IP_ADDR=10.2.80.68Run an Oracle Database 19c regression test to ensure that the current changes didn't break existing functionality:
Expected Results:
Updated documentation is complete and comprehensive.
Scripts complete successfully without any failed tasks.
Oracle 23ai Free Edition database is available (with PDBs in
READ WRITEstate).When not explicitly stated using the
--ora-versionswitch, the latest (23.6) version is installed.When an explicit version is specified using the
ora-versionswitch, that specific version is installed.Backups completed successfully as per
.outand.logfiles in~oracle/logsdirectory on the DB server.Regression test successfully installed 19c EE environment.