配置oracle11g EM db control
建立一個EM資料庫
emca -repos create
重建一個EM資料庫
emca -repos recreate
刪除一個EM資料庫
emca -repos drop
配置資料庫的 Database Control
emca -config dbcontrol db
刪除資料庫的 Database Control配置
emca -deconfig dbcontrol db
重新配置db control的埠,預設埠在1158
emca -reconfig ports
emca -reconfig ports -dbcontrol_http_port 1160
emca -reconfig ports -agent_port 3940
先設定ORACLE_SID環境變數後,啟動EM console服務
emctl start dbconsole
先設定ORACLE_SID環境變數後,停止EM console服務
emctl stop dbconsole
先設定ORACLE_SID環境變數後,檢視EM console服務的狀態
emctl status dbconsole
配置dbconsole的步驟
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
重新配置dbconsole的步驟
emca -repos drop
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
-------------
oracle從10g以來一直大力推薦dba透過EM來進行管理,不管個人的喜好如何,都不能否認EM還是具有很強的易用性的。
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=oratest)(PORT=1521))
)
EM Configuration Assistant, Version 11.1.0.5.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Database SID: test11g
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user: Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------
Listener port number ................ 1521
Database SID ................ test11g
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: Y
Aug 29, 2007 8:41:20 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle11g/cfgtoollogs/emca/test11g/emca_2007_08_29_08_40_56.log.
Aug 29, 2007 8:41:30 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Aug 29, 2007 8:50:26 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Aug 29, 2007 8:50:28 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Aug 29, 2007 9:16:21 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Aug 29, 2007 9:17:05 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Aug 29, 2007 9:20:57 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfullyAug 29, 2007 9:21:22 AM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library configured successfully.
Aug 29, 2007 9:21:22 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Aug 29, 2007 9:26:27 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Aug 29, 2007 9:26:27 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Aug 29, 2007 9:27:34 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Aug 29, 2007 9:27:34 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Aug 29, 2007 9:36:05 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Aug 29, 2007 9:36:08 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is <<<<<<<<<<<
Aug 29, 2007 9:37:50 AM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************ WARNING ************************
Enterprise Manager configuration completed successfully
FINISHED EMCA at Aug 29, 2007 9:37:51 AM
$ more /oracle11g/product/11g/oratest_test11g/sysman/config/emkey.ora
KEY=056790FE22685160158605895E3E62FC06D7C153C224D99BAA82236AD677DD962B974B3BDA0A678E9D8278C75662EFEB5A8EB793695A79C131F79B8F8BDBBD03
80955F67D1BFBE675F5E20B9DC6B710A92
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/653579/viewspace-1021945/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【DB寶49】Oracle如何設定DB、監聽和EM開機啟動Oracle
- 4.4 為CDB配置EM ExpressExpress
- apache配置Expire/Cache-Control頭Apache
- EM
- oracle 11g rac配置em dbconsole ORA-12514Oracle
- [譯] 寫給大家看的 Cache-Control 指令配置
- em 和 remREM
- oracle11g啟動過程中載入配置檔案Oracle
- rem與em的區別||結合使用rem與emREM
- oracle EM 優化Oracle優化
- DB2 SSL配置遇到的一個問題DB2
- 04EM演算法-EM演算法收斂證明演算法
- px em rem 探討REM
- EM演算法1演算法
- Oracle 19C EMOracle
- 03EM演算法-EM演算法流程和直觀案例演算法
- 【DG】Oracle11g異構平臺之Linux To Windows DataGuard安裝配置--duplicateOracleLinuxWindows
- DB庫伺服器重灌OS的快速恢復配置伺服器
- WPF Customize control
- Cache-Control
- User Account Control
- 淺談px,em與remREM
- 白話EM演算法演算法
- em字型大小參考物件物件
- 09_EM演算法演算法
- em、rem、px、的區別REM
- 隨機森林、EM、HMM、LDA隨機森林HMMLDA
- 如何用hutool-db實現多資料來源配置
- Cache-Control for Civilians
- HTML 24 - Form ControlHTMLORM
- Cache-Control指令
- Statistical Process Control in SAP
- Control charts in SAP QM
- Linux環境安裝Oracle11g(一)——配置檢查及依賴項安裝LinuxOracle
- 【Mongodb】db.stats() 與 db.serverStats() 與 db.collection.stats()MongoDBServer
- Oracle11g解除安裝Oracle
- oracle11g dataguard切換Oracle
- Docker安裝Oracle11gDockerOracle
- 【DB寶39】使用Docker分分鐘搭建Zabbix 5.0配置MySQL監控DockerMySql