如何通過emca來修改Database Control HTTP 埠

warehouse發表於2013-05-27

emca命令看起來比較複雜,講課時有學員問如何修改Database Control HTTP 埠,下面是修改過程,簡單記錄一下

[@more@]

C:>emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://lenovo-382e0ef1:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory e:oracleproduct11.2.0dbhome_1/lenovo-382e0ef1_test/sysman/log

C:>emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://lenovo-382e0ef1:1158/em/console/aboutApplication
OracleDBConsoletest 服務正在停止...........
OracleDBConsoletest 服務已成功停止。

C:>emca -reconfig ports -DBCONTROL_HTTP_PORT 5600

EMCA 開始於 2013-5-27 15:48:42
EM Configuration Assistant, 11.2.0.0.2 正式版
版權所有 (c) 2003, 2005, Oracle。保留所有權利。

輸入以下資訊:
資料庫 SID: test1
SYS 使用者的口令:
SYS 使用者的口令:
是否繼續? [是(Y)/否(N)]: Y
2013-5-27 15:49:04 oracle.sysman.emcp.EMConfig perform
資訊: 正在將此操作記錄到 e:oraclecfgtoollogsemcatestemca_2013_05_27_15_48_42.log。
2013-5-27 15:49:04 oracle.sysman.emcp.util.DBControlUtil stopOMS
資訊: 正在停止 Database Control (此操作可能需要一段時間)...
2013-5-27 15:49:06 oracle.sysman.emcp.util.DBControlUtil startOMS
資訊: 正在啟動 Database Control (此操作可能需要一段時間)...
2013-5-27 15:49:54 oracle.sysman.emcp.EMDBPostConfig performReconfiguration
資訊: 已成功啟動 Database Control
2013-5-27 15:50:29 oracle.sysman.emcp.EMDBPostConfig performReconfiguration
資訊: >>>>>>>>>>> Database Control URL 為 https://lenovo-382e0ef1:5600/em <<<<<<<<<<<
已成功完成 Enterprise Manager 的配置
EMCA 結束於 2013-5-27 15:50:29

C:>emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://lenovo-382e0ef1:5600/em/console/aboutApplication
------------------------------------------------------------------
Logs are generated in directory e:oracleproduct11.2.0dbhome_1/lenovo-382e0ef1_test/sysman/log

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19602/viewspace-1060542/,如需轉載,請註明出處,否則將追究法律責任。

相關文章