meta données pour cette page
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| oracle:install19c_rac:3-install_oracle_home [01/08/2025 20:03] – créée mdl | oracle:install19c_rac:3-install_oracle_home [20/11/2025 12:12] (Version actuelle) – mdl | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | ====== 3 - Install ORACLE_HOME RAC ====== | ||
| + | |||
| + | |||
| + | * Préparation des variables d' | ||
| + | <code bash> | ||
| su - oracle | su - oracle | ||
| - | export | + | export |
| export ORACLE_BASE=/ | export ORACLE_BASE=/ | ||
| - | export ORACLE_HOME=$ORACLE_BASE/ | + | export ORACLE_HOME=$ORACLE_BASE/ |
| export ORA_INVENTORY=/ | export ORA_INVENTORY=/ | ||
| export CV_ASSUME_DISTID=OEL7.6 | export CV_ASSUME_DISTID=OEL7.6 | ||
| + | </ | ||
| + | * création de l' | ||
| + | <code bash> | ||
| + | mkdir -p / | ||
| + | </ | ||
| + | * décompression des binaires | ||
| + | <code bash> | ||
| cd $ORACLE_HOME | cd $ORACLE_HOME | ||
| unzip -oq / | unzip -oq / | ||
| + | </ | ||
| + | * création des clefs SSH pour le GRID | ||
| + | <code bash> | ||
| [oracle@oracle2 db_home1]$ ./ | [oracle@oracle2 db_home1]$ ./ | ||
| - | + | </ | |
| + | * création du fichier de réponse DBCA | ||
| + | <code bash> | ||
| [oracle@oracle2 db_home1]$ vi / | [oracle@oracle2 db_home1]$ vi / | ||
| Ligne 33: | Ligne 48: | ||
| # -- FOLDERS | # -- FOLDERS | ||
| INVENTORY_LOCATION=/ | INVENTORY_LOCATION=/ | ||
| - | ORACLE_HOME=/ | + | ORACLE_HOME=/ |
| ORACLE_BASE=/ | ORACLE_BASE=/ | ||
| # | # | ||
| Ligne 89: | Ligne 104: | ||
| COLLECTOR_SUPPORTHUB_URL= | COLLECTOR_SUPPORTHUB_URL= | ||
| - | ------ | + | </ |
| - | + | ||
| + | * exécution du DBCA en mode silent | ||
| + | <code bash> | ||
| [oracle@oracle2 db_home1]$ ./ | [oracle@oracle2 db_home1]$ ./ | ||
| + | </ | ||
| + | |||
| + | * Post Install scripts sur les deux noeuds en tant que ROOT | ||
| + | <code bash> | ||
| + | [root@oracle2 bin]# / | ||
| + | Check / | ||
| + | |||
| + | |||
| + | root@oracle3 ~]# / | ||
| + | Check / | ||
| + | </ | ||
| + | |||
| + | * personnalisation bash_profile ORACLE | ||
| + | **__oracle2__** | ||
| + | <code BASH> | ||
| + | # .bash_profile | ||
| + | |||
| + | # Get the aliases and functions | ||
| + | if [ -f ~/.bashrc ]; then | ||
| + | . ~/.bashrc | ||
| + | fi | ||
| + | |||
| + | # User specific environment and startup programs | ||
| + | |||
| + | PATH=$PATH: | ||
| + | |||
| + | export PATH | ||
| + | # | ||
| + | ##### Oracle Env ##### | ||
| + | export ORACLE_BASE=/ | ||
| + | export ORACLE_HOME=$ORACLE_BASE/ | ||
| + | ##export ORACLE_SID= | ||
| + | export LD_LIBRARY_PATH=\$ORACLE_HOME/ | ||
| + | export CLASSPATH=\$ORACLE_HOME/ | ||
| + | PATH=$PATH: | ||
| + | |||
| + | </ | ||
| + | **__oracle3__** | ||
| + | <code BASH> | ||
| + | # .bash_profile | ||
| + | |||
| + | # Get the aliases and functions | ||
| + | if [ -f ~/.bashrc ]; then | ||
| + | . ~/.bashrc | ||
| + | fi | ||
| + | |||
| + | # User specific environment and startup programs | ||
| + | |||
| + | PATH=$PATH: | ||
| + | |||
| + | export PATH | ||
| + | # | ||
| + | ##### Oracle Env ##### | ||
| + | export ORACLE_BASE=/ | ||
| + | export ORACLE_HOME=$ORACLE_BASE/ | ||
| + | ##export ORACLE_SID= | ||
| + | export LD_LIBRARY_PATH=\$ORACLE_HOME/ | ||
| + | export CLASSPATH=\$ORACLE_HOME/ | ||
| + | PATH=$PATH: | ||
| + | </ | ||