Enterprise Manager 24ai Installation
Enterprise Manager 24ai Installation shows how to install the software on a RedHat Enterprise Linux 8.10 Virtual Machine.
Table of Contents
Preparation
As the basis for the installation we need a VM with a running pdb1 database. The setup is described here. After we have that we will download the Oracle Enterprise Manager 24ai (24.1) software and place the files in a directory accessible from the VM (for example /sw/oracle/em241). Now we need to extend the memory of the VM to 12GB. Run this in a Windows command prompt of the host system:
set "VHOST="
(set /p VHOST=Enter VM name ^(e.g. lin1^):
call vboxmanage controlvm %VHOST% shutdown &rem Power down the VM and wait
timeout /T 10 /NOBREAK
call vboxmanage modifyvm %VHOST% --memory=12288 &rem Set the VM RAM to 12 GB
call vboxmanage startvm %VHOST%) &rem Power up the Virtual Machine
After that we unpack the software and prepare the installation. Run this as the root user inside the VM:
# adjust environment variables
echo 'export PATH=/u01/software/em24/middleware/oms_home/bin:/u01/software/em24/middleware/oms_home/OPatch:$PATH' > ~oracle/oms.env
chown oracle ~oracle/oms.env
# unpack the software
su - oracle -c "cd /sw/oracle/em241/ ; [ ! -f ./em24100_linux64.bin ] && for i in V1*zip ; do echo 'Unpacking' \$i ; unzip -q \$i ; done"
# create swap space
if [ `cat /etc/fstab|grep swapfile|wc -l` == 0 ] ; then
echo 'creating swap space...'
dd if=/dev/zero of=/swapfile bs=1024 count=6291456 # create a 6 GB swapfile
chmod 0600 /swapfile && mkswap /swapfile && swapon /swapfile
echo '/swapfile swap swap defaults 0 0' >> /etc/fstab
swapon
fi
# create the response file
su - oracle -c "cat << EOF > /home/oracle/new_install.rsp
RESPONSEFILE_VERSION=2.2.1.0.0
UNIX_GROUP_NAME=\"dba\"
INVENTORY_LOCATION=\"/u01/app/oraInventory\"
INSTALL_UPDATES_SELECTION=skip
ORACLE_MIDDLEWARE_HOME_LOCATION=\"/u01/software/em24/middleware\"
ORACLE_HOSTNAME=`hostname`
AGENT_BASE_DIR=\"/u01/software/em24/agentbasedir\"
WLS_ADMIN_SERVER_PASSWORD=\"change24\"
WLS_ADMIN_SERVER_CONFIRM_PASSWORD=\"change24\"
NODE_MANAGER_PASSWORD=\"change24\"
NODE_MANAGER_CONFIRM_PASSWORD=\"change24\"
ORACLE_INSTANCE_HOME_LOCATION=\"/u01/software/em24/gc_inst\"
CONFIGURE_ORACLE_SOFTWARE_LIBRARY=true
SOFTWARE_LIBRARY_LOCATION=\"/u01/software/em24/middleware/swlib\"
DATABASE_HOSTNAME=\"`hostname`\"
LISTENER_PORT=\"1521\"
SERVICENAME_OR_SID=\"pdb1.fritz.box\"
SYS_PASSWORD=\"changeme\"
SYSMAN_PASSWORD=\"change24\"
SYSMAN_CONFIRM_PASSWORD=\"change24\"
DEPLOYMENT_SIZE=\"SMALL\"
MANAGEMENT_TABLESPACE_LOCATION=\"+DATA\"
CONFIGURATION_DATA_TABLESPACE_LOCATION=\"+DATA\"
JVM_DIAGNOSTICS_TABLESPACE_LOCATION=\"+DATA\"
EMPREREQ_AUTO_CORRECTION=false
INSTALL_WITH_NON_SYS_USER=false
AGENT_REGISTRATION_PASSWORD=\"change24\"
AGENT_REGISTRATION_CONFIRM_PASSWORD=\"change24\"
PLUGIN_SELECTION={}
b_upgrade=false
EM_INSTALL_TYPE=NOSEED
CONFIGURATION_TYPE=ADVANCED
EOF
"
We need to adjust some database configuration parameters:
su - oracle -c "source ~/ora19.env
sqlplus -S / as sysdba << EOF
alter session set container=pdb1;
@?/rdbms/admin/utlrp
alter system set session_cached_cursors=350 scope=spfile;
alter system set sga_target=2000m;
alter system set shared_pool_size=600m;
alter system set \"_allow_insert_with_update_check\"=true;
shutdown immediate
startup
exit
EOF
"
Output
Session altered.
Session altered.
TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_BGN 2025-02-02 16:13:51
PL/SQL procedure successfully completed.
TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_END 2025-02-02 16:13:53
OBJECTS WITH ERRORS
-------------------
0
ERRORS DURING RECOMPILATION
---------------------------
0
Function created.
PL/SQL procedure successfully completed.
Function dropped.
PL/SQL procedure successfully completed.
System altered.
System altered.
System altered.
System altered.
Pluggable Database closed.
Pluggable Database opened.
[root@lin1 ~]#
Installation (silent)
Next we start the silent installation which will take about 2.5 hours!
(su - oracle -c '/sw/oracle/em241/em24100_linux64.bin -silent -responseFile /home/oracle/new_install.rsp'
# this script needs to run as root after the installation
/u01/software/em24/middleware/oms_home/allroot.sh)
Output:
[root@lin1 ~]# (su - oracle -c '/sw/oracle/em241/em24100_linux64.bin -silent -re sponseFile /home/oracle/new_install.rsp -invPtrLoc /etc/oraInst.loc'
> # this script needs to run as root after the installation
> ^C01/software/em24/middleware/oms_home/allroot.sh)
[root@lin1 ~]# (su - oracle -c '/sw/oracle/em241/em24100_linux64.bin -silent -re sponseFile /home/oracle/new_install.rsp'
> # this script needs to run as root after the installation
> /u01/software/em24/middleware/oms_home/allroot.sh)
Session terminated, killing shell... ...killed.
[root@lin1 ~]# vi /home/oracle/new_install.rsp
[root@lin1 ~]# (su - oracle -c '/sw/oracle/em241/em24100_linux64.bin -silent -responseFile /home/oracle/new_install.rs24/middleware/oms_home/allroot.sh)
Launcher log file is /tmp/OraInstall2025-02-04_04-08-20PM/launcher2025-02-04_04-08-20PM.log.
Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
Checking swap space: must be greater than 512 MB. Actual 7167 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed (-d64 flag is not required)
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2025-02-04_04-08-20PM
Oracle Management Server installation started. This might take a while.
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
Installation in progress
Install successful
Linking in progress
Link successful
Setup in progress
Setup successful
Oracle Management Server installation completed.
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
Installation in progress
Install successful
Linking in progress
Link successful
Setup in progress
Setup successful
Agent installation started. This might take a while.
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
Installation in progress
Install successful
Linking in progress
Link successful
Setup in progress
Setup successful
Agent installation completed.
Going to apply stack Patches on Agent.
Stack patches applied successfully on Agent.
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
......................................................................................
Installation in progress (Tuesday, February 4, 2025 4:15:28 PM CET)
86% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:15:29 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:15:29 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:15:29 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:15:38 PM CET)
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
..................................................................................................
Installation in progress (Tuesday, February 4, 2025 4:15:42 PM CET)
98% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:15:43 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:15:43 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:15:43 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:15:52 PM CET)
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
..................................................................................................
Installation in progress (Tuesday, February 4, 2025 4:15:55 PM CET)
98% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:15:56 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:15:56 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:15:56 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:16:05 PM CET)
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
............................................................... 44% Done.
............................................................... 88% Done.
..............
Installation in progress (Tuesday, February 4, 2025 4:16:17 PM CET)
98% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:16:17 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:16:17 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:16:17 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:16:27 PM CET)
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
..................................................................................................
Installation in progress (Tuesday, February 4, 2025 4:16:33 PM CET)
98% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:16:34 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:16:34 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:16:34 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:16:44 PM CET)
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
............................................................... 48% Done.
............................................................... 96% Done.
...
Installation in progress (Tuesday, February 4, 2025 4:16:57 PM CET)
98% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:16:57 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:16:57 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:16:57 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:17:07 PM CET)
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
............................................................... 42% Done.
............................................................... 85% Done.
...................
Installation in progress (Tuesday, February 4, 2025 4:17:32 PM CET)
98% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:17:33 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:17:33 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:17:33 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:17:42 PM CET)
Installing default plugins for Agent.
&Decline License Agreement/u01/software/em24/middleware/oms_home/sysman/install/plugins/oracle.sysman.emas/24.1.1.0.0/oracle.sysman.emas.agent.plugin-24.1.1.0.0.farb
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
..................................................................................................
Installation in progress (Tuesday, February 4, 2025 4:17:47 PM CET)
98% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:17:47 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:17:47 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:17:47 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:17:57 PM CET)
&Decline License Agreement/u01/software/em24/middleware/oms_home/sysman/install/plugins/oracle.sysman.emrep/24.1.0.0.0/oracle.sysman.emrep.agent.plugin-24.1.0.0.0.farb
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
.........................................................................................
Installation in progress (Tuesday, February 4, 2025 4:18:00 PM CET)
89% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:18:00 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:18:00 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:18:00 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:18:09 PM CET)
&Decline License Agreement/u01/software/em24/middleware/oms_home/sysman/install/plugins/oracle.sysman.beacon/24.1.0.0.0/oracle.sysman.beacon.agent.plugin-24.1.0.0.0.farb
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
............................................................................................
Installation in progress (Tuesday, February 4, 2025 4:18:12 PM CET)
92% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:18:12 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:18:12 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:18:12 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:18:21 PM CET)
&Decline License Agreement/u01/software/em24/middleware/oms_home/sysman/install/plugins/oracle.sysman.oh/24.1.0.0.0/oracle.sysman.oh.agent.plugin-24.1.0.0.0.farb
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
................................................................................................
Installation in progress (Tuesday, February 4, 2025 4:18:24 PM CET)
96% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:18:24 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:18:24 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:18:24 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:18:33 PM CET)
&Decline License Agreement/u01/software/em24/middleware/oms_home/sysman/install/plugins/oracle.sysman.xa/24.1.1.0.0/oracle.sysman.xa.discovery.plugin-24.1.1.0.0.farb
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
................................................................................
Installation in progress (Tuesday, February 4, 2025 4:18:35 PM CET)
80% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:18:35 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:18:35 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:18:35 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:18:45 PM CET)
&Decline License Agreement/u01/software/em24/middleware/oms_home/sysman/install/plugins/oracle.sysman.emas/24.1.1.0.0/oracle.sysman.emas.discovery.plugin-24.1.1.0.0.farb
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
..................................................................................................
Installation in progress (Tuesday, February 4, 2025 4:18:47 PM CET)
98% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:18:47 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:18:47 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:18:47 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:18:56 PM CET)
&Decline License Agreement/u01/software/em24/middleware/oms_home/sysman/install/plugins/oracle.sysman.oh/24.1.0.0.0/oracle.sysman.oh.discovery.plugin-24.1.0.0.0.farb
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
.........................................................................
Installation in progress (Tuesday, February 4, 2025 4:18:59 PM CET)
73% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:18:59 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:18:59 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:18:59 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:19:09 PM CET)
&Decline License Agreement/u01/software/em24/middleware/oms_home/sysman/install/plugins/oracle.sysman.db/24.1.1.0.0/oracle.sysman.db.discovery.plugin-24.1.1.0.0.farb
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
............................................................................................
Installation in progress (Tuesday, February 4, 2025 4:19:11 PM CET)
92% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:19:11 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:19:11 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:19:11 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:19:20 PM CET)
&Decline License Agreement/u01/software/em24/middleware/oms_home/sysman/install/plugins/oracle.sysman.si/24.1.1.0.0/oracle.sysman.si.discovery.plugin-24.1.1.0.0.farb
Session log file is /tmp/OraInstall2025-02-04_04-08-20PM/install2025-02-04_04-08-20PM.log
............................................................................
Installation in progress (Tuesday, February 4, 2025 4:19:23 PM CET)
76% Done.
Install successful
Linking in progress (Tuesday, February 4, 2025 4:19:23 PM CET)
Link successful
Setup in progress (Tuesday, February 4, 2025 4:19:23 PM CET)
Setup successful
Saving inventory (Tuesday, February 4, 2025 4:19:23 PM CET)
Saving inventory complete
End of install phases.(Tuesday, February 4, 2025 4:19:32 PM CET)
Applying stack patches. This might take a while.
Stack Patches got applied Successfully.
.Invoking Config tool. Starting Configuration phase.
13NGCHEKAGGREGATE : oracle.sysman.top.oms
13NGCHEKAGGREGATE : OuiConfigVariables
13NGCHEKAGGREGATE : encap_oms
13NGCHEKAGGREGATE : OuiConfigVariables
13NGCHEKAGGREGATE : oracle.sysman.top.agent
2025-02-04_04-47-43PM: Configuration Assistant "Plugins Prerequisites Check" is in progress.
2025-02-04_04-47-51PM: Configuration Assistant "Plugins Prerequisites Check" has Succeeded.
2025-02-04_04-47-51PM: Configuration Assistant "Repository Configuration" is in progress.
Calling the EMSCHEMA MANAGER: CREATE
Before starting RCU
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/software/em24/middleware/oms_home/sysman/log/schemamanager
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................INVOKING with sslConfig
.TNS Test Inserted Successfully
.Successfully Added TNS Query Descriptors
******** ORACLE_HOME is /u01/software/em24/middleware/oms_home
.INVOKING with sslConfig
...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=lin1.fritz.box)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pdb1.fritz.box)))
Connected As : SYS
RCU Logfile : No log file specified
Component schemas created:
-----------------------------
Component Status Logfile
EM Repository Creation Configuration Success /u01/software/em24/middleware/oms_home/sysman/log/schemamanager/m_020425_0447_PM/m_020425_0447_PM.CREATE/RCU2025-02-04_16-47_790969880/logs/em_repos_config.log
EM Repository Init Configuration Success /u01/software/em24/middleware/oms_home/sysman/log/schemamanager/m_020425_0447_PM/m_020425_0447_PM.CREATE/RCU2025-02-04_16-47_790969880/logs/em_repos_init.log
EM Repository Common Success /u01/software/em24/middleware/oms_home/sysman/log/schemamanager/m_020425_0447_PM/m_020425_0447_PM.CREATE/RCU2025-02-04_16-47_790969880/logs/em_repos_common.log
Repository Creation Utility - Create : Operation Completed
After starting RCU
.The creation of Repository is completed now running the MOS
2025-02-04_05-51-18PM: Configuration Assistant "Repository Configuration" has Succeeded.
2025-02-04_05-51-18PM: Configuration Assistant "MDS Schema Configuration" is in progress.
jdbcURL:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=lin1.fritz.box)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pdb1.fritz.box)))]
ssl info is null
-silent -createRepository -compInfoXMLLocation /u01/software/em24/middleware/oms_home/sysman/emdrep/config/mds/ComponentInfo.xml -storageXMLLocation /u01/software/em24/middleware/oms_home/sysman/emdrep/config/mds/Storage.xml -connectString (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=lin1.fritz.box)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pdb1.fritz.box))) -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=lin1.fritz.box)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pdb1.fritz.box)))
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/software/em24/middleware/oms_home/sysman/log/schemamanager/m_020425_0447_PM/m_020425_0447_PM.CREATE/RCU2025-02-04_17-51_654905072/logs/mds.log
Repository Creation Utility - Create : Operation Completed
jdbcURL:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=lin1.fritz.box)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pdb1.fritz.box)))]
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=lin1.fritz.box)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pdb1.fritz.box)))
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/software/em24/middleware/oms_home/sysman/log/schemamanager/m_020425_0447_PM/m_020425_0447_PM.CREATE/RCU2025-02-04_17-51_654905072/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=lin1.fritz.box)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pdb1.fritz.box)))
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/software/em24/middleware/oms_home/sysman/log/schemamanager/m_020425_0447_PM/m_020425_0447_PM.CREATE/RCU2025-02-04_17-51_654905072/logs/stb.log
Repository Creation Utility - Create : Operation Completed
2025-02-04_05-51-33PM: Configuration Assistant "MDS Schema Configuration" has Succeeded.
2025-02-04_05-51-33PM: Configuration Assistant "OMS Configuration" is in progress.
.
Executing the OMSCA command...
Check the log files of the OMS Configuration Assistant at: /u01/software/em24/middleware/oms_home/cfgtoollogs/omsca
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
OMS Configuration Assistant completed successfully.
2025-02-04_06-08-26PM: Configuration Assistant "OMS Configuration" has Succeeded.
2025-02-04_06-08-26PM: Configuration Assistant "Plugins Deployment and Configuration" is in progress.
2025-02-04_06-21-33PM: Configuration Assistant "Plugins Deployment and Configuration" has Succeeded.
2025-02-04_06-21-33PM: Configuration Assistant "Start Oracle Management Service" is in progress.
Line appended to the file.
Line appended to the file.
Starting OMS ...
Executing the command: /u01/software/em24/middleware/oms_home/bin/emctl start oms
Starting of OMS is successful.
Starting export oms config...
Executing command: /u01/software/em24/middleware/oms_home/bin/emctl exportconfig oms -dir /u01/software/em24/gc_inst/em/EMGC_OMS1/sysman/backup
Export config of OMS is successful.
2025-02-04_06-28-20PM: Configuration Assistant "Start Oracle Management Service" has Succeeded.
2025-02-04_06-28-20PM: Configuration Assistant "Agent Configuration Assistant" is in progress.
AgentConfiguration:agent configuration has been started
The AgentFreshInstaller is starting now
Oraclehome : ../u01/software/em24/agentbasedir/agent_24.1.0.0.0
InstanceHome : /u01/software/em24/agentbasedir/agent_inst
Agent Base Directory : /u01/software/em24/agentbasedir
The oraclehome /u01/software/em24/agentbasedir/agent_24.1.0.0.0
startAgent is:true
seci is :true
startAgent is:true
seci is :true
log loction is setlog
Creating log directoyr :/u01/software/em24/agentbasedir/agent_24.1.0.0.0/cfgtoollogs/agentDeploy
Writing the following contents into /u01/software/em24/agentbasedir/agent_24.1.0.0.0/install/oragchomelist
/u01/software/em24/agentbasedir/agent_24.1.0.0.0:/u01/software/em24/agentbasedir/agent_inst
Both /etc/oragchomelist and /var/opt/oracle/oragchomelist does not exist.
Agent Home is : {0}
The value of chainInstall : true forceConfigure : false skipValidation : false
Validated the oms host and port :- lin1.fritz.box----4903
Logs Location is : {0}
Getting Inet Addresses for host lin1.fritz.box
** 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/software/em24/agentbasedir/agent_24.1.0.0.0/root.sh
AgentConfiguration:agent configuration finished with status = true
2025-02-04_06-30-18PM: Configuration Assistant "Agent Configuration Assistant" has Succeeded.
*** The Installation was Successful. ***
This information is also available at:
/u01/software/em24/middleware/oms_home/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://lin1.fritz.box:7803/em
2. Admin Server URL: https://lin1.fritz.box:7102/console
The following details need to be provided while installing an additional OMS:
1. Admin Server Host Name: lin1.fritz.box
2. Admin Server Port: 7102
You can find the details on ports used by this deployment at : /u01/software/em24/middleware/oms_home/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/software/em24/gc_inst/em/EMGC_OMS1/sysman/backup on host lin1.fritz.box. 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/software/em24/middleware/oms_home/bin/emctl exportconfig oms -dir <backup dir>
Prompt for the allroot.sh
Warning: You must run the following configuration scripts as the "root" user.
/u01/software/em24/middleware/oms_home/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.
Logs successfully copied to /u01/app/oraInventory/logs.
[root@lin1 ~]#
The following directories have been used:
Directory | Usage |
/u01/software/em24/middleware | Middleware Home |
/u01/software/em24/middleware/oms_home | OMS Home |
/u01/software/em24/gc_inst | OMS Base Location |
/u01/software/em24/agentbasedir | Agent Basedir |
/u01/software/em24/agentbasedir/agent_24.1.0.0.0 | Agent Home |
/u01/software/em24/middleware/swlib | Software Library Location |
These are the accounts that are now available:
Username | Password | Description |
sysman | change24 | Enterprise Manager Login |
weblogic | change24 | WebLogic Admin Console Login |
These are the URLs to access the new Enterprise Manager 24ai.
URL | Account | Description |
https://lin1.fritz.box:7803/em | sysman | Enterprise Manager |
https://lin1.fritz.box:7102/console | weblogic | WebLogic Admin Console |
Useful commands
Some useful commands for basic system administration
Start, Stop and Status of the Enterprise Manager 24ai (OMS) and the database
# as the oracle user
source ~/oms.env
# to start the oms
emctl start oms
# to stop the oms
emctl stop oms -all
# to get the status of the oms
emctl status oms
# stop the database as the grid user
source ~/grid.env && crsctl stop res -all
# start the database as the grid user
source ~/grid.env && crsctl start res -all
Sample Output:
[oracle@lin1 ~]$ emctl start oms
Oracle Enterprise Manager 24ai Release 1
Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved.
Starting Oracle Management Server...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
JVMD Engine is Up
[oracle@lin1 ~]$ emctl status oms
Oracle Enterprise Manager 24ai Release 1
Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved.
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up
[oracle@lin1 ~]$ emctl stop oms -all
Oracle Enterprise Manager 24ai Release 1
Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved.
Stopping Oracle Management Server...
WebTier Successfully Stopped
Oracle Management Server Successfully Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down
JVMD Engine is Down
[oracle@lin1 ~]$ emctl status oms
Oracle Enterprise Manager 24ai Release 1
Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved.
WebTier is Down
Oracle Management Server is Down
JVMD Engine is Down
[oracle@lin1 ~]$
[grid@lin1 ~]$ source ~/grid.env && crsctl stop res -all
CRS-2500: Cannot stop resource 'ora.diskmon' as it is not running
CRS-2500: Cannot stop resource 'ora.ons' as it is not running
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'lin1'
CRS-2673: Attempting to stop 'ora.FRA.dg' on 'lin1'
CRS-2673: Attempting to stop 'ora.orcl.db' on 'lin1'
CRS-2673: Attempting to stop 'ora.evmd' on 'lin1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'lin1'
CRS-2677: Stop of 'ora.DATA.dg' on 'lin1' succeeded
CRS-2677: Stop of 'ora.FRA.dg' on 'lin1' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'lin1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'lin1' succeeded
CRS-2677: Stop of 'ora.orcl.db' on 'lin1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'lin1'
CRS-2677: Stop of 'ora.asm' on 'lin1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'lin1'
CRS-2677: Stop of 'ora.cssd' on 'lin1' succeeded
CRS-4000: Command Stop failed, or completed with errors.
[grid@lin1 ~]$ source ~/grid.env && crsctl start res -all
CRS-2501: Resource 'ora.ons' is disabled
CRS-2672: Attempting to start 'ora.cssd' on 'lin1'
CRS-2672: Attempting to start 'ora.diskmon' on 'lin1'
CRS-2672: Attempting to start 'ora.LISTENER.lsnr' on 'lin1'
CRS-2672: Attempting to start 'ora.evmd' on 'lin1'
CRS-2676: Start of 'ora.diskmon' on 'lin1' succeeded
CRS-2676: Start of 'ora.evmd' on 'lin1' succeeded
CRS-2676: Start of 'ora.LISTENER.lsnr' on 'lin1' succeeded
CRS-2676: Start of 'ora.cssd' on 'lin1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'lin1'
CRS-2676: Start of 'ora.asm' on 'lin1' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'lin1'
CRS-2672: Attempting to start 'ora.FRA.dg' on 'lin1'
CRS-2676: Start of 'ora.DATA.dg' on 'lin1' succeeded
CRS-2676: Start of 'ora.FRA.dg' on 'lin1' succeeded
CRS-2672: Attempting to start 'ora.orcl.db' on 'lin1'
CRS-2672: Attempting to start 'ora.diskmon' on 'lin1'
CRS-2676: Start of 'ora.diskmon' on 'lin1' succeeded
CRS-2676: Start of 'ora.orcl.db' on 'lin1' succeeded
CRS-4000: Command Start failed, or completed with errors.
[grid@lin1 ~]$
Optional
The unzipped installer files can be removed to save some space. They will be unzipped again during the next installation:
rm -f /sw/oracle/em241/em* /sw/oracle/em241/READ*
Further info
- Enterprise Manager 24.1 Basic Installation Guide
- Enterprise Manager 24.1 Advanced Installation Options
If you would like to install Oracle Enterprise Manager 24ai with a GUI (Oracle Universal Installer) you can do that with:
# as the oracle user start a X terminal and run
/sw/oracle/em241/em24100_linux64.bin
Leave a Reply