千家信息网

怎么部署EM Cloud Control Oracle12

发表于:2024-12-13 作者:千家信息网编辑
千家信息网最后更新 2024年12月13日,这篇文章主要介绍"怎么部署EM Cloud Control Oracle12",在日常操作中,相信很多人在怎么部署EM Cloud Control Oracle12问题上存在疑惑,小编查阅了各式资料,
千家信息网最后更新 2024年12月13日怎么部署EM Cloud Control Oracle12

这篇文章主要介绍"怎么部署EM Cloud Control Oracle12",在日常操作中,相信很多人在怎么部署EM Cloud Control Oracle12问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答"怎么部署EM Cloud Control Oracle12"的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

[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 oracleSTARTED EMCA at May 30, 2019 12:37:38 PMEM Configuration Assistant, Version 11.2.0.3.0 ProductionCopyright (c) 2003, 2011, Oracle.  All rights reserved.Enter the following information:Database SID: emccListener 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)]: yesMay 30, 2019 12:37:48 PM oracle.sysman.emcp.EMConfig performINFO: 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 initSQLEngineLoaclyWARNING: ORA-28000: the account is lockedMay 30, 2019 12:37:48 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControlWARNING: Error initializing SQL connection. SQL operations cannot be performedMay 30, 2019 12:37:48 PM oracle.sysman.emcp.EMDBPreConfig performDeconfigurationWARNING: 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 scriptMay 30, 2019 12:37:48 PM oracle.sysman.emcp.EMReposConfig invokeINFO: Dropping the EM repository (this may take a while) ...May 30, 2019 12:38:47 PM oracle.sysman.emcp.EMReposConfig invokeINFO: Repository successfully droppedEnterprise Manager configuration completed successfullyFINISHED EMCA at May 30, 2019 12:38:47 PM[oracle@emcc ~]$ sqlplus / as sysdbaSQL> 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

[root@emcc ~]# /u01/app/oracle/Middleware/oms/allroot.shStarting 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/omsEnter 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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root.sh script.Now product-specific root actions will be performed./etc existCreating /etc/oragchomelist file.../u01/app/oracle/Middleware/omsFinished 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 existFinished execution of  /u01/app/oracle/agent/core/12.1.0.5.0/root.sh ......

https://192.168.40.99:7802/em

[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 omsOracle Enterprise Manager Cloud Control 12c Release 5  Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.WebTier is UpOracle Management Server is Up[oracle@emcc ~]$ cd /u01/app/oracle/agent/core/12.1.0.5.0/bin[oracle@emcc bin]$ ./emctl status agentOracle Enterprise Manager Cloud Control 12c Release 5  Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.---------------------------------------------------------------Agent Version          : 12.1.0.5.0OMS Version            : 12.1.0.5.0Protocol Version       : 12.1.0.1.0Agent Home             : /u01/app/oracle/agent/agent_instAgent Log Directory    : /u01/app/oracle/agent/agent_inst/sysman/logAgent Binaries         : /u01/app/oracle/agent/core/12.1.0.5.0Agent Process ID       : 15941Parent Process ID      : 15897Agent 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/uploadStarted at             : 2019-05-30 15:01:23Started by user        : oracleOperating System       : Linux version 2.6.32-431.el6.x86_64 (amd64)Last Reload            : (none)Last successful upload                       : 2019-05-30 15:23:48Last attempted upload                        : 2019-05-30 15:23:48Total Megabytes of XML files uploaded so far : 1.25Number of XML files pending upload           : 0Size of XML files pending upload(MB)         : 0Available disk space on upload filesystem    : 25.47%Collection Status                            : Collections enabledHeartbeat Status                             : OkLast attempted heartbeat to OMS              : 2019-05-30 15:27:37Last successful heartbeat to OMS             : 2019-05-30 15:27:37Next scheduled heartbeat to OMS              : 2019-05-30 15:28:37---------------------------------------------------------------Agent is Running and Ready

到此,关于"怎么部署EM Cloud Control Oracle12"的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注网站,小编会继续努力为大家带来更多实用的文章!

0