Oracle 更改 EM 所在的預設節點
EM 預設的節點是 節點 1,現更改預設的節點為節點 2。
注意下面的語法:EM_NODE 是節點名,EM_SID_LIST 後面接的是 SID
[oracle@PTFDB1 ~]$ emca -reconfig dbcontrol -cluster -EM_NODE ptfdb2 -EM_SID_LIST ptfdb1
STARTED EMCA at Jan 20, 2016 2:12:28 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database unique name: ptfdb
Service name: ptfdb
Agent Node list [comma separated] (optional): ptfdb1,ptfdb2
Do you wish to continue? [yes(Y)/no(N)]: Y
Jan 20, 2016 2:12:47 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/ptfdb/emca_2016_01_20_02_12_28.log.
Jan 20, 2016 2:12:50 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Jan 20, 2016 2:12:54 AM oracle.sysman.emcp.EMAgentConfig performDbcReconfiguration
INFO: Propagating /u01/app/oracle/product/11.2.0/db_1/ptfdb1_ptfdb/sysman/config/emd.properties,/u01/app/oracle/product/11.2.0/db_1/ptfdb2_ptfdb/sysman/config/emd.properties to remote nodes ...
Jan 20, 2016 2:12:54 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Jan 20, 2016 2:13:33 AM oracle.sysman.emcp.EMDBPostConfig performDbcReconfiguration
INFO: Database Control started successfully
Jan 20, 2016 2:13:33 AM oracle.sysman.emcp.EMDBPostConfig showClusterDBCAgentMessage
INFO:
**************** Current Configuration ****************
INSTANCE NODE DBCONTROL_UPLOAD_HOST
---------- ---------- ---------------------
ptfdb ptfdb1 PTFDB2
ptfdb ptfdb2 PTFDB2
Enterprise Manager configuration completed successfully
FINISHED EMCA at Jan 20, 2016 2:13:33 AM
[oracle@PTFDB1 ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
EM Daemon is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/ptfdb1_ptfdb/sysman/log
注意下面的語法:EM_NODE 是節點名,EM_SID_LIST 後面接的是 SID
[oracle@PTFDB1 ~]$ emca -reconfig dbcontrol -cluster -EM_NODE ptfdb2 -EM_SID_LIST ptfdb1
STARTED EMCA at Jan 20, 2016 2:12:28 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database unique name: ptfdb
Service name: ptfdb
Agent Node list [comma separated] (optional): ptfdb1,ptfdb2
Do you wish to continue? [yes(Y)/no(N)]: Y
Jan 20, 2016 2:12:47 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/ptfdb/emca_2016_01_20_02_12_28.log.
Jan 20, 2016 2:12:50 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Jan 20, 2016 2:12:54 AM oracle.sysman.emcp.EMAgentConfig performDbcReconfiguration
INFO: Propagating /u01/app/oracle/product/11.2.0/db_1/ptfdb1_ptfdb/sysman/config/emd.properties,/u01/app/oracle/product/11.2.0/db_1/ptfdb2_ptfdb/sysman/config/emd.properties to remote nodes ...
Jan 20, 2016 2:12:54 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Jan 20, 2016 2:13:33 AM oracle.sysman.emcp.EMDBPostConfig performDbcReconfiguration
INFO: Database Control started successfully
Jan 20, 2016 2:13:33 AM oracle.sysman.emcp.EMDBPostConfig showClusterDBCAgentMessage
INFO:
**************** Current Configuration ****************
INSTANCE NODE DBCONTROL_UPLOAD_HOST
---------- ---------- ---------------------
ptfdb ptfdb1 PTFDB2
ptfdb ptfdb2 PTFDB2
Enterprise Manager configuration completed successfully
FINISHED EMCA at Jan 20, 2016 2:13:33 AM
[oracle@PTFDB1 ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
EM Daemon is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/ptfdb1_ptfdb/sysman/log
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26506993/viewspace-1979365/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- HAC叢集更改IP(單節點更改、全部節點更改)
- Oracle更改預設日期格式 更改會話日期格式Oracle會話
- VSCode 更改預設Debug 執行路徑為程式碼所在目錄VSCode
- [Archive]更改ORACLE預設歸檔路徑HiveOracle
- 如何更改預設的Clientclient
- oracle em節點啟動不成功問題處理總結Oracle
- 更改bootstrap的預設樣式boot
- 更改Thunderbird的預設語言
- 設定ORACLE11G的EMOracle
- CactiEZ更改預設80埠
- 更改JBOSS的預設埠號和預設根應用程式
- angular primeng 樹節點 tree預設保持展開Angular
- 如何更改Joomla中的預設語言OOM
- 更改BootStrap popover的預設樣式boot
- oracle更改預設埠號,監聽器加密,限制ip訪問Oracle加密
- 更改系統的預設採購型別型別
- 更改Mac檔案的預設開啟方式Mac
- 檢視oracle rac的節點Oracle
- Oracle中EM的配置Oracle
- ADFS3.0 更改預設埠S3
- sbt更改預設ivy倉庫位置
- Oracle RAC新增節點Oracle
- Oracle RAC 新增節點Oracle
- ORACLE EM recreateOracle
- 重建oracle EMOracle
- 在Docker中,如何更改Docker的預設儲存設定?Docker
- 如何更改macOS系統的預設瀏覽器Mac瀏覽器
- Centos6,7預設啟動模式的更改CentOS模式
- [MySQLFAQ]系列–如何更改MySQL的預設字符集MySql
- Oracle9.2.0.4 RAC 三節點引數設定Oracle
- Linux系統預設閘道器怎麼更改?Linux系統預設閘道器的更改方法教程Linux
- win10預設程式怎麼更改_win10設定預設程式的方法Win10
- 如何在 Ubuntu 中更改預設終端Ubuntu
- w10設定預設播放器怎麼更改_w10更改預設播放器操作方法播放器
- win10更改預設開啟程式設定方法 win10怎麼更改應用預設開啟方式Win10
- 預設dbms_scheduler job 選擇在哪個節點執行
- Oracle Rac 刪除節點Oracle
- 如何更改iPhone和iPad的預設瀏覽器iPhoneiPad瀏覽器