Recreate EM For Oracle 10g RAC

来源:互联网 发布:炉石传说单卡数据 编辑:程序博客网 时间:2024/06/05 00:29

[oracle@rac01 ~]$ emca -config dbcontrol db -repos create -cluster

 

STARTED EMCA at Dec 3, 2010 4:05:00 PM

EM Configuration Assistant, Version 10.2.0.1.0 Production

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

 

Enter the following information:

Database unique name: devdb

Listener port number: 1521

Cluster name: crs

Password for SYS user: 

Password for DBSNMP user: 

Password for SYSMAN user: 

Email address for notifications (optional):

Outgoing Mail (SMTP) server for notifications (optional):

ASM ORACLE_HOME [ /opt/app/oracle/product/10.2.0/db_1 ]:

ASM port [ 1521 ]:

ASM user role [ SYSDBA ]:

ASM username [ SYS ]:

ASM user password: 

ASM user password: -----------------------------------------------------------------

 

You have specified the following settings

 

Database ORACLE_HOME ................ /opt/app/oracle/product/10.2.0/db_1

 

Database instance hostname ................ rac01

Listener port number ................ 1521

Cluster name ................ crs

Database unique name ................ devdb

Email address for notifications ...............

Outgoing Mail (SMTP) server for notifications ...............

ASM ORACLE_HOME ................ /opt/app/oracle/product/10.2.0/db_1

ASM port ................ 1521

ASM user role ................ SYSDBA

ASM username ................ SYS

 

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

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

Dec 3, 2010 4:05:25 PM oracle.sysman.emcp.EMConfig perform

INFO: This operation is being logged at /opt/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/devdb/emca_2010-12-03_04-04-59-PM.log.

Dec 3, 2010 4:05:30 PM oracle.sysman.emcp.EMReposConfig createRepository

INFO: Creating the EM repository (this may take a while) ...

Dec 3, 2010 4:17:33 PM oracle.sysman.emcp.EMReposConfig invoke

INFO: Repository successfully created

Dec 3, 2010 4:17:47 PM oracle.sysman.emcp.EMDBCConfig instantiateOC4JConfigFiles

INFO: Propagating /opt/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_rac01_devdb1 to remote nodes ...

Dec 3, 2010 4:17:49 PM oracle.sysman.emcp.EMDBCConfig instantiateOC4JConfigFiles

INFO: Propagating /opt/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_rac02_devdb2 to remote nodes ...

Dec 3, 2010 4:17:50 PM oracle.sysman.emcp.EMDBCConfig copyAndPropagateOC4JDir

INFO: Propagating /opt/app/oracle/product/10.2.0/db_1/oc4j/j2ee/isqlplus_rac01 to remote nodes ...

Dec 3, 2010 4:17:51 PM oracle.sysman.emcp.EMDBCConfig copyAndPropagateOC4JDir

INFO: Propagating /opt/app/oracle/product/10.2.0/db_1/oc4j/j2ee/isqlplus_rac02 to remote nodes ...

Dec 3, 2010 4:18:02 PM oracle.sysman.emcp.EMAgentConfig deployStateDirs

INFO: Propagating /opt/app/oracle/product/10.2.0/db_1/rac01_devdb1 to remote nodes ...

Dec 3, 2010 4:18:05 PM oracle.sysman.emcp.EMAgentConfig deployStateDirs

INFO: Propagating /opt/app/oracle/product/10.2.0/db_1/rac02_devdb2 to remote nodes ...

Dec 3, 2010 4:18:06 PM oracle.sysman.emcp.util.DBControlUtil startOMS

INFO: Starting Database Control (this may take a while) ...

Dec 3, 2010 4:20:24 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration

INFO: Database Control started successfully

Dec 3, 2010 4:20:25 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration

INFO: >>>>>>>>>>> The Database Control URL is http://rac01:1158/em <<<<<<<<<<<

Dec 3, 2010 4:20:27 PM oracle.sysman.emcp.EMDBPostConfig showClusterDBCAgentMessage

INFO:

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

 INSTANCE            NODE           DBCONTROL_UPLOAD_HOST

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

 

devdb1            rac01             rac01

devdb2            rac02             rac01

 

 

Enterprise Manager configuration completed successfully

FINISHED EMCA at Dec 3, 2010 4:20:28 PM

原创粉丝点击