Tuesday, September 28, 2010

Configure EM DBcontrol in 11gR2

[11gr2@rh5 grid]$ emca -config dbcontrol db -repos create

STARTED EMCA at Sep 28, 2010 12:27:55 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database SID: orcl
Listener port number: 1521
Listener ORACLE_HOME [ /u11gr2/app/oracle/product/11.2.0/grid ]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional): luodonghua@gmail.com
Outgoing Mail (SMTP) server for notifications (optional):
ASM ORACLE_HOME [ /u11gr2/app/oracle/product/11.2.0/grid ]:
ASM SID [ +ASM ]:
ASM port [ 1521 ]:
ASM username [ ASMSNMP ]:
ASM user password:
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /u11gr2/app/oracle/product/11.2.0/dbhome_1

Local hostname ................ rh5.lab.dbaglobe.com
Listener ORACLE_HOME ................ /u11gr2/app/oracle/product/11.2.0/grid
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ............... luodonghua@gmail.com
Outgoing Mail (SMTP) server for notifications ...............
ASM ORACLE_HOME ................ /u11gr2/app/oracle/product/11.2.0/grid
ASM SID ................ +ASM
ASM port ................ 1521
ASM user role ................ SYSDBA
ASM username ................ ASMSNMP

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 28, 2010 12:28:31 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u11gr2/app/oracle/cfgtoollogs/emca/orcl/emca_2010_09_28_00_27_55.log.
Sep 28, 2010 12:28:33 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Sep 28, 2010 12:37:03 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Sep 28, 2010 12:37:10 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Sep 28, 2010 12:38:56 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Sep 28, 2010 12:38:59 AM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library configured successfully.
Sep 28, 2010 12:38:59 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Sep 28, 2010 12:39:33 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Sep 28, 2010 12:39:33 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Sep 28, 2010 12:40:00 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Sep 28, 2010 12:40:00 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Sep 28, 2010 12:42:12 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Sep 28, 2010 12:42:14 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://rh5.lab.dbaglobe.com:1158/em <<<<<<<<<<<
Sep 28, 2010 12:42:22 AM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************ WARNING ************************

Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /u11gr2/app/oracle/product/11.2.0/dbhome_1/rh5.lab.dbaglobe.com_orcl/sysman/config/emkey.ora. Please ensure this file is backed up as the encrypted data will become unusable if this file is lost.

***********************************************************
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 28, 2010 12:42:22 AM