Environment Configuration Details:
OEM Software Version: Oracle Enterprise Manager Cloud Control 24ai Release 1 (24.1.0.0.0)
Operating System: Oracle Linux 8.10 64 Bit
The EM Prerequisite Kit runs OEM repository prerequisites checks to ensure that you meet all the requirements for installing or upgrading OEM. This also takes care of corrective actions automatically when a prerequisite check fails. The EM Prerequisite Kit is also run internally by the OEM Installation Wizard while installing or upgrading OEM, but if you want to run this before installation,you can do it by passing parameter "EMPREREQ_KIT=true". The EM Prerequisites Kit does not perform installation, instead it shows the missing or successful checks. You can run this buy GUI as well as manual method (Silent Method). In manual method, it only shows the status, it does not perform any corrective action.
Step 1: Download OEM Setup files from Oracle.
Step 2: Transfer OEM Setup files to target server and extract the setup files.
[oracle@oemdb oracle]$ id uid=1001(oracle) gid=1002(oinstall) groups=1002(oinstall),1003(dba) [oracle@oemdb ~]$ cd /u01/app/oracle [oracle@oemdb oracle]$ ls -ltr drwxr-xr-x. 3 oracle oinstall 20 Feb 27 11:45 product drwxr-xr-x 2 oracle oinstall 6 Feb 27 13:26 checkpoints drwxrwxr-x 23 oracle oinstall 4096 Feb 27 13:26 diag drwxr-x--- 3 oracle oinstall 17 Feb 27 14:12 admin drwxr-x--- 3 oracle oinstall 17 Feb 27 14:14 audit drwxr-x--- 5 oracle oinstall 47 Feb 27 14:14 cfgtoollogs Directory Structure Creation export OMS_HOME=/u01/app/oracle/middleware export AGENT_HOME=/u01/app/oracle/agent [oracle@oemdb oracle]$ mkdir middleware agent [oracle@oemdb oracle]$ ls -ltr drwxr-xr-x. 3 oracle oinstall 20 Feb 27 11:45 product drwxr-xr-x 2 oracle oinstall 6 Feb 27 13:26 checkpoints drwxrwxr-x 23 oracle oinstall 4096 Feb 27 13:26 diag drwxr-x--- 3 oracle oinstall 17 Feb 27 14:12 admin drwxr-x--- 3 oracle oinstall 17 Feb 27 14:14 audit drwxr-x--- 5 oracle oinstall 47 Feb 27 14:14 cfgtoollogs drwxr-xr-x 2 oracle oinstall 6 Mar 6 10:16 middleware drwxr-xr-x 2 oracle oinstall 6 Mar 6 10:16 agent [root@oemdb ~]# cd /media/sf_Softwares/OEM/OEM_24/ [root@oemdb OEM_24]# ls -ltr -rwxrwx--- 1 root vboxsf 1669545916 Feb 6 15:05 V1046955-01.zip -rwxrwx--- 1 root vboxsf 1921746284 Feb 6 15:06 V1046953-01.zip -rwxrwx--- 1 root vboxsf 1624006261 Feb 6 15:06 V1046951-01.zip -rwxrwx--- 1 root vboxsf 1532547469 Feb 6 15:08 V1046952-01.zip -rwxrwx--- 1 root vboxsf 1679195404 Feb 6 15:08 V1046954-01.zip [root@oemdb OEM_24]# cp V* /home/oracle/setup [root@oemdb setup]# chmod 777 * [root@oemdb setup]# ls -ltr -rwxrwxrwx 1 root root 1624006261 Mar 6 10:20 V1046951-01.zip -rwxrwxrwx 1 root root 1532547469 Mar 6 10:22 V1046952-01.zip -rwxrwxrwx 1 root root 1921746284 Mar 6 10:23 V1046953-01.zip -rwxrwxrwx 1 root root 1679195404 Mar 6 10:26 V1046954-01.zip -rwxrwxrwx 1 root root 1669545916 Mar 6 10:31 V1046955-01.zip Extract the setup files by oracle user. Once the extract is done, you can remove the setup files. [oracle@oemdb setup]$ id uid=1001(oracle) gid=1002(oinstall) groups=1002(oinstall),1003(dba) [oracle@oemdb setup]$ unzip V1046951-01.zip Archive: V1046951-01.zip inflating: em24100_linux64.bin [oracle@oemdb setup]$ unzip V1046952-01.zip Archive: V1046952-01.zip extracting: em24100_linux64-2.zip [oracle@oemdb setup]$ unzip V1046953-01.zip Archive: V1046953-01.zip extracting: em24100_linux64-3.zip [oracle@oemdb setup]$ unzip V1046954-01.zip Archive: V1046954-01.zip extracting: em24100_linux64-4.zip [oracle@oemdb setup]$ unzip V1046955-01.zip Archive: V1046955-01.zip extracting: em24100_linux64-5.zip [oracle@oemdb setup]$ ls -ltr -r--r--r-- 1 oracle oinstall 1532547277 Dec 5 15:50 em24100_linux64-2.zip -r--r--r-- 1 oracle oinstall 1921746092 Dec 5 15:50 em24100_linux64-3.zip -r--r--r-- 1 oracle oinstall 1669545724 Dec 5 15:52 em24100_linux64-5.zip -r-xr-xr-x 1 oracle oinstall 1624325096 Dec 5 15:53 em24100_linux64.bin -rwxrwxrwx 1 root root 1624006261 Mar 6 10:20 V1046951-01.zip -rwxrwxrwx 1 root root 1532547469 Mar 6 10:22 V1046952-01.zip -rwxrwxrwx 1 root root 1921746284 Mar 6 10:23 V1046953-01.zip -rwxrwxrwx 1 root root 1679195404 Mar 6 10:26 V1046954-01.zip -rwxrwxrwx 1 root root 1669545916 Mar 6 10:31 V1046955-01.zip [oracle@oemdb setup]$ rm V*.zip [oracle@oemdb setup]$ ls -ltr -r--r--r-- 1 oracle oinstall 1532547277 Dec 5 15:50 em24100_linux64-2.zip -r--r--r-- 1 oracle oinstall 1921746092 Dec 5 15:50 em24100_linux64-3.zip -r--r--r-- 1 oracle oinstall 1669545724 Dec 5 15:52 em24100_linux64-5.zip -r-xr-xr-x 1 oracle oinstall 1624325096 Dec 5 15:53 em24100_linux64.bin |
Step 3: Run OEM EMPPREREQ_KIT to check the prerequisites before instaling OEM. This will not perform the installation, instead it is pre-requisites checks.
By oracle user,execute below command.
[oracle@oemdb ]$ cd /home/oracle/setup
[oracle@oemdb setup]$ ./em24100_linux64.bin EMPREREQ_KIT=true
Below are the pre-requisites that are checked by this tool.
A) Certification Matrix: Enterprise Manager Base Platform - OMS 24.1.0.0.0 is certified on Linux x86-64 Oracle Linux 8.x Current Operating System : Oracle Enterprise Linux 8.10 64 Bit B) Hardware Requirement:
B) Kernel Parameters and Shell Limits. [root@oemdb ~]# id uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 [root@oemdb ~]# vi /etc/sysctl.conf [root@oemdb ~]# cat /etc/sysctl.conf | grep -v "#" 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 #Command to reflect changes. [root@oemdb ~]# sysctl -p 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 #Changes in limits.conf file for oracle user [root@oemdb ~]# id uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 [root@oemdb ~]# vi /etc/security/limits.conf [root@oemdb ~]# cat /etc/security/limits.conf | grep -v "#" 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 oracle soft data unlimited oracle hard data unlimited C) Repository Database Parameter Changes 1) Compatible Parameter: Recommendation : The compatible instance parameter must be set to the same version value as the database instance of the EM repository. 2) db_block_size: Recommendation : The db_block_size instance parameter needs to be set to 8192. 3) Processes : Recommendation : The processes parameter needs to be set to at least 300. 4) pga_aggregate_target: Recommendation : The pga_aggregate_target parameter should be set to at least 191 MB. 5) workarea_size_policy: Recommendation : The workarea_size_policy parameter should be allowed to default. The default value is AUTO. 6) session_cached_cursors: Recommendation : The session_cached_cursors parameter should be set to any value between 200 and 500. 7) open_cursors: Recommendation : The open_cursors instance parameter should be set at least 300. 8) sga_target: Recommendation : The sga_target instance parameter should be set to at least 763 MB, and twice the size of the pga_aggregate_target setting. 9) log_buffer: Recommendation : The log_buffer instance parameter should be set to at least 977 KB. 10) shared_pool_size: Recommendation : The shared_pool_size instance parameter should be set to at least 429 MB or one third of the sga_target size. 11) db_cache_size : Recommendation : The db_cache_size instance parameter should be allowed to default. The default value is TRUE. 12) large_pool_size : Recommendation : The large_pool_size instance parameter should be allowed to default. The default value is TRUE. 13 java_pool_size : Recommendation : The java_pool_size instance parameter should be allowed to default. The default value is TRUE. 14 streams_pool_size : Recommendation : The streams_pool_size instance parameter should be allowed to default. The default value is TRUE. 15) timed_statistics : Recommendation : The timed_statistics instance parameter should be allowed to default or it should be set to TRUE, which is the default value. 16) statistics_level : Recommendation : The statistics_level instance parameter should be allowed to default. It should never be set to BASIC. 17) redo log size : Recommendation : The size of the EM database instance should be 48 MB or greater. Generally, there should be 3 or more redo logs available of this size. 18) _allow_insert_with_update_check: Recommendation : This parameter should be TRUE for enabling backward compatibility in policy setting. This can be set to FALSE after the Installation is complete. 19) Invalid Objects: Recommendation: Compile invalid objects in the database selected for the EM Repository. 20) job_queue_processes : Recommendation : The job_queue_processes instance parameter should be at least 20. 21) nls_length_semantics : Recommendation : Set nls_length_semantics to BYTE. 22) UNDO management : Recommendation : Set UNDO management to automatic 23) Autoextensibility for UNDO, SYSTEM, TEMP: Recommendation : Ensure that the undo tablespace has at least one datafile set to autoextensible. Ensure that the SYSTEM tablespace has at least one datafile set to autoextensible. Ensure that the TEMP tablespace has at least one tempfile set to autoextensible. 24) Partitioning Option : Recommendation : Install the partitioning option on the EM repository database. 25) remote_login_passwordfile: Recommendation: 26) SYSMAN and SYSMAN_STB schema availability: Recommendation : SYSMAN and SYSMAN_STB schemas should be absent before installing. 27) Public Synonyms Existence: Recommendation : Remove the public synonyms. 28) Mgmt Tablespaces Existence: Recommendation : Remove the public synonyms. 29) EM schemas Existence: Recommendation : Remove the EM schemas. 30) SQL Plan Baseline Capture: Recommendation : The EM repository database instance parameter optimizer_capture_sql_plan_baselines must be set to FALSE (or default) for EM. 31) TEMP Tablespace Existence: Recommendation : EM Deployment needs temporary tablespace TEMP. 32) All Adaptive Features Parameters: Recommendation : All adaptive features parameters should be unset for improved SQL performance. alter system reset "_optimizer_nlj_hj_adaptive_join" scope=both sid='*'; alter system reset "_optimizer_strans_adaptive_pruning" scope=both sid='*'; alter system reset "_px_adaptive_dist_method" scope=both sid='*'; alter system reset "_sql_plan_directive_mgmt_control" scope=both sid='*'; alter system reset "_optimizer_dsdir_usage_control" scope=both sid='*'; alter system reset "_optimizer_use_feedback" scope=both sid='*'; alter system reset "_optimizer_gather_feedback" scope=both sid='*'; alter system reset "_optimizer_performance_feedback" scope=both sid='*'; D) Repository DB Listener: Recommendation: Repository database listener should be running to connect Repository DB through OEM portal. E) Required RPM Packages for Linux 8 : Recommendation: Below RPM packages should be installed on Linux 8 server before installing OEM. Package Requirements for Oracle Management Service (Oracle Linux 8) :
Package Requirements for Oracle Management Agent (Oracle Linux 8) :
F) Minimum Patchset Version Please note that the monimum patch release is 19.22 to install OEM 24ai. Once all the pre-requisites are completed then you can start the Installation. |
Issues Facaed during pre-requisite KIT run:
1) You must have a repository database listener running on server.
2) Please note that the monimum patch release is 19.22 to install OEM 24ai.
3) The minimum required disk space is 37.3 GB to complete the OEM Cloud Control 24ai Installation without which you can not proceed installation activity.
Thanks for reading this post ! Please comment if you like this post ! Click FOLLOW to get future blog updates !
Thank you for visiting my blog ! Thanks for your comment !