» 网友学堂 » MSSQL教程 » 如何在Oracle10g中启动和关闭OEM -> 查看 2007年02月20日 更新
如何在Oracle10g中启动和关闭OEM
作者:问天 发表时间:2007-2-20 12:01 阅读:320次 在百度搜索相关内容


Oracle
10g开始,
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
[color=#FFFFFF'][/color]


[color=#FFFFFF'][/color]

启动之后我们就可以通过在浏览器端输入以下url访问:
http://danaly.hurrray.com.cn:1158/em/
同样停止OEM可以输入如下命令:
emctl stop dbconsole
[color=#FFFFFF'][/color]



以下是停止过程:
[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
[color=#FFFFFF'][/color]

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"
转自:动态网制作指南 www.knowsky.com

#Advertisement