meta données pour cette page
  •  

Ceci est une ancienne révision du document !


1.1 - Oracle 19c - Install Binaires + APPLYRU

Il est possible d'appliquer des Patchs/RU, en même temps que l'installation des binaires.

  • nous disposons des fichiers suivants:
    • Oracle_Database_19.3.0.0.0.zip : Les binaires ORACLE_HOME
    • p38291812_192900_Linux-x86-64.zip : Le RU ORACLE HOME 19.29
    • p6880880_OPatch12.2.0.1.48_Linux-x86-64.zip : Le dernier OPATCH
[oracle@oracle1 Downloads]$ ll /u01/Downloads/
total 5229876
-rwxr-xr-x. 1 oracle oinstall 3059705302 16 nov.  11:44 Oracle_Database_19.3.0.0.0.zip
-rwxr-xr-x. 1 oracle oinstall 2295670251 16 nov.  11:20 p38291812_192900_Linux-x86-64.zip
-rwxr-xr-x. 1 oracle oinstall   72884918 16 nov.  12:57 p6880880_OPatch12.2.0.1.48_Linux-x86-64.zip
  • décompression du RU 19.29 dans une arborescence dédiée
mkdir /u01/Downloads/Patch_192900
cd /u01/Downloads/Patch_192900
unzip ../p38291812_192900_Linux-x86-64.zip
 
[oracle@oracle1 Downloads]$ ll /u01/Downloads/
total 5229876
-rwxr-xr-x. 1 oracle oinstall 3059705302 16 nov.  11:44 Oracle_Database_19.3.0.0.0.zip
-rwxr-xr-x. 1 oracle oinstall 2295670251 16 nov.  11:20 p38291812_192900_Linux-x86-64.zip
-rwxr-xr-x. 1 oracle oinstall   72884918 16 nov.  12:57 p6880880_OPatch12.2.0.1.48_Linux-x86-64.zip
drwxr-xr-x. 3 oracle oinstall       4096 16 nov.  11:32 Patch_192900

export ORACLE_HOSTNAME=oracle1.labo.local export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/19.0.0/dbhome_2 export ORA_INVENTORY=/u01/app/oraInventory export CV_ASSUME_DISTID=OEL7.6

mkdir -p $ORACLE_BASE/product/19.0.0/dbhome_2

cd $ORACLE_HOME unzip -oq /u01/Downloads/Oracle_Database_19.3.0.0.0.zip

[oracle@oracle1 dbhome_2]$ rm -Rf ./OPatch [oracle@oracle1 dbhome_2]$ unzip -oq /u01/Downloads/p6880880_OPatch12.2.0.1.48_Linux-x86-64.zip [oracle@oracle1 dbhome_2]$ OPatch/opatch version OPatch Version: 12.2.0.1.48

OPatch succeeded.

il faut mini 9524.949MB d'espace libre dans ORACLE_HOME

./runInstaller -ignorePrereq -waitforcompletion -silent \

  1. responseFile ${ORACLE_HOME}/install/response/db_install.rsp \
  2. applyRU /u01/Downloads/Patch_192900/38291812/ \

oracle.install.option=INSTALL_DB_SWONLY \

  ORACLE_HOSTNAME=${ORACLE_HOSTNAME}                                         \
  UNIX_GROUP_NAME=oinstall                                                   \
  INVENTORY_LOCATION=${ORA_INVENTORY}                                        \
  SELECTED_LANGUAGES=en,en_GB                                                \
  ORACLE_HOME=${ORACLE_HOME}                                                 \
  ORACLE_BASE=${ORACLE_BASE}                                                 \
  oracle.install.db.InstallEdition=EE                                        \
  oracle.install.db.OSDBA_GROUP=dba                                          \
  oracle.install.db.OSBACKUPDBA_GROUP=dba                                    \
  oracle.install.db.OSDGDBA_GROUP=dba                                        \
  oracle.install.db.OSKMDBA_GROUP=dba                                        \
  oracle.install.db.OSRACDBA_GROUP=dba                                       \
  SECURITY_UPDATES_VIA_MYORACLESUPPORT=false                                 \
  DECLINE_SECURITY_UPDATES=true
  
  

Préparation du répertoire de base auquel appliquer un patch… Application du patch /u01/Downloads/Patch_192900/38291812/… Le patch a été appliqué. Le journal est disponible à l'emplacement : /u01/app/oraInventory/logs/InstallActions2025-11-16_01-32-22PM/installerPatchActions_2025-11-16_01-32-22PM.log Lancement de l'assistant Configuration d'Oracle Database…

[WARNING] [INS-13014] Lenvironnement cible ne respecte pas certaines conditions optionnelles.

 CAUSE: Des prérequis facultatifs ne sont pas respectés. Pour plus de détails, consultez les journaux. /u01/app/oraInventory/logs/InstallActions2025-11-16_01-32-22PM/installActions2025-11-16_01-32-22PM.log
 ACTION: Identifiez la liste des échecs du contrôle des prérequis dans le journal /u01/app/oraInventory/logs/InstallActions2025-11-16_01-32-22PM/installActions2025-11-16_01-32-22PM.log. Puis, à partir du journal ou du guide d'installation, recherchez la configuration appropriée de façon à respecter les prérequis et à les corriger manuellement.

Le fichier de réponses pour cette session est accessible sur : /u01/app/oracle/product/19.0.0/dbhome_2/install/response/db_2025-11-16_01-32-22PM.rsp

Le journal de cette session d'installation se trouve dans : /u01/app/oraInventory/logs/InstallActions2025-11-16_01-32-22PM/installActions2025-11-16_01-32-22PM.log

En tant qu'utilisateur root, exécutez les scripts suivants :

1. /u01/app/oracle/product/19.0.0/dbhome_2/root.sh

Exécutez /u01/app/oracle/product/19.0.0/dbhome_2/root.sh sur les noeuds suivants : [oracle1]

Successfully Setup Software with warning(s).

[root@oracle1 ~]# /u01/app/oracle/product/19.0.0/dbhome_2/root.sh Check /u01/app/oracle/product/19.0.0/dbhome_2/install/root_oracle1.labo.delag.fr_2025-11-16_13-51-08-589577012.log for the output of root script