-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
134 changed files
with
618 additions
and
396 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v3.4.1 | ||
v3.4.2 |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: oud_backup.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Bash Script to backup all running OUD Instances | ||
# Notes......: This script is mainly used for environment without TVD-Basenv | ||
# Reference..: https://github.com/oehrlis/oudbase | ||
|
@@ -21,7 +21,7 @@ | |
# - End of Customization ------------------------------------------------------- | ||
|
||
# - Default Values ------------------------------------------------------ | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
DOAPPEND="TRUE" # enable log file append | ||
VERBOSE="FALSE" # enable verbose mode | ||
SCRIPT_NAME=$(basename $0) | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: oud_eusm.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Shell script for EUS admin tool (command line) | ||
# Notes......: This script is mainly used for environment without TVD-Basenv | ||
# Reference..: https://github.com/oehrlis/oudbase | ||
|
@@ -18,7 +18,7 @@ | |
# ------------------------------------------------------------------------------ | ||
|
||
# - Default Values ------------------------------------------------------ | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
JRE_HOME=$JAVA_HOME/jre/ | ||
EUSMLIBDIR=$ORACLE_BASE/local/oudbase/lib | ||
ORACLEPKI=$ORACLE_HOME/oracle_common/modules/oracle.pki/oraclepki.jar | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: oud_export.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Bash Script to export all running OUD Instances | ||
# Notes......: This script is mainly used for environment without TVD-Basenv | ||
# Reference..: https://github.com/oehrlis/oudbase | ||
|
@@ -21,7 +21,7 @@ | |
# - End of Customization ------------------------------------------------------- | ||
|
||
# - Default Values ------------------------------------------------------ | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
DOAPPEND="TRUE" # enable log file append | ||
VERBOSE="FALSE" # enable verbose mode | ||
SCRIPT_NAME=$(basename $0) | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: oud_functions.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Common OUD Base functions. | ||
# Notes......: Has to be source in the vagrant provisioning bash scripts to load | ||
# environment and default values based on vagrant.yml | ||
|
@@ -23,7 +23,7 @@ | |
|
||
# - Environment Variables ------------------------------------------------------ | ||
# define default values | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
DOAPPEND=${DOAPPEND:-"TRUE"} # enable log file append | ||
VERBOSE=${VERBOSE:-"FALSE"} # enable verbose mode | ||
DEBUG=${DEBUG:-"FALSE"} # enable debug mode | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: oud_start_stop.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Bash Script to start/stop OUD Instances | ||
# Notes......: This script is mainly used for environment without TVD-Basenv | ||
# Reference..: https://github.com/oehrlis/oudbase | ||
|
@@ -21,7 +21,7 @@ | |
# - End of Customization ------------------------------------------------------- | ||
|
||
# - Default Values ------------------------------------------------------ | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
DOAPPEND="TRUE" # enable log file append | ||
VERBOSE="FALSE" # enable verbose mode | ||
FORCE="FALSE" # enable force restart | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: oud_start_stop_all | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Wrapper Script for oud_start_stop.sh to start/stop OUD Instances | ||
# Notes......: This script is mainly used for environment without TVD-Basenv | ||
# Reference..: https://github.com/oehrlis/oudbase | ||
|
@@ -18,7 +18,7 @@ | |
# ------------------------------------------------------------------------------ | ||
|
||
# - Default Values ------------------------------------------------------ | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
SCRIPT_NAME=$(basename $0) | ||
export OUDBASE_BIN="$(cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P)" | ||
# - End of Default Values ------------------------------------------------------ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: oud_status.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Bash Script to get the instance status as retun code | ||
# Notes......: This script is mainly used for environment without TVD-Basenv | ||
# Reference..: https://github.com/oehrlis/oudbase | ||
|
@@ -23,7 +23,7 @@ export OUD_CON_HANDLER=${OUD_CON_HANDLER:-"LDAP LDAPS"} | |
# - End of Customization ------------------------------------------------------- | ||
|
||
# - Default Values ------------------------------------------------------ | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
DOAPPEND="TRUE" # enable log file append | ||
VERBOSE="FALSE" # enable verbose mode | ||
SCRIPT_NAME=$(basename $0) | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: oudbase_install.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: This script is used as base install script for the OUD | ||
# Environment | ||
# Notes......: -- | ||
|
@@ -23,7 +23,7 @@ export LOG_BASE=${LOG_BASE-"/tmp"} | |
# - End of Customization ------------------------------------------------------- | ||
|
||
# - Default Values ------------------------------------------------------ | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
DOAPPEND="TRUE" # enable log file append | ||
VERBOSE="TRUE" # enable verbose mode | ||
SCRIPT_NAME="$(basename ${BASH_SOURCE[0]})" # Basename of the script | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: oudenv.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Bash Source File to set the environment for OUD Instances | ||
# Notes......: This script is mainly used for environment without TVD-Basenv | ||
# Reference..: https://github.com/oehrlis/oudbase | ||
|
@@ -22,7 +22,7 @@ | |
# externally. In principle, these variables should not be changed at this | ||
# point. The customization should be done externally in .bash_profile or | ||
# in oudenv_core.conf. | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
|
||
# define some binaries for later user | ||
PGREP_BIN=$(command -v pgrep) # get the binary for pgrep | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: setup_oud.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: generic script to install Oracle Unified Directory binaries. | ||
# Notes......: Script would like to be executed as oracle :-). | ||
# Reference..: -- | ||
|
@@ -32,7 +32,7 @@ DEFAULT_OUD_ONEOFF_PKGS="" | |
# - End of Customization ------------------------------------------------------- | ||
|
||
# - Default Values ------------------------------------------------------ | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
SCRIPT_NAME=$(basename $0) | ||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P)" | ||
START_HEADER="START: Start of ${SCRIPT_NAME} (Version ${VERSION}) with $*" | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: setup_oud_patch.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Script to patch Oracle Unified Directory binaries | ||
# Notes......: - Script would like to be executed as oracle :-) | ||
# - If the required software is not in /opt/stage, an attempt is | ||
|
@@ -36,7 +36,7 @@ DEFAULT_OUD_ONEOFF_PKGS="" | |
# - End of Customization ------------------------------------------------------- | ||
|
||
# - Default Values ------------------------------------------------------ | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
SCRIPT_NAME=$(basename $0) | ||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P)" | ||
START_HEADER="START: Start of ${SCRIPT_NAME} (Version ${VERSION}) with $*" | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: test_scripts.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Script to test / verify all TNS utilities | ||
# Notes......: -- | ||
# Reference..: -- | ||
|
@@ -27,7 +27,7 @@ set -o nounset # exit if script try to use an uninitialised | |
set -o noglob # Disable filename expansion (globbing). | ||
# - Environment Variables ------------------------------------------------------ | ||
# define generic environment variables | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
ORACLE_BASE=${ORACLE_BASE:-"/u01/app/oracle"} | ||
TVDLDAP_BIN_DIR=$(dirname $(find ${ORACLE_BASE} -name tns_add.sh 2>/dev/null|head -1)) | ||
# - EOF Environment Variables -------------------------------------------------- | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: test_unit.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Script to test / verify all TNS utilities | ||
# Notes......: -- | ||
# Reference..: -- | ||
|
@@ -27,7 +27,7 @@ set -o nounset # exit if script try to use an uninitialised | |
set -o noglob # Disable filename expansion (globbing). | ||
# - Environment Variables ------------------------------------------------------ | ||
# define generic environment variables | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
TVDLDAP_VERBOSE=${TVDLDAP_VERBOSE:-"FALSE"} # enable verbose mode | ||
TVDLDAP_DEBUG=${TVDLDAP_DEBUG:-"FALSE"} # enable debug mode | ||
TVDLDAP_QUIET=${TVDLDAP_QUIET:-"FALSE"} # enable quiet mode | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: tns_add.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Add a tns entry | ||
# Notes......: -- | ||
# Reference..: -- | ||
|
@@ -27,7 +27,7 @@ set -o pipefail # pipefail exit after 1st piped commands fai | |
set -o noglob # Disable filename expansion (globbing). | ||
# - Environment Variables ------------------------------------------------------ | ||
# define generic environment variables | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
TVDLDAP_VERBOSE=${TVDLDAP_VERBOSE:-"FALSE"} # enable verbose mode | ||
TVDLDAP_DEBUG=${TVDLDAP_DEBUG:-"FALSE"} # enable debug mode | ||
TVDLDAP_QUIET=${TVDLDAP_QUIET:-"FALSE"} # enable quiet mode | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: tns_delete.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Delete a tns entry | ||
# Notes......: -- | ||
# Reference..: -- | ||
|
@@ -27,7 +27,7 @@ set -o pipefail # pipefail exit after 1st piped commands fai | |
set -o noglob # Disable filename expansion (globbing). | ||
# - Environment Variables ------------------------------------------------------ | ||
# define generic environment variables | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
TVDLDAP_VERBOSE=${TVDLDAP_VERBOSE:-"FALSE"} # enable verbose mode | ||
TVDLDAP_DEBUG=${TVDLDAP_DEBUG:-"FALSE"} # enable debug mode | ||
TVDLDAP_QUIET=${TVDLDAP_QUIET:-"FALSE"} # enable quiet mode | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: tns_dump.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Dump entries as tnsnames.ora | ||
# Notes......: -- | ||
# Reference..: -- | ||
|
@@ -28,7 +28,7 @@ set -o noglob # Disable filename expansion (globbing). | |
|
||
# - Environment Variables ------------------------------------------------------ | ||
# define generic environment variables | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
TVDLDAP_VERBOSE=${TVDLDAP_VERBOSE:-"FALSE"} # enable verbose mode | ||
TVDLDAP_DEBUG=${TVDLDAP_DEBUG:-"FALSE"} # enable debug mode | ||
TVDLDAP_QUIET=${TVDLDAP_QUIET:-"FALSE"} # enable quiet mode | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
# Name.......: tns_functions.sh | ||
# Author.....: Stefan Oehrli (oes) [email protected] | ||
# Editor.....: Stefan Oehrli | ||
# Date.......: 2023.03.30 | ||
# Version....: v3.4.1 | ||
# Date.......: 2023.03.31 | ||
# Version....: v3.4.2 | ||
# Purpose....: Common functions used by the TNS bash scripts. | ||
# Notes......: -- | ||
# Reference..: -- | ||
|
@@ -45,7 +45,7 @@ TVDLDAP_DEFAULT_DUMP_OUTPUT_DIR=${TNS_ADMIN:-""} | |
|
||
# - Environment Variables ------------------------------------------------------ | ||
# define generic environment variables | ||
VERSION=v3.4.1 | ||
VERSION=v3.4.2 | ||
TVDLDAP_VERBOSE=${TVDLDAP_VERBOSE:-"FALSE"} # enable verbose mode | ||
TVDLDAP_DEBUG=${TVDLDAP_DEBUG:-"FALSE"} # enable debug mode | ||
TVDLDAP_QUIET=${TVDLDAP_QUIET:-"FALSE"} # enable quiet mode | ||
|
Oops, something went wrong.