create the password file for both ASM and database binaries
orapwd file=orapwORACLE_SID password=PASSWORDMake sure that this directory is writeable by the ORACLE user
/opt/oracle/app/product/cfgtoollogs/emcaRun 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
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.

No comments:
Post a Comment