Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
fe2a818
Initial commit
psaini79 Sep 11, 2022
99ba6de
Added 23c Sharding files
Sep 11, 2022
cceb48d
Added Files in sharding for Native Replication
Oct 14, 2022
ee1424a
Added 23c Dockerfiles
Nov 2, 2022
142c3c6
Fixed typos in 23c README.md
Nov 2, 2022
ff22c52
Fixed typos in 23c README.md
Nov 2, 2022
503d8ca
Added Raft Replication Sharding README.md
Nov 2, 2022
1723ad6
Added symbolic link for python
Jan 10, 2023
2e4aaaf
Update Dockerfile
psaini79 Jan 10, 2023
5818806
Update Dockerfile
psaini79 Jan 23, 2023
6bd1c9b
Update Checksum
psaini79 Jan 23, 2023
5e571cc
Added Fixes for Sharding and GSM 23c
Mar 12, 2023
40f247b
Added fix for Sharding GSM
Mar 14, 2023
3ebceb7
Added fix for catalog creation
Mar 18, 2023
3b9d2ff
Added fixes
Apr 16, 2023
d00dc1c
Merge branch 'main' of orahub.oci.oraclecorp.com:paramdeep_saini/db-s…
Apr 16, 2023
182dedd
Revert "Merge branch 'main' of orahub.oci.oraclecorp.com:paramdeep_sa…
psaini79 Apr 16, 2023
52bf290
Merge branch 'revert-d00dc1ca' into 'main'
psaini79 Apr 16, 2023
1dee300
Added fixes
Apr 16, 2023
35ca888
Added fixes
Apr 16, 2023
3023c9c
Merge branch 'main' of orahub.oci.oraclecorp.com:paramdeep_saini/db-s…
Apr 16, 2023
36bd307
Added a fix for checking if shard is added or not
Apr 16, 2023
4990529
Added fix for DB aprams
Apr 17, 2023
a7403f1
Added fixes for 23c
Apr 18, 2023
308c8a9
Added fixes for 23c
Apr 21, 2023
10ebc47
Removed orig_23.3.0
Apr 27, 2023
1470939
Added fixes for GSM 23c
May 2, 2023
a898f0c
Added fixes for user defined sharding
Jul 9, 2023
2f74a68
Added fixes for User Defined Sharding
Jul 10, 2023
433d8a3
Added 23c fixes
Aug 11, 2023
1430647
Added fix for shard_setup variable
Aug 29, 2023
487d340
Added Fix for Shard deletion
Oct 5, 2023
8fa8c77
Added 23.4.0 files
Oct 11, 2023
c6f0107
Added fixes related to 23.4
Oct 25, 2023
0bc5f17
Added SNR delete
Nov 15, 2023
dda36e1
Added fixes for the setting up the events
Nov 15, 2023
b37d39b
added the docker compose and podman compose steps to the README.md fi…
jpverma85 Nov 29, 2023
c430908
Added fix for event settings
Dec 4, 2023
07bc2fb
Merge branch 'jyoti-sharding-compose' into 'main'
psaini79 Dec 4, 2023
756b2ad
added separate compose .md files
jpverma85 Dec 5, 2023
f1b2750
modified README.md file
jpverma85 Dec 5, 2023
2b8cca3
Added fix for cloning by adding local_listener param
Dec 13, 2023
2baff92
Merge branch 'jyoti-dec04' into 'main'
psaini79 Dec 17, 2023
2881ae8
Added SNR delete functionality
Jan 13, 2024
7e3f6a8
Added SNR delete fix
Jan 19, 2024
c700b6c
Jyoti compose changes jan22
jpverma85 Jan 23, 2024
15c791d
Merge branch 'jyoti_compose_changes_jan22' into 'main'
psaini79 Jan 23, 2024
1b3c5f4
jyoti-sharding-changes-jan24
jpverma85 Jan 24, 2024
1eed60d
jyoti-sharding-changes-jan24
jpverma85 Jan 24, 2024
e79d81f
jyoti-sharding-changes-jan24
jpverma85 Jan 25, 2024
cf246d6
jyoti-sharding-changes-jan24
jpverma85 Jan 25, 2024
cfd5cff
jyoti-sharding-changes-jan24
jpverma85 Jan 26, 2024
6abb552
jyoti-sharding-changes-jan24
jpverma85 Jan 26, 2024
980eeb4
jyoti-sharding-changes-jan24
jpverma85 Jan 26, 2024
dbd4031
jyoti-sharding-changes-jan24
jpverma85 Jan 26, 2024
e8357bf
jyoti-sharding-changes-jan24
jpverma85 Jan 27, 2024
5afd477
jyoti-sharding-changes-jan24
jpverma85 Jan 28, 2024
d39ca9c
jyoti-sharding-changes-jan24
jpverma85 Jan 28, 2024
47f9f21
jyoti-sharding-changes-jan24
jpverma85 Jan 28, 2024
5be3be9
jyoti-sharding-changes-jan24
jpverma85 Jan 29, 2024
09b1b5e
jyoti-sharding-changes-jan24
jpverma85 Jan 29, 2024
3b7fc1f
jyoti-sharding-changes-jan24
jpverma85 Jan 29, 2024
8efcb33
Added Sharding Scripts fix for wallet root for 21c
Jan 29, 2024
6e88228
jyoti-sharding-changes-jan24
jpverma85 Feb 5, 2024
ae638a6
jyoti-sharding-changes-jan24
jpverma85 Feb 5, 2024
ec90deb
Added fixes for password management
Feb 10, 2024
4c8ec7a
Added fixes for TDE KEY
Feb 15, 2024
ce93d47
Added fixes
Feb 23, 2024
70bba1e
Added fixes to handle user defined sharding
psaini79 Feb 28, 2024
f570109
Added fix in oracommon.py
psaini79 Mar 1, 2024
7f24375
Added fixes for pkeyutl
psaini79 Mar 1, 2024
6a94b4a
Added fix for password management
psaini79 Mar 1, 2024
c79b403
doc changes
jpverma85 Mar 1, 2024
ce3915d
Merge branch 'main' into jyoti-sharding-changes-jan24
jpverma85 Mar 1, 2024
0378830
changes for manual snr podman page
jpverma85 Mar 1, 2024
56963b8
Aded fix for shardspace
psaini79 Mar 3, 2024
b553cd6
added changes related to sharding tests
jpverma85 Mar 3, 2024
5716a40
Merge branch 'main' into jyoti-sharding-changes-jan24
jpverma85 Mar 3, 2024
37461ed
added changes
jpverma85 Mar 3, 2024
8e35a32
Added files for sspace fix
psaini79 Mar 4, 2024
2c3d7cb
added sspace changes
jpverma85 Mar 4, 2024
3f9f1ff
added doc changes for user defined sharding
jpverma85 Mar 5, 2024
4f28a31
added doc changes for user defined sharding
jpverma85 Mar 5, 2024
7858930
added compose changes
jpverma85 Mar 5, 2024
804229a
added compose changes
jpverma85 Mar 5, 2024
ed8e8c3
added new changes
jpverma85 Mar 8, 2024
0ee052b
Merge branch 'jyoti-sharding-changes-jan24' into 'main'
psaini79 Mar 8, 2024
883cccf
added script changes for db clone fix
jpverma85 Mar 14, 2024
72af2d5
Merge branch 'db-clone-fix' into 'main'
psaini79 Mar 14, 2024
8092e4b
Added fixes for Sharding Liveness check
psaini79 Mar 21, 2024
d3893c8
Added fixes for GSM images optimization
psaini79 Apr 3, 2024
58f1d50
Added fixes
psaini79 Apr 3, 2024
ec039ef
Buildfix
s1saurabh Apr 4, 2024
92d6bbf
Merge branch 'buildfix' into 'main'
psaini79 Apr 4, 2024
86f5603
Added fixes
psaini79 Apr 8, 2024
ebdb781
Added fixes
psaini79 Apr 8, 2024
6e18517
save intermittent README file changes
s1saurabh Apr 17, 2024
a3bf76b
Merge branch 'readmechanges' into 'main'
psaini79 Apr 17, 2024
7358d2c
Update README.md style edits
dwilliams-orcl Apr 18, 2024
3624887
README filile ix for quickstart
s1saurabh Apr 18, 2024
40b706c
Merge branch 'readme' into 'main'
psaini79 Apr 18, 2024
f8fbcb7
update readme file
s1saurabh Apr 19, 2024
4364570
Update README.md resubmitting minor style changes
dwilliams-orcl Apr 19, 2024
689d838
Merge branch 'readmechange' into 'main'
psaini79 Apr 23, 2024
76a8adf
Update README.md Minor style updates
dwilliams-orcl Apr 23, 2024
9d0b241
update REAMDME files
s1saurabh Apr 24, 2024
6f6d7ca
Merge branch 'readmenew' into 'main'
psaini79 Apr 24, 2024
05fc3c7
Readme.md changes
jpverma85 Apr 24, 2024
49892da
Merge branch 'jyoti-apr-24' into 'main'
psaini79 Apr 24, 2024
b60b935
quickstart changes
jpverma85 Apr 25, 2024
26e806b
added doc changes
jpverma85 Apr 25, 2024
2de9809
added doc changes
jpverma85 Apr 25, 2024
7ce371f
added doc changes for system sharding for podman
jpverma85 Apr 25, 2024
05770d0
added doc changes for system sharding for podman
jpverma85 Apr 25, 2024
361fa38
added doc changes for system sharding for podman
jpverma85 Apr 25, 2024
0b1842b
added doc changes for system sharding for podman
jpverma85 Apr 25, 2024
84770ff
added doc changes for system sharding for podman
jpverma85 Apr 26, 2024
2dbbaae
added doc changes for user defined sharding for podman
jpverma85 Apr 26, 2024
fc9fe06
added doc changes for system sharding for docker
jpverma85 Apr 26, 2024
bf5ace9
added doc changes for docker
jpverma85 Apr 26, 2024
bfd836b
added doc changes for docker
jpverma85 Apr 28, 2024
188571e
Merge branch 'jyoti-apr-25' into 'main'
psaini79 May 3, 2024
d491a16
added the command to add package selinux-policy-devel for podman if u…
jpverma85 May 4, 2024
982eab9
Merge branch 'jyoti-apr-25' into 'main'
psaini79 May 7, 2024
bd474a3
Added ORACLE_PWD fix
psaini79 May 11, 2024
1d90059
Added fix for handling ORACLE_PWD
psaini79 May 14, 2024
beb143a
Added 26.0.0
psaini79 Jun 22, 2024
759dbba
Added 26ai zip file
psaini79 Jun 24, 2024
4c85da4
Added fixes
psaini79 Jun 27, 2024
9fec126
added changes for db_unique_name for Oracle 23ai Free DB
Jun 28, 2024
6ea949b
added changes for db_unique_name for Oracle 23ai Free DB
Jun 28, 2024
897e618
Merge branch 'oracle-23ai-free' into 'main'
psaini79 Jul 8, 2024
97d2ab5
Added fixes
psaini79 Jul 8, 2024
f29250d
Addef fixes
psaini79 Jul 9, 2024
3d96213
fix for 36824867 to add tns entries
Jul 11, 2024
4adbc1b
additional changes to fix 36828920
Jul 11, 2024
169a4ab
Merge branch 'fix36824867-add-tns-entries' into 'main'
psaini79 Jul 11, 2024
381b597
sharding-doc-changes-free
Jul 30, 2024
c095b23
compose file changes
Jul 30, 2024
c4579ad
compose doc changes
Jul 31, 2024
a626ada
compose doc changes
Jul 31, 2024
ab8e7c2
compose doc changes
Aug 1, 2024
ca1a313
compose doc changes
Aug 1, 2024
6db4a51
added links for compose files on the README
Aug 2, 2024
ffb6638
Merge branch 'sharding-doc-changes-free' into 'main'
psaini79 Aug 2, 2024
575d286
selected-change-from-djwillia-oracle-GDD-edit
Aug 5, 2024
39544ec
Merge branch 'selected-change-from-djwillia-oracle-GDD-edit' into 'main'
psaini79 Aug 5, 2024
49caf0d
TEST PUSH 1
dwilliams-orcl Aug 7, 2024
23fac64
Update 2 files
dwilliams-orcl Aug 7, 2024
1c2cfec
update 5
dwilliams-orcl Aug 7, 2024
af5bf81
Update 6 files
dwilliams-orcl Aug 7, 2024
926625d
Update file README.md
dwilliams-orcl Aug 7, 2024
d868007
Update 2 files
dwilliams-orcl Aug 7, 2024
10b1f55
Update file README.md
dwilliams-orcl Aug 7, 2024
57d9891
Update 3 files
dwilliams-orcl Aug 7, 2024
05cc492
Update 2 files
dwilliams-orcl Aug 7, 2024
78f786e
Update file README.md
dwilliams-orcl Aug 7, 2024
8617d93
Update file README.md
dwilliams-orcl Aug 7, 2024
eadf2bc
Update file readme.md
dwilliams-orcl Aug 7, 2024
9d91530
Update file README.md
dwilliams-orcl Aug 7, 2024
694c882
Update file README.md
dwilliams-orcl Aug 7, 2024
1c71817
Merge branch '06-Aug-djwillia-updates' into 'main'
jpverma85 Aug 7, 2024
6e634c8
changes from branch 07-Aug-djwillia-compose-and-container-files-readme
Aug 7, 2024
25fd4f4
Added 23.5.0
psaini79 Aug 13, 2024
1e17c1b
Merge remote-tracking branch 'gitlab/main' into merge-gitlab-main
s1saurabh Aug 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# exclude following files or directory
*.zip
30 changes: 30 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
** Oracle Sharding Tools Library
**
** Copyright © 2020 Oracle, Inc. All rights reserved.
** The Universal Permissive License (UPL), Version 1.0
**
** Subject to the condition set forth below, permission is hereby granted to any person obtaining a copy of this
** software, associated documentation and/or data (collectively the "Software"), free of charge and under any and
** all copyright rights in the Software, and any and all patent rights owned or freely licensable by each licensor
** hereunder covering either (i) the unmodified Software as contributed to or provided by such licensor, or
** (ii) the Larger Works (as defined below), to deal in both
**
** (a) the Software, and
** (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if one is included with the Software
** (each a “Larger Work” to which the Software is contributed by such licensors),
**
** without restriction, including without limitation the rights to copy, create derivative works of, display,
** perform, and distribute the Software and make, use, sell, offer for sale, import, export, have made, and have
** sold the Software and the Larger Work(s), and to sublicense the foregoing rights on either these or other terms.
**
** This license is subject to the following condition:
** The above copyright notice and either this complete permission notice or at a minimum a reference to the UPL must
** be included in all copies or substantial portions of the Software.
**
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
** THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
** CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
** IN THE SOFTWARE.
*/
201 changes: 201 additions & 0 deletions container-based-sharding-deployment/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
# Oracle Globally Distributed Database in Linux Containers

Learn about container deployment options for Oracle Globally Distributed Database in Linux Containers Release 23ai (v23.5).

## Overview of Oracle Globally Distributed Database in Linux Containers

Oracle Globally Distributed Database is a scalability and availability feature for custom-designed OLTP applications that enables the distribution and replication of data across a pool of Oracle Databases that do not share hardware or software. The pool of databases is presented to the application as a single logical database.

This project provides sample container files to facilitate installation, configuration, and environment setup for DevOps users. For more information about Oracle Database, see: [Oracle Globally Distributed Database Management Documentation](http://docs.oracle.com/en/database/).

Review each of the sections of this README in the order given. After reviewing each section of the README, you can skip the image or container creation sections that do not apply to you.

This project offers example container files for the following:

* Oracle Database 23ai Global Service Manager (GSM/GDS) (23.5.0) for Linux x86-64
* Older Releases: Oracle 19c (19.3) and Oracle 21c (21.3) for Linux x86-64


## Using this Documentation
To create an Oracle Globally Distributed Database Container environment, follow these steps:

- [Oracle Globally Distributed Database in Linux Containers](#oracle-globally-distributed-database-in-linux-containers)
- [Overview of Oracle Globally Distributed Database in Linux Containers](#overview-of-oracle-globally-distributed-database-in-linux-containers)
- [Using this Documentation](#using-this-documentation)
- [Preparation Steps for running Oracle Globally Distributed Database in Linux Containers](#preparation-steps-for-running-oracle-globally-distributed-database-in-linux-containers)
- [QuickStart](#quickstart)
- [Building Oracle Globally Distributed Database Container Images](#building-oracle-globally-distributed-database-container-images)
- [Building Oracle Global Service Manager Image](#building-oracle-global-service-manager-image)
- [Building Oracle Database Image](#building-oracle-database-image)
- [Building Extended Oracle Database Image with Oracle Globally Distributed Database Feature](#building-extended-oracle-database-image-with-globally-distributed-database-feature)
- [Oracle Globally Distributed Database in Containers Deployment Scenarios](#oracle-globally-distributed-database-in-containers-deployment-scenarios)
- [Deploy Oracle Globally Distributed Database Containers](#deploy-oracle-database-globally-distributed-database-containers)
- [Deploy Oracle Globally Distributed Database Containers on Podman](#deploy-oracle-globally-distributed-database-containers-on-podman)
- [Deploy Oracle Globally Distributed Database Containers on Docker](#deploy-oracle-globally-distributed-database-containers-on-docker)
- [Deploy Oracle Globally Distributed Database Containers on Podman using Oracle 23ai FREE Images](#deploy-oracle-globally-distributed-database-containers-on-podman-using-oracle-23ai-free-images)
- [Oracle Globally Distributed Database in Containers Deployment using docker-compose](#oracle-globally-distributed-database-in-containers-deployment-using-docker-compose)
- [Oracle Globally Distributed Database in Containers Deployment using podman-compose](#oracle-globally-distributed-database-in-containers-deployment-using-podman-compose)
- [Support](#support)
- [License](#license)
- [Copyright](#copyright)

## Preparation Steps for running Oracle Globally Distributed Database in Linux Containers
**Note :** All Steps or Commands in this guide must be run as `root` or with a `sudo` user.
* Before you proceed, complete the following prerequisites for your platform:
* If you are using Oracle Linux 7, then install Docker.
* If you are using an Oracle Linux 7 system, then you must install [Docker Engine](https://docs.oracle.com/en/operating-systems/oracle-linux/docker/).
* Install `docker-engine` and `docker-cli` using yum command.
```bash
yum-config-manager --enable ol7_addons
yum install docker-engine docker-cli
yum start docker
systemctl enable --now docker
```
* If you are using Oracle Linux 8, then Install Podman.
* You must install and configure [Podman release 4.6.1 or later](https://docs.oracle.com/en/learn/intro_podman/index.html#introduction) or later on Oracle Linux 8.9 or later to run Oracle Globally Distributed Database on Podman.
* You need to install `podman-docker` utility using dnf command.
```bash
# Enable the Oracle Linux 8 AppStream repository
dnf config-manager --enable ol8_appstream

# Install Podman and Podman-docker
dnf install -y podman podman-docker
```
* If SELinux is enabled on podman host, then install the following package as well:
```bash
dnf install -y selinux-policy-devel
```

## QuickStart
Oracle recommends that you start with the Quickstart to become familiar with Oracle Globally Distributed Database in Linux Containers. See: [QuickStart documentation](./docs/QUICKSTART.md).

After you become familiar with Oracle Globally Distributed Database in Linux Containers, you can explore more advanced setups, deployments, features, and so on, as explained in detail in [Oracle Globally Distributed Database in Containers Deployment Scenarios](#oracle-globally-distributed-database-in-containers-deployment-scenarios).

**Note:**
* Ensure that you have enough space in `/var/lib/containers` while building the Oracle Globally Distributed Database images. Also, if required use `export TMPDIR=</path/to/tmpdir>` for Podman to refer to any other folder as the temporary podman cache location instead of the default `/tmp` location.

## Building Oracle Globally Distributed Database Container Images

To assist with building the images, you can use the [buildContainerImage.sh](containerfiles/buildContainerImage.sh) script.

**IMPORTANT:** Oracle Global Service Manager (GDS) container is useful when you want to configure the Global Data Service Framework. A Global Data Services framework consists of at least one global service manager, a Global Data Services catalog, and the GDS configuration databases.

### Building Oracle Global Service Manager Image

**IMPORTANT:** To create an Oracle Global Service Manager image (GSM image), you must provide the installation binaries of `Oracle Global Service Manager Oracle Database 23ai (23.4) for Linux x86-64` and put them into the `containerfiles/<version>` folder. You only need to provide the binaries for the edition you are going to install. The binaries can be downloaded from the [Oracle Technology Network](http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html). You must ensure that you have internet connectivity for the DNF package manager.

**Note:** Do not uncompress the binaries.

The `buildContainerImage.sh` script is just a utility shell script that performs MD5 checks. This script provides an easy way for beginners to get started. Expert users can directly call `podman build` with their preferred set of parameters. Before you build the image, ensure that you have provided the installation binaries and put them into the right folder. Go into the **containerfiles** folder and run the **buildContainerImage.sh** script as `root` or with `sudo` privileges:

```bash
./buildContainerImage.sh -v (Software Version)
./buildContainerImage.sh -v 23.4.0
```

For detailed usage information for `buildContainerImage.sh`, run the following command:

```bash
./buildContainerImage.sh -h
Usage: buildContainerImage.sh -v [version] -t [image_name:tag] [-e | -s] [-i] [-o] [container build option]
It builds a container image for a DNS server

Parameters:
-v: version to build
-i: ignores the MD5 checksums
-t: user defined image name and tag (e.g., image_name:ta
-o: passes on container build option (e.g., --build-arg SLIMMIMG=true for slim)

LICENSE UPL 1.0

Copyright (c) 2014,2024 Oracle and/or its affiliates.
```

### Building Oracle Database Image

To build Oracle Globally Distributed Database on a container, download and build an Oracle 23.4.0 Database Image. See the Oracle Database Single Instance [README.MD](https://github.com/oracle/docker-images/blob/main/OracleDatabase/SingleInstance/README.md), which is available on the Oracle GitHub repository.

**Note**: Use the [README.MD](https://github.com/oracle/docker-images/blob/main/OracleDatabase/SingleInstance/README.md) to create the image, and do not use the container instructions. For the container, use the steps given in this document under the [Oracle Globally Distributed Database in Containers Deployment Scenarios](#oracle-globally-distributed-database-in-containers-deployment-scenarios) section.

### Building Extended Oracle Database Image with Oracle Globally Distributed Database Feature

After creating the base image using `buildContainerImage.sh` in the previous step, use the `buildExtensions.sh` script that is under the `extensions` folder to build an extended image. This extended image will include the Oracle Globally Distributed Database Feature. For more information, refer to the [README.MD](https://github.com/oracle/docker-images/blob/main/OracleDatabase/SingleInstance/extensions/README.md) in the `extensions` folder for the Oracle Single Instance Database, which is available on the Oracle GitHub repository.

For example:

```bash
./buildExtensions.sh -a -x sharding -b oracle/database:23.4.0-ee -t oracle/database-ext-sharding:23.4.0-ee -o "--build-arg BASE_IMAGE_VERSION=23.4.0"

Where:
"-x sharding" is to specify to have sharding feature in the extended image
"-b oracle/database:23.4.0-ee" is to specify the Base image created in previous step
"oracle/database-ext-sharding:23.4.0-ee" is to specify the name:tag for the extended image with Sharding Feature
-o "--build-arg BASE_IMAGE_VERSION=23.4.0" is to specify the BASE_IMAGE_VERSION to clone from db-sharding git repo
```

To see more usage instructions for the `buildExtensions.sh` script, run the following command:
```bash
./buildExtensions.sh -h

Usage: buildExtensions.sh -a -x [extensions] -b [base image] -t [image name] -v [version] [-o] [container build option]
Builds one of more Container Image Extensions.

Parameters:
-a: Build all extensions
-x: Space separated extensions to build. Defaults to all
Choose from : k8s patching prebuiltdb sharding
-b: Base image to use
-v: Base version to extend (example 21.3.0)
-t: name:tag for the extended image
-o: passes on Container build option

LICENSE UPL 1.0

Copyright (c) 2024 Oracle and/or its affiliates. All rights reserved.
```

## Oracle Globally Distributed Database in Containers Deployment Scenarios
### Deploy Oracle Globally Distributed Database Containers
If you want to manually deploy the Oracle Globally Distributed Database using Docker or Podman containers, then use the sections that follow to see the step by step procedure.

#### Deploy Oracle Globally Distributed Database Containers on Podman

To deploy an Oracle Globally Distributed Database on Podman, see: [Deploy Oracle Globally Distributed Database Containers on Podman](./samples/container-files/podman-container-files/README.md). This document provides the commands that you need to deploy an Oracle Globally Distributed Database using Podman with System-Managed Sharding or with System-Managed Sharding with RAFT replication or with User Defined Sharding.

**NOTE:** If you want to use Oracle Database 21c or Oracle Database 23ai release-based container images with Podman, then you must deploy on an Oracle Linux 8 host.

#### Deploy Oracle Globally Distributed Database Containers on Docker

To deploy an Oracle Globally Distributed Database on Docker, see: [Deploy Oracle Globally Distributed Database Containers on Docker](./samples/container-files/docker-container-files/README.md). This document provides the commands that you need to deploy an Oracle Globally Distributed Database using Docker with either System-Managed Sharding or with User Defined Sharding.

**NOTE:** If you want to use the Oracle Database 19c or Oracle Database 21c release-based container images with Docker, then you must deploy on an Oracle Linux 7 host.

#### Deploy Oracle Globally Distributed Database Containers on Podman using Oracle 23ai FREE Images

To deploy an Oracle Globally Distributed Database on Podman using Oracle 23ai FREE Images, see: [Deploy Oracle Globally Distributed Database Containers on Podman using Oracle 23ai FREE Images](./samples/container-files/podman-container-files-free/README.md). This document provides the commands that you need to deploy an Oracle Globally Distributed Database with Oracle 23ai FREE Images using Podman with System-Managed Sharding or with System-Managed Sharding with RAFT replication or with User Defined Sharding.

## Oracle Globally Distributed Database in Containers Deployment using docker-compose

To deploy an Oracle Globally Distributed Database in Containers using docker-compose, refer to [Deploying Oracle Globally Distributed Database Containers using docker-compose](./samples/compose-files/docker-compose/README.md)

## Oracle Globally Distributed Database in Containers Deployment using podman-compose

To deploy an Oracle Globally Distributed Database in Containers using podman-compose, refer to [Deploying Oracle Globally Distributed Database Containers using podman-compose](./samples/compose-files/podman-compose/README.md)

## Support

Oracle Global Service Manager (GSM) and Oracle Globally Distributed Database on Docker is supported on Oracle Linux 7.
Oracle Database 23ai GSM and Oracle Globally Distributed Database on Podman is supported on Oracle Linux 8 and onwards.


## License

To download and run Oracle Global Service Manager (GSM) and Oracle Globally Distributed Database, either inside or outside a Container, you must download the binaries from the Oracle website and accept the license indicated at that page.

All scripts and files hosted in this project and GitHub docker-images/OracleDatabase repository required to build the Docker and Podman images are, unless otherwise noted, released under UPL 1.0 license.


## Copyright

Copyright (c) 2022 - 2024 Oracle and/or its affiliates.
Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

###############################################################################
## Copyright(c) Oracle Corporation 1998,2019. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## ##
###############################################################################

#-------------------------------------------------------------------------------
# Do not change the following system generated value.
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_gsminstall_response_schema_v19.0.0

#-------------------------------------------------------------------------------
# Unix group to be set for the inventory directory.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=oinstall
#-------------------------------------------------------------------------------
# Inventory location.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=###INVENTORY###
#-------------------------------------------------------------------------------
# Complete path of the Oracle Home
#-------------------------------------------------------------------------------
ORACLE_HOME=###ORACLE_HOME###

#-------------------------------------------------------------------------------
# Complete path of the Oracle Base.
#-------------------------------------------------------------------------------
ORACLE_BASE=###ORACLE_BASE###
Loading