Lokeshaggarwal's DBA

Live the life you love. Love the life you live

How to configure Oracle Enterprise Manager


-bash-3.2$ emca -deconfig dbcontrol db -repos drop;

STARTED EMCA at Jun 9, 2010 11:47:51 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: dbtest
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:

Do you wish to continue? [yes(Y)/no(N)]: Yes
Jun 9, 2010 11:48:28 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.1.0/db_1/cfgtoollogs/emca/dbtest/emca_2010-06-09_11-47-50-PM.log.
Jun 9, 2010 11:48:31 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) …
Jun 9, 2010 11:48:48 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) …
Jun 9, 2010 11:55:17 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Jun 9, 2010 11:55:20 PM
-bash-3.2$ emca -deconfig dbcontrol db -repos create;

STARTED EMCA at Jun 9, 2010 11:55:46 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Incorrect usage.  Run ’emca -help’ for more details.
-bash-3.2$ emca -deconfig dbcontrol db -repos create

STARTED EMCA at Jun 9, 2010 11:55:53 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Incorrect usage.  Run ’emca -help’ for more details.
-bash-3.2$ emca -config dbcontrol db -repos create

STARTED EMCA at Jun 9, 2010 11:56:02 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: dbtest
Listener port number: 1521
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 [ /u01/app/oracle/product/10.1.0/db_1 ]:
ASM SID [ +ASM ]:
ASM port [ 1521 ]:
ASM user role [ SYSDBA ]:
ASM username [ SYS ]:
ASM user password:
—————————————————————–

You have specified the following settings

Database ORACLE_HOME ……………. /u01/app/oracle/product/10.1.0/db_1

Database hostname ……………. localhost.localdomain
Listener port number ……………. 1521
Database SID ……………. dbtest
Email address for notifications ……………
Outgoing Mail (SMTP) server for notifications ……………
ASM ORACLE_HOME ……………. /u01/app/oracle/product/10.1.0/db_1
ASM SID ……………. +ASM
ASM port ……………. 1521
ASM user role ……………. SYSDBA
ASM username ……………. SYS

—————————————————————–
Do you wish to continue? [yes(Y)/no(N)]: Y
Jun 9, 2010 11:58:37 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.1.0/db_1/cfgtoollogs/emca/dbtest/emca_2010-06-09_11-56-02-PM.log.
Jun 9, 2010 11:58:42 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) …
Jun 10, 2010 12:06:15 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Jun 10, 2010 12:07:02 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) …
Jun 10, 2010 12:09:41 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Jun 10, 2010 12:10:02 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://localhost.localdomain:5500/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Jun 10, 2010 12:10:04 AM

Advertisements

June 10, 2010 - Posted by | Uncategorized

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: