OEM12C安装文档
admin
2023-04-27 18:21:53
0

OEM12C安装文档

环境:OEM12.1.0.5

操作系统:CENTOS6.7

ORACLE:11.2.0.3

 

 

1、硬件要求

OEM12C安装文档

 OEM12C安装文档

2、软件包要求

----RHEL6.X OEL6.X版本 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版本 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、内核参数

----for oms

kernel.shmmax = 4294967295(最小,如果资料库位于同一台服务器,则以oracle为主)

 

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

 

此在/etc/profile里设置

4、端口确认

---确认一下端口可用状态,没有被占用

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、创建安装目录

mkdir -p /u01/app/oracle/Middleware

mkdir -p /u01/app/oracle/MiddlewareAgent

6、安装ORCLE软件及资料库

安装oracle软件(略)

6.1 通过模板安装资料库

解压模板文件12.1.0.2.0_Database_Template_for_EM12_1_0_5_0_Linux_x64.zip

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

然后使用该模板安装数据库实例

 

6.2 手动安装资料库

如果数据库配置了dbcontrol,使用如下命令将其删除:

$ 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 =200 scope= spfile ;   ---200-500之间

ALTER SYSTEM SET shared_pool_size=600MSCOPE=SPFILE;   ---1/3 sga大小

 

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、安装OEM

unzip  em12105_linux64_disk1.zip

unzip  em12105_linux64_disk2.zip

unzip  em12105_linux64_disk3.zip

./runInstaller

 

OEM12C安装文档

OEM12C安装文档

OEM12C安装文档

OEM12C安装文档

 

 

--验证先决条件

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 repository settings 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

 

----修改是否自动启动 true:自动启动

./runInstaller START_OMS=trueb_startAgent=false

 

 

管理

$/bin/emctl status oms

$/bin/emctl status agent

$/bin/emctl upload agent

安装完默认情况下只启用HTTPS,开启HTTP

emctl secure unlock -console

 

检查plugins是否安装成功(WARN:Plugin configuration has failed

$/cfgtoollogs/cfgfw/CfmLogger-.log

 

修改内部用户密码,如SYSMAN_MDS, SYSMAN_OPSS, SYSMAN_APM,先关闭OMS,然后

/bin/emctl config oms-change_repos_pwd

 

---备份OMS,包括加密key

/bin/emctl exportconfig oms-dir

 

 

安装很费时

安装完成后,可查看

/u01/app/oracle/Middleware/oms/install/具体的安装信息

如:setupinfo.txt可查看oem的地址,comsole的地址

portlist.ini 可查看具体端口

 

 

安装em agent

 


相关内容

热门资讯

烈焰熊熊,堪比“原子弹”,欧洲... 据美国有线电视新闻网(CNN)7月29日报道,席卷法国西南部的大片野火燃烧得如此猛烈,以至于形成了一...
外交部:对日本熊本县地震遇难者... 据凤凰卫视报道,针对日本熊本县发生强震造成人员伤亡,中国外交部发言人毛宁7月29日在例行记者会上表示...
高铁喧哗被劝阻后叫嚣全家体制内... “女子高铁喧哗被劝阻后叫嚣全家体制内”一事迎来官方通报。据新京报报道,7月29日,辽宁北票市公安局发...
广东专业蓝牙耳机定制厂家推荐,... 在珠三角腹地,广东早已成为全球蓝牙耳机产业链的“心脏地带”。从深圳华强北的声学元件批发,到东莞、惠州...
格雷厄姆葬礼变地缘竞价场!两大... 有些葬礼,送别的是逝者;有些葬礼,演的却是活人最现实的政治博弈。当地时间7月28日,美国老牌鹰派参议...
一道小学数学题难住3名医学博士... 3名不同学校的博士同做一道数学题,谁最厉害?近日,一陕西网友发布的视频引发热议。29日,视频发布者“...
华为全新“小艺任务”亮相:整合... 7月29日,在华为鸿蒙电脑新品技术沟通会上,终端云服务小艺业务部总裁贾永利宣布,小艺将迎来“从对话到...
广西日报特稿《王的猜想》火了,... 澎湃新闻记者 蒋子文 实习生 汤煜炜为应对外界购买纸质版特稿《王的猜想》的热情,《广西日报》宣布紧急...
月租20元内!2026年平价云... 不少手游玩家、账号运营从业者挑选云手机时,首要诉求就是低价够用,想要控制每月支出在20元以内,同时兼...
诺奖得主如何看待王虹境遇?“我... 中村修二(2014年诺贝尔物理学奖得主)【导读】近日王虹与邓煜双双获得2026年菲尔兹奖,成为了首批...