« Oracle HowTo:如何快速杀死占用过多资源(CPU,内存)的数据库进程 | Blog首页 | Symantec VISION 2005 China下月召开 »
Oracle HowTo:如何在Oracle10g中启动和关闭OEM
作者:eygle |【转载时请务必以超链接形式标明文章原始出处和作者信息及本声明】链接:http://www.eygle.com/archives/2005/10/howto_control_10goem.html
从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 |
By eygle on 2005-10-28 00:00 | Comments (6) | Posted to HowTo | Oracle10g/11g | Edit |Pageviews:
留言 (6)
Good! 请问:
如果一个Oracle上有多个实例,除了实例danaly,还有实例testDB, 这时如何通过浏览器查看Database testDB,请赐教!
Posted by: Anonymous at January 24, 2006 10:53 AM
10g EM启动和SID有关,你可以启动多个EM在不同端口上
同一EM不能连接多个Server数据库,Oracle假定同一主机只安装一个数据库.
Posted by: eygle at January 24, 2006 11:07 AM
人家说的是testDB是数据库吧,在%oracle_home%\install\readme.txt可以查看登录的地址
Posted by: Ken at November 17, 2006 2:44 PM
如何重新配置oem
Posted by: bighammerwind at December 17, 2006 12:02 PM
我的dbconsole界面是中文的,那些按钮都显示不出来,知道怎么配置成英文的么?
Posted by: bulletming at June 21, 2007 6:58 PM
参考:
http://www.eygle.com/archives/2006/03/oracle10g_em_font_change.html
Posted by: Julia at June 21, 2007 8:42 PM
