码迷,mamicode.com
首页 > 数据库 > 详细

Oracle 12C配置EM

时间:2017-11-10 12:48:46      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:mct   proc   oracle   emc   12c   monit   product   time   dba   

12C配置OEM同之前的版本差别较大,没有了emctl,而是直接使用如下方法配置:

SQL*Plus: Release 12.1.0.2.0 Production on Tue Jul 19 07:19:33 2016
Copyright (c) 1982, 2014, Oracle.  All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL> exec DBMS_XDB_CONFIG.SETHTTPPORT(8080);
PL/SQL procedure successfully completed.
SQL> 

配置成功后直接访问
http://hostname:8080/em就OK了

参考文档:

To configure EM Express for a CDB: 
In SQL*Plus, access a container in a CDB.
The user must have common SYSDBA administrative privilege, and you must exercise this privilege using AS SYSDBA at connect time. The container can be the root or a PDB.
See "Accessing a Container in a CDB with SQL*Plus".
Set the HTTP or HTTPS port in one of the following ways:
To set the HTTP port, run the following procedure:
exec DBMS_XDB_CONFIG.SETHTTPPORT(http_port_number);
Replace http_port_number with the appropriate HTTP port number.
To set the HTTPS port, run the following procedure:
exec DBMS_XDB_CONFIG.SETHTTPSPORT(https_port_number);
Replace https_port_number with the appropriate HTTPS port number.
Each container must use a unique port for EM Express.
Repeat steps 1 and 2 for each container that you want to manage and monitor with EM Express.
After the port is set for each container, you can access EM Express using one of the following URLs:
The URL for the HTTP port:
http://database_hostname:http_port_number/em/

Oracle 12C配置EM

标签:mct   proc   oracle   emc   12c   monit   product   time   dba   

原文地址:http://www.cnblogs.com/Clark-cloud-database/p/7813880.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!