-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compatibility for installing Oracle Free Editions #175
Conversation
/test bms-toolkit-install |
/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
/test bms-toolkit-install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Updated gist links showing execution from the latest set of commits: |
[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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.json
file content:Required
data_mounts_config.json
file content: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.66
Install 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-vm
Test 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.67
Install a specific version of 23ai Free Edition by including the
--ora-version
argument:./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-vm
Test 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.68
Run 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 WRITE
state).When not explicitly stated using the
--ora-version
switch, the latest (23.6) version is installed.When an explicit version is specified using the
ora-version
switch, that specific version is installed.Backups completed successfully as per
.out
and.log
files in~oracle/logs
directory on the DB server.Regression test successfully installed 19c EE environment.