`

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:

  • Database Grid Control

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.

  • Database Control

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:

  • A local version of the Oracle Management Service designed to work with the local database or clustered database.
  • A local Oracle Management Repository installed in the local database and designed to store management data for the Database Control.

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:

Windows

Linux

LISTENER.ORA listener.ora
SQLNET.ORA sqlnet.ora
TNSNAMES.ORA tnsnames.ora

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
$ emca -config dbcontrol db

STARTED EMCA at Fri May 14 10:43:22 MEST 2004
Enter the following information about the database
to be configured.

Listener port number: 1521
Database SID: AKI1
Service name:
AKI1.WORLD
Email address for notification: martin.zahn@akadia.com
Email gateway for notification:
mailhost
Password for dbsnmp:
xxxxxxx
Password for sysman:
xxxxxxx
Password for sys:
xxxxxxx

---------------------------------------------------------
You have specified the following settings

Database ORACLE_HOME: /opt/oracle/product/10.1.0
Enterprise Manager ORACLE_HOME: /opt/oracle/product/10.1.0

Database host name ..........: akira
Listener port number .........: 1521
Database SID .................: AKI1
Service name .................: AKI1
Email address for notification: martin.zahn@akadia.com
Email gateway for notification: mailhost
---------------------------------------------------------
Do you wish to continue? [yes/no]: yes
AM oracle.sysman.emcp.EMConfig updateReposVars
INFO: Updating file ../config/repository.variables ...

Now wait about 10 Minutes to complete!

M oracle.sysman.emcp.EMConfig createRepository
INFO: Creating repository ...
M oracle.sysman.emcp.EMConfig perform
INFO: Repository was created successfully
M oracle.sysman.emcp.util.PortQuery findUsedPorts
INFO: Searching services file for used port
AM oracle.sysman.emcp.EMConfig getProperties
...........
...........
INFO: Starting the DBConsole ...
AM oracle.sysman.emcp.EMConfig perform
INFO: DBConsole is started successfully
INFO: >>>>>>>>>>> The Enterprise Manager URL is http://akira:5500/em <<<<<<<<<<<
Enterprise Manager configuration is completed successfully
FINISHED EMCA at Fri May 14 10:55:25 MEST 2004

Try to connect to the database Control

http://akira:5500/em

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/<hostname>_<SERVICE_NAME>. For Example our DbConsole Setup Directory looks as follows:

$ pwd
/opt/oracle/product/10.1.0/akira_AKI1/sysman/config

$ ls -l
-rw-r--r-- b64InternetCertificate.txt
-rw-r--r-- emagentlogging.properties
-rw-r--r-- emd.properties
-rw-r--r-- emomsintg.xml
-rw-r--r-- emomslogging.properties
-rw-r--r-- emoms.properties
-rw-r--r-- OUIinventories.add

The most important file is emoms.properties, where you can find all the configuration parameters.

#Fri May 14 10:54:49 CEST 2004
oracle.sysman.emSDK.svlt.ConsoleServerName=
akira_Management_Service
oracle.sysman.eml.mntr.emdRepPwd=0b878f6184e8319d
emdrep.ping.pingCommand=/bin/ping <hostname>
oracle.sysman.eml.mntr.emdRepPort=1521
oracle.sysman.eml.mntr.emdRepDBName=AKI1.WORLD
oracle.sysman.emSDK.svlt.ConsoleMode=standalone
oracle.sysman.emRep.dbConn.statementCacheSize=30
oracle.sysman.db.isqlplusUrl=
http/://akira/:5560/isqlplus/dynamic
oracle.sysman.emSDK.svlt.ConsoleServerPort=5500
oracle.sysman.eml.mntr.emdRepRAC=FALSE
oracle.sysman.emSDK.emd.rt.useMonitoringCred=true
oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE
oracle.sysman.db.isqlplusWebDBAUrl=
http/://akira/:5560/isqlplus/dba/dynamic
oracle.sysman.emSDK.svlt.ConsoleServerHost=akira
oracle.sysman.emSDK.svlt.ConsoleServerHTTPSPort=5500
oracle.sysman.eml.mntr.emdRepServer=akira
oracle.sysman.eml.mntr.emdRepSID=AKI1
oracle.sysman.emSDK.sec.ReuseLogonPassword=true
oracle.sysman.eml.mntr.emdRepConnectDescriptor=
(DESCRIPTION/=(ADDRESS_LIST/=
(ADDRESS/=(PROTOCOL/=TCP)(HOST/=akira)(PORT/
=1521)))(CONNECT_DATA/=(SERVICE_NAME/=AKI1)))
oracle.sysman.eml.mntr.emdRepUser=SYSMAN
oracle.sysman.db.adm.conn.statementCacheSize=2
oracle.sysman.db.perf.conn.statementCacheSize=30

Automatically start and stop the DB-Console

$ emctl start dbconsole
$ emctl stop dbconsole
$ emctl status dbconsole

Oracle Enterprise Manager 10g Database
Control Release 10.1.0.2.0
Copyright (c) 1996, 2004 Oracle Corporation.
All rights reserved.
http://akira:5500/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
---------------------------------------------------
Logs are generated in directory
/opt/oracle/product/10.1.0/akira_AKI1/sysman/log

Here you can find a start/stop script for the DB-Console for Gentoo Linux.

分享到:
评论

相关推荐

    Manually Cloning Oracle Applications Release 11i with 10g or 11g

    Manually Cloning Oracle Applications Release 11i with 10g or 11g RAC (Doc ID 760637.1)

    手工创建Oracle数据库(Manually Creating an Oracle Database On Linux).mp4

    本资源通过手工创建oracle数据库,比较详细。克服了盲目性,对于教学双方人员学习数据库的创建好处很多,提高的学生的针对性与盲目性。可以帮助学生有效地克服手工创建oracle数据库的恐慌,也减少了教师讲授课程的...

    presto-oracle

    Presto OraclePlugin This is a plugin for Presto that allow ...Oracle Driver is not available in common repositories, so you will need to download it from Oracle and install manually in your repository.

    linux下修改RHEL数据源实现Oracle 11g补丁包自动安装.docx

    ### Linux下修改RHEL数据源实现Oracle 11g补丁包自动安装 #### 概述 在Linux环境下,为了确保系统稳定运行并能够顺利安装Oracle 11g的补丁包,通常需要对RHEL(Red Hat Enterprise Linux)的数据源进行修改。这涉及...

    linux oracle9i 安装图解

    - 手动分区(Manually partition with Disk Druid)以确保Oracle有足够的空间。创建以下分区: - /boot: 300M - /: 1500M - swap: 1G - /home: 2G - /tmp: 1G - /usr: 10.5G - 不设置启动密码,直接“Next”...

    asu_ug_pdf_v10.4_may2017.pdf

    To modify iSCSI settings with the ASU, you must first manually configure the values using the server Setup utility settings on IMM-based servers. For more information, see “Configuring iSCSI” on ...

    Creating__the_DATABASE_Manually.rar_Creating

    Oracle 10g及以后版本使用spfile,而早期版本使用pfile。修改参数如`DB_FILE_NAME_CONVERT`以指定数据文件的位置。 5. **创建控制文件** 控制文件记录了数据库的元数据信息。在启动数据库之前,必须有一个控制文件...

    Oracle sqldeveloper without jdk (win+linux)

    SQL Developer can connect to an Oracle Database irrespective of the database character set and the database national (NCHAR) character set. All functionality which does not involve entering or ...

    Oracle.Data.Access.Components.v6.80.0.47.FS.forD5-D2009.rar

    Oracle.Data.Access.Components.v6.80.0.47.FS.forD5-D2009 Oracle Data Access Components Source Code Copyright 1997-2009, Devart. All Rights Reserved If you want that the odacvcl package does not ...

    Simple application that shows how to use the Data Control to

    Simple application that shows how to use the Data Control to connect to the Biblio.mdb database and display all authors in the Authors table.

    最完整的Toad For Oracle使用手册

    ### Toad for Oracle 使用手册关键知识点总结 #### 一、简介与新特性 - **Toad for Oracle**:是一款强大的数据库开发与管理工具,适用于Oracle数据库环境。 - **新版本特性**:概述了Toad for Oracle最新版本的...

    利用 Oracle 和 PHP 管理分布式跟踪文件

    See - tfmadmin_create.sql This account will be the repository for all of the Oracle objects used by the utility and will be responsible for retrieving information from the file system for presentation...

    The Lancaster Corpus of Mandarin Chinese

    The Lancaster Corpus of Mandarin Chinese (LCMC) is designed as a Chinese match for the FLOB and FROWN corpora for modern British and American English. The corpus is suitable for use in both ...

    建伍378G写频软件

    NOTE: Select the trunking channel group on the transceiver manually before enter the Alignment Mode. "SmarTrunk & SmarTrunk II are registered trademarks of SmarTrunk Systems, Inc., Hayward, ...

    The COREL Database for Content based Image Retrieval

    We manually divided 10,800 images from the Corel Photo Gallery into 80 concept groups, e.g., autumn, aviation, bonsai, castle, cloud, dog, elephant, iceberg, primates, ship, stalactite, steam-engine, ...

    qt动态场景源码

    在本文中,我们将深入探讨如何使用Qt框架来创建动态场景,特别是基于C++实现的案例。Qt是一个跨平台的应用程序开发框架,广泛用于GUI(图形用户界面)开发,同时也支持非GUI应用程序。它提供了丰富的API,使开发者...

    plsqldev13.0.0.1882x32主程序+ v12中文包+keygen

    You can manually enter the filter [removed]such as "owner, name" above, to show all columns with these 2 words in the name), or you can build a column filter by pressing the [...] button: A "Compare ...

    SAP PO/PI教程 Process Orchestration The Comprehensive Guide

    11.4.3 Configure the Channel 11.4.4 Retrieve the Large Message from SAP BPM 11.4.5 Update the Status of the Large Message from SAP BPM 11.5 SAP BPM Application Programming Interface 11.5.1 ...

    zabbix部署文档

    10. **设置开机启动**:通过编辑rc.local脚本,确保zabbix相关的服务在系统启动时自动运行。 11. **Web界面安装**:通过浏览器访问zabbix的Web安装向导,填写数据库连接信息,并完成初始设置。 12. **登录并检查...

    Oracle12c在CentOS7操作系统下环境搭建手册.docx

    ### Oracle12c在CentOS7操作系统下环境搭建手册 #### 概述 本文档将详细介绍如何在CentOS7操作系统上搭建Oracle12c数据库环境。为了顺利进行环境搭建,首先需要准备一定的硬件条件和软件资源。具体而言,推荐使用...

Global site tag (gtag.js) - Google Analytics