Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.2.0.4
This article will show how to display in dbconsole, information for the ASM instance used by the database. This is particularly usefull if:
(1). The database and ASM instance were manually created
(2). The database was originally created through dbca and it was configured to be managed thorugh dbconsole and the files were stored on filesystem. In a subsequent step, the files were stored in an ASM diskgroup.
(1)In 10G Release 1
emca -r -a
(2)In 10G Release 2
emca -config all db -repos recreate
This is an example of the execution of the previous command. The config all option is required for an existant database that is using ASM. This option will delete the current information stored into the repository.
Enter the following information:
Database SID: P10R2
Central agent home: /oradata2/102b ## This is the path for the ORACLE_HOME
# The following message is returned only if there is a configuration created for some
# database.
The database P10R2 is already being monitored by central agent(s)
Database Control is already configured for the database P10R2
You have chosen the central agent /oradata2/102b for monitoring the database P10
R2
You have chosen to configure Database Control for managing the database P10R2
Do you wish to continue? [yes(Y)/no(N)]: Y
Listener port number: 1521 ## Listener port #
Password for SYS user: r
Password for DBSNMP user: a
Password for SYSMAN user: r
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
ASM ORACLE_HOME [ /oradata2/102b ]:
ASM SID [ +ASM ]:
ASM port [ 1521 ]:
ASM user role [ SYSDBA ]:
ASM username [ SYS ]:
ASM user password: a
以前整理的一篇文章:
Oracle OEM 重建
http://blog.csdn.net/tianlesoftware/archive/2009/10/20/4702978.aspx
From Oracle
-------------------------------------------------------------------------------------------------------
Blog: http://blog.csdn.net/tianlesoftware
Email: [email protected]
DBA1 群:62697716(满); DBA2 群:62697977(满) DBA3 群:62697850(满)
DBA 超级群:63306533(满); DBA4 群: 83829929 DBA5群: 142216823
聊天 群:40132017 聊天2群:69087192
--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请