当前位置:Gxlcms > mysql > Linux平台下启动oracle11gEM控制台

Linux平台下启动oracle11gEM控制台

时间:2021-07-01 10:21:17 帮助过:34人阅读

当我们的oracle服务器是使用的Linux/Unix系统时,我们从windows或者其他的客户端想用启动oracle的EM工具了解一些系统系统信息时可

当我们的Oracle服务器是使用的Linux/Unix系统时,我们从windows或者其他的客户端想用启动oracle的EM工具了解一些系统系统信息时

可以采用如下方式:

首先在服务器端打开一个窗口,输入如下命令:emctl start

[oracle@oracle11g ~]$ emctl start
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Oracle Enterprise Manager 10g Database Control commands:
emctl start | stop dbconsole
emctl status | secure | setpasswd dbconsole
emctl status agent
emctl status agent -secure [-omsurl :/em/*>]
emctl getversion
emctl reload | upload | clearstate | getversion agent
emctl reload agent dynamicproperties [:]....
emctl config agent
emctl config agent updateTZ
emctl config agent getTZ
emctl resetTZ agent
emctl config agent credentials [[:]]
Blackout Usage :
emctl start blackout [-nodeLevel] [[:]].... [-d ]
emctl stop blackout
emctl status blackout [[:]]....

The following are valid options for blackouts
defaults to local node target if not specified.
If -nodeLevel is specified after ,the blackout will be applied to all targets and any target list that follows will be ignored.
Duration is specified in [days] hh:mm

emctl getemhome
emctl ilint
Em Key Commands Usage :
emctl config emkey -emkeyfile [-force] [-sysman_pwd ]
emctl config emkey -emkey [-emkeyfile ] [-force] [-sysman_pwd ]
emctl config emkey -repos [-emkeyfile ] [-force] [-sysman_pwd ]
emctl config emkey -remove_from_repos [-sysman_pwd ]
emctl config emkey -copy_to_repos [-sysman_pwd ]
emctl status emkey [-sysman_pwd ]

Secure DBConsole Usage :
emctl secure dbconsole -sysman_pwd [-passwd_file ]
[-host ] [-sid ] [-reset] [-secure_port ]
[-root_dc ] [-root_country ] [-root_state ] [-root_loc ]
[-root_org ] [-root_unit ] [-root_email ]
emctl secure status dbconsole

该命令的作用是查看EM工具是否已经安装配置,如果没有配置可以使用下面的命令来配置:

[oracle@oracle11g ~]$emca -config dbcontrol db -repos recreate

配置完成后,使用如下命令启动EM控制台:

[oracle@oracle11g ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://oracle11g:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ........................... started.

Logs are generated in directory /u01/oracle/oracle11g_orcl/sysman/log

启动成功,我们就可以在windows或者别的客户端使用IE工具进行登陆了.

https://192.168.120.149:1158/em/console

(IP根据自己的实际情况输入了,1158端口也根据实际情况输入了),然后登陆就OK啦!

linux

人气教程排行