如何创建Oracle10GEMdbcontrol

文章作者 100test 发表时间 2008:03:31 11:36:59
来源 100Test.Com百考试题网


Oracle10G的EM采用了web方式,并且分成了2个产品,database control和grid control。这里主要介绍如何创建单数据的dbcontrol。Grid control需要下载单独的光盘安装。

在用DBCA建库的时候,可以选择是否启用dbcontrol,启用的话需要在数据库中建立一个sysman的schema,用于保存EM的一些数据,这个就是EM的资料库(repository)。
使用命令行工具emca可以创建,修改,重建或者删除dbcontrol的配置。

SQL> 0select * from v$version.
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL>

由于要在数据库中建EM资料库,数据库和监听都必须已经启动并正常工作。
配置dbcontrol
[oracle@oracle10 ~]$ emca -config dbcontrol db
STARTED EMCA at Oct 27, 2007 9:33:48 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Database Control is already configured for the database orcl
You have chosen to configure Database Control for managing the database orcl
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: Y
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------
You have specified the following settings
Database ORACLE_HOME ................ /opt/oracle/product/10.2.0/Database
Database hostname ................ oracle10
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------

相关文章


巧妙恢复被误删的操作系统分区
七个完全删除U 设备硬件的办法
操作系统常见驱动故障及解决方法
在Windows系统中跟踪IP地址
如何创建Oracle10GEMdbcontrol
oracle的自动启动和关闭
ORA-02149与变量赋值
系统崩溃后,ORACLE9数据库的恢复方法
将图片文件存储到Oracle的存储过程
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛