Skip to content

Commit b34ce4d

Browse files
authored
Latest Scripts for RAC (#3024)
* latest scripts for oracle restart * checksum
1 parent 7bda094 commit b34ce4d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1159
-381
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
b7c4c66f801f92d14faa0d791ccda721 19.3.0/LINUX.X64_193000_grid_home.zip
21
1858bd0d281c60f4ddabd87b1c214a4f 19.3.0/LINUX.X64_193000_db_home.zip
2+
b7c4c66f801f92d14faa0d791ccda721 19.3.0/LINUX.X64_193000_grid_home.zip

OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# $ docker build -t oracle/database:19c-rac .
2121

2222

23-
ARG BASE_OL_IMAGE=oraclelinux:8
23+
ARG BASE_OL_IMAGE=oraclelinux:9
2424
ARG SLIMMING=false
2525
# Pull base image
2626
# ---------------

OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/GridHomeCleanup.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# shellcheck disable=all
23
# LICENSE UPL 1.0
34
#
45
# Copyright (c) 2019,2025 Oracle and/or its affiliates.
@@ -11,9 +12,9 @@
1112
#
1213

1314
# Image Cleanup Script
14-
# shellcheck disable=SC1090
15+
1516
source /home/"${GRID_USER}"/.bashrc
16-
# shellcheck disable=SC2034
17+
1718
ORACLE_HOME=${GRID_HOME}
1819

1920
rm -rf /u01/app/grid/*

OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/OracleHomeCleanup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# shellcheck disable=all
23
# LICENSE UPL 1.0
34
#
45
# Copyright (c) 2019,2025 Oracle and/or its affiliates.
@@ -11,7 +12,7 @@
1112
#
1213

1314
# Image Cleanup Script
14-
# shellcheck disable=SC1090
15+
1516
source /home/"${DB_USER}"/.bashrc
1617
ORACLE_HOME=${DB_HOME}
1718

OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/applyGridPatch.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# shellcheck disable=all
23
# LICENSE UPL 1.0
34
#
45
# Copyright (c) 2018,2025 Oracle and/or its affiliates.
@@ -34,7 +35,7 @@ if [ "$GRID_HOME" == "" ]; then
3435
fi;
3536

3637
# Install Oracle binaries
37-
# shellcheck disable=SC2115
38+
3839
unzip -q "$INSTALL_SCRIPTS"/"$PATCH" -d "$GRID_USER_HOME" && \
3940
rm -f "$INSTALL_SCRIPTS"/"$GRID_PATCH" && \
4041
cd "$GRID_USER_HOME"/"$PATCH_NUMBER"/"$PATCH_NUMBER" && \

OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/checkSpace.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# shellcheck disable=all
23
# LICENSE UPL 1.0
34
#
45
# Copyright (c) 2018,2025 Oracle and/or its affiliates.

OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/enableRAC.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# shellcheck disable=all
23
# LICENSE UPL 1.0
34
#
45
# Copyright (c) 2018,2025 Oracle and/or its affiliates.
@@ -8,7 +9,7 @@
89
# Description: Enable RAC feature in Oracle Software
910
#
1011
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
11-
# shellcheck disable=SC1090
12+
1213
source /home/"${DB_USER}"/.bashrc
1314

1415
export ORACLE_HOME=${DB_HOME}

OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/fixupPreq.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# shellcheck disable=all
23
# LICENSE UPL 1.0
34
#
45
# Copyright (c) 2018,2025 Oracle and/or its affiliates.

OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/installDBBinaries.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# shellcheck disable=all
23
# LICENSE UPL 1.0
34
#
45
# Copyright (c) 2018,2025 Oracle and/or its affiliates.
@@ -20,7 +21,6 @@ if [ "$EDITION" == "" ]; then
2021
fi;
2122

2223
# Check whether correct edition has been passed on
23-
# shellcheck disable=SC2166
2424
if [ "$EDITION" != "EE" -a "$EDITION" != "SE2" ]; then
2525
echo "ERROR: Wrong edition has been passed on!"
2626
echo "Edition $EDITION is no a valid edition!"
@@ -60,6 +60,5 @@ fi
6060

6161

6262
# Install Oracle binaries
63-
# shellcheck disable=SC2015
6463
unzip -q "$INSTALL_SCRIPTS"/"$INSTALL_FILE_2" -d "$DB_HOME" && \
6564
"$DB_HOME"/runInstaller -silent -force -waitforcompletion -responsefile "$INSTALL_SCRIPTS"/"$DB_INSTALL_RSP" -ignorePrereqFailure || true

OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/installGridBinaries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# shellcheck disable=all
23
# LICENSE UPL 1.0
34
#
45
# Copyright (c) 2018,2025 Oracle and/or its affiliates.
@@ -11,7 +12,6 @@
1112
#
1213

1314
EDITION=$1
14-
# shellcheck disable=SC2034
1515
PATCH_NUMBER=$2
1616

1717
# Check whether edition has been passed on

0 commit comments

Comments
 (0)