天地不仁,以万物为刍狗!

关于Oracle EM基本配置

上一篇 / 下一篇  2008-12-05 12:03:23 / 个人分类:oracle

Oracle10GEM采用了web方式,并且分成了2个产品,database controlgrid controlGrid control需要下载单独的光盘安装ITPUB个人空间!X~)_}.l7E3}
在用DBCA建库的时候,可以选择是否启用dbcontrol,启用的话需要在数据库中建立一个sysmanschema,用于保存EM的一些数据,这个就是EM的资料库(repository)。使用命令行工具emca可以创建,修改,重建或者删除dbcontrol的配置。
由于要在数据库中建EM资料库,数据库和监听都必须已经启动并正常工作。
常用的命令
Yu5n#d9T0emca -repos create    
创建一个EM资料库
tu b(Z6iV*ki f0emca -repos recreate 
重建一个EM资料库
/^~GR@)BI0emca -repos drop       
删除一个EM资料库
emca -config dbcontrol db   配置数据库的Database ControlITPUB个人空间4Umv*@6bL6}4l+^
emca -deconfig dbcontrol db  
删除数据库的Database Control配置
emctl start dbconsole      启动EM console服务ITPUB个人空间4cF:M#Vs;m
emctl stop dbconsole       
停止EM console服务
emca -reconfig ports命令重新配置db controlagent的端口。通过查看$ORACLE_HOME/install/portlist.ini文件可以知道当前dbcontrol正在使用的端口,默认dbcontrol http端口1158agent端口3938ITPUB个人空间^&N+y*F*{AJ%dO
如果要重新配置端口,可以使用如下命令:ITPUB个人空间9C7eg?"G0jfk,k!Z
emca -reconfig ports -dbcontrol_http_port 1159
*E9]|*NX.aw)N4l0emca -reconfig ports -agent_port 3939
调试过程中出现的问题ITPUB个人空间,B h mj `l'TE
(1)由于安装数据库是设置的shared_pool_size太小,导致emca -config dbcontrol db时出错。后重新设置shared_pool_size=80M后解决问题。
9`(q ?OOc0(2)
安装完成后连接到oem速度很慢,经常报ORA-12518错误,已打开listner日志,目前尚未解决。

%gA rWa;}\0
调试过程记录
*D sw T4P1ZeB;M3N:`0C:\>
emctl status dbconsoleITPUB个人空间%H5[|?8q
OC4J Configuration issue. d:\ora10g/oc4j/j2ee/OC4J_DBConsole_hy.myoa.com_ora
2S%OXPc$DRn4w;y#E010g not found.
C:\>ITPUB个人空间nN9I`VHwn'tdF
C:\>
IW7sq2u0C:\>
emca -repos recreate
EMCA开始于2008-5-22 13:59:02
f&G9}%dGR I;U0EM Configuration Assistant 10.2.0.1.0
正式版
Q/e4AuH-~&U0
版权所有(c) 2003, 2005,Oracle。保留所有权利。
输入以下信息:
tM.n y9P ?7}d~&?C0
数据库SID: ora10gITPUB个人空间&oR^%T)gY
监听程序端口号: 1521ITPUB个人空间1ch/d,O-JIvmEW \
SYS
用户的口令:ITPUB个人空间@BtU,hkX#H
SYSMAN
用户的口令:
是否继续? [yes(Y)/no(N)]: yes
:p S(OX;Up&h02008-5-22 13:59:13 oracle.sysman.emcp.EMConfig perform
E-@Xj|N3^0
信息:正在将此操作记录到d:\ora10g\cfgtoollogs\emca\ora10g\emca_2008-05-22_01-59ITPUB个人空间9}{ OkO
-01-
下午.log
4iq q;MU%H t%uE#L02008-5-22 13:59:14 oracle.sysman.emcp.EMReposConfig dropRepository
FY6h;CE8N$D x0
信息:正在删除EM资料档案库(此操作可能需要一段时间)...ITPUB个人空间,ChXO5any&G
2008-5-22 13:59:37 oracle.sysman.emcp.EMReposConfig invoke
GA#\0\ IOrX*j\0
信息:已成功删除资料档案库ITPUB个人空间#M?i3]{;AL
2008-5-22 13:59:37 oracle.sysman.emcp.EMReposConfig createRepository
8J_`?C#x0z~5fT~0
信息:正在创建EM资料档案库(此操作可能需要一段时间)...ITPUB个人空间 `6k8a DVM,mn;I
2008-5-22 14:05:33 oracle.sysman.emcp.EMReposConfig invokeITPUB个人空间QAEbS Z-F+fa
信息:已成功创建资料档案库ITPUB个人空间lrw7b t d@
已成功完成Enterprise Manager的配置ITPUB个人空间K#Cx5Pu;b6S5q8S
EMCA
结束于2008-5-22 14:05:33
C:\>ITPUB个人空间:r;|y-p$~
C:\>
x0y _,}"Xo'rd |0C:\>
emca -config dbcontrol db
EMCA开始于2008-5-22 14:07:06
)rU'CUc0EM Configuration Assistant 10.2.0.1.0
正式版
.C7V+w%cI,YbE k_1{0
版权所有(c) 2003, 2005, Oracle。保留所有权利。
输入以下信息:ITPUB个人空间!}.UQRc5X]
数据库SID: ora10g
+iL,o;Hz'eaT0
监听程序端口号: 1521ITPUB个人空间{ {8CtI3O!M
SYS
用户的口令:ITPUB个人空间H{ fH5W(]u
DBSNMP
用户的口令:ITPUB个人空间5F!@l-o {e
SYSMAN
用户的口令:ITPUB个人空间kg_(vu+S y,}
通知的电子邮件地址(可选):hy@esp.com
-JN&B3d%h"d+W`0
通知的发件(SMTP)服务器(可选): mail.esp.comITPUB个人空间m(ukY7yPDu
-----------------------------------------------------------------
已指定以下设置
数据库ORACLE_HOME ................ d:\ora10g
数据库主机名................ hy.myoa.com
i%I H0@,Z0
监听程序端口号................ 1521
T6@(S Br(wo0
数据库SID ................ ora10gITPUB个人空间4F|W%g!xPv
通知的电子邮件地址...............hy@esp.com
D!p0XT8T;I0
通知的发件(SMTP)服务器............... mail.esp.com
-----------------------------------------------------------------ITPUB个人空间 {4_ VxQG6a;hV
是否继续? [yes(Y)/no(N)]: yesITPUB个人空间L{9}7wD1gR$]0s`:c4r
2008-5-22 14:08:38 oracle.sysman.emcp.EMConfig performITPUB个人空间 pw{%nD f3F
信息:正在将此操作记录到d:\ora10g\cfgtoollogs\emca\ora10g\emca_2008-05-22_02-07
&q*T,C)\cJ^$e0-06-
下午.logITPUB个人空间*d~k7SN7v8V+~!yC O
2008-5-22 14:08:39 oracle.sysman.emcp.DatabaseChecks performReposChecksITPUB个人空间 sls7[+pa([2J
警告: 'shared_pool_size'必须大于等于80 MBITPUB个人空间Lgf Q*k;S
2008-5-22 14:08:54 oracle.sysman.emcp.util.PlatformInterface executeCommand
m,y1f V/h'tJ0
警告:执行CMD /C d:\ora10g\bin\emctl.bat deploy dbconsole d:\ora10g\hy.myoa
wNT {nY0.com_ora10g hy.myoa.com:3938 hy.myoa.com ora10g 
时出错ITPUB个人空间8T#J(F$E"D)@y
2008-5-22 14:08:54 oracle.sysman.emcp.EMConfig perform
/Ib)n*?M,YB+\0
严重:实例化EM配置文件时出错
7yDD [:{ t/H[0
有关详细资料,请参阅d:\ora10g\cfgtoollogs\emca\ora10g\emca_2008-05-22_02-07-06-ITPUB个人空间q1vw0ps Jol:Al
下午.log中的日志文件。ITPUB个人空间 BdB Z_bz
无法完成配置。有关详细资料,请参阅d:\ora10g\cfgtoollogs\emca\ora10g\emca_2008-ITPUB个人空间y*~c}9axEZ A
05-22_02-07-06-
下午.log中的日志文件。
C:\>emca -config dbcontrol db
EMCA开始于2008-5-22 14:10:23ITPUB个人空间^uqPk5D
EM Configuration Assistant 10.2.0.1.0
正式版ITPUB个人空间.X,B$R6Z6`x ^
版权所有(c) 2003, 2005, Oracle。保留所有权利。
输入以下信息:ITPUB个人空间Q\ TlzH @
数据库SID: ora10g
I$r,T{0R0
已为数据库ora10g配置了Database ControlITPUB个人空间r8J,S8y-j#?#AD0gF
您已选择配置Database Control,以便管理数据库ora10g
4e?!Xx/u'f M3A0
此操作将移去现有配置和默认设置,并重新执行配置
1g:p-BLDl j0
是否继续? [yes(Y)/no(N)]: yes
2KB1P F p}r|0
监听程序端口号: 1521
L)D%i&Sv6J0SYS
用户的口令:ITPUB个人空间r Y N'U&fA0G-y
DBSNMP
用户的口令:
^-iEm]0SYSMAN
用户的口令:ITPUB个人空间c6KkN5H yq!t%I
SYSMAN
用户的口令:通知的电子邮件地址(可选):hy@esp.com
-x2I3T x No7V$X*U |0
通知的发件(SMTP)服务器(可选): mail.esp.com
;Sm-{w KV"Y0-----------------------------------------------------------------
已指定以下设置
数据库ORACLE_HOME ................ d:\ora10g
数据库主机名................ hy.myoa.comITPUB个人空间b;K!A#Bp&E
监听程序端口号................ 1521
5}$@#Kw:T0nSe:l0
数据库SID ................ ora10g
hea X#nZC0
通知的电子邮件地址...............hy@esp.com
5Si8^&b:}8vFO0
通知的发件(SMTP)服务器............... mail.esp.com
-----------------------------------------------------------------
D&~%v:K)Zg,yOli^0
是否继续? [yes(Y)/no(N)]: yesITPUB个人空间 b dsj6^ Z? ? c'm]
2008-5-22 14:10:53 oracle.sysman.emcp.EMConfig performITPUB个人空间[Sz.t1eLn
信息:正在将此操作记录到d:\ora10g\cfgtoollogs\emca\ora10g\emca_2008-05-22_02-10ITPUB个人空间']6v Bxz.{;c~
-23-
下午.logITPUB个人空间&{#eslahK@g
2008-5-22 14:10:55 oracle.sysman.emcp.util.DBControlUtil stopOMS
;b"C+Xxjk8pe0
信息:正在停止Database Control (此操作可能需要一段时间)...ITPUB个人空间V!w;VvG(v ^0s
2008-5-22 14:11:04 oracle.sysman.emcp.util.DBControlUtil startOMSITPUB个人空间(g-X c8j"eU
信息:正在启动Database Control (此操作可能需要一段时间)...
j9XDAY}.h W02008-5-22 14:12:04 oracle.sysman.emcp.EMDBPostConfig performConfigurationITPUB个人空间k,T3oa'xF;L$S9BQd
信息:已成功启动Database ControlITPUB个人空间{_TF:y}$bE
2008-5-22 14:12:04 oracle.sysman.emcp.EMDBPostConfig performConfiguration
,Zh fae GR0
警告:无法创建Database Control快捷方式
Xl"t4xkg(^5f02008-5-22 14:12:04 oracle.sysman.emcp.EMDBPostConfig performConfiguration
+NB Q MG1I]0
信息: >>>>>>>>>>> Database Control URLhttp://hy.myoa.com:5500/em<<<<<<<
dG@A XUo3e0<<<<ITPUB个人空间#a%_}(q+i2\F/~$f
已成功完成Enterprise Manager的配置ITPUB个人空间O-mZbK{

TAG:

引用 删除 Guest   /   2012-01-11 22:39:45
5
引用 删除 出其不意   /   2008-12-10 11:44:01
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6562069.html">深圳电子称</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6561805.html">深圳电子秤</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6562222.html">深圳电子天平</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6584427.html">深圳电子磅</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6624792.html">深圳电子磅称</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6624795.html">深圳电子磅秤</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6624800.html">深圳电子地磅</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6659110.html">深圳电子台称</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6623791.html">深圳电子衡器</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6659124.html">深圳比重分析天平</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6668255.html">深圳电子台秤</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6668257.html">电子磅称</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6668258.html">电子磅秤</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6659114.html">精密电子称</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6668259.html">精密电子秤</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6668260.html">精密电子天平</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6668249.html">精密电子磅</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6668307.html">精密电子台称</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6668263.html">精密电子台秤</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6668245.html">精密电子衡器</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6668265.html">码布天平称</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6693808.html">精密比重分析天平</a>,
<a href="http://www.szkdhq.cn/athena/samplelist/szkdhq-1-6693822.html">电子地磅</a>,
 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2012-05-25  
  12345
6789101112
13141516171819
20212223242526
2728293031  

数据统计

  • 访问量: 71862
  • 日志数: 298
  • 图片数: 3
  • 文件数: 4
  • 建立时间: 2007-12-01
  • 更新时间: 2012-05-04

RSS订阅

Open Toolbar