Oracle OEM安装配置

OEM–Oracle Enterprise Manager是一个图形化的数据库管理员工具。它为数据库管理员提供了一个集中的系统管理工具,同时它也是一个用来管理、诊断和调试多个数据库的工具.

如下是Oracle Enterprise Manager安装配置过程:

  • 获取帮助
[oracle@vastdata1 admin]$ emca|grep recreate
-config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure Database Control for a database
-config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure both Database Control and central agent management
-repos recreate: drop the current Database Control repository and recreate a new one
  • 安装OEM
[oracle@vastdata1 admin]$ emca -config dbcontrol db -repos recreate

STARTED EMCA at May 14, 2017 7:19:45 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle.  All rights reserved.

Enter the following information:
Database SID: PROD
Listener port number: 1521
Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/dbhome_1 ]:
Password for SYS user: 
Password for DBSNMP user: 
May 14, 2017 7:19:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
WARNING: ORA-28000: the account is locked

Password for SYSMAN user: 
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1

Local hostname ................ vastdata1.us.oracle.com
Listener ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1
Listener port number ................ 1521
Database SID ................ PROD
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------
----------------------------------------------------------------------
WARNING : While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
May 14, 2017 7:20:07 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/PROD/emca_2017_05_14_07_19_44.log.
May 14, 2017 7:20:07 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
May 14, 2017 7:21:07 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
May 14, 2017 7:21:07 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
May 14, 2017 7:24:27 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
May 14, 2017 7:24:30 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
May 14, 2017 7:25:12 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
May 14, 2017 7:25:15 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
May 14, 2017 7:26:24 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
May 14, 2017 7:26:24 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
May 14, 2017 7:27:04 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
May 14, 2017 7:27:04 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://vastdata1.us.oracle.com:1158/em <<<<<<<<<<<
May 14, 2017 7:27:08 AM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************  WARNING  ************************

Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted.  The encryption key has been placed in the file: /u01/app/oracle/product/11.2.0/dbhome_1/vastdata1.us.oracle.com_PROD/sysman/config/emkey.ora. Ensure this file is backed up as the encrypted data will become unusable if this file is lost.

***********************************************************
Enterprise Manager configuration completed successfully
FINISHED EMCA at May 14, 2017 7:27:08 AM
  • 查看终端状态
[oracle@vastdata1 admin]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
https://vastdata1.us.oracle.com:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/vastdata1.us.oracle.com_PROD/sysman/log
  • 终端控制:
    emctl status dbconsole
    emctl start dbconsole
    emctl stop dbconcole

https://vastdata1.us.oracle.com:1158/em无法打开

  • 解决:
    进入C:\Windows\System32\drivers\etc
    编辑hosts文件,添加如下地址并保存
    192.168.80.11 vastdata1.us.oracle.com

再次登入即可打开~~~

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
安装Oracle Enterprise Manager (OEM) 13.4,需要按照以下步骤进行操作: 1. 系统要求:首先,确保你的系统满足OEM 13.4的最低要求。这些要求包括:操作系统为Oracle Linux 7.x、Red Hat Enterprise Linux 7.x或SUSE Linux Enterprise Server 12.x;至少16GB的RAM和100GB的磁盘空间;所需的软件和库文件已经安装。 2. 下载OEM软件:登录到Oracle官方网站,从可用的下载页面上选择正确版本的OEM 13.4软件,并下载到本地。 3. 安装依赖组件:在开始OEM安装之前,确保已经安装了必要的依赖组件。这些组件包括Oracle Database、WebLogic Server和Java Development Kit (JDK)。 4. 安装OEM软件:在将下载的OEM软件解压缩后,打开解压缩目录,并找到“runInstaller.sh”文件。在终端中运行此脚本,它将启动OEM安装向导。 5. 安装过程:按照安装向导的指示进行操作。选择安装类型(单实例或多实例)、安装目录和管理员账户等选项。确认设置并继续安装过程。 6. 配置OEM:在安装完成后,运行配置向导以配置OEM。这将要求提供数据库详情、系统账户和密码等信息。确保在配置OEM时都提供正确的信息。 7. 启动OEM安装配置完成后,你可以启动OEM并访问管理控制台。通过指定正确的URL,使用你在配置过程中创建的管理员账户和密码进行登录。 请注意,在安装OEM之前,确保已经对OEM进行了充分的研究,并阅读了Oracle官方文档和安装指南。这将帮助你了解OEM的要求和步骤,并确保安装过程的顺利进行。此外,如果遇到任何问题,可以使用Oracle官方支持渠道来获取帮助和指导。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值