怎么部署EM Cloud Control Oracle12
admin
2023-02-07 14:00:02
0
[root@emcc ~]# yum install -y glibc-devel.i686

[root@emcc ~]# su - oracle
[oracle@emcc ~]$ emca -deconfig dbcontrol db -repos drop -SYS_PWD oracle -SYSMAN_PWD oracle

STARTED EMCA at May 30, 2019 12:37:38 PM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle.  All rights reserved.

Enter the following information:
Database SID: emcc
Listener port number: 1521

----------------------------------------------------------------------
WARNING : While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: yes
May 30, 2019 12:37:48 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/emcc/emca_2019_05_30_12_37_38.log.
May 30, 2019 12:37:48 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
WARNING: ORA-28000: the account is locked

May 30, 2019 12:37:48 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
WARNING: Error initializing SQL connection. SQL operations cannot be performed
May 30, 2019 12:37:48 PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be performed. Some of the possible reasons may be: 
 1) EM is configured with different hostname then physical host. Set environment variable ORACLE_HOSTNAME= and re-run EMCA script 
 2) ORACLE_HOSTNAME is set. Unset it and re-run EMCA script
May 30, 2019 12:37:48 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
May 30, 2019 12:38:47 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at May 30, 2019 12:38:47 PM

[oracle@emcc ~]$ sqlplus / as sysdba
SQL> alter system set processes=300 scope=spfile;
System altered.

SQL>alter system set session_cached_cursors=200 scope=spfile;
System altered.

SQL> alter system set job_queue_processes=20 scope=spfile;
System altered.

[oracle@emcc ~]$ mkdir -p /u01/app/oracle/Middleware
[oracle@emcc ~]$ mkdir -p /u01/app/oracle/agent

[oracle@emcc ~]$ unzip em12105_linux64_disk1.zip
[oracle@emcc ~]$ unzip em12105_linux64_disk2.zip
[oracle@emcc ~]$ unzip em12105_linux64_disk3.zip

[oracle@emcc ~]$ ./runInstaller

怎么部署EM Cloud Control Oracle12

怎么部署EM Cloud Control Oracle12

怎么部署EM Cloud Control Oracle12

怎么部署EM Cloud Control Oracle12

怎么部署EM Cloud Control Oracle12

怎么部署EM Cloud Control Oracle12

怎么部署EM Cloud Control Oracle12

怎么部署EM Cloud Control Oracle12

怎么部署EM Cloud Control Oracle12

[root@emcc ~]# /u01/app/oracle/Middleware/oms/allroot.sh

Starting to execute allroot.sh ......... 

Starting to execute /u01/app/oracle/Middleware/oms/root.sh ......
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/Middleware/oms

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: 
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: 
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: 

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
/etc exist

Creating /etc/oragchomelist file...
/u01/app/oracle/Middleware/oms
Finished execution of  /u01/app/oracle/Middleware/oms/root.sh ......


Starting to execute /u01/app/oracle/agent/core/12.1.0.5.0/root.sh ......
Finished product-specific root actions.
/etc exist
Finished execution of  /u01/app/oracle/agent/core/12.1.0.5.0/root.sh ......

怎么部署EM Cloud Control Oracle12

https://192.168.40.99:7802/em

怎么部署EM Cloud Control Oracle12

怎么部署EM Cloud Control Oracle12

[root@emcc ~]# vi /etc/oragchomelist
# /u01/app/oracle/Middleware/oms
# /u01/app/oracle/agent/core/12.1.0.5.0:/u01/app/oracle/agent/agent_inst

[oracle@emcc ~]$ cd /u01/app/oracle/Middleware/oms/bin
[oracle@emcc bin]$ ./emctl status oms
Oracle Enterprise Manager Cloud Control 12c Release 5  
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
WebTier is Up
Oracle Management Server is Up

[oracle@emcc ~]$ cd /u01/app/oracle/agent/core/12.1.0.5.0/bin
[oracle@emcc bin]$ ./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 5  
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 12.1.0.5.0
OMS Version            : 12.1.0.5.0
Protocol Version       : 12.1.0.1.0
Agent Home             : /u01/app/oracle/agent/agent_inst
Agent Log Directory    : /u01/app/oracle/agent/agent_inst/sysman/log
Agent Binaries         : /u01/app/oracle/agent/core/12.1.0.5.0
Agent Process ID       : 15941
Parent Process ID      : 15897
Agent URL              : https://emcc.gscaifu.com:3872/emd/main/
Local Agent URL in NAT : https://emcc.gscaifu.com:3872/emd/main/
Repository URL         : https://emcc.gscaifu.com:4903/empbs/upload
Started at             : 2019-05-30 15:01:23
Started by user        : oracle
Operating System       : Linux version 2.6.32-431.el6.x86_64 (amd64)
Last Reload            : (none)
Last successful upload                       : 2019-05-30 15:23:48
Last attempted upload                        : 2019-05-30 15:23:48
Total Megabytes of XML files uploaded so far : 1.25
Number of XML files pending upload           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 25.47%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2019-05-30 15:27:37
Last successful heartbeat to OMS             : 2019-05-30 15:27:37
Next scheduled heartbeat to OMS              : 2019-05-30 15:28:37

---------------------------------------------------------------
Agent is Running and Ready

上一篇:Redis Cluster--运维管理

下一篇:redis集群

相关内容

热门资讯

工业和信息化部:依托标准牵引智... 日前,在北京举办的《人工智能 智能体互联》系列标准应用推进专题会上,工业和信息化部科技司副司长甘小斌...
原创 强... 进入下半年,子系品牌新一轮旗舰和中端性能机开始密集预热,近期更是有博主连续放出两条关键信息,分别指向...
“文学超界面”探索数字时代人文... 来源:新华网 当严肃文学的深厚内核遇见人工智能生成内容(AIGC)的影像创造力,会碰撞出怎样的火花...
以防长称已为应对伊朗局势做好“... △以色列国防部长卡茨(资料图)当地时间23日,据以色列方面消息,以色列国防部长卡茨当天表示,鉴于当前...
美参议院否决限制特朗普对伊战争... △美国国会(资料图)当地时间23日,美国参议院以49票对47票的表决结果,否决了旨在限制特朗普对伊朗...
工信部部长:搞“脱钩断链”对谁... 7月23日,2026年亚太经合组织(APEC)数字和人工智能部长会议新闻发布会在成都召开。会议主席、...
AMD展示最强AI加速器MI4... IT之家 7 月 24 日消息,今天(7 月 24 日)在美国旧金山召开的年度盛会 Advancin...
河北:知行研学度盛夏 多彩实践... 冀时新闻报道暑假期间,我省各地推出形式多样的青少年研学活动,让孩子们在实践中增长见识、锤炼品格,度过...
世界互联网大会数智健康工作组以... 7月22日,2026年世界互联网大会数字丝路发展论坛在陕西西安开幕。这是世界互联网大会连续第三年举办...
开立医疗获得实用新型专利授权:... 证券之星消息,根据天眼查APP数据显示开立医疗(300633)新获得一项实用新型专利授权,专利名为“...