This section shows how to upgrade Elasticsearch and Kibana.
To determine if this step is required for the version you are upgrading from, refer to the Release Notes.
Download the latest code repository as follows:
Create a working directory to setup the source code.
$ mkdir <workdir>
For example:
$ mkdir /scratch/OUDSMK8SJul24
Download the latest OUDSM deployment scripts from the OUDSM repository.
$ cd <workdir>
$ git clone https://github.com/oracle/fmw-kubernetes.git --branch release/24.3.1
For example:
$ cd /scratch/OUDSMK8SJul24
$ git clone https://github.com/oracle/fmw-kubernetes.git --branch release/24.3.1
Set the $WORKDIR
environment variable as follows:
$ export WORKDIR=<workdir>/fmw-kubernetes/OracleUnifiedDirectorySM
For example:
$ export WORKDIR=/scratch/OUDSMK8SJul24/fmw-kubernetes/OracleUnifiedDirectorySM
From October 22 (22.4.1) onwards, OUDSM logs should be stored on a centralized Elasticsearch and Kibana (ELK) stack.
Deployments prior to October 22 (22.4.1) used local deployments of Elasticsearch and Kibana.
If you are upgrading from July 22 (22.3.1) or earlier, to April 24 (24.2.1), you must first undeploy Elasticsearch and Kibana using the steps below:
Navigate to the $WORKDIR/kubernetes/helm
directory and create a logging-override-values-uninstall.yaml
with the following:
elk:
enabled: false
Run the following command to remove the existing ELK deployment:
$ helm upgrade --namespace <domain_namespace> --values <valuesfile.yaml> <releasename> oudsm --reuse-values
For example:
$ helm upgrade --namespace oudsmns --values logging-override-values-uninstall.yaml oudsm oudsm --reuse-values