vendredi 2 décembre 2022

Installation « Silencieuse » d’Oracle Enterprise Manager (OEM) 13c Release 5 sous Linux 8.7

 

 


Installation « Silencieuse » d’Oracle Enterprise Manager (OEM) 13c Release 5 sous Linux 8.7

                                                               Donatien MBADI/Consultant

Cet article décrit une installation silencieuse d’OEM dans sa dernière version (13.5) sous Oracle Linux 8 (8.7 x86_64). Nous avons utilisé une machine virtuelle sous Oracle VirtualBox, mais si vous êtes en production, vous aurez forcement des ressources et des prérequis différents.

Pour effectuer cette installation, vous avez besoin de :

-       Oracle Linux 8.7 (x86_64)

-       Oracle Database 19c Enterprise Edition (x86_64)

-       En option : Le dernier patch de la base de données, par exemple la 19.7

-       Enterprise Manager Cloud Control 13c Release 5 (13.5.0.0) (x86_64)

 

1.      Installation de Linux

 

Vous pouvez télécharger la version 8.7 d’Oracle Linux sur http://edelivery.oracle.com/linux

Vous pourrez effectuer une installation basique de Linux puis configurer en fournissant une adresse IP et un nom de serveur. Par exemple :

 

-       Nom du serveur : oel-19.localdomain

-       Adresse IP : 192.168.56.180

 

SELinux et Firewall :

Puisque Linux sera utilisé pour l’installation d’Oracle, vous devez désactiver SELinux ou le basculer vers Permissive.

 

SELINUX=permissive

Vous devez également désactiver le pare-feu local en exécutant les commandes suivantes, en tant qu’utilisateur root.

 

# systemctl stop firewalld

# systemctl disable firewalld

 

SSH:

Vous devez vous rassurer que le daemon SSH est démarré en exécutant la commande suivante, en tant que root :

 

# systemctl start sshd.service

# systemctl enable sshd.service

 

Les fichiers hostname et hosts :

 

Le fichier /etc/hostname doit contenir le nom du serveur :

 

# vi /etc/hostname

 

ol8-19.localdomain

 

Le fichier /etc/hosts doit contenir la correspondance entre l’adresse IP et le nom complet du serveur :

 

#vi /etc/hosts

 

127.0.0.1       localhost localhost.localdomain localhost4 localhost4.localdomain4

192.168.56.180  ol8-19.localdomain  ol8-19

 

Le fichier sysctl.conf:

 

Ajouter les lignes suivantes dans  le fichier /etc/sysctl.conf :

 

#vi /etc/sysctl.conf

 

fs.file-max = 6815744

kernel.sem = 250 32000 100 128

kernel.shmmni = 4096

kernel.shmall = 1073741824

kernel.shmmax = 4398046511104

kernel.panic_on_oops = 1

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048576

net.ipv4.conf.all.rp_filter = 2

net.ipv4.conf.default.rp_filter = 2

fs.aio-max-nr = 1048576

net.ipv4.ip_local_port_range = 9000 65500

 

Exécuter la commande suivante pour changer et prendre en charge les paramètres modifiés du noyau :

 

# /sbin/sysctl -p

 

Ajouter les lignes suivantes dans le fichier oracle-database-preinstall-19c.conf. Si le fichier n’existe pas, il faut le créer :

 

# vi /etc/security/limits.d/oracle-database-preinstall-19c.conf.

 

oracle   soft   nofile    1024

oracle   hard   nofile    65536

oracle   soft   nproc    16384

oracle   hard   nproc    16384

oracle   soft   stack    10240

oracle   hard   stack    32768

oracle   hard   memlock    134217728

oracle   soft   memlock    134217728

 

Installation des packages:

 

Installer les packages suivants requis pour la base de données :

 

dnf install -y bc   

dnf install -y binutils

dnf install -y compat-libstdc++-33

dnf install -y elfutils-libelf

dnf install -y elfutils-libelf-devel

dnf install -y fontconfig-devel

dnf install -y glibc

dnf install -y glibc-devel

dnf install -y ksh

dnf install -y libaio

dnf install -y libaio-devel

dnf install -y libXrender

dnf install -y libXrender-devel

dnf install -y libX11

dnf install -y libXau

dnf install -y libXi

dnf install -y libXtst

dnf install -y libgcc

dnf install -y librdmacm-devel

dnf install -y libstdc++

dnf install -y libstdc++-devel

dnf install -y libxcb

dnf install -y make

dnf install -y net-tools # Clusterware

dnf install -y nfs-utils # ACFS

dnf install -y python # ACFS

dnf install -y python-configshell # ACFS

dnf install -y python-rtslib # ACFS

dnf install -y python-six # ACFS

dnf install -y targetcli # ACFS

dnf install -y smartmontools

dnf install -y sysstat

dnf install -y unixODBC

dnf install -y libnsl

dnf install -y libnsl.i686

dnf install -y libnsl2

dnf install -y libnsl2.i686

Groupes et l’utilisateur oracle:

 

Vous devez créer principalement les trois groupes oinstall, dba et oper en exécutant les commandes suivantes :

 

# groupadd -g 54321 oinstall

# groupadd -g 54322 dba

# groupadd -g 54323 oper

Créer l’utilisateur oracle et lui donner un mot de passe :

 

#  useradd -u 54321 -g oinstall -G dba,oper oracle

 

 # passwd oracle

 

Répertoires Oracle :

 

Créer les répertoires suivants dans lesquelles le logiciel de la base de données oracle sera installé et donner des droits suffisants a l’utilisateur oracle :

 

 #  mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1

 #  chown -R oracle:oinstall /u01

 #  chmod -R 775 /u01

 

 

Variables d’environnement oracle:

 

En tant qu’utilisateur oracle user, copier les lignes suivantes dans le fichier /home/oracle/.bash_profile :

 

# su - oracle

 

$ vi .bash_profile

 

# Oracle Settings

export TMP=/tmp

export TMPDIR=$TMP

 

export ORACLE_HOSTNAME=ol8-19.localdomain

export ORACLE_UNQNAME=emcdb

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/19.0.0/dbhome_1

export ORA_INVENTORY=/u01/app/oraInventory

export ORACLE_SID=emcdb

export PDB_NAME=emrep

 

export PATH=/usr/sbin:/usr/local/bin:$PATH

export PATH=$ORACLE_HOME/bin:$PATH

 

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

 

2.     Installation du logiciel de la base de données

 

Comme nous l’avons signalé plus haut, vous allez effectuer une installation silencieuse du logiciel de base de données oracle

 

Fichier du logiciel:

 

Vous pouvez télécharger le logiciel de base de données oracle sur https://www.oracle.com/database/technologies/oracle-database-software-downloads.html

 

Copier et décompresser ce fichier dans le répertoire $ORACLE_HOME.

 

$ cd $ORACLE_HOME

$ unzip LINUX.X64_193000_db_home.zip

 

Exécuter les commandes suivantes en tant qu’utilisateur oracle, pour effectuer l’installation silencieuse :

 

export ORACLE_HOSTNAME=${HOSTNAME}

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=${ORACLE_BASE}/product/19.0.0/dbhome_1

export ORA_INVENTORY=/u01/app/oraInventory

export CV_ASSUME_DISTID=OEL7.6

 

${ORACLE_HOME}/runInstaller -ignorePrereq -waitforcompletion -silent           \

    -responseFile ${ORACLE_HOME}/install/response/db_install.rsp               \

    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

 

Launching Oracle Database Setup Wizard...

 

The response file for this session can be found at:

 /u01/app/oracle/product/19.0.0/dbhome_1/install/response/db_2022-11-23_01-34-12PM.rsp

 

You can find the log of this install session at:

 /tmp/InstallActions2022-11-23_01-34-12PM/installActions2022-11-23_01-34-12PM.log

 

As a root user, execute the following script(s):

        1. /u01/app/oraInventory/orainstRoot.sh

        2. /u01/app/oracle/product/19.0.0/dbhome_1/root.sh

 

Execute /u01/app/oraInventory/orainstRoot.sh on the following nodes:

[ol8-19]

Execute /u01/app/oracle/product/19.0.0/dbhome_1/root.sh on the following nodes:

[ol8-19]

 

 

Successfully Setup Software.

Moved the install session logs to:

 /u01/app/oraInventory/logs/InstallActions2022-11-23_01-34-12PM

Once the installation completed,

As a root user, execute the following script(s):

 

A la fin de l’installation du logiciel, exécuter les scripts suivants en tant qu’utilisateur root.

 

# /u01/app/oraInventory/orainstRoot.sh

# /u01/app/oracle/product/19.0.0/dbhome_1/root.sh

 

3.     Appliquer le patch (optionnel)

 

Appliquer le dernier patch du logiciel de base de données, mais ceci n’est pas obligatoire car Enterprise Manager fonctionne bien avec la version actuelle.

 

Vérifier la version actuelle du logiciel

 

[oracle@ol8-19 dbhome_1]$ sqlplus / as sysdba

 

SQL*Plus: Release 19.0.0.0.0 - Production on Wed Nov 23 14:59:46 2022

Version 19.3.0.0.0

 

Copyright (c) 1982, 2019, Oracle.  All rights reserved.

 

A partir su support oracle, télécharger le dernier patch du logiciel de base de données. Par exemple, télécharger le fichier p34419443_190000_Linux-x86-64.zip qui est dernière version 19.7.

 

Vous devez également télécharger la dernière version de l’utilitaire Opatch. Par exemple le fichier p6880880_210000_Linux-x86-64.zip.

 

Une fois l’utilitaire téléchargé, vérifiez sa version actuelle, installe avec le logiciel de base de données précèdent :

 

[oracle@ol8-19 OPatch]$ ./opatch version

OPatch Version: 12.2.0.1.17

 

OPatch succeeded.

[oracle@ol8-19 Opatch]$

Renommer le répertoire actuel de l’utilitaire Opatch

 

[oracle@ol8-19 dbhome_1]$ mv OPatch/ Opatch.old

 

Copier le fichier  p6880880_210000_Linux-x86-64.zip dans $ORACLE_HOME et le décompresser simplement. La décompression va créer un nouveau répertoire OPatch

 

[oracle@ol8-19 oem135]$ cp p6880880_210000_Linux-x86-64.zip /u01/app/oracle/product/19.0.0/dbhome_1/

 

Unzip this file under $ORACLE_HOME directory

 

[oracle@ol8-19 dbhome_1]$ unzip p6880880_210000_Linux-x86-64.zip

 

Vérifier la nouvelle version de Opatch

 

[oracle@ol8-19 OPatch]$ ./opatch version

OPatch Version: 12.2.0.1.34

 

OPatch succeeded.

[oracle@ol8-19 OPatch]$

 

Installer le patch de la base de données

 

Décompressez le fichier du patch dans un répertoire ayant assez d’espace libre:

 

[oracle@ol8-19 17]$ unzip p34419443_190000_Linux-x86-64.zip

 

Déterminer s’il existe déjà un patch installe pouvant entrer en conflit avec le nouveau patch :

 

[oracle@ol8-19 17]$ cd 34419443

 

[oracle@ol8-19 34419443]$ /u01/app/oracle/product/19.0.0/dbhome_1/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./

Oracle Interim Patch Installer version 12.2.0.1.34

Copyright (c) 2022, Oracle Corporation.  All rights reserved.

 

PREREQ session

 

Oracle Home       : /u01/app/oracle/product/19.0.0/dbhome_1

Central Inventory : /u01/app/oraInventory

   from           : /u01/app/oracle/product/19.0.0/dbhome_1/oraInst.loc

OPatch version    : 12.2.0.1.34

OUI version       : 12.2.0.7.0

Log file location : /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2022-11-23_15-27-53PM_1.log

 

Invoking prereq "checkconflictagainstohwithdetail"

 

Prereq "checkConflictAgainstOHWithDetail" passed.

 

OPatch succeeded.

[oracle@ol8-19 34419443]$

 

Apply the patch

 

[oracle@ol8-19 34419443]$ /u01/app/oracle/product/19.0.0/dbhome_1/OPatch/opatch apply

 

Vérifier la nouvelle version de la base de données:

 

[oracle@ol8-19 dbhome_1]$ sqlplus / as sysdba

 

SQL*Plus: Release 19.0.0.0.0 - Production on Wed Nov 23 15:19:40 2022

Version 19.17.0.0.0

 

Copyright (c) 1982, 2019, Oracle.  All rights reserved.

 

 

4.    Création de la base de données de OEM

 

La base de données de OEM va permettre d’abriter le référentiel. Vous pouvez utiliser une base de donnes standard de type NON-CDB.

-       Dans notre cas, le référentiel sera abrite dans une PDB nommée emrep, elle-même dans une CDB nommée emcdb.

-       La chaine de caractère recommandée est AL32UTF8.

-       Fixer le paramètre _allow_insert_with_update_check=true.

-       Nous allons utiliser un minimum de paramètres pour notre exemple, mais en production, il est conseillé de donner assez de ressources pour avoir un rendement assez important de OEM en termes de performance

 

Vous pouvez créer la base de données en utilisant DBCA en mode interactif mais nous allons la méthode silencieuse.

 

lsnrctl start

 

mkdir -p /u01/oradata

 

export ORACLE_SID=emcdb

export SYS_PASSWORD="SysPassword1"

export PDB_NAME="emrep"

export PDB_PASSWORD="PdbPassword1"

export DATA_DIR=/u01/oradata

 

dbca -silent -createDatabase                                                 \

  -templateName General_Purpose.dbc                                          \

  -gdbname ${ORACLE_SID} -sid ${ORACLE_SID} -responseFile NO_VALUE           \

  -characterSet AL32UTF8                                                     \

  -sysPassword ${SYS_PASSWORD}                                               \

  -systemPassword ${SYS_PASSWORD}                                            \

  -createAsContainerDatabase true                                            \

  -numberOfPDBs 1                                                            \

  -pdbName ${PDB_NAME}                                                       \

  -pdbAdminPassword ${PDB_PASSWORD}                                          \

  -databaseType MULTIPURPOSE                                                 \

  -memoryMgmtType auto_sga                                                   \

  -totalMemory 2048                                                          \

  -storageType FS                                                            \

  -datafileDestination "${DATA_DIR}"                                         \

  -redoLogFileSize 600                                                       \

  -emConfiguration NONE                                                      \

  -ignorePreReqs

 

# Set the PDB to auto-start.

sqlplus / as sysdba <<EOF

alter system set db_create_file_dest='${DATA_DIR}';

alter pluggable database ${PDB_NAME} save state;

 

-- Recommended minimum settings.

alter system set "_allow_insert_with_update_check"=true scope=both;

alter system set session_cached_cursors=200 scope=spfile;

 

-- Recommended: processes=600

alter system set processes=600 scope=spfile;

 

-- Recommended: pga_aggregate_target=1G

alter system set pga_aggregate_target=450M scope=spfile;

 

-- Recommended: sga_target=3G

alter system set sga_target=800M scope=spfile;

 

-- Recommended: shared_pool_size=600M

--alter system set shared_pool_size=600M scope=spfile;

 

SHUTDOWN IMMEDIATE;

STARTUP;

 

exit;

EOF

 

# Set restart flag in /etc/oratab.

cp /etc/oratab /tmp

sed -i -e "s|${ORACLE_SID}:${ORACLE_HOME}:N|${ORACLE_SID}:${ORACLE_HOME}:Y|g" /tmp/oratab

cp -f /tmp/oratab /etc/oratab

 

 

[oracle@ol8-19 etc]$ export ORACLE_SID=emcdb

[oracle@ol8-19 etc]$ export SYS_PASSWORD="SysPassword1"

[oracle@ol8-19 etc]$ export PDB_NAME="emrep"

[oracle@ol8-19 etc]$ export PDB_PASSWORD="PdbPassword1"

[oracle@ol8-19 etc]$ export DATA_DIR=/u01/oradata

[oracle@ol8-19 etc]$

[oracle@ol8-19 etc]$ dbca -silent -createDatabase                                                 \

>   -templateName General_Purpose.dbc                                          \

>   -gdbname ${ORACLE_SID} -sid ${ORACLE_SID} -responseFile NO_VALUE           \

>   -characterSet AL32UTF8                                                     \

>   -sysPassword ${SYS_PASSWORD}                                               \

>   -systemPassword ${SYS_PASSWORD}                                            \

>   -createAsContainerDatabase true                                            \

>   -numberOfPDBs 1                                                            \

>   -pdbName ${PDB_NAME}                                                       \

>   -pdbAdminPassword ${PDB_PASSWORD}                                          \

>   -databaseType MULTIPURPOSE                                                 \

>   -memoryMgmtType auto_sga                                                   \

>   -totalMemory 2048                                                          \

>   -storageType FS                                                            \

>   -datafileDestination "${DATA_DIR}"                                         \

>   -redoLogFileSize 600                                                       \

>   -emConfiguration NONE                                                      \

>   -ignorePreReqs

target=3G

alter system set sga_target=800M scope=spfile;

 

-- Recommended: shared_pool_size=600M

--alter system set shared_pool_size=600M scope=spfile;

 

 

SHUTDOWN IMMEDIATE;

STARTUP;

 

exit;

EOF

 

 

# Set restart flag in /etc/oratab.

cp /etc/oratab /tmp

sed -i -e "s|${ORACLE_SID}:${ORACLE_HOME}:N|${ORACLE_SID}:${ORACLE_HOME}:Y|g" /tmp/oratab

cp -f /tmp/oratab /etc/oratab

Prepare for db operation

8% complete

Copying database files

31% complete

Creating and starting Oracle instance

32% complete

36% complete

40% complete

43% complete

46% complete

Completing Database Creation

51% complete

53% complete

54% complete

Creating Pluggable Databases

58% complete

77% complete

Executing Post Configuration Actions

100% complete

Database creation complete. For details check the logfiles at:

 /u01/app/oracle/cfgtoollogs/dbca/emcdb.

Database Information:

Global Database Name:emcdb

System Identifier(SID):emcdb

Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/emcdb/emcdb1.log" for further details.

[oracle@ol8-19 etc]$

[oracle@ol8-19 etc]$ # Set the PDB to auto-start.

[oracle@ol8-19 etc]$ sqlplus / as sysdba <<EOF

> alter system set db_create_file_dest='${DATA_DIR}';

> alter pluggable database ${PDB_NAME} save state;

>

> -- Recommended minimum settings.

> alter system set "_allow_insert_with_update_check"=true scope=both;

> alter system set session_cached_cursors=200 scope=spfile;

> 

> -- Recommended: processes=600

> alter system set processes=600 scope=spfile;

>

> -- Recommended: pga_aggregate_target=1G

> alter system set pga_aggregate_target=450M scope=spfile;

>

> -- Recommended: sga_target=3G

> alter system set sga_target=800M scope=spfile;

>

> -- Recommended: shared_pool_size=600M

> --alter system set shared_pool_size=600M scope=spfile;

>

>

> SHUTDOWN IMMEDIATE;

> STARTUP;

>

> exit;

> EOF

 

SQL*Plus: Release 19.0.0.0.0 - Production on Thu Dec 1 21:58:33 2022

Version 19.17.0.0.0

 

Copyright (c) 1982, 2022, Oracle.  All rights reserved.

 

 

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Version 19.17.0.0.0

 

SQL>

System altered.

 

SQL>

Pluggable database altered.

 

SQL> SQL> SQL>

System altered.

 

SQL>

System altered.

 

SQL> SQL> SQL>

System altered.

 

SQL> SQL> SQL>

System altered.

 

SQL> SQL> SQL>

System altered.

 

SQL> SQL> SQL> SQL> SQL> SQL> Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> ORACLE instance started.

 

Total System Global Area  838859464 bytes

Fixed Size              9140936 bytes

Variable Size         239075328 bytes

Database Buffers      587202560 bytes

Redo Buffers            3440640 bytes

Database mounted.

Database opened.

SQL> SQL> Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Version 19.17.0.0.0

[oracle@ol8-19 etc]$

[oracle@ol8-19 etc]$

[oracle@ol8-19 etc]$ # Set restart flag in /etc/oratab.

[oracle@ol8-19 etc]$ cp /etc/oratab /tmp

[oracle@ol8-19 etc]$ sed -i -e "s|${ORACLE_SID}:${ORACLE_HOME}:N|${ORACLE_SID}:${ORACLE_HOME}:Y|g" /tmp/oratab

[oracle@ol8-19 etc]$ cp -f /tmp/oratab /etc/oratab

 

5.     Installation de OEM

 

Packages requis

 

Les packages suivants sont requis pour l’installation d’Oracle Enterprise Manager 13c Cloud Control

 

dnf install -y binutils

dnf install -y gcc

dnf install -y gcc-c++

dnf install -y glibc

dnf install -y glibc-devel

dnf install -y glibc-devel.i686

dnf install -y libaio

dnf install -y libaio-devel

dnf install -y libgcc

dnf install -y libstdc++

dnf install -y libstdc++-devel

dnf install -y libnsl

dnf install -y sysstat

dnf install -y motif

dnf install -y motif-devel

dnf install -y redhat-lsb

dnf install -y redhat-lsb-core

dnf install -y openssl

dnf install -y make

 

 

Installation de Cloud Control 13c

 

Vous pouvez télécharger Oracle Enterprise Manager 13c Release 5 sur https://www.oracle.com/enterprise-manager/downloads/cloud-control-downloads.html

 

Créer les répertoires suivants pour le serveur de gestion d’OEM et l’agent :

 

$ mkdir -p /u01/app/oracle/middleware

$ mkdir -p /u01/app/oracle/agent

 

Nous allons effectuer une installation silencieuse comme promis. Pour cela, créer le fichier de réponse suivant :

 

cat > /home/oracle/oem_install.rsp <<EOF

RESPONSEFILE_VERSION=2.2.1.0.0

UNIX_GROUP_NAME=oinstall

INVENTORY_LOCATION=/u01/app/oraInventory

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

DECLINE_SECURITY_UPDATES=true

INSTALL_UPDATES_SELECTION=skip

ORACLE_MIDDLEWARE_HOME_LOCATION=/u01/app/oracle/middleware

ORACLE_HOSTNAME=ol8-19.localdomain

AGENT_BASE_DIR=/u01/app/oracle/agent

WLS_ADMIN_SERVER_USERNAME=weblogic

WLS_ADMIN_SERVER_PASSWORD=Welcome1

WLS_ADMIN_SERVER_CONFIRM_PASSWORD=Welcome1

NODE_MANAGER_PASSWORD=Welcome1

NODE_MANAGER_CONFIRM_PASSWORD=Welcome1

ORACLE_INSTANCE_HOME_LOCATION=/u01/app/oracle/gc_inst

CONFIGURE_ORACLE_SOFTWARE_LIBRARY=true

SOFTWARE_LIBRARY_LOCATION=/u01/app/oracle/swlib

DATABASE_HOSTNAME=localhost

LISTENER_PORT=1521

SERVICENAME_OR_SID=emrep

SYS_PASSWORD=SysPassword1

SYSMAN_PASSWORD=SysPassword1

SYSMAN_CONFIRM_PASSWORD=SysPassword1

DEPLOYMENT_SIZE=SMALL

AGENT_REGISTRATION_PASSWORD=Welcome1

AGENT_REGISTRATION_CONFIRM_PASSWORD=Welcome1

PLUGIN_SELECTION={}

b_upgrade=false

EM_INSTALL_TYPE=NOSEED

CONFIGURATION_TYPE=LATER

CONFIGURE_SHARED_LOCATION_BIP=false

MANAGEMENT_TABLESPACE_LOCATION=/u01/oradata/EMCDB/emrep/mgmt.dbf

CONFIGURATION_DATA_TABLESPACE_LOCATION=/u01/oradata/EMCDB/emrep/mgmt_ecm_depot1.dbf

JVM_DIAGNOSTICS_TABLESPACE_LOCATION=/u01/oradata/emcdb/EMCDB/mgmt_deepdive.dbf

EOF

 

Démarrer l’installation en silence du logiciel en exécutant le fichier em13500_linux64.bin veiller désactiver le CLASSPATH avant l’exécution du fichier

 

unset CLASSPATH

${SOFTWARE_DIR}/em13500_linux64.bin -silent -responseFile /home/oracle/oem_install.rsp

 

 

[oracle@ol8-19 oem135]$ ./em13500_linux64.bin -silent -responseFile /home/oracle/oem_install.rsp

Launcher log file is /tmp/OraInstall2022-12-02_01-03-54AM/launcher2022-12-02_01-03-54AM.log.

Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

Checking swap space: must be greater than 512 MB.   Actual 7983 MB    Passed

Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)

Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2022-12-02_01-03-54AM

ScratchPathValue :/tmp/OraInstall2022-12-02_01-03-54AM

Dec 02, 2022 1:09:43 AM org.apache.sshd.common.io.DefaultIoServiceFactoryFactory getIoServiceProvider

INFO: No detected/configured IoServiceFactoryFactory using Nio2ServiceFactoryFactory

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

Installation in progress

 

Install successful

Linking in progress

 

Link successful

Setup in progress

 

Setup successful

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

Installation in progress

 

Install successful

Linking in progress

 

Link successful

Setup in progress

 

Setup successful

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

..................................................................................................

Installation in progress (Friday, December 2, 2022 1:21:40 AM EST)

                              98% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:21:42 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:21:42 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:21:42 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:21:57 AM EST)

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

...............................................................  42% Done.

...............................................................  85% Done.

...................

Installation in progress (Friday, December 2, 2022 1:22:29 AM EST)

                                              98% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:22:31 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:22:31 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:22:31 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:22:58 AM EST)

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

..................................................................................................

Installation in progress (Friday, December 2, 2022 1:23:19 AM EST)

                              98% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:23:20 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:23:21 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:23:21 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:23:34 AM EST)

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

...............................................................  21% Done.

...............................................................  42% Done.

...............................................................  63% Done.

...............................................................  84% Done.

..........................................

Installation in progress (Friday, December 2, 2022 1:24:54 AM EST)

                       98% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:24:56 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:24:56 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:24:56 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:25:09 AM EST)

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

...............................................................  48% Done.

...............................................................  96% Done.

..

Installation in progress (Friday, December 2, 2022 1:26:40 AM EST)

                                                               98% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:26:42 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:26:42 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:26:42 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:26:52 AM EST)

Installing agent plugins if not upgrade

&Decline License Agreement/u01/app/oracle/middleware/sysman/install/plugins/oracle.sysman.emas/13.5.1.0.0/oracle.sysman.emas.agent.plugin-13.5.1.0.0.farb

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

..................................................................................................

Installation in progress (Friday, December 2, 2022 1:27:03 AM EST)

                              98% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:27:03 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:27:03 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:27:03 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:27:13 AM EST)

&Decline License Agreement/u01/app/oracle/middleware/sysman/install/plugins/oracle.sysman.emrep/13.5.0.0.0/oracle.sysman.emrep.agent.plugin-13.5.0.0.0.farb

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

.....................................................................................

Installation in progress (Friday, December 2, 2022 1:27:18 AM EST)

                                           85% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:27:18 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:27:18 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:27:18 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:27:26 AM EST)

&Decline License Agreement/u01/app/oracle/middleware/sysman/install/plugins/oracle.sysman.beacon/13.5.0.0.0/oracle.sysman.beacon.agent.plugin-13.5.0.0.0.farb

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

............................................................................................

Installation in progress (Friday, December 2, 2022 1:27:31 AM EST)

                                    92% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:27:31 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:27:31 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:27:31 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:27:41 AM EST)

&Decline License Agreement/u01/app/oracle/middleware/sysman/install/plugins/oracle.sysman.oh/13.5.0.0.0/oracle.sysman.oh.agent.plugin-13.5.0.0.0.farb

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

.................................................................................................

Installation in progress (Friday, December 2, 2022 1:27:44 AM EST)

                               97% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:27:45 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:27:45 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:27:45 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:27:54 AM EST)

&Decline License Agreement/u01/app/oracle/middleware/sysman/install/plugins/oracle.sysman.csa/13.5.0.0.0/oracle.sysman.csa.agent.plugin-13.5.0.0.0.farb

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

........................................................................

Installation in progress (Friday, December 2, 2022 1:27:59 AM EST)

                                                        72% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:27:59 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:27:59 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:27:59 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:28:08 AM EST)

Checking the current seesion Index -10

&Decline License Agreement/u01/app/oracle/middleware/sysman/install/plugins/oracle.sysman.csa/13.5.0.0.0/oracle.sysman.csa.discovery.plugin-13.5.0.0.0.farb

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

.................................................................................................

Installation in progress (Friday, December 2, 2022 1:28:12 AM EST)

                               96% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:28:13 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:28:13 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:28:13 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:28:21 AM EST)

&Decline License Agreement/u01/app/oracle/middleware/sysman/install/plugins/oracle.sysman.oh/13.5.0.0.0/oracle.sysman.oh.discovery.plugin-13.5.0.0.0.farb

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

........................................................................

Installation in progress (Friday, December 2, 2022 1:28:25 AM EST)

                                                        72% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:28:26 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:28:26 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:28:26 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:28:34 AM EST)

&Decline License Agreement/u01/app/oracle/middleware/sysman/install/plugins/oracle.sysman.db/13.5.1.0.0/oracle.sysman.db.discovery.plugin-13.5.1.0.0.farb

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

...........................................................................................

Installation in progress (Friday, December 2, 2022 1:28:38 AM EST)

                                     91% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:28:39 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:28:39 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:28:39 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:28:47 AM EST)

&Decline License Agreement/u01/app/oracle/middleware/sysman/install/plugins/oracle.sysman.xa/13.5.1.0.0/oracle.sysman.xa.discovery.plugin-13.5.1.0.0.farb

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

..............................................................................

Installation in progress (Friday, December 2, 2022 1:28:52 AM EST)

                                                  78% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:28:53 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:28:53 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:28:53 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:29:01 AM EST)

&Decline License Agreement/u01/app/oracle/middleware/sysman/install/plugins/oracle.sysman.emas/13.5.1.0.0/oracle.sysman.emas.discovery.plugin-13.5.1.0.0.farb

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

..................................................................................................

Installation in progress (Friday, December 2, 2022 1:29:06 AM EST)

                              98% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:29:07 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:29:07 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:29:07 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:29:16 AM EST)

&Decline License Agreement/u01/app/oracle/middleware/sysman/install/plugins/oracle.sysman.si/13.5.1.0.0/oracle.sysman.si.discovery.plugin-13.5.1.0.0.farb

Session log file is /tmp/OraInstall2022-12-02_01-03-54AM/install2022-12-02_01-03-54AM.log

 

.............................................................................

Installation in progress (Friday, December 2, 2022 1:29:20 AM EST)

                                                   77% Done.

Install successful

 

Linking in progress (Friday, December 2, 2022 1:29:20 AM EST)

Link successful

 

Setup in progress (Friday, December 2, 2022 1:29:20 AM EST)

Setup successful

 

Saving inventory (Friday, December 2, 2022 1:29:20 AM EST)

Saving inventory complete

 

End of install phases.(Friday, December 2, 2022 1:29:29 AM EST)

.Prompt for the allroot.sh

 

Warning: You must run the following configuration scripts as the "root" user.

  /u01/app/oracle/middleware/allroot.sh

To execute the configuration scripts:

 1. Open a new  terminal window.

 2. Login in as "root".

 3. Run the scripts.

 

Successfully installed Enterprise Manager Cloud Control.

 

Une fois que l’installation est terminée, exécuter le script allroot.sh en tant que utilisateur root.

 

 ${MW_HOME}/allroot.sh

 

Configuration de Cloud Control 13c

 

Nous allons maintenant configurer Cloud Control. Pour cela, créer le fichier de réponse suivant

 

 

cat > /home/oracle/config.rsp <<EOF

RESPONSEFILE_VERSION=2.2.1.0.0

UNIX_GROUP_NAME=oinstall

INVENTORY_LOCATION=/u01/app/oraInventory

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

DECLINE_SECURITY_UPDATES=true

INSTALL_UPDATES_SELECTION=skip

ORACLE_MIDDLEWARE_HOME_LOCATION=/u01/app/oracle/middleware

ORACLE_HOSTNAME=ol8-19.localdomain

AGENT_BASE_DIR=/u01/app/oracle/agent

WLS_ADMIN_SERVER_USERNAME=weblogic

WLS_ADMIN_SERVER_PASSWORD=Welcome1

WLS_ADMIN_SERVER_CONFIRM_PASSWORD=Welcome1

NODE_MANAGER_PASSWORD=Welcome1

NODE_MANAGER_CONFIRM_PASSWORD=Welcome1

ORACLE_INSTANCE_HOME_LOCATION=/u01/app/oracle/gc_inst

CONFIGURE_ORACLE_SOFTWARE_LIBRARY=true

SOFTWARE_LIBRARY_LOCATION=/u01/app/oracle/swlib

DATABASE_HOSTNAME=localhost

LISTENER_PORT=1521

SERVICENAME_OR_SID=emrep

SYS_PASSWORD=SysPassword1

SYSMAN_PASSWORD=SysPassword1

SYSMAN_CONFIRM_PASSWORD=SysPassword1

DEPLOYMENT_SIZE=SMALL

AGENT_REGISTRATION_PASSWORD=Welcome1

AGENT_REGISTRATION_CONFIRM_PASSWORD=Welcome1

PLUGIN_SELECTION={}

b_upgrade=false

EM_INSTALL_TYPE=NOSEED

CONFIGURATION_TYPE=ADVANCED

CONFIGURE_SHARED_LOCATION_BIP=false

MANAGEMENT_TABLESPACE_LOCATION=/u01/oradata/EMCDB/emrep/mgmt.dbf

CONFIGURATION_DATA_TABLESPACE_LOCATION=/u01/oradata/EMCDB/emrep/mgmt_ecm_depot1.dbf

JVM_DIAGNOSTICS_TABLESPACE_LOCATION=/u01/oradata/EMCDB/emrep/mgmt_deepdive.dbf

EOF

 

[oracle@ol8-19 oem135]$ /u01/app/oracle/middleware/sysman/install/ConfigureGC.sh -silent -responseFile /home/oracle/config.rsp

ScratchPathValue :/u01/app/oracle/middleware

*************************************

Error Messages:

----------------------------------------------------

* Invalid option(s): sourceLoc

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

List file is unreadable

13NGCHEKAGGREGATE  : oracle.sysman.top.agent

13NGCHEKAGGREGATE  : oracle.sysman.top.oms

13NGCHEKAGGREGATE  : OuiConfigVariables

13NGCHEKAGGREGATE  : encap_oms

13NGCHEKAGGREGATE  : OuiConfigVariables

2022-12-02_05-29-40AM: Configuration Assistant "Plugins Prerequisites Check" is in progress.

 

2022-12-02_05-30-05AM: Configuration Assistant "Plugins Prerequisites Check" has Succeeded.

 

2022-12-02_05-30-05AM: Configuration Assistant "Repository Configuration" is in progress.

 

Calling the EMSCHEMA MANAGER: CREATE

 

before starting RCU

Dec 02, 2022 5:30:07 AM org.apache.sshd.common.io.DefaultIoServiceFactoryFactory getIoServiceProvider

INFO: No detected/configured IoServiceFactoryFactory using Nio2ServiceFactoryFactory

Repository Creation Utility - Checking Prerequisites

Checking Global Prerequisites

Repository Creation Utility - Checking Prerequisites

Checking Component Prerequisites

Repository Creation Utility - Creating Tablespaces

Validating and Creating Tablespaces

Create tablespaces in the repository database

Repository Creation Utility - Create

Repository Create in progress.

Executing pre create operations

Creating EM Repository Common(EM_REPOS_COMMON)

Creating EM Repository Init Configuration(EM_REPOS_INIT)

 

 Check the Repository Configuration Assistant logs at: /u01/app/oracle/middleware//sysman/log/schemamanager

 

INVOKING with sslConfig

TNS Test Inserted Successfully

Successfully Added TNS Query Descriptors

 

  ********   ORACLE_HOME is /u01/app/oracle/middleware/

test properties path: /u01/app/oracle/middleware//sysman/admin/emdrep/prop/imap.properties

CreateTestType:createCompleteTest: BEGIN

CreateTestType:createTestMetadataObject: BEGIN

CreateTestType:createTestMetadataObject: END

CreateTestType:createPropertyGroups: BEGIN

CreateTestType:createPropertyGroups: END

CreateTestType:createStrayProperties: BEGIN

CreateTestType:createStrayProperties: END

CreateTestType:createDefaultPromotions: BEGIN

CreateTestType:createDefaultPromotions: END

CreateTestType:createDefaultThresholds: BEGIN

CreateTestType:createDefaultThresholds: END

CreateTestType:createMetrics4TestType: BEGIN

CreateTestType:createMetrics4TestType: END

PropertyName :imap_host

PropertyName :imap_port

PropertyName :imap_user_name

PropertyName :imap_password

PropertyName :numretries

PropertyName :retryinterval

CreateTestType:createQueryDescriptor: BEGIN

CreateTestType:createQueryDescriptor: END

Enabled test for: IMAP , generic_service , 1.0

Enabled test for: IMAP , aggregate_service , 1.0

CreateTestType:createCompleteTest: END

  ********   ORACLE_HOME is /u01/app/oracle/middleware/

INVOKING with sslConfig

log4j:WARN No appenders could be found for logger (oracle.sysman.swlib.component).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

INVOKING with sslConfig

Creating EM Repository Creation Configuration(EM_REPOS_CONFIG)

Executing post create operations

 

Repository Creation Utility: Create - Completion Summary

 

Database details:

-----------------------------

Connect Descriptor                           : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep)))

Connected As                                 : SYS

RCU Logfile                                  : No log file specified

 

Component schemas created:

-----------------------------

Component                                    Status         Logfile            

 

EM Repository Creation Configuration         Success        /u01/app/oracle/middleware/sysman/log/schemamanager/m_120222_0530_AM/m_120222_0530_AM.CREATE/RCU2022-12-02_05-30_143281198/logs/em_repos_config.log

EM Repository Init Configuration             Success        /u01/app/oracle/middleware/sysman/log/schemamanager/m_120222_0530_AM/m_120222_0530_AM.CREATE/RCU2022-12-02_05-30_143281198/logs/em_repos_init.log

EM Repository Common                         Success        /u01/app/oracle/middleware/sysman/log/schemamanager/m_120222_0530_AM/m_120222_0530_AM.CREATE/RCU2022-12-02_05-30_143281198/logs/em_repos_common.log

 

Repository Creation Utility - Create : Operation Completed

after starting RCU

The creation of Repository is completed now running the MOS

 

-------------------This action is not required ------------------

The correct order of execution is :

-showPrereqs , -runPrerequisites , -showCorrectiveActions , -runCorrectiveActions , -runPrerequisites(optional at this point), -showPostCorrectiveActions , -runPostCorrectiveActions

2022-12-02_08-57-39AM: Configuration Assistant "Repository Configuration" has Succeeded.

 

2022-12-02_08-57-39AM: Configuration Assistant "MDS Schema Configuration" is in progress.

 

jdbcURL:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep)))]

ssl info is null

-silent -createRepository -compInfoXMLLocation /u01/app/oracle/middleware//sysman/emdrep/config/mds/ComponentInfo.xml -storageXMLLocation /u01/app/oracle/middleware//sysman/emdrep/config/mds/Storage.xml -connectString (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep))) -dbUser SYS -dbRole sysdba -schemaPrefix SYSMAN -component MDS

Repository Creation Utility - Checking Prerequisites

Checking Global Prerequisites

Repository Creation Utility - Checking Prerequisites

Checking Component Prerequisites

Repository Creation Utility - Creating Tablespaces

Validating and Creating Tablespaces

Create tablespaces in the repository database

Repository Creation Utility - Create

Repository Create in progress.

        Percent Complete: 30

Executing pre create operations

        Percent Complete: 65

        Percent Complete: 65

        Percent Complete: 70

        Percent Complete: 70

        Percent Complete: 75

        Percent Complete: 75

Creating Metadata Services(MDS)

        Percent Complete: 95

Executing post create operations

        Percent Complete: 100

 

Repository Creation Utility: Create - Completion Summary

 

Database details:

-----------------------------

Connect Descriptor                           : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep)))

Connected As                                 : SYS

Prefix for (prefixable) Schema Owners        : SYSMAN

RCU Logfile                                  : No log file specified

 

Component schemas created:

-----------------------------

Component                                    Status         Logfile            

 

Metadata Services                            Success        /u01/app/oracle/middleware/sysman/log/schemamanager/m_120222_0530_AM/m_120222_0530_AM.CREATE/RCU2022-12-02_08-57_1730869928/logs/mds.log

 

Repository Creation Utility - Create : Operation Completed

jdbcURL:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep)))]

Repository Creation Utility - Checking Prerequisites

Checking Global Prerequisites

Repository Creation Utility - Checking Prerequisites

Checking Component Prerequisites

Repository Creation Utility - Creating Tablespaces

Validating and Creating Tablespaces

Create tablespaces in the repository database

Repository Creation Utility - Create

Repository Create in progress.

Executing pre create operations

        Percent Complete: 50

        Percent Complete: 55

        Percent Complete: 65

        Percent Complete: 65

        Percent Complete: 80

        Percent Complete: 90

        Percent Complete: 95

        Percent Complete: 95

Creating Oracle Platform Security Services(OPSS)

        Percent Complete: 97

Executing post create operations

        Percent Complete: 100

 

Repository Creation Utility: Create - Completion Summary

 

Database details:

-----------------------------

Connect Descriptor                           : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep)))

Connected As                                 : SYS

Prefix for (prefixable) Schema Owners        : SYSMAN122140

RCU Logfile                                  : No log file specified

 

Component schemas created:

-----------------------------

Component                                    Status         Logfile            

 

Oracle Platform Security Services            Success        /u01/app/oracle/middleware/sysman/log/schemamanager/m_120222_0530_AM/m_120222_0530_AM.CREATE/RCU2022-12-02_08-57_1730869928/logs/opss.log

 

Repository Creation Utility - Create : Operation Completed

Repository Creation Utility - Checking Prerequisites

Checking Global Prerequisites

Repository Creation Utility - Checking Prerequisites

Checking Component Prerequisites

Repository Creation Utility - Creating Tablespaces

Validating and Creating Tablespaces

Create tablespaces in the repository database

Repository Creation Utility - Create

Repository Create in progress.

Executing pre create operations

        Percent Complete: 50

        Percent Complete: 50

        Percent Complete: 55

        Percent Complete: 60

        Percent Complete: 65

        Percent Complete: 65

        Percent Complete: 70

        Percent Complete: 70

Creating Common Infrastructure Services(STB)

        Percent Complete: 85

Executing post create operations

        Percent Complete: 100

 

Repository Creation Utility: Create - Completion Summary

 

Database details:

-----------------------------

Connect Descriptor                           : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep)))

Connected As                                 : SYS

Prefix for (prefixable) Schema Owners        : SYSMAN

RCU Logfile                                  : No log file specified

 

Component schemas created:

-----------------------------

Component                                    Status         Logfile            

 

Common Infrastructure Services               Success        /u01/app/oracle/middleware/sysman/log/schemamanager/m_120222_0530_AM/m_120222_0530_AM.CREATE/RCU2022-12-02_08-57_1730869928/logs/stb.log

 

Repository Creation Utility - Create : Operation Completed

2022-12-02_08-58-20AM: Configuration Assistant "MDS Schema Configuration" has Succeeded.

 

2022-12-02_08-58-20AM: Configuration Assistant "OMS Configuration" is in progress.

 

 

 Executing the OMSCA command...

 

 Check the log files of the OMS Configuration Assistant at: /u01/app/oracle/middleware//cfgtoollogs/omsca

 

 

 

 OMS Configuration Assistant completed successfully.

 

 

2022-12-02_09-38-30AM: Configuration Assistant "OMS Configuration" has Succeeded.

 

2022-12-02_09-38-30AM: Configuration Assistant "Plugins Deployment and Configuration" is in progress.

 

2022-12-02_10-23-08AM: Configuration Assistant "Plugins Deployment and Configuration" has Succeeded.

 

2022-12-02_10-23-08AM: Configuration Assistant "Start Oracle Management Service" is in progress.

 

Starting OMS ...

Executing the command: /u01/app/oracle/middleware//bin/emctl start oms

 

Starting of OMS is successful.

Starting export oms config...

Executing command: /u01/app/oracle/middleware//bin/emctl exportconfig oms -dir  /u01/app/oracle/gc_inst/em/EMGC_OMS1/sysman/backup

 

Export config of OMS is successful.

 

2022-12-02_10-44-02AM: Configuration Assistant "Start Oracle Management Service" has Succeeded.

 

2022-12-02_10-44-02AM: Configuration Assistant "Agent Configuration Assistant" is in progress.

 

AgentConfiguration:agent configuration has been started

 

The AgentFreshInstaller is starting now

Oraclehome : ../u01/app/oracle/agent/agent_13.5.0.0.0

InstanceHome : /u01/app/oracle/agent/agent_inst

Agent Base Directory : /u01/app/oracle/agent

The oraclehome /u01/app/oracle/agent/agent_13.5.0.0.0

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: /u01/app/oracle/agent/agent_13.5.0.0.0

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: /u01/app/oracle/agent/agent_inst

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: /u01/app/oracle/agent

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: RESPONSE_FILE=/u01/app/oracle/agent/agentInstall.rsp

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: ORACLE_HOME=/u01/app/oracle/agent/agent_13.5.0.0.0

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: AGENT_PORT=

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: ORACLE_HOSTNAME=ol8-19.localdomain

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_doDiscovery=true

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: AGENT_BASE_DIR=/u01/app/oracle/agent

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: AGENT_INSTANCE_HOME=/u01/app/oracle/agent/agent_inst

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: s_hostname=ol8-19.localdomain

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: OMS_HOST=ol8-19.localdomain

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: START_AGENT=true

startAgent is:true

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_secureAgent=true

seci is :true

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_chainedInstall=true

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_forceConfigure=false

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: EM_UPLOAD_PORT=4903

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_forceAgentDefaultPort=false

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: s_staticPorts=

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: PROPERTIES_FILE=

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_skipValidation=false

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: ORACLE_HOME=/u01/app/oracle/agent/agent_13.5.0.0.0

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: AGENT_PORT=

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: ORACLE_HOSTNAME=ol8-19.localdomain

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_doDiscovery=true

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: AGENT_BASE_DIR=/u01/app/oracle/agent

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: AGENT_INSTANCE_HOME=/u01/app/oracle/agent/agent_inst

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: s_hostname=ol8-19.localdomain

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: OMS_HOST=ol8-19.localdomain

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: START_AGENT=true

startAgent is:true

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_secureAgent=true

seci is :true

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_chainedInstall=true

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_forceConfigure=false

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: EM_UPLOAD_PORT=4903

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_forceAgentDefaultPort=false

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: s_staticPorts=

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: PROPERTIES_FILE=

Dec 02, 2022 10:44:06 AM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: b_skipValidation=false

log loction is setlog

Creating log directoyr :/u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentDeploy

Writing the following contents into /u01/app/oracle/agent/agent_13.5.0.0.0/install/oragchomelist

/u01/app/oracle/agent/agent_13.5.0.0.0:/u01/app/oracle/agent/agent_inst

Creating directory /u01/app/oracle/agent/agent_13.5.0.0.0/install/tmp completed successfully.

File /etc/oragchomelist exists.

File /etc/oragchomelist is writable.

Index :-1 for line : /u01/app/oracle/middleware

Index :0 for line : /u01/app/oracle/agent/agent_13.5.0.0.0

Overwriting the contents since oracle home:/u01/app/oracle/agent/agent_13.5.0.0.0 entry already exists.

Agent Home is : {0}

The value of chainInstall : true forceConfigure : false skipValidation : false

Validated the oms host and port :- ol8-19.localdomain----4903

Logs Location is : {0}

Getting Inet Addresses for host ol8-19.localdomain

** Agent Port Check completed successfully.**

Validated the agent port :- ----3872

Executing command: {0}

shared agent value is :false

 

Setting system property CUSTOM_INVENTORY to {0}

chain install is :true

 

Cloning of agent home completed successfully

Agent Configuration completed successfully

The following configuration scripts need to be executed as the "root" user. Root script to run : /u01/app/oracle/agent/agent_13.5.0.0.0/root.sh

AgentConfiguration:agent configuration finished with status = true

 

2022-12-02_10-50-55AM: Configuration Assistant "Agent Configuration Assistant" has Succeeded.

 

*** The Installation was Successful. ***

 

 

This information is also available at:

 

       /u01/app/oracle/middleware//install/setupinfo.txt

 

See the following for information pertaining to your Enterprise Manager installation:

 

 

Use the following URL to access:

 

       1. Enterprise Manager Cloud Control URL: https://ol8-19.localdomain:7803/em

       2. Admin Server URL: https://ol8-19.localdomain:7102/console

 

The following details need to be provided while installing an additional OMS:

 

       1. Admin Server Host Name: ol8-19.localdomain

       2. Admin Server Port: 7102

 

You can find the details on ports used by this deployment at : /u01/app/oracle/middleware/install/portlist.ini

 

 

 NOTE:

 An encryption key has been generated to encrypt sensitive data in the Management Repository. If this key is lost, all encrypted data in the Repository becomes unusable.

 

 A backup of the OMS configuration is available in /u01/app/oracle/gc_inst/em/EMGC_OMS1/sysman/backup on host ol8-19.localdomain. See Cloud Control Administrators Guide for details on how to back up and recover an OMS.

 

 NOTE: This backup is valid only for the initial OMS configuration. For example, it will not reflect plug-ins installed later, topology changes like the addition of a load balancer, or changes to other properties made using emctl or emcli. Backups should be created on a regular basis to ensure they capture the current OMS configuration. Use the following command to backup the OMS configuration:

/u01/app/oracle/middleware//bin/emctl exportconfig oms -dir <backup dir>

 

Prompt for the allroot.sh

[oracle@ol8-19 oem135]$

 

 

Connexion a Enterprise Manager Cloud Control 13c

 

Une fois la configuration terminée, vous pouvez vous connecter à travers un navigateur en utilisant l’URL suivant : https://nom_du_serveur:7803/em ou

https://adresse_Ip_du_serveur:7803/em.

Se connecter avec l’utilisateur SYSMAN et avec le mot de passe specifi3e dans le fichier de réponse utilise pendant l’installation.

 


 


Une fois connecté, l'écran "Contrat de licence" s'affiche. Cliquez sur le bouton "J'accepte"

 


 


Vous avez maintenant votre écran de sélection de la page d'accueil


 

Enjoy !!!

How to fix errors : -         ORA-38760: This database instance failed to turn on flashback database -         ORA-38780: Restore poin...