怎样在Oracle10g中启动和封锁OEM

   来历:网海拾贝




从Oracle10g开始,Oracle极年夜的增强');了OEM对象,并议决管事器端举行EM对象片面提醒。
在10g中,客户端可以不必安设任何Oracle客户端对象,仅凭赏识器就可以挪用壮年夜的EM对象。

在Server端,可以议决如下号令启动EM对象控制台:
emctl start dbconsole

以下是启动过程:
[oracle@danaly ~] $ emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://danaly.hurrray.com.cn:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control .......................... started.
------------------------------------------------------------------
Logs are generated in directory /opt/oracle/product/10.2.0/danaly.hurrray.com.cn_danaly/sysman/log

 

启动之后我们就可以议决在赏识器端输出以下url接见:
http://danaly.hurrray.com.cn:1158/em/

异常停止OEM可以输出如下号令:
emctl stop dbconsole

 


以下是停止过程:
[oracle@danaly ~] $ emctl stop dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://danaly.hurrray.com.cn:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ......  Stopped.

 

也可以直接键入emctl检查emctl支撑的选项:

[oracle@danaly ~] $ emctl
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Invalid arguments

Unknown command option
Usage::
   Oracle Enterprise Manager 10g Database Control commands:
       emctl start| stop| status| setpasswd dbconsole
       emctl secure

       emctl set ssl test|off|on em
       emctl set ldap    
emctl blackout options can be listed by typing "emctl blackout"
emctl config options can be listed by typing "emctl config"
emctl secure options can be listed by typing "emctl secure"
emctl ilint  options can be listed by typing "emctl ilint"
emctl deploy  options can be listed by typing "emctl deploy"




版权声明: 原创作品,容许转载,转载时请务必以超链接体式格局标明文章 原始来由 、作者信息和本声明。不然将究查司法责任。

原文地址:https://www.cnblogs.com/zgqjymx/p/1976047.html