從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"