Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

OEM12C installation documentation

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

OEM12C installation documentation

Environment: OEM12.1.0.5

Operating system: CENTOS6.7

ORACLE:11.2.0.3

1. Hardware requirements

2. Software package requirements

-RHEL6.X OEL6.X version of for oms

Make-3.81

Binutils-2.20.51.0.2-5.11

Gcc-4.4.4

Libaio-0.3.107

Glibc-common-2.12-1

Libstdc++-4.4.4

LibXtst-1.0.99.2-3.el6.x86 _ 64.rpm

Sysstat-9.0.4

Glibc-devel-2.12-1.7.el6.i686 (T his is a32-bit package)

Glibc-devel-2.12-1.7.el6.x86_64 (This is a64-bit package)

(Applicable only for Oracle Linux 6.2 which includes RH6.2 and UEK 6.2) glibc-2.12-1.47.0.2

Glibc-2.5-12-library

-- RHEL6.X OEL6.X version of for AGENT

Make-3.81

Binutils-2.20.51.0.2-5.11

Gcc-4.4.4

Libaio-0.3.107

Glibc-common-2.12-1.7

Libstdc++-4.4.4

Sysstat-9.0.4

3. Kernel parameters

-for oms

Kernel.shmmax = 4294967295 (minimum, if the database is on the same server, then oracle is the main)

UID soft nofile 4096

UID hard nofile 16384

Ulimit-u To verify whether it is set tounlimited, run the following command. If it is set to unlimited, the outputwill be unlimited. Ulimit-n If the current value is not set to 13312

This is set in / etc/profile

4. Port confirmation

-confirm that the port is available and is not occupied

Admin Server HTTP SSL Port = 7101-7200

Enterprise Manager Upload HTTP Port = 4889-4898

Enterprise Manager Upload HTTP SSL Port = 1159, 4899-4908

Enterprise Manager Central Console HTTPPort = 7788-7798

Enterprise Manager Central Console HTTP SSLPort = 7799-7809

Oracle Management Agent Port = 3872, 1830-1849

Node Manager HTTP SSL Port = 7401-7500

Managed Server HTTP Port = 7201-7300

Managed Server HTTPS Port = 7301-7400

5. Create an installation directory

Mkdir-p / u01/app/oracle/Middleware

Mkdir-p / u01/app/oracle/MiddlewareAgent

6. Install ORCLE software and database

Install oracle software (brief)

6.1 install the database through a template

Extract the template file 12.1.0.2.0_Database_Template_for_EM12_1_0_5_0_Linux_x64.zip to

Unzip-d $ORACLE_HOME/assistants/dbca/templates 12.1.0.2.0_Database_Template_for_EM12_1_0_5_0_Linux_x64.zip

Then use this template to install the database instance

6.2 manually install the database

If the database is configured with dbcontrol, delete it using the following command:

$emca-deconfig dbcontrol db-repos drop-SYS_PWD-SYSMAN_PWD

Sqlplus / AS SYSDBA

ExecDBMS_AUTO_TASK_ADMIN.DISABLE (client_name = > 'auto optimizer statscollection',operation = > NULL,window_name = > NULL)

Alter system set db_securefile = PERMITTEDscope=both

Alter system set parallel_max_servers = 1scope=both

Alter system set session_cached_cursors = 200scope= spfile;-200,500

ALTER SYSTEM SET shared_pool_size=600MSCOPE=SPFILE;-1 sga 3 sga size

ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE

ALTER SYSTEM SET shared_pool_size=600MSCOPE=SPFILE

ALTER SYSTEM SET pga_aggregate_target=1GSCOPE=SPFILE

ALTER SYSTEM SET job_queue_processes=20SCOPE=SPFILE

7. Install OEM

Unzip em12105_linux64_disk1.zip

Unzip em12105_linux64_disk2.zip

Unzip em12105_linux64_disk3.zip

. / runInstaller

-- verify prerequisites

Install/requisites/bin/emprereqkit

However, if you plan to use a databaseinstance that was created with a preconfigured Management Repository using thedatabase templates offered by Oracle, then make sure you pass the followingparameter while invoking the EM Prerequisite Kit.

-componentVariablesrepository:EXECUTE_CHECKS_NOSEED_DB_ FOUND:false

If you accidently exit the installer beforeclicking Retry, then do NOT restart the installer to reach the same screen;instead, invoke the runConfig.sh script from the OMS home to rerun the ConfigurationAssistant in silent mode. For Microsoft Windows platforms, invoke runConfig.batscript.

$/ oui/bin/runConfig.shORACLE_HOME= MODE=perform ACTION=configureCOMPONENT_XML= {encap_oms.1_0_0_0_0.xml}

If you have run the installation wizard andlet the installation wizard take corrective actions to correct the repositorysettings, and if you have exited the wizard without completing the installationprocess, then remember that the repositorysettings might not reset to theiroriginal values because you abruptly ended the installation. In this case,before invoking the installation wizard again, run the following command tomanually reset the values

/ install/requisites/bin/emprereqkit-executionType install-prerequisiteXMLRootDir-connectString-dbUser SYS-dbPassword-reposUser sysman-dbRole sysdba-runPrerequisites-runPostCorrectiveActions

. / runInstaller-pluginLocation

-modify whether to start true automatically: start automatically

. / runInstaller START_OMS=trueb_startAgent=false

Administration and Management

$/ bin/emctl status oms

$/ bin/emctl status agent

$/ bin/emctl upload agent

After installation, only HTTPS is enabled by default, and HTTP is enabled.

Emctl secure unlock-console

Check whether plugins is installed successfully (WARN:Plugin configuration has failed)

$/ cfgtoollogs/cfgfw/CfmLogger-.log

Change the internal user password, such as SYSMAN_MDS, SYSMAN_OPSS, SYSMAN_APM, close OMS first, and then

/ bin/emctl config oms-change_repos_pwd

-backup OMS, including encrypted key

/ bin/emctl exportconfig oms-dir

Installation takes a lot of time

After the installation is complete, you can view

/ u01/app/oracle/Middleware/oms/install/ specific installation information

For example, setupinfo.txt can check the address of oem and the address of comsole.

Portlist.ini can view specific ports

Install em agent

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report