oracle em11g的資料庫需要進行遷移,它的主要操作步驟如下:
1、關閉oms
2、全庫備份現在的資料庫,再恢復到新伺服器上
3、更新oracleem oms的連線資料庫的配置
4、啟動oms
這個操作方法在oracle em 12c中也有效。
第一步,關閉oms
找到oms所在的bin下的emctl工具,關閉oms服務
oracle enterprise manager 11g release 1 grid control
stopping webtier...
webtier successfully stopped
stopping oracle management server...
oracle management server successfully stopped
oracle management server is down
第二步,使用rman備份恢復一下,很簡單,不解釋。
第三步,更新oracle em oms的連線資料庫的配置
首先檢查一下資料庫連線配置詳情。
oracle enterprise manager 11g release 1 grid control
repository connect descriptor :(description=(address_list=(address=(protocol=tcp)(host=192.168.65.14)(port=6688)))(connect_data=(sid=emrep)))
repository host :
repository sid :
repository user : sysman
通過emctl工具修改em grid control的資料庫配置,emctl提供了兩個修改方法。
emctl config oms -store_repos_details (-repos_host -repos_port -repos_sid | -repos_conndesc ) -repos_user [-repos_pwd ][-no_check_db]
connect descriptor should be enclosed in quotes. eg:'""' or "''"
具體執行的命令如下:
emctl config oms -store_repos_details -repos_conndesc"'(description=(address_list=(address=(protocol=tcp)(host=192.168.65.8)(port=6688)))(connect_data=(sid=emrep)))'"-repos_user sysman -repos_pwd welcome2012
emctl config oms -store_repos_details -repos_host 192.168.65.8-repos_port 6688 -repos_sid emrep -repos_user sysman -repos_pwd welcome2012
最後,修改這兩個命令中的乙個。
oracle enterprise manager 11g release 1 grid control
successfully stored repository details in credential store.
oracle enterprise manager 11g release 1 grid control
repository connect descriptor :(description=(address_list=(address=(protocol=tcp)(host=192.168.65.8)(port=6688)))(connect_data=(sid=emrep)))
repository host :
repository sid :
repository user : sysman
oracle enterprise manager 11g release 1 grid control
successfully stored repository details in credential store.
oracle enterprise manager 11g release 1 grid control
repository connect descriptor :(description=(address_list=(address=(protocol=tcp)(host=192.168.65.8)(port=6688)))(connect_data=(sid=emrep)))
repository host : 192.168.65.8
repository port : 6688
repository sid : emrep
repository user : sysman
第四步,啟動oms
oracle enterprise manager 11g release 1 grid control
starting webtier...
webtier successfully started
starting oracle management server...
oracle management server successfully started
adminserver could not be started
oracle management server is up
Oracle11g 12c設定開機自動啟動
宣告 部分鏈結可能需要fq才能開啟,fq軟體 安裝oracle11g或者12c先安裝oracle pre install rpm包可以為安裝oracle提前配置好環境,省得各種各樣的配置了 centos6.x安裝oracle pre install rpm centos6.x安裝oracle12c ...
Oracle 11g 12c RAC 日誌目錄
oracle 11g rac 日誌目錄 grid使用者下 集群日誌根目錄 oracle home log drwxr x 2 grid oinstall 4096 5月 27 21 03 srvm oracle使用者下 資料庫日誌根目錄 oracle base diag oracle rac2 ll...
oracle11g公升級12c後,日期格式顯示不對?
oracle11g公升級12c後,日期格式顯示不對 11.2.0.1 12.2.0.1 原11g下 新12c下 對比nls引數結果 11g下 發現11g下沒有做任何設定。嘗試修改sys下登入觸發器 create or replace trigger logintrg after logon on d...