前些日子,發現人事差勤資料庫的web dba admin consol掛了,怎麼連也沒有辦法連進去,由於在Oracle10g 中負責web dba admin consol是由另外的service來負責,所以就上網找了一下相關的文件,我將這邊文章原文結錄在這裡,供同好一起研究。
Manually configure the Oracle 10g EM dbconsole |
| ||||||||||
Overview When you choose to create a preconfigured database during the Oracle 10g installation, you can select the Oracle Enterprise Manager (OEM) interface that you want to use to manage the database. The following options are available:
This option is available only if an Oracle Management Agent is installed on the system. When the Installer detects an Oracle Management Agent on the system, it allows you to choose this option and specify the Oracle Management Service that you want to use to manage the database. If an Oracle Management Agent is not installed, you must choose to use Database Control to manage the database. However, if you install Oracle Management Agent after you install Oracle Database, you can then use Grid Control to manage this database.
This option is selected by default if an Oracle Management Agent is not installed on the system. However, even if a Management Agent is installed, you can still choose to configure Database Control to manage the database.
Custom installation If you choose the Custom installation type or the Advanced database configuration option during the installation, the Installer does not display the OEM setup screens. Instead, it runs the Database Configuration Assistant (DBCA) in interactive mode, which enables you to create a custom database. DBCA also enables you to specify the Oracle Enterprise Manager interface that you want to use. Furthermore, you can also use DBCA after the installation to configure Database Control for a database that was not previously configured to use it. However, if you decide to setup your own Database, you must install the Database Control manually. Setup your own Database and manually install the Database Control The Database Control relies on various underlying technologies to discover, monitor, and administer the Oracle Database environment. From the Database Control, you can monitor and administer a single Oracle Database instance. The Database Control Framework consists of the Database Control and its underlying technologies:
| |||||||||||
The following steps have to be performed. Create your own Database More information to setup your own Database can be found here:
Create the Database Control Repository and setup the OC4J Application Server Make sure, that you can connect to the Repository Database (Test it with SQL*Plus). Examples for Setup Files can be found here:
Now start the Oracle EM dbconsole Build Script ($ORACLE_HOME/bin/emca for Linux and $ORACLE_HOME\Bin\emca.bat for Windows). $ emca -repos create STARTED EMCA at Fri May 14 10:43:22 MEST 2004 ---------------------------------------------------------
Now wait about 10 Minutes to complete! M oracle.sysman.emcp.EMConfig createRepository
Try to connect to the database Control If you look at the installed schemas, you can now find the SYSMAN schema, which is the database Control Repository.
Troubleshooting If you have troubles to connect, check your local configuration which can be found in $ORACLE_HOME/ _ . For Example our DbConsole Setup Directory looks as follows: $ pwd
The most important file is emoms.properties, where you can find all the configuration parameters. #Fri May 14 10:54:49 CEST 2004
Automatically start and stop the DB-Console $ emctl start dbconsole Oracle Enterprise Manager 10g Database |