Tuesday, February 21, 2017

EMCA Configuration and Reconfiguration && run EMCA in multiple nodes

Use the below command  to run the emca in multiple nodes :

emca- reconfig-dbcontrol-cluster -EM_NODE ocluster02 -EM_NODE_LIST ocluster02

Here is the detailed explanation..

[oracle@ocluster02 ~]$ emca -reconfig dbcontrol -cluster -EM_NODE ocluster02 -EM_NODE_LIST ocluster02

STARTED EMCA at Feb 15, 2017 11:34:05 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: ocracdb
Service name: ocracdb
Do you wish to continue? [yes(Y)/no(N)]: y
Feb 15, 2017 11:34:39 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/ocracdb/emca_2017_02_15_11_34_04.log.
Feb 15, 2017 11:34:42 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Feb 15, 2017 11:34:45 AM oracle.sysman.emcp.EMAgentConfig performDbcReconfiguration
INFO: Propagating /u01/app/oracle/product/11.2.0/dbhome_1/ocluster02_ocracdb/sysman/config/emd.properties to remote nodes ...
Feb 15, 2017 11:34:46 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Feb 15, 2017 11:35:19 AM oracle.sysman.emcp.EMDBPostConfig performDbcReconfiguration
INFO: Database Control started successfully
Feb 15, 2017 11:35:19 AM oracle.sysman.emcp.EMDBPostConfig showClusterDBCAgentMessage
INFO:
****************  Current Configuration  ****************
 INSTANCE            NODE           DBCONTROL_UPLOAD_HOST
----------        ----------        ---------------------

ocracdb           ocluster01           ocluster01.bli.com
ocracdb           ocluster02           ocluster02.bli.com


Enterprise Manager configuration completed successfully
FINISHED EMCA at Feb 15, 2017 11:35:19 AM

[oracle@ocluster02 ~]$ 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://ocluster02.bli.com:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/ocluster02_ocracdb/sysman/log

No comments:

Post a Comment

Thanks for giving comments!!