ajout instal_oracle_sw

This commit is contained in:
Yacine31
2021-06-21 01:25:13 +02:00
parent fabc0e75e5
commit dbe90cb8e2
25 changed files with 4060 additions and 1 deletions

View File

@@ -2,8 +2,9 @@
- name: Host configuration
hosts: all
user: root
roles:
- { role: configure-host-oel6, when: "ansible_distribution_major_version == '6'" }
- { role: configure-host-oel7, when: "ansible_distribution_major_version >= '7'" }
# - install-oracle-sw
# - install-oracle-sw

View File

@@ -0,0 +1,208 @@
#!/bin/sh
#------------------------------------------------------------------------------
# ORACLE DATABASE : BACKUP RMAN DB + AL
#------------------------------------------------------------------------------
# Historique :
# 14/09/2011 : YAO - Creation
# 12/10/2015 : YAO - adaptation à l'ensemble des bases
# 13/10/2015 : YAO - ajout des params en ligne de commande
# 03/05/2016 : YAO - adaptation a l'environnement SOM
# 04/05/2016 : YAO - ajout du niveau de sauvegarde : incrementale 0 ou 1
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# fonction init : c'est ici qu'il faut modifier toutes les variables liées
# à l'environnement
#------------------------------------------------------------------------------
f_init() {
export ORACLE_OWNER=oracle
# les différents répertoires
export SCRIPTS_DIR=/home/oracle/scripts
export BKP_LOG_DIR=$SCRIPTS_DIR/logs
export BKP_LOCATION=/orasave/$(hostname)_${ORACLE_SID}/backup_rman
# nombre de sauvegarde RMAN en ligne à garder
export BKP_REDUNDANCY=1
export DATE_JOUR=$(date +%Y.%m.%d-%H.%M)
export BKP_LOG_FILE=${BKP_LOG_DIR}/backup_rman_${ORACLE_SID}_${BKP_TYPE}_${DATE_JOUR}.log
export RMAN_CMD_FILE=${SCRIPTS_DIR}/rman_cmd_file_${ORACLE_SID}_${BKP_TYPE}.rman
# nombre de jours de conservation des logs de la sauvegarde
export BKP_LOG_RETENTION=15
# nombre de jours de conservation des archivelog sur disque
export ARCHIVELOG_RETENTION=1
# nombre de canaux à utiliser
export PARALLELISM=3
} # f_init
#------------------------------------------------------------------------------
# fonction d'aide
#------------------------------------------------------------------------------
f_help() {
cat <<CATEOF
syntax : $O -s ORACLE_SID -t DB|AL -l Full|Incr
-s ORACLE_SID
-t
-t DB => backup full (database + archivelog)
-t AL => backup des archivelog seulement
-l -t full => backup complet
-t incr => backup incrementale 1
CATEOF
exit $1
} #f_help
#------------------------------------------------------------------------------
# fonction d'affichage de la date ds les logs
#------------------------------------------------------------------------------
f_print()
{
echo "[`date +"%Y/%m/%d %H:%M:%S"`] : $1" >> $BKP_LOG_FILE
} #f_print
#------------------------------------------------------------------------------
# fonction de traitement des options de la ligne de commande
#------------------------------------------------------------------------------
f_options() {
case ${BKP_TYPE} in
DB)
BKP_DB_PLUS_AL=TRUE;
;;
AL)
BKP_DB_PLUS_AL=FALSE;
;;
*) f_help 2;
;;
esac
case ${BKP_LEVEL} in
"FULL")
BKP_FULL=TRUE;
;;
"INCR")
BKP_FULL=FALSE;
;;
*) f_help 2;
;;
esac
} #f_options
#----------------------------------------
#------------ MAIN ----------------------
#----------------------------------------
# s, l et t suivis des : => argument attendu
# h => pas d'argument attendu
while getopts s:t:l:h o
do
case $o in
t) BKP_TYPE=$OPTARG;
;;
s) ORACLE_SID=$OPTARG;
;;
l) BKP_LEVEL=$OPTARG;
;;
h) f_help 0;
;;
*) f_help 2;
;;
esac
done
# traitement de la ligne de commande
[ "${BKP_TYPE}" ] || f_help 2;
[ "${BKP_LEVEL}" ] || BKP_LEVEL=FULL;
[ "${ORACLE_SID}" ] || f_help 2;
BKP_LEVEL=$(echo ${BKP_LEVEL} | tr [a-z] [A-Z])
BKP_TYPE=$(echo ${BKP_TYPE} | tr [a-z] [A-Z])
f_options
# positionner les variables d'environnement ORACLE
export ORACLE_SID
ORAENV_ASK=NO
PATH=/usr/local/bin:$PATH
. oraenv -s
# inititalisation des variables d'environnement
f_init
# si ce n'est pas le user oracle qui lance le script, on quitte
if (test `whoami` != $ORACLE_OWNER)
then
echo
echo "-----------------------------------------------------"
echo "Vous devez etre $ORACLE_OWNER pour lancer ce script"
echo
echo "-----------------------------------------------------"
exit 2
fi
# initialisation des chemins, s'ils n'existent pas ils seront créés par la commande install
install -d ${BKP_LOCATION}
install -d ${BKP_LOG_DIR}
# génération du script de la sauvegarde RMAN
echo "
run {
CONFIGURE DEVICE TYPE DISK PARALLELISM $PARALLELISM ;
CONFIGURE RETENTION POLICY TO REDUNDANCY ${BKP_REDUNDANCY};
" > ${RMAN_CMD_FILE}
# si sauvegarde DB (-t db) on ajoute cette ligne
if [ "${BKP_DB_PLUS_AL}" == "TRUE" ]; then
# si backup incrementale
if [ "${BKP_FULL}" == "TRUE" ]; then
echo "
BACKUP DEVICE TYPE DISK FORMAT '${BKP_LOCATION}/data_%T_%t_%s_%p' TAG 'DATA_${DATE_JOUR}' as compressed backupset database;
" >> ${RMAN_CMD_FILE}
else
echo "
BACKUP INCREMENTAL LEVEL 1 DEVICE TYPE DISK FORMAT '${BKP_LOCATION}/data_%T_%t_%s_%p' TAG 'DATA_${DATE_JOUR}' as compressed backupset database;
" >> ${RMAN_CMD_FILE}
fi # if BKP_FULL
fi # if BKP_DB_PLUS_AL
# on continue avec la partie commune : backup des archivelog + spfile + controlfile
echo "
SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
BACKUP DEVICE TYPE DISK FORMAT '${BKP_LOCATION}/arch_%T_%t_%s_%p' TAG 'ARCH_${DATE_JOUR}' AS COMPRESSED BACKUPSET ARCHIVELOG
UNTIL TIME 'SYSDATE-${ARCHIVELOG_RETENTION}' ALL DELETE ALL INPUT;
BACKUP CURRENT CONTROLFILE FORMAT '${BKP_LOCATION}/control_%T_%t_%s_%p' TAG 'CTLFILE_${DATE_JOUR}';
DELETE NOPROMPT OBSOLETE;
DELETE NOPROMPT EXPIRED BACKUPSET;
SQL 'ALTER DATABASE BACKUP CONTROLFILE TO TRACE';
SQL \"CREATE PFILE=''${BKP_LOCATION}/pfile_${ORACLE_SID}_$(date +%Y.%m.%d).ora'' FROM SPFILE\";
}
" >> ${RMAN_CMD_FILE}
# Execution du script RMAN
f_print "------------------------- DEBUT DE LA BACKUP -------------------------"
${ORACLE_HOME}/bin/rman target / cmdfile=${RMAN_CMD_FILE} log=${BKP_LOG_FILE}
# Nettoyage auto des logs : durée de concervation déterminée par la variable : ${BKP_LOG_RETENTION}
f_print "------------------------- NETTOYAGE DES LOGS -------------------------"
find ${BKP_LOG_DIR} -type f -iname "backup_rman_${BKP_TYPE}*.log" -mtime +${BKP_LOG_RETENTION} -exec rm -fv "{}" \; >> $BKP_LOG_FILE
f_print "------------------------- BACKUP ${BKP_TYPE} TERMINE -------------------------"

View File

@@ -0,0 +1,799 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2004, 2014, Oracle and/or its affiliates.
All rights reserved.-->
<!-- ref host for linux -->
<HOST PLATID="226">
<SYSTEM>
<MEMORY>
<PHYSICAL_MEMORY VALUE="1024" UNIT="MB" SEVERITY="IGNORABLE"/>
<AVAILABLE_MEMORY VALUE="50" UNIT="MB" SEVERITY="IGNORABLE"/>
<SWAP_SIZE SEVERITY="IGNORABLE">
<STEPS>
<MIN VALUE="1024" UNIT="MB"/>
<MAX VALUE="16" UNIT="GB"/>
<STEP NAME="PHYSICAL_MEMORY" ATLEAST="1024" ATMOST="2048" UNIT="MB" MULTIPLE="1.5"/>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="2048" UNIT="MB" MULTIPLE="1"/>
</STEPS>
</SWAP_SIZE>
</MEMORY>
<SPACE>
<LOC VAR="RAC_HOME" SIZE="4.70" UNIT="GB" SEVERITY="IGNORABLE"/>
<LOC VAR="TEMP_AREA" TEMP="true" SIZE="1" UNIT="GB" SEVERITY="IGNORABLE"/>
</SPACE>
<USERS_GROUPS>
<USER VAR="INSTALL_USER">
<GROUP VAR="INSTALL_GROUP"/>
<GROUP VAR="DBA_GROUP"/>
</USER>
<USER VAR="BACKUP_USER"/>
</USERS_GROUPS>
<RUNLEVEL>
<LIST>
<VALUE>3</VALUE>
<VALUE>5</VALUE>
</LIST>
</RUNLEVEL>
<!-- shell limit checks based on Seetha's inputs -->
<SHELL_LIMIT_CHECKS>
<CHOICE VAR="SHELL">
<SELECTION VALUE="SH">
<FILE_DESCRIPTORS>
<HARDLIMIT VALUE="65536" SEVERITY="IGNORABLE"/>
<SOFTLIMIT VALUE="1024" SEVERITY="IGNORABLE"/>
</FILE_DESCRIPTORS>
<MAXPROC>
<HARDLIMIT VALUE="16384" SEVERITY="IGNORABLE"/>
<SOFTLIMIT VALUE="2047" SEVERITY="IGNORABLE"/>
</MAXPROC>
<STACK>
<SOFTLIMIT VALUE="10" UNIT="MB" OPERATOR="ATMOST" SEVERITY="IGNORABLE"/>
</STACK>
</SELECTION>
<SELECTION VALUE="BASH">
<FILE_DESCRIPTORS>
<HARDLIMIT VALUE="65536" SEVERITY="IGNORABLE"/>
<SOFTLIMIT VALUE="1024" SEVERITY="IGNORABLE"/>
</FILE_DESCRIPTORS>
<MAXPROC>
<HARDLIMIT VALUE="16384" SEVERITY="IGNORABLE"/>
<SOFTLIMIT VALUE="2047" SEVERITY="IGNORABLE"/>
</MAXPROC>
<STACK>
<SOFTLIMIT VALUE="10" UNIT="MB" OPERATOR="ATMOST" SEVERITY="IGNORABLE"/>
</STACK>
</SELECTION>
<SELECTION VALUE="KSH">
<FILE_DESCRIPTORS>
<HARDLIMIT VALUE="65536" SEVERITY="IGNORABLE"/>
<SOFTLIMIT VALUE="1024" SEVERITY="IGNORABLE"/>
</FILE_DESCRIPTORS>
<MAXPROC>
<HARDLIMIT VALUE="16384" SEVERITY="IGNORABLE"/>
<SOFTLIMIT VALUE="2047" SEVERITY="IGNORABLE"/>
</MAXPROC>
<STACK>
<SOFTLIMIT VALUE="10" UNIT="MB" OPERATOR="ATMOST" SEVERITY="IGNORABLE"/>
</STACK>
</SELECTION>
<SELECTION VALUE="CSH">
<FILE_DESCRIPTORS>
<HARDLIMIT VALUE="65536" SEVERITY="IGNORABLE"/>
</FILE_DESCRIPTORS>
<MAXPROC>
<HARDLIMIT VALUE="16384" SEVERITY="IGNORABLE"/>
</MAXPROC>
<STACK>
<SOFTLIMIT VALUE="10" UNIT="MB" OPERATOR="ATMOST" SEVERITY="IGNORABLE"/>
</STACK>
</SELECTION>
<SELECTION VALUE="TCSH">
<FILE_DESCRIPTORS>
<HARDLIMIT VALUE="65536" SEVERITY="IGNORABLE"/>
</FILE_DESCRIPTORS>
<MAXPROC>
<HARDLIMIT VALUE="16384" SEVERITY="IGNORABLE"/>
</MAXPROC>
<STACK>
<SOFTLIMIT VALUE="10" UNIT="MB" OPERATOR="ATMOST" SEVERITY="IGNORABLE"/>
</STACK>
</SELECTION>
<SELECTION VALUE="ZSH">
<FILE_DESCRIPTORS>
<HARDLIMIT VALUE="65536" SEVERITY="IGNORABLE"/>
</FILE_DESCRIPTORS>
<MAXPROC>
<HARDLIMIT VALUE="16384" SEVERITY="IGNORABLE"/>
</MAXPROC>
<STACK>
<SOFTLIMIT VALUE="10" UNIT="MB" OPERATOR="ATMOST" SEVERITY="IGNORABLE"/>
</STACK>
</SELECTION>
</CHOICE>
</SHELL_LIMIT_CHECKS>
<!-- This checks has the list of proceesses that should be running/off on the machine -->
<PROCESS_CHECKS>
<CONDITION VAR="OCFS">
<PROCESS NAME="ncsd" EXISTS="TRUE"/>
</CONDITION>
</PROCESS_CHECKS>
</SYSTEM>
<CERTIFIED_SYSTEMS>
<OPERATING_SYSTEM RELEASE="OEL5">
<VERSION VALUE="3"/>
<ARCHITECTURE VALUE="x86_64"/>
<NAME VALUE="Linux"/>
<VENDOR VALUE="enterprise"/>
<KERNEL_VER VALUE="2.6.18"/>
<KERNEL>
<PROPERTY NAME="semmsl" NAME2="semmsl2" VALUE="250" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmns" VALUE="32000" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semopm" VALUE="100" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmni" VALUE="128" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmmax" SEVERITY="IGNORABLE">
<STEPS>
<MAX VALUE="4294967295" UNIT="B"/>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="1" UNIT="B" MULTIPLE="0.5"/>
</STEPS>
</PROPERTY>
<PROPERTY NAME="shmmni" VALUE="4096" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmall" VALUE="2097152" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="file-max" VALUE="6815744" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="ip_local_port_range" ATLEAST="9000" ATMOST="65500" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_max" VALUE="4194304" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_max" VALUE="1048576" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="aio-max-nr" VALUE="1048576" SEVERITY="IGNORABLE"/>
</KERNEL>
<PACKAGES>
<!-- Packages for ASM -->
<CONDITION VAR="ASM">
<!-- Need to confirm version for following ASM packages -->
<PACKAGE NAME="oracleasm-support" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasm-%KERNEL_RELEASE%" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasmlib" VALUE="2.0" SEVERITY="IGNORABLE"/>
</CONDITION>
<!-- Packages for OCFS2 -->
<CONDITION VAR="OCFS2">
<PACKAGE VAR="ocfs2" VALUE="1.2.9" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ocfs2-tools" VALUE="1.2.7" SEVERITY="IGNORABLE"/>
</CONDITION>
<PACKAGE NAME="make" VALUE="3.81" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="binutils" VALUE="2.17.50.0.6" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio" VALUE="0.3.106" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc" VALUE="2.5-24" SEVERITY="CRITICAL" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="compat-libstdc++-33" VALUE="3.2.3" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="elfutils-libelf" VALUE="0.125" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="elfutils-libelf-devel" VALUE="0.125" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc-common" VALUE="2.5" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc-devel" VALUE="2.5" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc-headers" VALUE="2.5" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc-c++" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio-devel" VALUE="0.3.106" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libgcc" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++-devel" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="sysstat" VALUE="7.0.2" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ksh" VALUE="20060214" SEVERITY="IGNORABLE"/>
</PACKAGES>
<SYSTEM_FILES>
<DHCP FILENAME="/etc/network_sysconfig"/>
</SYSTEM_FILES>
</OPERATING_SYSTEM>
<OPERATING_SYSTEM RELEASE="RHEL5">
<VERSION VALUE="3"/>
<ARCHITECTURE VALUE="x86_64"/>
<NAME VALUE="Linux"/>
<VENDOR VALUE="redhat"/>
<KERNEL_VER VALUE="2.6.18"/>
<KERNEL>
<PROPERTY NAME="semmsl" NAME2="semmsl2" VALUE="250" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmns" VALUE="32000" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semopm" VALUE="100" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmni" VALUE="128" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmmax" SEVERITY="IGNORABLE">
<STEPS>
<MAX VALUE="4294967295" UNIT="B"/>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="1" UNIT="B" MULTIPLE="0.5"/>
</STEPS>
</PROPERTY>
<PROPERTY NAME="shmmni" VALUE="4096" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmall" VALUE="2097152" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="file-max" VALUE="6815744" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="ip_local_port_range" ATLEAST="9000" ATMOST="65500" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_max" VALUE="4194304" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_max" VALUE="1048576" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="aio-max-nr" VALUE="1048576" SEVERITY="IGNORABLE"/>
</KERNEL>
<PACKAGES>
<!-- Packages for ASM -->
<CONDITION VAR="ASM">
<!-- Need to confirm version for following ASM packages -->
<PACKAGE NAME="oracleasm-support" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasm-%KERNEL_RELEASE%" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasmlib" VALUE="2.0" SEVERITY="IGNORABLE"/>
</CONDITION>
<!-- Packages for OCFS2 -->
<CONDITION VAR="OCFS2">
<PACKAGE VAR="ocfs2" VALUE="1.2.9" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ocfs2-tools" VALUE="1.2.7" SEVERITY="IGNORABLE"/>
</CONDITION>
<PACKAGE NAME="make" VALUE="3.81" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="binutils" VALUE="2.17.50.0.6" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio" VALUE="0.3.106" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc" VALUE="2.5-24" SEVERITY="CRITICAL" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="compat-libstdc++-33" VALUE="3.2.3" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="elfutils-libelf" VALUE="0.125" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="elfutils-libelf-devel" VALUE="0.125" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc-common" VALUE="2.5" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc-devel" VALUE="2.5" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc-headers" VALUE="2.5" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc-c++" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio-devel" VALUE="0.3.106" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libgcc" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++-devel" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="sysstat" VALUE="7.0.2" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ksh" VALUE="20060214" SEVERITY="IGNORABLE"/>
</PACKAGES>
<SYSTEM_FILES>
<DHCP FILENAME="/etc/network_sysconfig"/>
</SYSTEM_FILES>
</OPERATING_SYSTEM>
<OPERATING_SYSTEM RELEASE="ASIANUX3">
<VERSION VALUE="3"/>
<ARCHITECTURE VALUE="x86_64"/>
<NAME VALUE="Linux"/>
<VENDOR VALUE="asianux"/>
<KERNEL_VER VALUE="2.6.18"/>
<KERNEL>
<PROPERTY NAME="semmsl" NAME2="semmsl2" VALUE="250" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmns" VALUE="32000" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semopm" VALUE="100" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmni" VALUE="128" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmmax" SEVERITY="IGNORABLE">
<STEPS>
<MAX VALUE="4294967295" UNIT="B"/>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="1" UNIT="B" MULTIPLE="0.5"/>
</STEPS>
</PROPERTY>
<PROPERTY NAME="shmmni" VALUE="4096" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmall" VALUE="2097152" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="file-max" VALUE="6815744" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="ip_local_port_range" ATLEAST="9000" ATMOST="65500" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_max" VALUE="4194304" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_max" VALUE="1048576" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="aio-max-nr" VALUE="1048576" SEVERITY="IGNORABLE"/>
</KERNEL>
<PACKAGES>
<!-- Packages for ASM -->
<CONDITION VAR="ASM">
<PACKAGE NAME="oracleasm-support" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasm-%KERNEL_RELEASE%" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasmlib" VALUE="2.0" SEVERITY="IGNORABLE"/>
</CONDITION>
<!-- Packages for OCFS2 -->
<CONDITION VAR="OCFS2">
<PACKAGE VAR="ocfs2" VALUE="1.2.9" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ocfs2-tools" VALUE="1.2.7" SEVERITY="IGNORABLE"/>
</CONDITION>
<PACKAGE NAME="make" VALUE="3.81" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="binutils" VALUE="2.17.50.0.6" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio" VALUE="0.3.106" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc" VALUE="2.5-24" SEVERITY="CRITICAL" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="compat-libstdc++-33" VALUE="3.2.3" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="elfutils-libelf" VALUE="0.125" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="elfutils-libelf-devel" VALUE="0.125" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc-common" VALUE="2.5" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc-devel" VALUE="2.5" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc-headers" VALUE="2.5" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc-c++" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio-devel" VALUE="0.3.106" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libgcc" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++-devel" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="sysstat" VALUE="7.0.2" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ksh" VALUE="20060214" SEVERITY="IGNORABLE"/>
</PACKAGES>
</OPERATING_SYSTEM>
<OPERATING_SYSTEM RELEASE="OEL4">
<VERSION VALUE="3"/>
<ARCHITECTURE VALUE="x86_64"/>
<NAME VALUE="Linux"/>
<VENDOR VALUE="enterprise"/>
<KERNEL_VER VALUE="2.6.9"/>
<KERNEL>
<PROPERTY NAME="semmsl" NAME2="semmsl2" VALUE="250" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmns" VALUE="32000" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semopm" VALUE="100" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmni" VALUE="128" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmmax" SEVERITY="IGNORABLE">
<STEPS>
<MAX VALUE="4294967295" UNIT="B"/>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="1" UNIT="B" MULTIPLE="0.5"/>
</STEPS>
</PROPERTY>
<PROPERTY NAME="shmmni" VALUE="4096" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmall" VALUE="2097152" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="file-max" VALUE="6815744" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="ip_local_port_range" ATLEAST="9000" ATMOST="65500" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_max" VALUE="4194304" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_max" VALUE="1048576" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="aio-max-nr" VALUE="1048576" SEVERITY="IGNORABLE"/>
</KERNEL>
<PACKAGES>
<!-- Packages for ASM -->
<CONDITION VAR="ASM">
<!-- Need to confirm version for following ASM packages -->
<PACKAGE NAME="oracleasm-support" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasm-%KERNEL_RELEASE%" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasmlib" VALUE="2.0" SEVERITY="IGNORABLE"/>
</CONDITION>
<!-- Packages for OCFS2 -->
<CONDITION VAR="OCFS2">
<PACKAGE VAR="ocfs2" VALUE="1.2.9" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ocfs2-tools" VALUE="1.2.7" SEVERITY="IGNORABLE"/>
</CONDITION>
<PACKAGE NAME="make" VALUE="3.80" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="binutils" VALUE="2.15.92.0.2" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc" VALUE="3.4.6" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio" VALUE="0.3.105" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio-devel" VALUE="0.3.105" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc" VALUE="2.3.4-2.41" SEVERITY="CRITICAL" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="compat-libstdc++-33" VALUE="3.2.3" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="elfutils-libelf" VALUE="0.97" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="elfutils-libelf-devel" VALUE="0.97" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc-common" VALUE="2.3.4" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc-devel" VALUE="2.3.4" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc-headers" VALUE="2.3.4" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc-c++" VALUE="3.4.6" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libgcc" VALUE="3.4.6" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++" VALUE="3.4.6" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++-devel" VALUE="3.4.6" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="sysstat" VALUE="5.0.5" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="pdksh" VALUE="5.2.14" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="expat" VALUE="1.95.7" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
</PACKAGES>
<SYSTEM_FILES>
<DHCP FILENAME="/etc/network_sysconfig"/>
</SYSTEM_FILES>
</OPERATING_SYSTEM>
<OPERATING_SYSTEM RELEASE="RHEL4">
<VERSION VALUE="3"/>
<ARCHITECTURE VALUE="x86_64"/>
<NAME VALUE="Linux"/>
<VENDOR VALUE="redhat"/>
<KERNEL_VER VALUE="2.6.9"/>
<KERNEL>
<PROPERTY NAME="semmsl" NAME2="semmsl2" VALUE="250" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmns" VALUE="32000" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semopm" VALUE="100" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmni" VALUE="128" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmmax" SEVERITY="IGNORABLE">
<STEPS>
<MAX VALUE="4294967295" UNIT="B"/>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="1" UNIT="B" MULTIPLE="0.5"/>
</STEPS>
</PROPERTY>
<PROPERTY NAME="shmmni" VALUE="4096" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmall" VALUE="2097152" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="file-max" VALUE="6815744" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="ip_local_port_range" ATLEAST="9000" ATMOST="65500" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_max" VALUE="4194304" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_max" VALUE="1048576" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="aio-max-nr" VALUE="1048576" SEVERITY="IGNORABLE"/>
</KERNEL>
<PACKAGES>
<!-- Packages for ASM -->
<CONDITION VAR="ASM">
<!-- Need to confirm version for following ASM packages -->
<PACKAGE NAME="oracleasm-support" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasm-%KERNEL_RELEASE%" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasmlib" VALUE="2.0" SEVERITY="IGNORABLE"/>
</CONDITION>
<!-- Packages for OCFS2 -->
<CONDITION VAR="OCFS2">
<PACKAGE VAR="ocfs2" VALUE="1.2.9" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ocfs2-tools" VALUE="1.2.7" SEVERITY="IGNORABLE"/>
</CONDITION>
<PACKAGE NAME="make" VALUE="3.80" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="binutils" VALUE="2.15.92.0.2" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc" VALUE="3.4.6" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio" VALUE="0.3.105" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc" VALUE="2.3.4-2.41" SEVERITY="CRITICAL" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="compat-libstdc++-33" VALUE="3.2.3" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="elfutils-libelf" VALUE="0.97" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="elfutils-libelf-devel" VALUE="0.97" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc-common" VALUE="2.3.4" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc-devel" VALUE="2.3.4" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc-headers" VALUE="2.3.4" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc-c++" VALUE="3.4.6" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio-devel" VALUE="0.3.105" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libgcc" VALUE="3.4.6" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++" VALUE="3.4.6" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++-devel" VALUE="3.4.6" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="sysstat" VALUE="5.0.5" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="pdksh" VALUE="5.2.14" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="expat" VALUE="1.95.7" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
</PACKAGES>
<SYSTEM_FILES>
<DHCP FILENAME="/etc/network_sysconfig"/>
</SYSTEM_FILES>
</OPERATING_SYSTEM>
<OPERATING_SYSTEM RELEASE="SUSE10">
<VERSION VALUE="10"/>
<ARCHITECTURE VALUE="x86_64"/>
<NAME VALUE="Linux"/>
<VENDOR VALUE="SuSE"/>
<KERNEL_VER VALUE="2.6.16.21"/>
<KERNEL>
<PROPERTY NAME="semmsl" NAME2="semmsl2" VALUE="250" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmns" VALUE="32000" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semopm" VALUE="100" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmni" VALUE="128" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmmax" SEVERITY="IGNORABLE">
<STEPS>
<MAX VALUE="4294967295" UNIT="B"/>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="1" UNIT="B" MULTIPLE="0.5"/>
</STEPS>
</PROPERTY>
<PROPERTY NAME="shmmni" VALUE="4096" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmall" VALUE="2097152" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="file-max" VALUE="6815744" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="ip_local_port_range" ATLEAST="9000" ATMOST="65500" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_max" VALUE="4194304" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_max" VALUE="1048576" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="aio-max-nr" VALUE="1048576" SEVERITY="IGNORABLE"/>
</KERNEL>
<PACKAGES>
<!-- Packages for ASM -->
<CONDITION VAR="ASM">
<PACKAGE NAME="oracleasm-support" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasm-%KERNEL_RELEASE%" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasmlib" VALUE="2.0" SEVERITY="IGNORABLE"/>
</CONDITION>
<CONDITION VAR="OCFS2">
<PACKAGE VAR="ocfs2" VALUE="1.2.9" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ocfs2-tools" VALUE="1.2.3" SEVERITY="IGNORABLE"/>
</CONDITION>
<PACKAGE NAME="make" VALUE="3.80" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="binutils" VALUE="2.16.91.0.5" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="gcc-c++" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio" VALUE="0.3.104" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc" SEVERITY="CRITICAL" ARCHITECTURE="x86_64">
<RANGE ATLEAST="2.4-31.63">
<EXCLUDE ATLEAST="2.5-18" ATMOST="2.5-23"/>
</RANGE>
</PACKAGE>
<PACKAGE NAME="compat-libstdc++" VALUE="5.0.7" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc-devel" VALUE="2.4" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ksh" VALUE="93r-12.9" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="libaio-devel" VALUE="0.3.104" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="libelf" VALUE="0.8.5" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="libgcc" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++-devel" VALUE="4.1.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="sysstat" VALUE="8.0.4" SEVERITY="IGNORABLE"/>
</PACKAGES>
</OPERATING_SYSTEM>
<OPERATING_SYSTEM RELEASE="SUSE11">
<VERSION VALUE="11"/>
<ARCHITECTURE VALUE="x86_64"/>
<NAME VALUE="Linux"/>
<VENDOR VALUE="SuSE"/>
<KERNEL_VER VALUE="2.6.27.19"/>
<KERNEL>
<PROPERTY NAME="semmsl" NAME2="semmsl2" VALUE="250" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmns" VALUE="32000" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semopm" VALUE="100" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmni" VALUE="128" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmmax" SEVERITY="IGNORABLE">
<STEPS>
<MAX VALUE="4294967295" UNIT="B"/>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="1" UNIT="B" MULTIPLE="0.5"/>
</STEPS>
</PROPERTY>
<PROPERTY NAME="shmmni" VALUE="4096" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmall" VALUE="2097152" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="file-max" VALUE="6815744" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="ip_local_port_range" ATLEAST="9000" ATMOST="65500" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_max" VALUE="4194304" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_max" VALUE="1048576" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="aio-max-nr" VALUE="1048576" SEVERITY="IGNORABLE"/>
</KERNEL>
<PACKAGES>
<!-- Packages for ASM -->
<CONDITION VAR="ASM">
<PACKAGE NAME="oracleasm-support" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasm-%KERNEL_RELEASE%" VALUE="2.0" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="oracleasmlib" VALUE="2.0" SEVERITY="IGNORABLE"/>
</CONDITION>
<CONDITION VAR="OCFS2">
<PACKAGE VAR="ocfs2" VALUE="1.2.9" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ocfs2-tools" VALUE="1.2.3" SEVERITY="IGNORABLE"/>
</CONDITION>
<PACKAGE NAME="make" VALUE="3.81" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="binutils" VALUE="2.19" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc" VALUE="4.3" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="gcc-c++" VALUE="4.3" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio" VALUE="0.3.104" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc" VALUE="2.9" SEVERITY="CRITICAL"/>
<PACKAGE NAME="glibc-devel" VALUE="2.9" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ksh" VALUE="93t" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="libaio-devel" VALUE="0.3.104" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="libstdc++33" VALUE="3.3.3" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="libstdc++43-devel" VALUE="4.3.3_20081022" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="libstdc++-devel" VALUE="4.3" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="sysstat" VALUE="8.1.5" SEVERITY="IGNORABLE"/>
<CONDITION VAR="SUSE_PATCHLEVEL" TYPE="VERSION" LESS_THAN="2">
<PACKAGE NAME="libstdc++43" VALUE="4.3.3_20081022" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="libgcc43" VALUE="4.3.3_20081022" SEVERITY="IGNORABLE"/>
</CONDITION>
<CONDITION VAR="SUSE_PATCHLEVEL" TYPE="VERSION" ATLEAST="2">
<PACKAGE NAME="libstdc++46" VALUE="4.6.1_20110701" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="libgcc46" VALUE="4.6.1_20110701" SEVERITY="IGNORABLE"/>
</CONDITION>
</PACKAGES>
</OPERATING_SYSTEM>
<OPERATING_SYSTEM RELEASE="OEL6">
<VERSION VALUE="6"/>
<ARCHITECTURE VALUE="x86_64"/>
<NAME VALUE="Linux"/>
<VENDOR VALUE="enterprise"/>
<KERNEL_VER VALUE="2.6.32"/>
<KERNEL>
<PROPERTY NAME="semmsl" NAME2="semmsl2" VALUE="250" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmns" VALUE="32000" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semopm" VALUE="100" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmni" VALUE="128" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmmax" SEVERITY="IGNORABLE">
<STEPS>
<MAX VALUE="4294967295" UNIT="B"/>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="1" UNIT="B" MULTIPLE="0.5"/>
</STEPS>
</PROPERTY>
<PROPERTY NAME="shmmni" VALUE="4096" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmall" VALUE="2097152" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="file-max" VALUE="6815744" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="ip_local_port_range" ATLEAST="9000" ATMOST="65500" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_max" VALUE="4194304" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_max" VALUE="1048576" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="aio-max-nr" VALUE="1048576" SEVERITY="IGNORABLE"/>
</KERNEL>
<PACKAGES>
<!-- Packages for OCFS2 -->
<CONDITION VAR="OCFS2">
<PACKAGE VAR="ocfs2" VALUE="1.2.9" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ocfs2-tools" VALUE="1.2.7" SEVERITY="IGNORABLE"/>
</CONDITION>
<PACKAGE NAME="binutils" VALUE="2.20.51.0.2" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="compat-libcap1" VALUE="1.10" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="compat-libstdc++-33" VALUE="3.2.3" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libgcc" VALUE="4.4.4" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++" VALUE="4.4.4" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++-devel" VALUE="4.4.4" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="sysstat" VALUE="9.0.4" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc" VALUE="4.4.4" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc-c++" VALUE="4.4.4" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ksh" VALUE="20100621" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="make" VALUE="3.81" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc" VALUE="2.12" SEVERITY="CRITICAL" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc-devel" VALUE="2.12" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio" VALUE="0.3.107" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio-devel" VALUE="0.3.107" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
</PACKAGES>
<SYSTEM_FILES>
<DHCP FILENAME="/etc/network_sysconfig"/>
</SYSTEM_FILES>
</OPERATING_SYSTEM>
<OPERATING_SYSTEM RELEASE="OL7">
<VERSION VALUE="7"/>
<ARCHITECTURE VALUE="x86_64"/>
<NAME VALUE="Linux"/>
<VENDOR VALUE="Oracle"/>
<KERNEL_VER VALUE="3.8.0"/>
<KERNEL>
<PROPERTY NAME="semmsl" NAME2="semmsl2" VALUE="250" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmns" VALUE="32000" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semopm" VALUE="100" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmni" VALUE="128" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmmax" SEVERITY="IGNORABLE">
<STEPS>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="1024" UNIT="MB" MULTIPLE="0.5"/>
</STEPS>
</PROPERTY>
<PROPERTY NAME="shmmni" VALUE="4096" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmall" SEVERITY="IGNORABLE">
<STEPS>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="1024" UNIT="MB" MULTIPLE="0.4"/>
</STEPS>
</PROPERTY>
<PROPERTY NAME="file-max" VALUE="6815744" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="ip_local_port_range" ATLEAST="9000" ATMOST="65535" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_max" VALUE="4194304" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_max" VALUE="1048576" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="aio-max-nr" VALUE="1048576" SEVERITY="IGNORABLE"/>
</KERNEL>
<PACKAGES>
<!-- Packages for OCFS2 -->
<CONDITION VAR="OCFS2">
<PACKAGE VAR="ocfs2" VALUE="1.2.9" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ocfs2-tools" VALUE="1.2.7" SEVERITY="IGNORABLE"/>
</CONDITION>
<PACKAGE NAME="binutils" VALUE="2.23.52.0.1" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="compat-libcap1" VALUE="1.10" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="compat-libstdc++-33" VALUE="3.2.3" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libgcc" VALUE="4.8.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++" VALUE="4.8.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++-devel" VALUE="4.8.2" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="sysstat" VALUE="10.1.5" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc" VALUE="4.8.2" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc-c++" VALUE="4.8.2" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ksh" VALUE="..." SEVERITY="IGNORABLE"/>
<PACKAGE NAME="make" VALUE="3.82" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc" VALUE="2.17" SEVERITY="CRITICAL" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc-devel" VALUE="2.17" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio" VALUE="0.3.109" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio-devel" VALUE="0.3.109" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
</PACKAGES>
<SYSTEM_FILES>
<DHCP FILENAME="/etc/network_sysconfig"/>
</SYSTEM_FILES>
</OPERATING_SYSTEM>
<OPERATING_SYSTEM RELEASE="RHEL6">
<VERSION VALUE="6"/>
<ARCHITECTURE VALUE="x86_64"/>
<NAME VALUE="Linux"/>
<VENDOR VALUE="enterprise"/>
<KERNEL_VER VALUE="2.6.32"/>
<KERNEL>
<PROPERTY NAME="semmsl" NAME2="semmsl2" VALUE="250" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmns" VALUE="32000" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semopm" VALUE="100" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="semmni" VALUE="128" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmmax" SEVERITY="IGNORABLE">
<STEPS>
<MAX VALUE="4294967295" UNIT="B"/>
<STEP NAME="PHYSICAL_MEMORY" GREATER_THAN="1" UNIT="B" MULTIPLE="0.5"/>
</STEPS>
</PROPERTY>
<PROPERTY NAME="shmmni" VALUE="4096" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="shmall" VALUE="2097152" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="file-max" VALUE="6815744" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="ip_local_port_range" ATLEAST="9000" ATMOST="65500" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="rmem_max" VALUE="4194304" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_default" VALUE="262144" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="wmem_max" VALUE="1048576" SEVERITY="IGNORABLE"/>
<PROPERTY NAME="aio-max-nr" VALUE="1048576" SEVERITY="IGNORABLE"/>
</KERNEL>
<PACKAGES>
<PACKAGE NAME="binutils" VALUE="2.20.51.0.2" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="compat-libcap1" VALUE="1.10" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="compat-libstdc++-33" VALUE="3.2.3" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libgcc" VALUE="4.4.4" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++" VALUE="4.4.4" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libstdc++-devel" VALUE="4.4.4" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="sysstat" VALUE="9.0.4" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc" VALUE="4.4.4" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="gcc-c++" VALUE="4.4.4" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="ksh" VALUE="20100621" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="make" VALUE="3.81" SEVERITY="IGNORABLE"/>
<PACKAGE NAME="glibc" VALUE="2.12" SEVERITY="CRITICAL" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="glibc-devel" VALUE="2.12" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio" VALUE="0.3.107" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
<PACKAGE NAME="libaio-devel" VALUE="0.3.107" SEVERITY="IGNORABLE" ARCHITECTURE="x86_64"/>
</PACKAGES>
</OPERATING_SYSTEM>
</CERTIFIED_SYSTEMS>
<REFERENCE_DEVICES>
<DEVICE VAR="DEVICES"/>
<MOUNT_PARAMS NAME="nfs" VALUE="rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,vers=3,timeo=600"/>
<MOUNT_PARAMS NAME="ocfs" VALUE="rw,sid=5"/>
<MOUNT_PARAMS NAME="ocfs2" VALUE="..."/>
<MOUNT_PARAMS NAME="ofs" VALUE="...."/>
<MOUNT_PARAMS NAME="raw" VALUE="..."/>
<MOUNT_PARAMS NAME="asm" VALUE="..."/>
<REDUNDANT_LOCS VAR="OCR_REDUND"/>
<REDUNDANT_LOCS VAR="VDISK_REDUND"/>
</REFERENCE_DEVICES>
<SCRIPTS>
<SCRIPT VAR="USER_SCRIPT"/>
</SCRIPTS>
<USER_INPUTS>
<CLUSTERNAME VAR="CLUSTERNAME"/>
<SID VAR="SID"/>
<INSTALL_USER VAR="INSTALL_USER"/>
<LOCS>
<LOC VAR="OCR_LOC"/>
<LOC VAR="OCR_MIRROR_LOC"/>
<LOC VAR="VDISK_LOC"/>
<LOC VAR="VDISK_LOC2"/>
<LOC VAR="VDISK_LOC3"/>
<LOC VAR="DB_FILE_STORAGE"/>
<CONDITION VAR="OCFS">
<LOC VAR="RPM_BASE_URL_OCFS"/>
<LOC VAR="RPM_BASE_URL_OCFS_TOOLS"/>
</CONDITION>
<CONDITION VAR="RAW">
<LOC VAR="DB_RAW_STORAGE"/>
<LOC VAR="DB_REC_AREA_STORAGE"/>
</CONDITION>
</LOCS>
</USER_INPUTS>
<DIRS>
<DIR VAR="INSTALL_BASE_DIR" WRITABLE="TRUE"/>
</DIRS>
<NETWORK>
<NODELIST>
<NODE NAME="PRIVATE_NODES" TYPE="PRIVATE" VAR="PRIVATE_NODES" IP_VAR="PRIVATE_NODES_IP"/>
<NODE NAME="PUBLIC_NODES" TYPE="PUBLIC" VAR="PUBLIC_NODES" IP_VAR="PUBLIC_NODES_IP"/>
<NODE NAME="VIRTUAL_NODES" TYPE="VIRTUAL" VAR="VIRTUAL_NODES" IP_VAR="VIRTUAL_NODES_IP"/>
</NODELIST>
<INTERCONNECTS VAR="NICS"/>
<!-- This variable currently gives ':' seperated details for all interconnects -->
</NETWORK>
<ORACLE_HOME>
<COMPATIBILITY_MATRIX>
<ALLOW>
<NEW_HOME/>
</ALLOW>
<DISALLOW>
<COMP NAME="oracle.server" ATLEAST="8.1.0.0.0" ATMOST="9.2.0.9.0"/>
<COMP NAME="oracle.server" ATLEAST="10.1.0.0.0" ATMOST="10.1.0.9.0"/>
<COMP NAME="oracle.client" ATLEAST="8.1.0.0.0" ATMOST="9.2.0.9.0"/>
<COMP NAME="oracle.iappserver.iapptop" ATLEAST="9.0.2.0.0" ATMOST="99.9.9.9.9"/>
<COMP NAME="oracle.iappserver.infrastructure" ATLEAST="9.0.2.0.0" ATMOST="99.9.9.9.9"/>
<COMP NAME="oracle.iappserver.devcorner " ATLEAST="9.0.2.0.0" ATMOST="99.9.9.9.9"/>
<COMP NAME="oracle.ids.toplevel.development" ATLEAST="9.0.0.0.0" ATMOST="99.9.9.9.9"/>
<COMP NAME="oracle.install.instcommon" ATLEAST="8.1.3.0.0" ATMOST="9.2.9.9.9"/>
<COMP NAME="oracle.client" ATLEAST="10.1.0.0.0"/>
<COMP NAME="oracle.crs" ATLEAST="10.1.0.0.0"/>
<ORCA_HOME/>
</DISALLOW>
</COMPATIBILITY_MATRIX>
<!-- EXISTENCE_MATRIX>
<COMP NAME="oracle.crs" DESC="Oracle Cluster Ready Services (CRS) 11gR2" EXISTS="FALSE" ATLEAST="10.1.0.0.0" ATMOST="11.1.9.9.9"/>
<COMP NAME="oracle.server" DESC="Oracle Real Application Cluster (RAC) 11gR2" EXISTS="FALSE" ATLEAST="9.2.0.0.0" ATMOST="11.1.9.9.9"/>
</EXISTENCE_MATRIX -->
</ORACLE_HOME>
</HOST>

View File

@@ -0,0 +1,112 @@
---
#
# installation des binaires ORACLE
#
- name: Création des répertoires
file: dest={{ item.dir }} mode={{ item.mode }} owner={{ item.owner }} group={{ item.group }} state=directory
with_items:
- { dir: "{{ oracle_base }}", owner: "{{ db_user }}", group: "{{ oracle_group }}", mode: 755 }
- { dir: "{{ oracle_inventory_loc }}", owner: "{{ db_user }}", group: "{{ oracle_group }}", mode: 755 }
- { dir: "{{ db_home }}", owner: "{{ db_user }}", group: "{{ oracle_group }}", mode: 775 }
- { dir: "{{ oracle_stage }}", owner: "{{ db_user }}", group: "{{ oracle_group }}", mode: 775 }
tags: createdir
- name: vérification de l espace disque disponible sur oracle_racine
action: shell df -P {{ oracle_racine }} | awk 'END { print $4 }'
register: u01size
failed_when: u01size.stdout|int < {{ u01_free_space_gb }} * 1024 * 1024
tags: diskfreespace
- name: vérification de l espace disque disponible sur /tmp
action: shell df -P /tmp | awk 'END { print $4 }'
register: tmpsize
failed_when: tmpsize.stdout|int < {{ tmp_free_space_gb }} * 1024 * 1024
tags: diskfreespace
- name: Vérifier si une installation existe ...
shell: grep "{{ db_home }}" "{{ oracle_inventory_loc }}/ContentsXML/inventory.xml" | wc -l
register: checkdbswinstall
failed_when: checkdbswinstall.stdout != "0"
tags: checkifexists
- name: Extraction des binaires Oracle
unarchive: src={{ item[0].filename }} dest={{ oracle_stage }}
with_nested:
- "{{ db_software }}"
- "{{ db_version }}"
when: item[0].version == db_version
sudo: yes
sudo_user: "{{ db_user }}"
tags: transfert
- name: Linux 7 - application du pacth 19404309 pour installer 11.2 sur Linux 7
# https://updates.oracle.com/Orion/Services/download?type=readme&aru=17984752
# cela consiste à copier le fichier cvu_prereq.xml dans le répertoire d'install
copy: src=cvu_prereq.xml dest={{ oracle_stage }}/database/stage/cvu owner={{ db_user }} group={{ oracle_group }} mode=644
sudo: yes
sudo_user: "{{ db_user }}"
tags: patch_p19404309
when: ansible_distribution_major_version == '7' and db_version == "11.2.0.4"
- name: Copie du fichier de réponse pour installation silencieuse
template: src=db_install_{{ db_version }}.j2 dest={{ oracle_stage }}/{{ db_response_file }}
sudo: yes
sudo_user: "{{ db_user }}"
tags: responsefile
- name: Création du script d installation silencieuse
template: src=run_db_install.sh.j2 dest={{ oracle_stage }}/run_db_install.sh mode=755
sudo: yes
sudo_user: "{{ db_user }}"
tags: responsefile
- name: Installation des binaires Oracle
shell: "{{ oracle_stage }}/run_db_install.sh"
sudo: yes
sudo_user: "{{ db_user }}"
register: oradbinstall
tags: orainstall
- debug: var=oradbinstall.stdout_lines
# with_items: oradbinstall.results
tags: orainstall
- name: Vérification de l existance du fichier orainstRoot.sh
stat: path="{{ oracle_inventory_loc }}/orainstRoot.sh"
register: orainstRoot
- name: Exécution du script orainstRoot.sh
shell: "{{ oracle_inventory_loc }}/orainstRoot.sh"
sudo: yes
sudo_user: root
when: orainstRoot.stat.exists
tags: runroot
- name: Exécution du script root.sh
shell: "{{ db_home }}/root.sh"
sudo: yes
sudo_user: root
tags: runroot
- name: Résultat de l installation via OPatch
shell: "{{ db_home }}/OPatch/opatch lsinventory"
sudo: yes
sudo_user: "{{ db_user }}"
register: opatchls
tags: opatch
- debug: var=opatchls.stdout_lines
# with_items: opatchls.results
tags: opatch
# suppression des binaires, du fichier de réponse et du script d'install
- name: suppression du repertoire des fichiers decompressés
file: path={{ oracle_stage }}/database state=absent
- name: suppression du fichier de réponse
file: path={{ oracle_stage }}/{{ db_response_file }} state=absent
- name: suppression du script d'installation
file: path={{ oracle_stage }}/run_db_install.sh state=absent

View File

@@ -0,0 +1,136 @@
---
#
# installation des binaires ORACLE
#
- name: Création des répertoires
file: dest={{ item.dir }} mode={{ item.mode }} owner={{ item.owner }} group={{ item.group }} state=directory
with_items:
- { dir: "{{ oracle_racine }}", owner: "{{ gi_user }}", group: "{{ oracle_group }}", mode: 775 }
- { dir: "{{ oracle_base }}", owner: "{{ db_user }}", group: "{{ oracle_group }}", mode: 755 }
- { dir: "{{ oracle_racine }}/{{ gi_user }}", owner: "{{ gi_user }}", group: "{{ oracle_group }}", mode: 755 }
- { dir: "{{ gi_home }}", owner: "{{ gi_user }}", group: "{{ oracle_group }}", mode: 775 }
- { dir: "{{ oracle_stage }}", owner: "{{ gi_user }}", group: "{{ oracle_group }}", mode: 775 }
tags: createdir
- name: vérification de l espace disque disponible sur oracle_racine
action: shell df -P {{ oracle_racine }} | awk 'END { print $4 }'
register: u01size
failed_when: u01size.stdout|int < {{ u01_free_space_gb }} * 1024 * 1024
tags: diskfreespace
- name: vérification de l espace disque disponible sur /tmp
action: shell df -P /tmp | awk 'END { print $4 }'
register: tmpsize
failed_when: tmpsize.stdout|int < {{ tmp_free_space_gb }} * 1024 * 1024
tags: diskfreespace
- name: Vérifier si une installation existe ...
shell: grep "{{ gi_home }}" "{{ oracle_inventory_loc }}/ContentsXML/inventory.xml" | wc -l
register: checkdbswinstall
failed_when: checkdbswinstall.stdout != "0"
tags: checkifexists
- name: Extraction des binaires Oracle
unarchive: src={{ item[0].filename }} dest={{ oracle_stage }}
with_nested:
- "{{ gi_software }}"
- "{{ gi_version }}"
when: item[0].version == gi_version
sudo: yes
sudo_user: "{{ gi_user }}"
tags: transfert
- name: Linux 7 - application du pacth 19404309 pour installer 11.2 sur Linux 7
# https://updates.oracle.com/Orion/Services/download?type=readme&aru=17984752
# cela consiste à copier le fichier cvu_prereq.xml dans le répertoire stage
copy: src=cvu_prereq.xml dest={{ oracle_stage }}/grid/stage/cvu owner={{ gi_user }} group={{ oracle_group }} mode=644
sudo: yes
sudo_user: "{{ gi_user }}"
tags: patch_p19404309
when: ansible_distribution_major_version == '7' and db_version == "11.2.0.4"
- name: Copie du fichier de réponse pour installation silencieuse
template: src=gi_install_{{ gi_version }}.j2 dest={{ oracle_stage }}/{{ gi_response_file }}
sudo: yes
sudo_user: "{{ gi_user }}"
tags: responsefile
- name: Création du script d installation silencieuse
template: src=run_gi_install.sh.j2 dest={{ oracle_stage }}/run_gi_install.sh mode=755
sudo: yes
sudo_user: "{{ gi_user }}"
tags: responsefile
- name: Installation des binaires Oracle
shell: "{{ oracle_stage }}/run_gi_install.sh"
sudo: yes
sudo_user: "{{ gi_user }}"
register: oradbinstall
tags: orainstall
- debug: var=oradbinstall.stdout_lines
tags: orainstall
- name: Vérification de l existance du fichier orainstRoot.sh
stat: path="{{ oracle_inventory_loc }}/orainstRoot.sh"
register: orainstRoot
- name: Exécution du script orainstRoot.sh
shell: "{{ oracle_inventory_loc }}/orainstRoot.sh"
sudo: yes
sudo_user: root
when: orainstRoot.stat.exists
tags: runroot
- name: Exécution du script root.sh
shell: "{{ gi_home }}/root.sh"
sudo: yes
sudo_user: root
register: rootsh
tags: runroot
- debug: var=rootsh.stdout_lines
tags: runroot
- name: Résultat de l installation via OPatch
shell: "{{ gi_home }}/OPatch/opatch lsinventory"
sudo: yes
sudo_user: "{{ gi_user }}"
register: opatchls
tags: opatchgi
- debug: var=opatchls.stdout_lines
tags: opatchgi
- name: Configuration GI standalone
shell: "{{ gi_home }}/perl/bin/perl {{ gi_home }}/crs/install/roothas.pl"
sudo: yes
sudo_user: root
register: roothas
tags: roothas
- debug: var=roothas.stdout_lines
tags: roothas
- name: Ajout de export ORACLE_HOME dans le bash_profile de grid
lineinfile: dest=/home/grid/.bash_profile line="export ORACLE_HOME={{ gi_home }}" state=present create=yes
tags: gi_bash_profile
- name: Ajout de export ORACLE_SID dans le bash_profile de grid
lineinfile: dest=/home/grid/.bash_profile line="export ORACLE_SID={{ gi_user }}" state=present create=yes
tags: gi_bash_profile
- name: Ajout de export PATH dans le bash_profile de grid
lineinfile: dest=/home/grid/.bash_profile line="export PATH=$ORACLE_HOME/bin:$PATH" state=present create=yes
tags: gi_bash_profile
# suppression des binaires, du fichier de réponse et du script d'install
- name: suppression du repertoire des fichiers decompressés
file: path={{ oracle_stage }}/grid state=absent
- name: suppression du fichier de réponse
file: path={{ oracle_stage }}/{{ gi_response_file }} state=absent
- name: suppression du script d'installation
file: path={{ oracle_stage }}/run_gi_install.sh state=absent

View File

@@ -0,0 +1,19 @@
---
#
# installation des binaires ORACLE : grid infra et/ou database
#
# ---------------------------------------------------
# configuration Linux : Utilisateurs et groupes
# ---------------------------------------------------
- include: users_configuration.yml
when: install_grid_infra or install_database
- include: install_grid_infra.yml
when: install_grid_infra
- include: install_database.yml
when: install_database
- include: scripts_exploitation.yml

View File

@@ -0,0 +1,25 @@
---
# ---------------------------------------------------
# ajout de script oracle pour les backups rman
# ---------------------------------------------------
- name: Copie du script backup_rman.sh dans /home/oracle/scripts
copy: src=backup_rman.sh dest=/home/oracle/scripts/ owner=oracle group=oinstall mode=755
# ---------------------------------------------------
# copy du fichier oracledb dans /etc/init.d pour redémmarage auto
# ---------------------------------------------------
- name: Copie du script de démarrage auto des bases Oracle
template: src=oracledb_initd.j2 dest=/etc/init.d/oracle_db owner=root mode=755
- debug: msg="Le script /etc/init.d/oracle_db est postionné pour démarrer et arrêter les bases au reboot"
- debug: msg="Pensez à mettre Y au lieu de N dans /etc/oratab pour les bases à démarreage automatique"
- debug: msg="Pensez aussi à activier le script par chkconfig ou systemd"
# ---------------------------------------------------
# configuration Linux : config oracle pour logrotate
# ---------------------------------------------------
- name: Copie du fichier de configuration pour logrotate
template: src=logrotate_oracle.j2 dest=/etc/logrotate.d/oracle mode=644 owner=root
tags: logrotate

View File

@@ -0,0 +1,42 @@
---
# ---------------------------------------------------
# configuration Linux : Utilisateurs et groupes
# ---------------------------------------------------
- name: Création des groupes
group: name={{ item.group }} gid={{ item.gid }} state=present
with_items: "{{ oracle_groups }}"
tags: group
- name: Création du compte Oracle
user:
name={{ item.username }} group={{ item.primgroup }}
groups={{ item.othergroups }} uid={{ item.uid }}
generate_ssh_key=yes append=yes state=present password={{ item.passwd }}
with_items: "{{ oracle_users }}"
ignore_errors: true
tags: user
- name: Création du compte grid
user:
name={{ item.username }} group={{ item.primgroup }}
groups={{ item.othergroups }} uid={{ item.uid }}
generate_ssh_key=yes append=yes state=present password={{ item.passwd }}
with_items: "{{ grid_users }}"
when: role_separation
ignore_errors: true
tags: user
# ---------------------------------------------------
# configuration Linux : config oracle pour logrotate
# ---------------------------------------------------
- name: Gestion des logs Oracle - copie du fichier de configuration pour logrotate
template: src=logrotate_oracle.j2 dest=/etc/logrotate.d/oracle mode=644 owner=root group=root
tags: logrotate
# ---------------------------------------------------
# copy du fichier oracledb dans /etc/init.d pour redémmarage auto
# ---------------------------------------------------
- name: Copy du fichier oracledb dans /etc/init.d pour redémmarage auto
template: src=oracledb_initd.j2 dest=/etc/init.d/oracledb mode=755 owner=root group=root
tags: init.d

View File

@@ -0,0 +1,482 @@
# {{ ansible_managed }}
####################################################################
## Copyright(c) Oracle Corporation 1998,2013. 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. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
## ##
####################################################################
#------------------------------------------------------------------------------
# Do not change the following system generated value.
#------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
#------------------------------------------------------------------------------
# Specify the installation option.
# It can be one of the following:
# - INSTALL_DB_SWONLY
# - INSTALL_DB_AND_CONFIG
# - UPGRADE_DB
#-------------------------------------------------------------------------------
oracle.install.option=INSTALL_DB_SWONLY
#-------------------------------------------------------------------------------
# Specify the hostname of the system as set during the install. It can be used
# to force the installation to use an alternative hostname rather than using the
# first hostname found on the system. (e.g., for systems with multiple hostnames
# and network interfaces)
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME={{ ansible_hostname }}
#-------------------------------------------------------------------------------
# Specify the Unix group to be set for the inventory directory.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME={{ oracle_group }}
#-------------------------------------------------------------------------------
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION={{ oracle_inventory_loc }}
#-------------------------------------------------------------------------------
# Specify the languages in which the components will be installed.
#
# en : English ja : Japanese
# fr : French ko : Korean
# ar : Arabic es : Latin American Spanish
# bn : Bengali lv : Latvian
# pt_BR: Brazilian Portuguese lt : Lithuanian
# bg : Bulgarian ms : Malay
# fr_CA: Canadian French es_MX: Mexican Spanish
# ca : Catalan no : Norwegian
# hr : Croatian pl : Polish
# cs : Czech pt : Portuguese
# da : Danish ro : Romanian
# nl : Dutch ru : Russian
# ar_EG: Egyptian zh_CN: Simplified Chinese
# en_GB: English (Great Britain) sk : Slovak
# et : Estonian sl : Slovenian
# fi : Finnish es_ES: Spanish
# de : German sv : Swedish
# el : Greek th : Thai
# iw : Hebrew zh_TW: Traditional Chinese
# hu : Hungarian tr : Turkish
# is : Icelandic uk : Ukrainian
# in : Indonesian vi : Vietnamese
# it : Italian
#
# all_langs : All languages
#
# Specify value as the following to select any of the languages.
# Example : SELECTED_LANGUAGES=en,fr,ja
#
# Specify value as the following to select all the languages.
# Example : SELECTED_LANGUAGES=all_langs
#------------------------------------------------------------------------------
SELECTED_LANGUAGES=en
#------------------------------------------------------------------------------
# Specify the complete path of the Oracle Home.
#------------------------------------------------------------------------------
ORACLE_HOME={{ oracle_home_db_install }}
#------------------------------------------------------------------------------
# Specify the complete path of the Oracle Base.
#------------------------------------------------------------------------------
ORACLE_BASE={{ oracle_base }}
#------------------------------------------------------------------------------
# Specify the installation edition of the component.
#
# The value should contain only one of these choices.
# - EE : Enterprise Edition
# - SE : Standard Edition
# - SEONE : Standard Edition One
# - PE : Personal Edition (WINDOWS ONLY)
#------------------------------------------------------------------------------
oracle.install.db.InstallEdition={{ item.0.oracle_edition }}
#------------------------------------------------------------------------------
# This variable is used to enable or disable custom install and is considered
# only if InstallEdition is EE.
#
# true : Components mentioned as part of 'optionalComponents' property
# are considered for install.
# false : Value for 'optionalComponents' is not considered.
#------------------------------------------------------------------------------
oracle.install.db.EEOptionsSelection=false
#------------------------------------------------------------------------------
# This variable is considered only if 'EEOptionsSelection' is set to true.
#
# Description: List of Enterprise Edition Options you would like to enable.
#
# The following choices are available. You may specify any
# combination of these choices. The components you choose should
# be specified in the form "internal-component-name:version"
# Below is a list of components you may specify to enable.
#
# oracle.oraolap:11.2.0.4.0 - Oracle OLAP
# oracle.rdbms.dm:11.2.0.4.0 - Oracle Data Mining
# oracle.rdbms.dv:11.2.0.4.0 - Oracle Database Vault
# oracle.rdbms.lbac:11.2.0.4.0 - Oracle Label Security
# oracle.rdbms.partitioning:11.2.0.4.0 - Oracle Partitioning
# oracle.rdbms.rat:11.2.0.4.0 - Oracle Real Application Testing
#------------------------------------------------------------------------------
oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.4.0,oracle.oraolap:11.2.0.4.0,oracle.rdbms.dm:11.2.0.4.0,oracle.rdbms.dv:11.2.0.4.0,oracle.rdbms.lbac:11.2.0.4.0,oracle.rdbms.rat:11.2.0.4.0
###############################################################################
# #
# PRIVILEGED OPERATING SYSTEM GROUPS #
# ------------------------------------------ #
# Provide values for the OS groups to which OSDBA and OSOPER privileges #
# needs to be granted. If the install is being performed as a member of the #
# group "dba", then that will be used unless specified otherwise below. #
# #
# The value to be specified for OSDBA and OSOPER group is only for UNIX based #
# Operating System. #
# #
###############################################################################
#------------------------------------------------------------------------------
# The DBA_GROUP is the OS group which is to be granted OSDBA privileges.
#------------------------------------------------------------------------------
oracle.install.db.DBA_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# The OPER_GROUP is the OS group which is to be granted OSOPER privileges.
# The value to be specified for OSOPER group is optional.
#------------------------------------------------------------------------------
oracle.install.db.OPER_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# Specify the cluster node names selected during the installation.
# Example : oracle.install.db.CLUSTER_NODES=node1,node2
#------------------------------------------------------------------------------
{% if configure_cluster==True %}
{% if oracle_gi_cluster_type |upper == 'FLEX' %}
oracle.install.db.CLUSTER_NODES={% for host in groups[hostgroup_hub] -%} {{host}} {%- if not loop.last -%} , {%- endif -%} {%- endfor %}
{% else %}
oracle.install.db.CLUSTER_NODES={% for host in groups[hostgroup] -%} {{host}} {%- if not loop.last -%} , {%- endif -%} {%- endfor %}
{% endif %}
{% else %}
{% endif %}
#------------------------------------------------------------------------------
# This variable is used to enable or disable RAC One Node install.
#
# - true : Value of RAC One Node service name is used.
# - false : Value of RAC One Node service name is not used.
#
# If left blank, it will be assumed to be false
#------------------------------------------------------------------------------
oracle.install.db.isRACOneInstall={{ item.0.is_racone }}
#------------------------------------------------------------------------------
# Specify the name for RAC One Node Service.
#------------------------------------------------------------------------------
oracle.install.db.racOneServiceName={{ item.0.service_name }}
#------------------------------------------------------------------------------
# Specify the type of database to create.
# It can be one of the following:
# - GENERAL_PURPOSE/TRANSACTION_PROCESSING
# - DATA_WAREHOUSE
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.type=
#------------------------------------------------------------------------------
# Specify the Starter Database Global Database Name.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.globalDBName=
#------------------------------------------------------------------------------
# Specify the Starter Database SID.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.SID=
#------------------------------------------------------------------------------
# Specify the Starter Database character set.
#
# It can be one of the following:
# AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,
# EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,
# BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,
# AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,
# IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,
# KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,
# ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.characterSet=AL32UTF8
#------------------------------------------------------------------------------
# This variable should be set to true if Automatic Memory Management
# in Database is desired.
# If Automatic Memory Management is not desired, and memory allocation
# is to be done manually, then set it to false.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryOption=false
#------------------------------------------------------------------------------
# Specify the total memory allocation for the database. Value(in MB) should be
# at least 256 MB, and should not exceed the total physical memory available
# on the system.
# Example: oracle.install.db.config.starterdb.memoryLimit=512
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryLimit=
#------------------------------------------------------------------------------
# This variable controls whether to load Example Schemas onto
# the starter database or not.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.installExampleSchemas=false
#------------------------------------------------------------------------------
# This variable includes enabling audit settings, configuring password profiles
# and revoking some grants to public. These settings are provided by default.
# These settings may also be disabled.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.enableSecuritySettings=true
###############################################################################
# #
# Passwords can be supplied for the following four schemas in the #
# starter database: #
# SYS #
# SYSTEM #
# SYSMAN (used by Enterprise Manager) #
# DBSNMP (used by Enterprise Manager) #
# #
# Same password can be used for all accounts (not recommended) #
# or different passwords for each account can be provided (recommended) #
# #
###############################################################################
#------------------------------------------------------------------------------
# This variable holds the password that is to be used for all schemas in the
# starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.ALL=
#-------------------------------------------------------------------------------
# Specify the SYS password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYS=
#-------------------------------------------------------------------------------
# Specify the SYSTEM password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSTEM=
#-------------------------------------------------------------------------------
# Specify the SYSMAN password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSMAN=
#-------------------------------------------------------------------------------
# Specify the DBSNMP password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.DBSNMP=
#-------------------------------------------------------------------------------
# Specify the management option to be selected for the starter database.
# It can be one of the following:
# - GRID_CONTROL
# - DB_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.control=DB_CONTROL
#-------------------------------------------------------------------------------
# Specify the Management Service to use if Grid Control is selected to manage
# the database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=
###############################################################################
# #
# SPECIFY BACKUP AND RECOVERY OPTIONS #
# ------------------------------------ #
# Out-of-box backup and recovery options for the database can be mentioned #
# using the entries below. #
# #
###############################################################################
#------------------------------------------------------------------------------
# This variable is to be set to false if automated backup is not required. Else
# this can be set to true.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.enable=false
#------------------------------------------------------------------------------
# Regardless of the type of storage that is chosen for backup and recovery, if
# automated backups are enabled, a job will be scheduled to run daily to backup
# the database. This job will run as the operating system user that is
# specified in this variable.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.osuid=
#-------------------------------------------------------------------------------
# Regardless of the type of storage that is chosen for backup and recovery, if
# automated backups are enabled, a job will be scheduled to run daily to backup
# the database. This job will run as the operating system user specified by the
# above entry. The following entry stores the password for the above operating
# system user.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.ospwd=
#-------------------------------------------------------------------------------
# Specify the type of storage to use for the database.
# It can be one of the following:
# - FILE_SYSTEM_STORAGE
# - ASM_STORAGE
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.storageType=
#-------------------------------------------------------------------------------
# Specify the database file location which is a directory for datafiles, control
# files, redo logs.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
#-------------------------------------------------------------------------------
# Specify the backup and recovery location.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=
#-------------------------------------------------------------------------------
# Specify the existing ASM disk groups to be used for storage.
#
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.diskGroup=
#-------------------------------------------------------------------------------
# Specify the password for ASMSNMP user of the ASM instance.
#
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.ASMSNMPPassword=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username.
#
# Example : MYORACLESUPPORT_USERNAME=abc@oracle.com
#------------------------------------------------------------------------------
MYORACLESUPPORT_USERNAME=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password.
#
# Example : MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
MYORACLESUPPORT_PASSWORD=
#------------------------------------------------------------------------------
# Specify whether to enable the user to set the password for
# My Oracle Support credentials. The value can be either true or false.
# If left blank it will be assumed to be false.
#
# Example : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
#------------------------------------------------------------------------------
SECURITY_UPDATES_VIA_MYORACLESUPPORT=
#------------------------------------------------------------------------------
# Specify whether user doesn't want to configure Security Updates.
# The value for this variable should be true if you don't want to configure
# Security Updates, false otherwise.
#
# The value can be either true or false. If left blank it will be assumed
# to be false.
#
# Example : DECLINE_SECURITY_UPDATES=false
#------------------------------------------------------------------------------
DECLINE_SECURITY_UPDATES=true
#------------------------------------------------------------------------------
# Specify the Proxy server name. Length should be greater than zero.
#
# Example : PROXY_HOST=proxy.domain.com
#------------------------------------------------------------------------------
PROXY_HOST=
#------------------------------------------------------------------------------
# Specify the proxy port number. Should be Numeric and at least 2 chars.
#
# Example : PROXY_PORT=25
#------------------------------------------------------------------------------
PROXY_PORT=
#------------------------------------------------------------------------------
# Specify the proxy user name. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example : PROXY_USER=username
#------------------------------------------------------------------------------
PROXY_USER=
#------------------------------------------------------------------------------
# Specify the proxy password. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example : PROXY_PWD=password
#------------------------------------------------------------------------------
PROXY_PWD=
#------------------------------------------------------------------------------
# Specify the proxy realm. This value is used if auto-updates option is selected.
#
# Example : PROXY_REALM=metalink
#------------------------------------------------------------------------------
PROXY_REALM=
#------------------------------------------------------------------------------
# Specify the Oracle Support Hub URL.
#
# Example : COLLECTOR_SUPPORTHUB_URL=https://orasupporthub.company.com:8080/
#------------------------------------------------------------------------------
COLLECTOR_SUPPORTHUB_URL=
#------------------------------------------------------------------------------
# Specify the auto-updates option. It can be one of the following:
# - MYORACLESUPPORT_DOWNLOAD
# - OFFLINE_UPDATES
# - SKIP_UPDATES
#------------------------------------------------------------------------------
oracle.installer.autoupdates.option=
#------------------------------------------------------------------------------
# In case MYORACLESUPPORT_DOWNLOAD option is chosen, specify the location where
# the updates are to be downloaded.
# In case OFFLINE_UPDATES option is chosen, specify the location where the updates
# are present.
#------------------------------------------------------------------------------
oracle.installer.autoupdates.downloadUpdatesLoc=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username which has the patches download privileges
# to be used for software updates.
# Example : AUTOUPDATES_MYORACLESUPPORT_USERNAME=abc@oracle.com
#------------------------------------------------------------------------------
AUTOUPDATES_MYORACLESUPPORT_USERNAME=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password which has the patches download privileges
# to be used for software updates.
#
# Example : AUTOUPDATES_MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
AUTOUPDATES_MYORACLESUPPORT_PASSWORD=

View File

@@ -0,0 +1,482 @@
# {{ ansible_managed }}
####################################################################
## Copyright(c) Oracle Corporation 1998,2013. 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. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
## ##
####################################################################
#------------------------------------------------------------------------------
# Do not change the following system generated value.
#------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
#------------------------------------------------------------------------------
# Specify the installation option.
# It can be one of the following:
# - INSTALL_DB_SWONLY
# - INSTALL_DB_AND_CONFIG
# - UPGRADE_DB
#-------------------------------------------------------------------------------
oracle.install.option=INSTALL_DB_SWONLY
#-------------------------------------------------------------------------------
# Specify the hostname of the system as set during the install. It can be used
# to force the installation to use an alternative hostname rather than using the
# first hostname found on the system. (e.g., for systems with multiple hostnames
# and network interfaces)
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME={{ ansible_hostname }}
#-------------------------------------------------------------------------------
# Specify the Unix group to be set for the inventory directory.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME={{ oracle_group }}
#-------------------------------------------------------------------------------
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION={{ oracle_inventory_loc }}
#-------------------------------------------------------------------------------
# Specify the languages in which the components will be installed.
#
# en : English ja : Japanese
# fr : French ko : Korean
# ar : Arabic es : Latin American Spanish
# bn : Bengali lv : Latvian
# pt_BR: Brazilian Portuguese lt : Lithuanian
# bg : Bulgarian ms : Malay
# fr_CA: Canadian French es_MX: Mexican Spanish
# ca : Catalan no : Norwegian
# hr : Croatian pl : Polish
# cs : Czech pt : Portuguese
# da : Danish ro : Romanian
# nl : Dutch ru : Russian
# ar_EG: Egyptian zh_CN: Simplified Chinese
# en_GB: English (Great Britain) sk : Slovak
# et : Estonian sl : Slovenian
# fi : Finnish es_ES: Spanish
# de : German sv : Swedish
# el : Greek th : Thai
# iw : Hebrew zh_TW: Traditional Chinese
# hu : Hungarian tr : Turkish
# is : Icelandic uk : Ukrainian
# in : Indonesian vi : Vietnamese
# it : Italian
#
# all_langs : All languages
#
# Specify value as the following to select any of the languages.
# Example : SELECTED_LANGUAGES=en,fr,ja
#
# Specify value as the following to select all the languages.
# Example : SELECTED_LANGUAGES=all_langs
#------------------------------------------------------------------------------
SELECTED_LANGUAGES=en
#------------------------------------------------------------------------------
# Specify the complete path of the Oracle Home.
#------------------------------------------------------------------------------
ORACLE_HOME={{ oracle_home_db_install }}
#------------------------------------------------------------------------------
# Specify the complete path of the Oracle Base.
#------------------------------------------------------------------------------
ORACLE_BASE={{ oracle_base }}
#------------------------------------------------------------------------------
# Specify the installation edition of the component.
#
# The value should contain only one of these choices.
# - EE : Enterprise Edition
# - SE : Standard Edition
# - SEONE : Standard Edition One
# - PE : Personal Edition (WINDOWS ONLY)
#------------------------------------------------------------------------------
oracle.install.db.InstallEdition={{ item.0.oracle_edition }}
#------------------------------------------------------------------------------
# This variable is used to enable or disable custom install and is considered
# only if InstallEdition is EE.
#
# true : Components mentioned as part of 'optionalComponents' property
# are considered for install.
# false : Value for 'optionalComponents' is not considered.
#------------------------------------------------------------------------------
oracle.install.db.EEOptionsSelection=false
#------------------------------------------------------------------------------
# This variable is considered only if 'EEOptionsSelection' is set to true.
#
# Description: List of Enterprise Edition Options you would like to enable.
#
# The following choices are available. You may specify any
# combination of these choices. The components you choose should
# be specified in the form "internal-component-name:version"
# Below is a list of components you may specify to enable.
#
# oracle.oraolap:11.2.0.4.0 - Oracle OLAP
# oracle.rdbms.dm:11.2.0.4.0 - Oracle Data Mining
# oracle.rdbms.dv:11.2.0.4.0 - Oracle Database Vault
# oracle.rdbms.lbac:11.2.0.4.0 - Oracle Label Security
# oracle.rdbms.partitioning:11.2.0.4.0 - Oracle Partitioning
# oracle.rdbms.rat:11.2.0.4.0 - Oracle Real Application Testing
#------------------------------------------------------------------------------
oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.4.0,oracle.oraolap:11.2.0.4.0,oracle.rdbms.dm:11.2.0.4.0,oracle.rdbms.dv:11.2.0.4.0,oracle.rdbms.lbac:11.2.0.4.0,oracle.rdbms.rat:11.2.0.4.0
###############################################################################
# #
# PRIVILEGED OPERATING SYSTEM GROUPS #
# ------------------------------------------ #
# Provide values for the OS groups to which OSDBA and OSOPER privileges #
# needs to be granted. If the install is being performed as a member of the #
# group "dba", then that will be used unless specified otherwise below. #
# #
# The value to be specified for OSDBA and OSOPER group is only for UNIX based #
# Operating System. #
# #
###############################################################################
#------------------------------------------------------------------------------
# The DBA_GROUP is the OS group which is to be granted OSDBA privileges.
#------------------------------------------------------------------------------
oracle.install.db.DBA_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# The OPER_GROUP is the OS group which is to be granted OSOPER privileges.
# The value to be specified for OSOPER group is optional.
#------------------------------------------------------------------------------
oracle.install.db.OPER_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# Specify the cluster node names selected during the installation.
# Example : oracle.install.db.CLUSTER_NODES=node1,node2
#------------------------------------------------------------------------------
{% if configure_cluster==True %}
{% if oracle_gi_cluster_type |upper == 'FLEX' %}
oracle.install.db.CLUSTER_NODES={% for host in groups[hostgroup_hub] -%} {{host}} {%- if not loop.last -%} , {%- endif -%} {%- endfor %}
{% else %}
oracle.install.db.CLUSTER_NODES={% for host in groups[hostgroup] -%} {{host}} {%- if not loop.last -%} , {%- endif -%} {%- endfor %}
{% endif %}
{% else %}
{% endif %}
#------------------------------------------------------------------------------
# This variable is used to enable or disable RAC One Node install.
#
# - true : Value of RAC One Node service name is used.
# - false : Value of RAC One Node service name is not used.
#
# If left blank, it will be assumed to be false
#------------------------------------------------------------------------------
oracle.install.db.isRACOneInstall={{ item.0.is_racone }}
#------------------------------------------------------------------------------
# Specify the name for RAC One Node Service.
#------------------------------------------------------------------------------
oracle.install.db.racOneServiceName={{ item.0.service_name }}
#------------------------------------------------------------------------------
# Specify the type of database to create.
# It can be one of the following:
# - GENERAL_PURPOSE/TRANSACTION_PROCESSING
# - DATA_WAREHOUSE
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.type=
#------------------------------------------------------------------------------
# Specify the Starter Database Global Database Name.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.globalDBName=
#------------------------------------------------------------------------------
# Specify the Starter Database SID.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.SID=
#------------------------------------------------------------------------------
# Specify the Starter Database character set.
#
# It can be one of the following:
# AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,
# EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,
# BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,
# AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,
# IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,
# KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,
# ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.characterSet=AL32UTF8
#------------------------------------------------------------------------------
# This variable should be set to true if Automatic Memory Management
# in Database is desired.
# If Automatic Memory Management is not desired, and memory allocation
# is to be done manually, then set it to false.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryOption=false
#------------------------------------------------------------------------------
# Specify the total memory allocation for the database. Value(in MB) should be
# at least 256 MB, and should not exceed the total physical memory available
# on the system.
# Example: oracle.install.db.config.starterdb.memoryLimit=512
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryLimit=
#------------------------------------------------------------------------------
# This variable controls whether to load Example Schemas onto
# the starter database or not.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.installExampleSchemas=false
#------------------------------------------------------------------------------
# This variable includes enabling audit settings, configuring password profiles
# and revoking some grants to public. These settings are provided by default.
# These settings may also be disabled.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.enableSecuritySettings=true
###############################################################################
# #
# Passwords can be supplied for the following four schemas in the #
# starter database: #
# SYS #
# SYSTEM #
# SYSMAN (used by Enterprise Manager) #
# DBSNMP (used by Enterprise Manager) #
# #
# Same password can be used for all accounts (not recommended) #
# or different passwords for each account can be provided (recommended) #
# #
###############################################################################
#------------------------------------------------------------------------------
# This variable holds the password that is to be used for all schemas in the
# starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.ALL=
#-------------------------------------------------------------------------------
# Specify the SYS password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYS=
#-------------------------------------------------------------------------------
# Specify the SYSTEM password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSTEM=
#-------------------------------------------------------------------------------
# Specify the SYSMAN password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSMAN=
#-------------------------------------------------------------------------------
# Specify the DBSNMP password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.DBSNMP=
#-------------------------------------------------------------------------------
# Specify the management option to be selected for the starter database.
# It can be one of the following:
# - GRID_CONTROL
# - DB_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.control=DB_CONTROL
#-------------------------------------------------------------------------------
# Specify the Management Service to use if Grid Control is selected to manage
# the database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=
###############################################################################
# #
# SPECIFY BACKUP AND RECOVERY OPTIONS #
# ------------------------------------ #
# Out-of-box backup and recovery options for the database can be mentioned #
# using the entries below. #
# #
###############################################################################
#------------------------------------------------------------------------------
# This variable is to be set to false if automated backup is not required. Else
# this can be set to true.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.enable=false
#------------------------------------------------------------------------------
# Regardless of the type of storage that is chosen for backup and recovery, if
# automated backups are enabled, a job will be scheduled to run daily to backup
# the database. This job will run as the operating system user that is
# specified in this variable.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.osuid=
#-------------------------------------------------------------------------------
# Regardless of the type of storage that is chosen for backup and recovery, if
# automated backups are enabled, a job will be scheduled to run daily to backup
# the database. This job will run as the operating system user specified by the
# above entry. The following entry stores the password for the above operating
# system user.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.automatedBackup.ospwd=
#-------------------------------------------------------------------------------
# Specify the type of storage to use for the database.
# It can be one of the following:
# - FILE_SYSTEM_STORAGE
# - ASM_STORAGE
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.storageType=
#-------------------------------------------------------------------------------
# Specify the database file location which is a directory for datafiles, control
# files, redo logs.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
#-------------------------------------------------------------------------------
# Specify the backup and recovery location.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=
#-------------------------------------------------------------------------------
# Specify the existing ASM disk groups to be used for storage.
#
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.diskGroup=
#-------------------------------------------------------------------------------
# Specify the password for ASMSNMP user of the ASM instance.
#
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.ASMSNMPPassword=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username.
#
# Example : MYORACLESUPPORT_USERNAME=abc@oracle.com
#------------------------------------------------------------------------------
MYORACLESUPPORT_USERNAME=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password.
#
# Example : MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
MYORACLESUPPORT_PASSWORD=
#------------------------------------------------------------------------------
# Specify whether to enable the user to set the password for
# My Oracle Support credentials. The value can be either true or false.
# If left blank it will be assumed to be false.
#
# Example : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
#------------------------------------------------------------------------------
SECURITY_UPDATES_VIA_MYORACLESUPPORT=
#------------------------------------------------------------------------------
# Specify whether user doesn't want to configure Security Updates.
# The value for this variable should be true if you don't want to configure
# Security Updates, false otherwise.
#
# The value can be either true or false. If left blank it will be assumed
# to be false.
#
# Example : DECLINE_SECURITY_UPDATES=false
#------------------------------------------------------------------------------
DECLINE_SECURITY_UPDATES=true
#------------------------------------------------------------------------------
# Specify the Proxy server name. Length should be greater than zero.
#
# Example : PROXY_HOST=proxy.domain.com
#------------------------------------------------------------------------------
PROXY_HOST=
#------------------------------------------------------------------------------
# Specify the proxy port number. Should be Numeric and at least 2 chars.
#
# Example : PROXY_PORT=25
#------------------------------------------------------------------------------
PROXY_PORT=
#------------------------------------------------------------------------------
# Specify the proxy user name. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example : PROXY_USER=username
#------------------------------------------------------------------------------
PROXY_USER=
#------------------------------------------------------------------------------
# Specify the proxy password. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example : PROXY_PWD=password
#------------------------------------------------------------------------------
PROXY_PWD=
#------------------------------------------------------------------------------
# Specify the proxy realm. This value is used if auto-updates option is selected.
#
# Example : PROXY_REALM=metalink
#------------------------------------------------------------------------------
PROXY_REALM=
#------------------------------------------------------------------------------
# Specify the Oracle Support Hub URL.
#
# Example : COLLECTOR_SUPPORTHUB_URL=https://orasupporthub.company.com:8080/
#------------------------------------------------------------------------------
COLLECTOR_SUPPORTHUB_URL=
#------------------------------------------------------------------------------
# Specify the auto-updates option. It can be one of the following:
# - MYORACLESUPPORT_DOWNLOAD
# - OFFLINE_UPDATES
# - SKIP_UPDATES
#------------------------------------------------------------------------------
oracle.installer.autoupdates.option=
#------------------------------------------------------------------------------
# In case MYORACLESUPPORT_DOWNLOAD option is chosen, specify the location where
# the updates are to be downloaded.
# In case OFFLINE_UPDATES option is chosen, specify the location where the updates
# are present.
#------------------------------------------------------------------------------
oracle.installer.autoupdates.downloadUpdatesLoc=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username which has the patches download privileges
# to be used for software updates.
# Example : AUTOUPDATES_MYORACLESUPPORT_USERNAME=abc@oracle.com
#------------------------------------------------------------------------------
AUTOUPDATES_MYORACLESUPPORT_USERNAME=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password which has the patches download privileges
# to be used for software updates.
#
# Example : AUTOUPDATES_MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
AUTOUPDATES_MYORACLESUPPORT_PASSWORD=

View File

@@ -0,0 +1,495 @@
# {{ ansible_managed }}
#
####################################################################
## Copyright(c) Oracle Corporation 1998,2014. 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. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
## ##
####################################################################
#-------------------------------------------------------------------------------
# Do not change the following system generated value.
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.1.0
#-------------------------------------------------------------------------------
# Specify the installation option.
# It can be one of the following:
# - INSTALL_DB_SWONLY
# - INSTALL_DB_AND_CONFIG
# - UPGRADE_DB
#-------------------------------------------------------------------------------
oracle.install.option=INSTALL_DB_SWONLY
#-------------------------------------------------------------------------------
# Specify the hostname of the system as set during the install. It can be used
# to force the installation to use an alternative hostname rather than using the
# first hostname found on the system. (e.g., for systems with multiple hostnames
# and network interfaces)
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME={{ ansible_hostname }}
#-------------------------------------------------------------------------------
# Specify the Unix group to be set for the inventory directory.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME={{ oracle_group }}
#-------------------------------------------------------------------------------
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION={{ oracle_inventory_loc }}
#-------------------------------------------------------------------------------
# Specify the languages in which the components will be installed.
#
# en : English ja : Japanese
# fr : French ko : Korean
# ar : Arabic es : Latin American Spanish
# bn : Bengali lv : Latvian
# pt_BR: Brazilian Portuguese lt : Lithuanian
# bg : Bulgarian ms : Malay
# fr_CA: Canadian French es_MX: Mexican Spanish
# ca : Catalan no : Norwegian
# hr : Croatian pl : Polish
# cs : Czech pt : Portuguese
# da : Danish ro : Romanian
# nl : Dutch ru : Russian
# ar_EG: Egyptian zh_CN: Simplified Chinese
# en_GB: English (Great Britain) sk : Slovak
# et : Estonian sl : Slovenian
# fi : Finnish es_ES: Spanish
# de : German sv : Swedish
# el : Greek th : Thai
# iw : Hebrew zh_TW: Traditional Chinese
# hu : Hungarian tr : Turkish
# is : Icelandic uk : Ukrainian
# in : Indonesian vi : Vietnamese
# it : Italian
#
# all_langs : All languages
#
# Specify value as the following to select any of the languages.
# Example : SELECTED_LANGUAGES=en,fr,ja
#
# Specify value as the following to select all the languages.
# Example : SELECTED_LANGUAGES=all_langs
#-------------------------------------------------------------------------------
SELECTED_LANGUAGES=en
#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Home.
#-------------------------------------------------------------------------------
ORACLE_HOME={{ oracle_home_db_install }}
#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Base.
#-------------------------------------------------------------------------------
ORACLE_BASE={{ oracle_base }}
#-------------------------------------------------------------------------------
# Specify the installation edition of the component.
#
# The value should contain only one of these choices.
# - EE : Enterprise Edition
#-------------------------------------------------------------------------------
oracle.install.db.InstallEdition={{ item.0.oracle_edition }}
###############################################################################
# #
# PRIVILEGED OPERATING SYSTEM GROUPS #
# ------------------------------------------ #
# Provide values for the OS groups to which OSDBA and OSOPER privileges #
# needs to be granted. If the install is being performed as a member of the #
# group "dba", then that will be used unless specified otherwise below. #
# #
# The value to be specified for OSDBA and OSOPER group is only for UNIX based #
# Operating System. #
# #
###############################################################################
#------------------------------------------------------------------------------
# The DBA_GROUP is the OS group which is to be granted OSDBA privileges.
#-------------------------------------------------------------------------------
oracle.install.db.DBA_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# The OPER_GROUP is the OS group which is to be granted OSOPER privileges.
# The value to be specified for OSOPER group is optional.
#------------------------------------------------------------------------------
oracle.install.db.OPER_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# The BACKUPDBA_GROUP is the OS group which is to be granted OSBACKUPDBA privileges.
#------------------------------------------------------------------------------
oracle.install.db.BACKUPDBA_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# The DGDBA_GROUP is the OS group which is to be granted OSDGDBA privileges.
#------------------------------------------------------------------------------
oracle.install.db.DGDBA_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# The KMDBA_GROUP is the OS group which is to be granted OSKMDBA privileges.
#------------------------------------------------------------------------------
oracle.install.db.KMDBA_GROUP={{ oracle_group }}
###############################################################################
# #
# Grid Options #
# #
###############################################################################
#------------------------------------------------------------------------------
# Specify the type of Real Application Cluster Database
#
# - ADMIN_MANAGED: Admin-Managed
# - POLICY_MANAGED: Policy-Managed
#
# If left unspecified, default will be ADMIN_MANAGED
#------------------------------------------------------------------------------
oracle.install.db.rac.configurationType=ADMIN_MANAGED
#------------------------------------------------------------------------------
# Value is required only if RAC database type is ADMIN_MANAGED
#
# Specify the cluster node names selected during the installation.
# Leaving it blank will result in install on local server only (Single Instance)
#
# Example : oracle.install.db.CLUSTER_NODES=node1,node2
#------------------------------------------------------------------------------
{% if configure_cluster==True %}
{% if oracle_gi_cluster_type |upper == 'FLEX' %}
oracle.install.db.CLUSTER_NODES={% for host in groups[hostgroup_hub] -%} {{host}} {%- if not loop.last -%} , {%- endif -%} {%- endfor %}
{% else %}
oracle.install.db.CLUSTER_NODES={% for host in groups[hostgroup] -%} {{host}} {%- if not loop.last -%} , {%- endif -%} {%- endfor %}
{% endif %}
{% else %}
{% endif %}
#------------------------------------------------------------------------------
# This variable is used to enable or disable RAC One Node install.
#
# - true : Value of RAC One Node service name is used.
# - false : Value of RAC One Node service name is not used.
#
# If left blank, it will be assumed to be false.
#------------------------------------------------------------------------------
oracle.install.db.isRACOneInstall={{ item.0.is_racone }}
#------------------------------------------------------------------------------
# Value is required only if oracle.install.db.isRACOneInstall is true.
#
# Specify the name for RAC One Node Service
#------------------------------------------------------------------------------
oracle.install.db.racOneServiceName={{ item.0.service_name }}
#------------------------------------------------------------------------------
# Value is required only if RAC database type is POLICY_MANAGED
#
# Specify a name for the new Server pool that will be configured
# Example : oracle.install.db.rac.serverpoolName=pool1
#------------------------------------------------------------------------------
oracle.install.db.rac.serverpoolName=
#------------------------------------------------------------------------------
# Value is required only if RAC database type is POLICY_MANAGED
#
# Specify a number as cardinality for the new Server pool that will be configured
# Example : oracle.install.db.rac.serverpoolCardinality=2
#------------------------------------------------------------------------------
oracle.install.db.rac.serverpoolCardinality=
###############################################################################
# #
# Database Configuration Options #
# #
###############################################################################
#-------------------------------------------------------------------------------
# Specify the type of database to create.
# It can be one of the following:
# - GENERAL_PURPOSE
# - DATA_WAREHOUSE
# GENERAL_PURPOSE: A starter database designed for general purpose use or transaction-heavy applications.
# DATA_WAREHOUSE : A starter database optimized for data warehousing applications.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.type=
#-------------------------------------------------------------------------------
# Specify the Starter Database Global Database Name.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.globalDBName=
#-------------------------------------------------------------------------------
# Specify the Starter Database SID.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.SID=
#-------------------------------------------------------------------------------
# Specify whether the database should be configured as a Container database.
# The value can be either "true" or "false". If left blank it will be assumed
# to be "false".
#-------------------------------------------------------------------------------
oracle.install.db.ConfigureAsContainerDB=
#-------------------------------------------------------------------------------
# Specify the Pluggable Database name for the pluggable database in Container Database.
#-------------------------------------------------------------------------------
oracle.install.db.config.PDBName=
#-------------------------------------------------------------------------------
# Specify the Starter Database character set.
#
# One of the following
# AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,
# EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,
# BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,
# AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,
# IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,
# KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,
# ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.characterSet=
#------------------------------------------------------------------------------
# This variable should be set to true if Automatic Memory Management
# in Database is desired.
# If Automatic Memory Management is not desired, and memory allocation
# is to be done manually, then set it to false.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryOption=
#-------------------------------------------------------------------------------
# Specify the total memory allocation for the database. Value(in MB) should be
# at least 256 MB, and should not exceed the total physical memory available
# on the system.
# Example: oracle.install.db.config.starterdb.memoryLimit=512
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryLimit=
#-------------------------------------------------------------------------------
# This variable controls whether to load Example Schemas onto
# the starter database or not.
# The value can be either "true" or "false". If left blank it will be assumed
# to be "false".
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.installExampleSchemas=
###############################################################################
# #
# Passwords can be supplied for the following four schemas in the #
# starter database: #
# SYS #
# SYSTEM #
# DBSNMP (used by Enterprise Manager) #
# #
# Same password can be used for all accounts (not recommended) #
# or different passwords for each account can be provided (recommended) #
# #
###############################################################################
#------------------------------------------------------------------------------
# This variable holds the password that is to be used for all schemas in the
# starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.ALL=
#-------------------------------------------------------------------------------
# Specify the SYS password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYS=
#-------------------------------------------------------------------------------
# Specify the SYSTEM password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSTEM=
#-------------------------------------------------------------------------------
# Specify the DBSNMP password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.DBSNMP=
#-------------------------------------------------------------------------------
# Specify the PDBADMIN password required for creation of Pluggable Database in the Container Database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.PDBADMIN=
#-------------------------------------------------------------------------------
# Specify the management option to use for managing the database.
# Options are:
# 1. CLOUD_CONTROL - If you want to manage your database with Enterprise Manager Cloud Control along with Database Express.
# 2. DEFAULT -If you want to manage your database using the default Database Express option.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.managementOption=
#-------------------------------------------------------------------------------
# Specify the OMS host to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.omsHost=
#-------------------------------------------------------------------------------
# Specify the OMS port to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.omsPort=
#-------------------------------------------------------------------------------
# Specify the EM Admin user name to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.emAdminUser=
#-------------------------------------------------------------------------------
# Specify the EM Admin password to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.emAdminPassword=
###############################################################################
# #
# SPECIFY RECOVERY OPTIONS #
# ------------------------------------ #
# Recovery options for the database can be mentioned using the entries below #
# #
###############################################################################
#------------------------------------------------------------------------------
# This variable is to be set to false if database recovery is not required. Else
# this can be set to true.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.enableRecovery=
#-------------------------------------------------------------------------------
# Specify the type of storage to use for the database.
# It can be one of the following:
# - FILE_SYSTEM_STORAGE
# - ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.storageType=
#-------------------------------------------------------------------------------
# Specify the database file location which is a directory for datafiles, control
# files, redo logs.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
#-------------------------------------------------------------------------------
# Specify the recovery location.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=
#-------------------------------------------------------------------------------
# Specify the existing ASM disk groups to be used for storage.
#
# Applicable only when oracle.install.db.config.starterdb.storageType=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.diskGroup=
#-------------------------------------------------------------------------------
# Specify the password for ASMSNMP user of the ASM instance.
#
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.ASMSNMPPassword=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username.
#
# Example : MYORACLESUPPORT_USERNAME=abc@oracle.com
#------------------------------------------------------------------------------
MYORACLESUPPORT_USERNAME=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password.
#
# Example : MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
MYORACLESUPPORT_PASSWORD=
#------------------------------------------------------------------------------
# Specify whether to enable the user to set the password for
# My Oracle Support credentials. The value can be either true or false.
# If left blank it will be assumed to be false.
#
# Example : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
#------------------------------------------------------------------------------
SECURITY_UPDATES_VIA_MYORACLESUPPORT=
#------------------------------------------------------------------------------
# Specify whether user doesn't want to configure Security Updates.
# The value for this variable should be true if you don't want to configure
# Security Updates, false otherwise.
#
# The value can be either true or false. If left blank it will be assumed
# to be false.
#
# Example : DECLINE_SECURITY_UPDATES=false
#------------------------------------------------------------------------------
DECLINE_SECURITY_UPDATES=true
#------------------------------------------------------------------------------
# Specify the Proxy server name. Length should be greater than zero.
#
# Example : PROXY_HOST=proxy.domain.com
#------------------------------------------------------------------------------
PROXY_HOST=
#------------------------------------------------------------------------------
# Specify the proxy port number. Should be Numeric and at least 2 chars.
#
# Example : PROXY_PORT=25
#------------------------------------------------------------------------------
PROXY_PORT=
#------------------------------------------------------------------------------
# Specify the proxy user name. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example : PROXY_USER=username
#------------------------------------------------------------------------------
PROXY_USER=
#------------------------------------------------------------------------------
# Specify the proxy password. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example : PROXY_PWD=password
#------------------------------------------------------------------------------
PROXY_PWD=
#------------------------------------------------------------------------------
# Specify the Oracle Support Hub URL.
#
# Example : COLLECTOR_SUPPORTHUB_URL=https://orasupporthub.company.com:8080/
#------------------------------------------------------------------------------
COLLECTOR_SUPPORTHUB_URL=
{% if item.0.oracle_version_db=='12.1.0.1' %}
# Example : PROXY_REALM=metalink
PROXY_REALM=
# Example : AUTOUPDATES_MYORACLESUPPORT_USERNAME=abc@oracle.com
AUTOUPDATES_MYORACLESUPPORT_USERNAME=
# Example : AUTOUPDATES_MYORACLESUPPORT_PASSWORD=password
AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
oracle.installer.autoupdates.option=
oracle.installer.autoupdates.downloadUpdatesLoc=
{% else %}
{% endif %}

View File

@@ -0,0 +1,494 @@
# {{ ansible_managed }}
#
####################################################################
## Copyright(c) Oracle Corporation 1998,2014. 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. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
## ##
####################################################################
#-------------------------------------------------------------------------------
# Do not change the following system generated value.
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.1.0
#-------------------------------------------------------------------------------
# Specify the installation option.
# It can be one of the following:
# - INSTALL_DB_SWONLY
# - INSTALL_DB_AND_CONFIG
# - UPGRADE_DB
#-------------------------------------------------------------------------------
oracle.install.option=INSTALL_DB_SWONLY
#-------------------------------------------------------------------------------
# Specify the hostname of the system as set during the install. It can be used
# to force the installation to use an alternative hostname rather than using the
# first hostname found on the system. (e.g., for systems with multiple hostnames
# and network interfaces)
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME={{ ansible_hostname }}
#-------------------------------------------------------------------------------
# Specify the Unix group to be set for the inventory directory.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME={{ oracle_group }}
#-------------------------------------------------------------------------------
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION={{ oracle_inventory_loc }}
#-------------------------------------------------------------------------------
# Specify the languages in which the components will be installed.
#
# en : English ja : Japanese
# fr : French ko : Korean
# ar : Arabic es : Latin American Spanish
# bn : Bengali lv : Latvian
# pt_BR: Brazilian Portuguese lt : Lithuanian
# bg : Bulgarian ms : Malay
# fr_CA: Canadian French es_MX: Mexican Spanish
# ca : Catalan no : Norwegian
# hr : Croatian pl : Polish
# cs : Czech pt : Portuguese
# da : Danish ro : Romanian
# nl : Dutch ru : Russian
# ar_EG: Egyptian zh_CN: Simplified Chinese
# en_GB: English (Great Britain) sk : Slovak
# et : Estonian sl : Slovenian
# fi : Finnish es_ES: Spanish
# de : German sv : Swedish
# el : Greek th : Thai
# iw : Hebrew zh_TW: Traditional Chinese
# hu : Hungarian tr : Turkish
# is : Icelandic uk : Ukrainian
# in : Indonesian vi : Vietnamese
# it : Italian
#
# all_langs : All languages
#
# Specify value as the following to select any of the languages.
# Example : SELECTED_LANGUAGES=en,fr,ja
#
# Specify value as the following to select all the languages.
# Example : SELECTED_LANGUAGES=all_langs
#-------------------------------------------------------------------------------
SELECTED_LANGUAGES=en
#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Home.
#-------------------------------------------------------------------------------
ORACLE_HOME={{ oracle_home_db_install }}
#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Base.
#-------------------------------------------------------------------------------
ORACLE_BASE={{ oracle_base }}
#-------------------------------------------------------------------------------
# Specify the installation edition of the component.
#
# The value should contain only one of these choices.
# - EE : Enterprise Edition
#-------------------------------------------------------------------------------
oracle.install.db.InstallEdition={{ item.0.oracle_edition }}
###############################################################################
# #
# PRIVILEGED OPERATING SYSTEM GROUPS #
# ------------------------------------------ #
# Provide values for the OS groups to which OSDBA and OSOPER privileges #
# needs to be granted. If the install is being performed as a member of the #
# group "dba", then that will be used unless specified otherwise below. #
# #
# The value to be specified for OSDBA and OSOPER group is only for UNIX based #
# Operating System. #
# #
###############################################################################
#------------------------------------------------------------------------------
# The DBA_GROUP is the OS group which is to be granted OSDBA privileges.
#-------------------------------------------------------------------------------
oracle.install.db.DBA_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# The OPER_GROUP is the OS group which is to be granted OSOPER privileges.
# The value to be specified for OSOPER group is optional.
#------------------------------------------------------------------------------
oracle.install.db.OPER_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# The BACKUPDBA_GROUP is the OS group which is to be granted OSBACKUPDBA privileges.
#------------------------------------------------------------------------------
oracle.install.db.BACKUPDBA_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# The DGDBA_GROUP is the OS group which is to be granted OSDGDBA privileges.
#------------------------------------------------------------------------------
oracle.install.db.DGDBA_GROUP={{ oracle_group }}
#------------------------------------------------------------------------------
# The KMDBA_GROUP is the OS group which is to be granted OSKMDBA privileges.
#------------------------------------------------------------------------------
oracle.install.db.KMDBA_GROUP={{ oracle_group }}
###############################################################################
# #
# Grid Options #
# #
###############################################################################
#------------------------------------------------------------------------------
# Specify the type of Real Application Cluster Database
#
# - ADMIN_MANAGED: Admin-Managed
# - POLICY_MANAGED: Policy-Managed
#
# If left unspecified, default will be ADMIN_MANAGED
#------------------------------------------------------------------------------
oracle.install.db.rac.configurationType=ADMIN_MANAGED
#------------------------------------------------------------------------------
# Value is required only if RAC database type is ADMIN_MANAGED
#
# Specify the cluster node names selected during the installation.
# Leaving it blank will result in install on local server only (Single Instance)
#
# Example : oracle.install.db.CLUSTER_NODES=node1,node2
#------------------------------------------------------------------------------
{% if configure_cluster==True %}
{% if oracle_gi_cluster_type |upper == 'FLEX' %}
oracle.install.db.CLUSTER_NODES={% for host in groups[hostgroup_hub] -%} {{host}} {%- if not loop.last -%} , {%- endif -%} {%- endfor %}
{% else %}
oracle.install.db.CLUSTER_NODES={% for host in groups[hostgroup] -%} {{host}} {%- if not loop.last -%} , {%- endif -%} {%- endfor %}
{% endif %}
{% else %}
{% endif %}
#------------------------------------------------------------------------------
# This variable is used to enable or disable RAC One Node install.
#
# - true : Value of RAC One Node service name is used.
# - false : Value of RAC One Node service name is not used.
#
# If left blank, it will be assumed to be false.
#------------------------------------------------------------------------------
oracle.install.db.isRACOneInstall={{ item.0.is_racone }}
#------------------------------------------------------------------------------
# Value is required only if oracle.install.db.isRACOneInstall is true.
#
# Specify the name for RAC One Node Service
#------------------------------------------------------------------------------
oracle.install.db.racOneServiceName={{ item.0.service_name }}
#------------------------------------------------------------------------------
# Value is required only if RAC database type is POLICY_MANAGED
#
# Specify a name for the new Server pool that will be configured
# Example : oracle.install.db.rac.serverpoolName=pool1
#------------------------------------------------------------------------------
oracle.install.db.rac.serverpoolName=
#------------------------------------------------------------------------------
# Value is required only if RAC database type is POLICY_MANAGED
#
# Specify a number as cardinality for the new Server pool that will be configured
# Example : oracle.install.db.rac.serverpoolCardinality=2
#------------------------------------------------------------------------------
oracle.install.db.rac.serverpoolCardinality=
###############################################################################
# #
# Database Configuration Options #
# #
###############################################################################
#-------------------------------------------------------------------------------
# Specify the type of database to create.
# It can be one of the following:
# - GENERAL_PURPOSE
# - DATA_WAREHOUSE
# GENERAL_PURPOSE: A starter database designed for general purpose use or transaction-heavy applications.
# DATA_WAREHOUSE : A starter database optimized for data warehousing applications.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.type=
#-------------------------------------------------------------------------------
# Specify the Starter Database Global Database Name.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.globalDBName=
#-------------------------------------------------------------------------------
# Specify the Starter Database SID.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.SID=
#-------------------------------------------------------------------------------
# Specify whether the database should be configured as a Container database.
# The value can be either "true" or "false". If left blank it will be assumed
# to be "false".
#-------------------------------------------------------------------------------
oracle.install.db.ConfigureAsContainerDB=
#-------------------------------------------------------------------------------
# Specify the Pluggable Database name for the pluggable database in Container Database.
#-------------------------------------------------------------------------------
oracle.install.db.config.PDBName=
#-------------------------------------------------------------------------------
# Specify the Starter Database character set.
#
# One of the following
# AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,
# EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,
# BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,
# AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,
# IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,
# KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,
# ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.characterSet=
#------------------------------------------------------------------------------
# This variable should be set to true if Automatic Memory Management
# in Database is desired.
# If Automatic Memory Management is not desired, and memory allocation
# is to be done manually, then set it to false.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryOption=
#-------------------------------------------------------------------------------
# Specify the total memory allocation for the database. Value(in MB) should be
# at least 256 MB, and should not exceed the total physical memory available
# on the system.
# Example: oracle.install.db.config.starterdb.memoryLimit=512
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryLimit=
#-------------------------------------------------------------------------------
# This variable controls whether to load Example Schemas onto
# the starter database or not.
# The value can be either "true" or "false". If left blank it will be assumed
# to be "false".
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.installExampleSchemas=
###############################################################################
# #
# Passwords can be supplied for the following four schemas in the #
# starter database: #
# SYS #
# SYSTEM #
# DBSNMP (used by Enterprise Manager) #
# #
# Same password can be used for all accounts (not recommended) #
# or different passwords for each account can be provided (recommended) #
# #
###############################################################################
#------------------------------------------------------------------------------
# This variable holds the password that is to be used for all schemas in the
# starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.ALL=
#-------------------------------------------------------------------------------
# Specify the SYS password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYS=
#-------------------------------------------------------------------------------
# Specify the SYSTEM password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSTEM=
#-------------------------------------------------------------------------------
# Specify the DBSNMP password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.DBSNMP=
#-------------------------------------------------------------------------------
# Specify the PDBADMIN password required for creation of Pluggable Database in the Container Database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.PDBADMIN=
#-------------------------------------------------------------------------------
# Specify the management option to use for managing the database.
# Options are:
# 1. CLOUD_CONTROL - If you want to manage your database with Enterprise Manager Cloud Control along with Database Express.
# 2. DEFAULT -If you want to manage your database using the default Database Express option.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.managementOption=
#-------------------------------------------------------------------------------
# Specify the OMS host to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.omsHost=
#-------------------------------------------------------------------------------
# Specify the OMS port to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.omsPort=
#-------------------------------------------------------------------------------
# Specify the EM Admin user name to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.emAdminUser=
#-------------------------------------------------------------------------------
# Specify the EM Admin password to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.emAdminPassword=
###############################################################################
# #
# SPECIFY RECOVERY OPTIONS #
# ------------------------------------ #
# Recovery options for the database can be mentioned using the entries below #
# #
###############################################################################
#------------------------------------------------------------------------------
# This variable is to be set to false if database recovery is not required. Else
# this can be set to true.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.enableRecovery=
#-------------------------------------------------------------------------------
# Specify the type of storage to use for the database.
# It can be one of the following:
# - FILE_SYSTEM_STORAGE
# - ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.storageType=
#-------------------------------------------------------------------------------
# Specify the database file location which is a directory for datafiles, control
# files, redo logs.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
#-------------------------------------------------------------------------------
# Specify the recovery location.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=
#-------------------------------------------------------------------------------
# Specify the existing ASM disk groups to be used for storage.
#
# Applicable only when oracle.install.db.config.starterdb.storageType=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.diskGroup=
#-------------------------------------------------------------------------------
# Specify the password for ASMSNMP user of the ASM instance.
#
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.ASMSNMPPassword=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username.
#
# Example : MYORACLESUPPORT_USERNAME=abc@oracle.com
#------------------------------------------------------------------------------
MYORACLESUPPORT_USERNAME=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password.
#
# Example : MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
MYORACLESUPPORT_PASSWORD=
#------------------------------------------------------------------------------
# Specify whether to enable the user to set the password for
# My Oracle Support credentials. The value can be either true or false.
# If left blank it will be assumed to be false.
#
# Example : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
#------------------------------------------------------------------------------
SECURITY_UPDATES_VIA_MYORACLESUPPORT=
#------------------------------------------------------------------------------
# Specify whether user doesn't want to configure Security Updates.
# The value for this variable should be true if you don't want to configure
# Security Updates, false otherwise.
#
# The value can be either true or false. If left blank it will be assumed
# to be false.
#
# Example : DECLINE_SECURITY_UPDATES=false
#------------------------------------------------------------------------------
DECLINE_SECURITY_UPDATES=true
#------------------------------------------------------------------------------
# Specify the Proxy server name. Length should be greater than zero.
#
# Example : PROXY_HOST=proxy.domain.com
#------------------------------------------------------------------------------
PROXY_HOST=
#------------------------------------------------------------------------------
# Specify the proxy port number. Should be Numeric and at least 2 chars.
#
# Example : PROXY_PORT=25
#------------------------------------------------------------------------------
PROXY_PORT=
#------------------------------------------------------------------------------
# Specify the proxy user name. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example : PROXY_USER=username
#------------------------------------------------------------------------------
PROXY_USER=
#------------------------------------------------------------------------------
# Specify the proxy password. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example : PROXY_PWD=password
#------------------------------------------------------------------------------
PROXY_PWD=
#------------------------------------------------------------------------------
# Specify the Oracle Support Hub URL.
#
# Example : COLLECTOR_SUPPORTHUB_URL=https://orasupporthub.company.com:8080/
#------------------------------------------------------------------------------
COLLECTOR_SUPPORTHUB_URL=
{% if item.0.oracle_version_db=='12.1.0.1' %}
# Example : PROXY_REALM=metalink
PROXY_REALM=
# Example : AUTOUPDATES_MYORACLESUPPORT_USERNAME=abc@oracle.com
AUTOUPDATES_MYORACLESUPPORT_USERNAME=
# Example : AUTOUPDATES_MYORACLESUPPORT_PASSWORD=password
AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
oracle.installer.autoupdates.option=
oracle.installer.autoupdates.downloadUpdatesLoc=
{% else %}
{% endif %}

View File

@@ -0,0 +1,21 @@
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME={{ ansible_hostname }}
UNIX_GROUP_NAME={{ oracle_group }}
INVENTORY_LOCATION={{ oracle_inventory_loc }}
SELECTED_LANGUAGES=en,fr,fr_CA
ORACLE_HOME={{ db_home }}
ORACLE_BASE={{ oracle_base }}
oracle.install.db.InstallEdition={{ db_edition }}
oracle.install.db.EEOptionsSelection=true
oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.3.0,oracle.oraolap:11.2.0.3.0,oracle.rdbms.dm:11.2.0.3.0
oracle.install.db.DBA_GROUP={{ dba_group }}
oracle.install.db.OPER_GROUP={{ oper_group }}
oracle.install.db.CLUSTER_NODES=
oracle.install.db.isRACOneInstall=false
oracle.install.db.racOneServiceName=
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true
COLLECTOR_SUPPORTHUB_URL=
oracle.installer.autoupdates.option=SKIP_UPDATES

View File

@@ -0,0 +1,18 @@
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.1.0
oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME={{ ansible_hostname }}
UNIX_GROUP_NAME={{ oracle_group }}
INVENTORY_LOCATION={{ oracle_inventory_loc }}
SELECTED_LANGUAGES=en,fr
ORACLE_HOME={{ db_home }}
ORACLE_BASE={{ oracle_base }}
oracle.install.db.InstallEdition={{ db_edition }}
oracle.install.db.DBA_GROUP={{ dba_group }}
oracle.install.db.OPER_GROUP={{ oper_group }}
oracle.install.db.BACKUPDBA_GROUP={{ backupdba_group }}
oracle.install.db.DGDBA_GROUP={{ dgdba_group }}
oracle.install.db.KMDBA_GROUP={{ kmdba_group }}
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true
oracle.installer.autoupdates.option=SKIP_UPDATES

View File

@@ -0,0 +1,19 @@
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.2.0
oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME={{ ansible_hostname }}
UNIX_GROUP_NAME={{ oracle_group }}
INVENTORY_LOCATION={{ oracle_inventory_loc }}
SELECTED_LANGUAGES=en,fr
ORACLE_HOME={{ db_home }}
ORACLE_BASE={{ oracle_base }}
oracle.install.db.InstallEdition={{ db_edition }}
oracle.install.db.DBA_GROUP={{ dba_group }}
oracle.install.db.OPER_GROUP={{ oper_group }}
oracle.install.db.BACKUPDBA_GROUP={{ backupdba_group }}
oracle.install.db.DGDBA_GROUP={{ dgdba_group }}
oracle.install.db.KMDBA_GROUP={{ kmdba_group }}
oracle.install.db.OSRACDBA_GROUP={{ racdba_group }}
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true
oracle.installer.autoupdates.option=SKIP_UPDATES

View File

@@ -0,0 +1,48 @@
# {{ ansible_managed }}
#
export PS1='[$LOGNAME'@'$ORACLE_SID `basename $PWD`]$'
# Set up the Oracle parameters
umask 022
ORACLE_BASE={{ oracle_base }}
export ORACLE_BASE
ORACLE_HOME={{ oracle_home_db }}
export ORACLE_HOME
NLS_LANG=american_america.al32utf8
export NLS_LANG
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export ORA_NLS33
SHLIB_PATH=$ORACLE_HOME/lib
export SHLIB_PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_LIBRARY_PATH
TNS_ADMIN=$ORACLE_HOME/network/admin
export TNS_ADMIN
SQLPATH=/home/oracle/.Scripts
export SQLPATH
ORACLE_SID={{ item.oracle_db_name }}
export ORACLE_SID
export ORA_DB_UNQ_NAME=
export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH:$SQLPATH:$GG_HOME/
# Set Up Aliases:
alias asmcmd='. oraenv ;rlwrap asmcmd -p'
#alias sqlplus='rlwrap -D2 -s 1000 -irc -b'\''"@(){}[],+=&^%#;|\'\'' -f ~/.Scripts/tanel/tpt_public_unixmac/setup/wordfile_11gR2.txt sqlplus'
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
alias sid='. oraenv'
alias sqlp='. oraenv; sqlplus'
#alias sqlsys='. oraenv ;rlwrap -D2 -irc -b'\''"@(){}[],+=&^%#;|\'\'' -f ~/.Scripts/tanel/tpt_public_unixmac/setup/wordfile_11gR2.txt sqlplus "/ as sysdba"'
alias sqlsys='. oraenv ;rlwrap sqlplus "/ as sysdba"'
alias dbh='cd $ORACLE_HOME'
alias dbb='cd $ORACLE_BASE'
alias c='clear'
alias talert='tail -200f $ORACLE_BASE/diag/rdbms/$ORA_DB_UNQ_NAME/$ORACLE_SID/trace/alert_$ORACLE_SID.log'
alias ggsci='rlwrap $GG_HOME/ggsci'

View File

@@ -0,0 +1,461 @@
###############################################################################
## Copyright(c) Oracle Corporation 1998, 2013. 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. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
## ##
###############################################################################
###############################################################################
## ##
## Instructions to fill this response file ##
## To install and configure 'Grid Infrastructure for Cluster' ##
## - Fill out sections A,B,C,D,E,F and G ##
## - Fill out section G if OCR and voting disk should be placed on ASM ##
## ##
## To install and configure 'Grid Infrastructure for Standalone server' ##
## - Fill out sections A,B and G ##
## ##
## To install software for 'Grid Infrastructure' ##
## - Fill out sections A,B and C ##
## ##
## To upgrade clusterware and/or Automatic storage management of earlier ##
## releases ##
## - Fill out sections A,B,C,D and H ##
## ##
###############################################################################
#------------------------------------------------------------------------------
# Do not change the following system generated value.
#------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v11_2_0
###############################################################################
# #
# SECTION A - BASIC #
# #
###############################################################################
#-------------------------------------------------------------------------------
# Specify the hostname of the system as set during the install. It can be used
# to force the installation to use an alternative hostname rather than using the
# first hostname found on the system. (e.g., for systems with multiple hostnames
# and network interfaces)
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME={{ ansible_hostname }}
#-------------------------------------------------------------------------------
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
# INVENTORY_LOCATION=/u01/app/oraInventory
INVENTORY_LOCATION={{ oracle_inventory_loc }}
#-------------------------------------------------------------------------------
# Specify the languages in which the components will be installed.
#
# en : English ja : Japanese
# fr : French ko : Korean
# ar : Arabic es : Latin American Spanish
# bn : Bengali lv : Latvian
# pt_BR: Brazilian Portuguese lt : Lithuanian
# bg : Bulgarian ms : Malay
# fr_CA: Canadian French es_MX: Mexican Spanish
# ca : Catalan no : Norwegian
# hr : Croatian pl : Polish
# cs : Czech pt : Portuguese
# da : Danish ro : Romanian
# nl : Dutch ru : Russian
# ar_EG: Egyptian zh_CN: Simplified Chinese
# en_GB: English (Great Britain) sk : Slovak
# et : Estonian sl : Slovenian
# fi : Finnish es_ES: Spanish
# de : German sv : Swedish
# el : Greek th : Thai
# iw : Hebrew zh_TW: Traditional Chinese
# hu : Hungarian tr : Turkish
# is : Icelandic uk : Ukrainian
# in : Indonesian vi : Vietnamese
# it : Italian
#
# all_langs : All languages
#
# Specify value as the following to select any of the languages.
# Example : SELECTED_LANGUAGES=en,fr,ja
#
# Specify value as the following to select all the languages.
# Example : SELECTED_LANGUAGES=all_langs
#-------------------------------------------------------------------------------
SELECTED_LANGUAGES=en,fr,fr_CA
#-------------------------------------------------------------------------------
# Specify the installation option.
# Allowed values: CRS_CONFIG or HA_CONFIG or UPGRADE or CRS_SWONLY
# - CRS_CONFIG : To configure Grid Infrastructure for cluster
# - HA_CONFIG : To configure Grid Infrastructure for stand alone server
# - UPGRADE : To upgrade clusterware software of earlier release
# - CRS_SWONLY : To install clusterware files only (can be configured for cluster
# or stand alone server later)
#-------------------------------------------------------------------------------
oracle.install.option=CRS_SWONLY
#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Base.
#-------------------------------------------------------------------------------
#ORACLE_BASE=/u01/app/grid
ORACLE_BASE={{ oracle_racine }}/{{ gi_user }}
#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Home.
#-------------------------------------------------------------------------------
#ORACLE_HOME=/u01/app/11.2.0/grid
ORACLE_HOME={{ gi_home }}
################################################################################
# #
# SECTION B - GROUPS #
# #
# The following three groups need to be assigned for all GI installations. #
# OSDBA and OSOPER can be the same or different. OSASM must be different #
# than the other two. #
# The value to be specified for OSDBA, OSOPER and OSASM group is only for #
# Unix based Operating System. #
# #
################################################################################
#-------------------------------------------------------------------------------
# The DBA_GROUP is the OS group which is to be granted OSDBA privileges.
#-------------------------------------------------------------------------------
#oracle.install.asm.OSDBA=asmdba
oracle.install.asm.OSDBA={{ asmdba_group }}
#-------------------------------------------------------------------------------
# The OPER_GROUP is the OS group which is to be granted OSOPER privileges.
# The value to be specified for OSOPER group is optional.
#-------------------------------------------------------------------------------
#oracle.install.asm.OSOPER=asmoper
oracle.install.asm.OSOPER={{ asmoper_group }}
#-------------------------------------------------------------------------------
# The OSASM_GROUP is the OS group which is to be granted OSASM privileges. This
# must be different than the previous two.
#-------------------------------------------------------------------------------
#oracle.install.asm.OSASM=asmadmin
oracle.install.asm.OSASM={{ asmadmin_group }}
################################################################################
# #
# SECTION C - SCAN #
# #
################################################################################
#-------------------------------------------------------------------------------
# Specify a name for SCAN
#-------------------------------------------------------------------------------
oracle.install.crs.config.gpnp.scanName=
#-------------------------------------------------------------------------------
# Specify a unused port number for SCAN service
#-------------------------------------------------------------------------------
oracle.install.crs.config.gpnp.scanPort=
################################################################################
# #
# SECTION D - CLUSTER & GNS #
# #
################################################################################
#-------------------------------------------------------------------------------
# Specify a name for the Cluster you are creating.
#
# The maximum length allowed for clustername is 15 characters. The name can be
# any combination of lower and uppercase alphabets (A - Z), (0 - 9), hyphen(-)
# and underscore(_).
#-------------------------------------------------------------------------------
oracle.install.crs.config.clusterName=
#-------------------------------------------------------------------------------
# Specify 'true' if you would like to configure Grid Naming Service(GNS), else
# specify 'false'
#-------------------------------------------------------------------------------
oracle.install.crs.config.gpnp.configureGNS=false
#-------------------------------------------------------------------------------
# Applicable only if you choose to configure GNS
# Specify the GNS subdomain and an unused virtual hostname for GNS service
# Additionally you may also specify if VIPs have to be autoconfigured
#
# Value for oracle.install.crs.config.autoConfigureClusterNodeVIP should be true
# if GNS is being configured(oracle.install.crs.config.gpnp.configureGNS), false
# otherwise.
#-------------------------------------------------------------------------------
oracle.install.crs.config.gpnp.gnsSubDomain=
oracle.install.crs.config.gpnp.gnsVIPAddress=
oracle.install.crs.config.autoConfigureClusterNodeVIP=false
#-------------------------------------------------------------------------------
# Specify a list of public node names, and virtual hostnames that have to be
# part of the cluster.
#
# The list should a comma-separated list of nodes. Each entry in the list
# should be a colon-separated string that contains 2 fields.
#
# The fields should be ordered as follows:
# 1. The first field is for public node name.
# 2. The second field is for virtual host name
# (specify as AUTO if you have chosen 'auto configure for VIP'
# i.e. autoConfigureClusterNodeVIP=true)
#
# Example: oracle.install.crs.config.clusterNodes=node1:node1-vip,node2:node2-vip
#-------------------------------------------------------------------------------
oracle.install.crs.config.clusterNodes=
#-------------------------------------------------------------------------------
# The value should be a comma separated strings where each string is as shown below
# InterfaceName:SubnetAddress:InterfaceType
# where InterfaceType can be either "1", "2", or "3"
# (1 indicates public, 2 indicates private, and 3 indicates the interface is not used)
#
# For example: eth0:140.87.24.0:1,eth1:10.2.1.0:2,eth2:140.87.52.0:3
#
#-------------------------------------------------------------------------------
oracle.install.crs.config.networkInterfaceList=
################################################################################
# #
# SECTION E - STORAGE #
# #
################################################################################
#-------------------------------------------------------------------------------
# Specify the type of storage to use for Oracle Cluster Registry(OCR) and Voting
# Disks files
# - ASM_STORAGE
# - FILE_SYSTEM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.crs.config.storageOption=
#-------------------------------------------------------------------------------
# THIS PROPERTY NEEDS TO BE FILLED ONLY IN CASE OF WINDOWS INSTALL.
# Specify a comma separated list of strings where each string is as shown below:
# Disk Number:Partition Number:Drive Letter:Format Option
# The Disk Number and Partition Number should refer to the location which has to
# be formatted. The Drive Letter should refer to the drive letter that has to be
# assigned. "Format Option" can be either of the following -
# - SOFTWARE : Format to place software binaries.
# - DATA : Format to place the OCR/VDSK files.
#
# For example: 1:2:P:DATA,1:3:Q:SOFTWARE,1:4:R:DATA,1:5:S:DATA
#
#-------------------------------------------------------------------------------
oracle.install.crs.config.sharedFileSystemStorage.diskDriveMapping=
#-------------------------------------------------------------------------------
# These properties are applicable only if FILE_SYSTEM_STORAGE is chosen for
# storing OCR and voting disk
# Specify the location(s) and redundancy for OCR and voting disks
# Multiple locations can be specified, separated by commas.
# In case of windows, mention the drive location that is specified to be
# formatted for DATA in the above property.
# Redundancy can be one of these:
# EXTERNAL - one(1) location should be specified for OCR and voting disk
# NORMAL - three(3) locations should be specified for OCR and voting disk
# Example:
# For Unix based Operating System:
# oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=/oradbocfs/storage/vdsk1,/oradbocfs/storage/vdsk2,/oradbocfs/storage/vdsk3
# oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=/oradbocfs/storage/ocr1,/oradbocfs/storage/ocr2,/oradbocfs/storage/ocr3
# For Windows based Operating System:
# oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=P:\vdsk1,R:\vdsk2,S:\vdsk3
# oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=P:\ocr1,R:\ocr2,S:\ocr3
#-------------------------------------------------------------------------------
oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=
oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL
oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=
oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL
################################################################################
# #
# SECTION F - IPMI #
# #
################################################################################
#-------------------------------------------------------------------------------
# Specify 'true' if you would like to configure Intelligent Power Management interface
# (IPMI), else specify 'false'
#-------------------------------------------------------------------------------
oracle.install.crs.config.useIPMI=false
#-------------------------------------------------------------------------------
# Applicable only if you choose to configure IPMI
# i.e. oracle.install.crs.config.useIPMI=true
# Specify the username and password for using IPMI service
#-------------------------------------------------------------------------------
oracle.install.crs.config.ipmi.bmcUsername=
oracle.install.crs.config.ipmi.bmcPassword=
################################################################################
# #
# SECTION G - ASM #
# #
################################################################################
#-------------------------------------------------------------------------------
# Specify a password for SYSASM user of the ASM instance
#-------------------------------------------------------------------------------
oracle.install.asm.SYSASMPassword=
#-------------------------------------------------------------------------------
# The ASM DiskGroup
#
# Example: oracle.install.asm.diskGroup.name=data
#
#-------------------------------------------------------------------------------
oracle.install.asm.diskGroup.name=DATA
#-------------------------------------------------------------------------------
# Redundancy level to be used by ASM.
# It can be one of the following
# - NORMAL
# - HIGH
# - EXTERNAL
# Example: oracle.install.asm.diskGroup.redundancy=NORMAL
#
#-------------------------------------------------------------------------------
oracle.install.asm.diskGroup.redundancy=NORMAL
#-------------------------------------------------------------------------------
# Allocation unit size to be used by ASM.
# It can be one of the following values
# - 1
# - 2
# - 4
# - 8
# - 16
# - 32
# - 64
# Example: oracle.install.asm.diskGroup.AUSize=4
# size unit is MB
#
#-------------------------------------------------------------------------------
oracle.install.asm.diskGroup.AUSize=1
#-------------------------------------------------------------------------------
# List of disks to create a ASM DiskGroup
#
# Example:
# For Unix based Operating System:
# oracle.install.asm.diskGroup.disks=/oracle/asm/disk1,/oracle/asm/disk2
# For Windows based Operating System:
# oracle.install.asm.diskGroup.disks=\\.\ORCLDISKDATA0,\\.\ORCLDISKDATA1
#
#-------------------------------------------------------------------------------
oracle.install.asm.diskGroup.disks=
#-------------------------------------------------------------------------------
# The disk discovery string to be used to discover the disks used create a ASM DiskGroup
#
# Example:
# For Unix based Operating System:
# oracle.install.asm.diskGroup.diskDiscoveryString=/oracle/asm/*
# For Windows based Operating System:
# oracle.install.asm.diskGroup.diskDiscoveryString=\\.\ORCLDISK*
#
#-------------------------------------------------------------------------------
oracle.install.asm.diskGroup.diskDiscoveryString=
#-------------------------------------------------------------------------------
# oracle.install.asm.monitorPassword=password
#-------------------------------------------------------------------------------
oracle.install.asm.monitorPassword=
################################################################################
# #
# SECTION H - UPGRADE #
# #
################################################################################
#-------------------------------------------------------------------------------
# Specify nodes for Upgrade.
# For upgrade on Windows, installer overrides the value of this parameter to include
# all the nodes of the cluster. However, the stack is upgraded one node at a time.
# Hence, this parameter may be left blank for Windows.
# Example: oracle.install.crs.upgrade.clusterNodes=node1,node2
#-------------------------------------------------------------------------------
oracle.install.crs.upgrade.clusterNodes=
#-------------------------------------------------------------------------------
# For RAC-ASM only. oracle.install.asm.upgradeASM=true/false
# Value should be 'true' while upgrading Cluster ASM of version 11gR2(11.2.0.1.0) and above
#-------------------------------------------------------------------------------
oracle.install.asm.upgradeASM=false
#------------------------------------------------------------------------------
# Specify the auto-updates option. It can be one of the following:
# - MYORACLESUPPORT_DOWNLOAD
# - OFFLINE_UPDATES
# - SKIP_UPDATES
#------------------------------------------------------------------------------
oracle.installer.autoupdates.option=SKIP_UPDATES
#------------------------------------------------------------------------------
# In case MYORACLESUPPORT_DOWNLOAD option is chosen, specify the location where
# the updates are to be downloaded.
# In case OFFLINE_UPDATES option is chosen, specify the location where the updates
# are present.
#------------------------------------------------------------------------------
oracle.installer.autoupdates.downloadUpdatesLoc=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username which has the patches download privileges
# to be used for software updates.
# Example : AUTOUPDATES_MYORACLESUPPORT_USERNAME=abc@oracle.com
#------------------------------------------------------------------------------
AUTOUPDATES_MYORACLESUPPORT_USERNAME=
#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password which has the patches download privileges
# to be used for software updates.
#
# Example : AUTOUPDATES_MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
#------------------------------------------------------------------------------
# Specify the Proxy server name. Length should be greater than zero.
#
# Example : PROXY_HOST=proxy.domain.com
#------------------------------------------------------------------------------
PROXY_HOST=
#------------------------------------------------------------------------------
# Specify the proxy port number. Should be Numeric and at least 2 chars.
#
# Example : PROXY_PORT=25
#------------------------------------------------------------------------------
PROXY_PORT=0
#------------------------------------------------------------------------------
# Specify the proxy user name. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example : PROXY_USER=username
#------------------------------------------------------------------------------
PROXY_USER=
#------------------------------------------------------------------------------
# Specify the proxy password. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example : PROXY_PWD=password
#------------------------------------------------------------------------------
PROXY_PWD=
#------------------------------------------------------------------------------
# Specify the proxy realm.
#
# Example : PROXY_REALM=metalink
#------------------------------------------------------------------------------
PROXY_REALM=

View File

@@ -0,0 +1,30 @@
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v12.1.0
ORACLE_HOSTNAME={{ ansible_hostname }}
INVENTORY_LOCATION={{ oracle_inventory_loc }}
SELECTED_LANGUAGES=en
#-------------------------------------------------------------------------------
## Specify the installation option.
## Allowed values: CRS_CONFIG or HA_CONFIG or UPGRADE or CRS_SWONLY or HA_SWONLY
## - CRS_CONFIG : To configure Grid Infrastructure for cluster
## - HA_CONFIG : To configure Grid Infrastructure for stand alone server
## - UPGRADE : To upgrade clusterware software of earlier release
## - CRS_SWONLY : To install clusterware files only (can be configured for cluster
## or stand alone server later)
## - HA_SWONLY : To install clusterware files only (can be configured for stand
## alone server later. This is only supported on Windows.)
##-------------------------------------------------------------------------------
oracle.install.option=CRS_SWONLY
ORACLE_BASE={{ oracle_racine }}/{{ gi_user }}
ORACLE_HOME={{ gi_home }}
################################################################################
# SECTION B - GROUPS #
################################################################################
oracle.install.asm.OSDBA={{ asmdba_group }}
oracle.install.asm.OSOPER={{ asmoper_group }}
oracle.install.asm.OSASM={{ asmadmin_group }}
###############################################################################
# SECTION D - CLUSTER & GNS #
###############################################################################
oracle.install.crs.config.ClusterType=STANDARD
oracle.install.crs.config.gpnp.configureGNS=false

View File

@@ -0,0 +1,30 @@
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v12.2.0
ORACLE_HOSTNAME={{ ansible_hostname }}
INVENTORY_LOCATION={{ oracle_inventory_loc }}
SELECTED_LANGUAGES=en
#-------------------------------------------------------------------------------
## Specify the installation option.
## Allowed values: CRS_CONFIG or HA_CONFIG or UPGRADE or CRS_SWONLY or HA_SWONLY
## - CRS_CONFIG : To configure Grid Infrastructure for cluster
## - HA_CONFIG : To configure Grid Infrastructure for stand alone server
## - UPGRADE : To upgrade clusterware software of earlier release
## - CRS_SWONLY : To install clusterware files only (can be configured for cluster
## or stand alone server later)
## - HA_SWONLY : To install clusterware files only (can be configured for stand
## alone server later. This is only supported on Windows.)
##-------------------------------------------------------------------------------
oracle.install.option=CRS_SWONLY
ORACLE_BASE={{ oracle_racine }}/{{ gi_user }}
ORACLE_HOME={{ gi_home }}
################################################################################
# SECTION B - GROUPS #
################################################################################
oracle.install.asm.OSDBA={{ asmdba_group }}
oracle.install.asm.OSOPER={{ asmoper_group }}
oracle.install.asm.OSASM={{ asmadmin_group }}
###############################################################################
# SECTION D - CLUSTER & GNS #
###############################################################################
oracle.install.crs.config.ClusterType=STANDARD
oracle.install.crs.config.gpnp.configureGNS=false

View File

@@ -0,0 +1,23 @@
{{ oracle_base }}/diag/rdbms/*/*/trace/*.log
{{ oracle_base }}/diag/tnslsnr/*/*/trace/*.log {
weekly
missingok
rotate 7
compress
notifempty
size 10M
create 0640 oracle oinstall
}
{{ oracle_base }}/diag/tnslsnr/*/*/alert/*.xml
{{ oracle_base }}/diag/rdbms/*/*/alert/*.xml {
weekly
copytruncate
missingok
compress
notifempty
size 10M
create 0640 oracle oinstall
}

View File

@@ -0,0 +1,2 @@
inventory_loc={{ oracle_inventory_loc }}
inst_group={{ oracle_group }}

View File

@@ -0,0 +1,63 @@
#!/bin/bash
#
#
# chkconfig: 35 98 08
### BEGIN INIT INFO
# Short-Description: start and stop db, oms and agent
# Description: start and stop db, oms and agent
### END INIT INFO
# Source function library.
. /etc/init.d/functions
prog=oracledb
lockfile=/var/lock/subsys/$prog
export ORACLE_HOME={{ db_home }}
start() {
[ "$NETWORKING" = "no" ] && exit 1
# Start daemons.
echo -n $"Starting $prog: "
# Start everything
su - oracle -c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch $lockfile
return $RETVAL
}
stop() {
[ "$EUID" != "0" ] && exit 4
echo -n $"Shutting down $prog: "
# stop everything
su - oracle -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f $lockfile
return $RETVAL
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 2
esac

View File

@@ -0,0 +1,11 @@
# {{ ansible_managed }}
#!/bin/bash
chkifinstalled=`grep "{{ db_home }}" "{{ oracle_inventory_loc }}/ContentsXML/inventory.xml" |wc -l`
if [[ $chkifinstalled == 1 ]]; then
echo "Error: ORACLE_HOME: {{ db_home }} already present. Exiting"
exit 0
else
{{ oracle_stage }}/database/runInstaller -responseFile {{ oracle_stage }}/{{ db_response_file }} -ignorePrereq -ignoreSysPrereqs -silent -waitforcompletion
fi

View File

@@ -0,0 +1,11 @@
# {{ ansible_managed }}
#!/bin/bash
chkifinstalled=`grep "{{ gi_home }}" "{{ oracle_inventory_loc }}/ContentsXML/inventory.xml" |wc -l`
if [[ $chkifinstalled == 1 ]]; then
echo "Error: ORACLE_HOME: {{ gi_home }} already present. Exiting"
exit 0
else
{{ oracle_stage }}/grid/runInstaller -responseFile {{ oracle_stage }}/{{ gi_response_file }} -ignorePrereq -ignoreSysPrereqs -silent -waitforcompletion
fi

View File

@@ -0,0 +1,27 @@
---
#--------------------------------------------------------------------
# paramètres commun
# dans cette section ne rien modifier sauf si besoin
#--------------------------------------------------------------------
oracle_stage: "/u01/sources"
# u01_free_space 4 Go pour l'install et 4 Go pour transfert et decompression des zip
u01_free_space_gb: 8
tmp_free_space_gb: 1
etc_free_spage_gb: 1
var_free_spage_gb: 1
#--------------------------------------------------------------------
# paramètres d'installation grid infra
#--------------------------------------------------------------------
gi_user: "grid"
gi_response_file: "install_gi_{{ gi_version }}.rsp"
#--------------------------------------------------------------------
# paramètres d'installation des binaires de la base
#--------------------------------------------------------------------
db_user: "oracle"
db_edition: "EE"
db_response_file: "install_db_{{ db_version }}_{{ db_edition }}.rsp"