Bajwa Consulting Need senior Oracle DBA help? Performance tuning, Cloud migrations, GoldenGate, backup and DR. Plus 70+ free DBA scripts.
Visit bajwaconsulting.com →

Friday, April 25, 2014

How to configure the DBCONSOLE manually

create the password file for both ASM and database binaries

orapwd file=orapwORACLE_SID password=PASSWORD
 

Make sure that this directory is writeable by the ORACLE user

/opt/oracle/app/product/cfgtoollogs/emca
 

Run this command from the database binaries (not ASM), pick the correct options.

emca -config dbcontrol db -repos create
----
 
You have specified the following settings
Database ORACLE_HOME ................ /opt/oracle/app/product/oracle/11.2.0
Local hostname ................ myhostname.mydomain.type
Listener ORACLE_HOME ................ /opt/oracle/app/product/grid/11.2.0
Listener port number ................ 1534
Database SID ................ PROD
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
ASM ORACLE_HOME ................ /opt/oracle/app/product/grid/11.2.0
ASM SID ................ +ASM
ASM port ................ 1521
ASM user role ................ SYSDBA
ASM username ................ ASMSNMP
----

start/stop the console by running

emctl start/stop dbconsole.
 

drop the enterprise manager repository

emca -deconfig dbcontrol db -repos drop

No comments:

Post a Comment