ITPub博客

首页 > 数据库 > Oracle > SUSE RAC 11.2.0.4 FOR OEL7.1 EM 重建

SUSE RAC 11.2.0.4 FOR OEL7.1 EM 重建

原创 Oracle 作者:jikcheng 时间:2015-12-11 14:16:41 0 删除 编辑

1.         检查em集群配置:

 

 oracle@RAC1:~>  emca -displayConfig dbcontrol -cluster

STARTED EMCA at Aug 20, 2015 1:55:29 AM

EM Configuration Assistant, Version 11.2.0.3.0 Production

Copyright (c) 2003, 2011, Oracle.  All rights reserved.

 

Enter the following information:

Database unique name: orcl

Service name: orcl

Do you wish to continue? [yes(Y)/no(N)]: y

Aug 20, 2015 1:55:39 AM oracle.sysman.emcp.EMConfig perform

INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2015_08_20_01_55_28.log.

Aug 20, 2015 1:55:50 AM oracle.sysman.emcp.EMDBPostConfig showClusterDBCAgentMessage

INFO:

****************  Current Configuration  ****************

 INSTANCE            NODE           DBCONTROL_UPLOAD_HOST

----------        ----------        ---------------------

 

orcl              rac1              rac1

orcl              rac2              rac1

 

 

Enterprise Manager configuration completed successfully

FINISHED EMCA at Aug 20, 2015 1:55:50 AM

 

2.         启动em工具

注意要要声明以下变量。否则无法启动和关闭EM 。

export ORACLE_SID=orcl

export ORACLE_UNQNAME=orcl

 

emctl start dbconsole  

oracle@RAC1:~> emctl start  dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0

Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.

https://rac1:1158/em/console/aboutApplication

Starting Oracle Enterprise Manager 11g Database Control ............... started.

------------------------------------------------------------------

Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/rac1_orcl/sysman/log

 

 

3.         停止em

4.         emctl stop dbconsole  

 

oracle@RAC1:~> emctl stop dbconsole 

Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0

Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.

https://rac1:1158/em/console/aboutApplication

Stopping Oracle Enterprise Manager 11g Database Control ...

 ...  Stopped.

 

1.         检查em运行状况

oracle@RAC1:~> emctl status dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0

Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.

https://rac1:1158/em/console/aboutApplication

Oracle Enterprise Manager 11g is running.

------------------------------------------------------------------

Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/rac1_orcl/sysman/log

 

2.         em工具访问信息

cat $ORACLE_HOME/install/portlist.ini  

oracle@RAC1:~> cat $ORACLE_HOME/install/portlist.ini

Enterprise Manager Console HTTP Port (orcl) = 1158

Enterprise Manager Agent Port (orcl) = 3938

 

3.         em创建

emca -config dbcontrol db -repos create -cluster 

 

4.         em删除

emca -deconfig dbcontrol db -repos drop -cluster

 

 

EM主页面

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16615244/viewspace-1870411/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2015-03-01

  • 博文量
    7
  • 访问量
    13097