成功搭建oracle 11gR2 asm 主備叢集

paulyibinyi發表於2010-08-17

  在公司的一個專案中,成功的為客戶實施了oracle 11gR2+asm儲存單例項基於hacmp的

主備叢集,原理和10g基於裸裝置主備叢集一樣,以下為安裝時需要注意的地方:

 

1.    主節點安裝grid元件時,選擇第二個選項

Install and Configure Grid infrastructure for a standalone

 

2.    主備節點grid使用者需要增加dbahagsuser,oracle使用者增加hagsuser組。

 

3.    配置oracle 11gR2 + grid+asm+hacmp主備叢集,比以前了9i,10g版本多個grid元件,需要把grid程式碼盤從主節點漂移到備節點,然後在備節點用grid使用者執行root.sh配置指令碼。

 

4.    grid使用者在備節點執行完root.sh後,需要手工新增監聽,asm,database 資源。

 

5.    Oracle 11gR2 New Features Oracle Restart

   Oracle Restart improves the availability of your single-instance Oracle database. Oracle Restart automatically restarts the database instance, the Automatic Storage Management (ASM) instance, the listener, and other components after a hardware or software failure or whenever your database host computer restarts. Server Control (SRVCTL) is the command line interface to manage Oracle processes that are managed by Oracle Restart on a standalone server.

 

crsctl start has   --啟動grid元件,會自動帶起所有資源

crsctl stop has  --停止grid元件,會自動停止所有資源

crsctl disable has禁用grid元件跟隨作業系統啟動

oracle 11gR2 asm 單例項維護比以前版本更方便,一個命令就搞定,不再需要先停監聽,再停資料庫,然後停asm例項等操作。並且可以用srvctl 命令進行維護操作。

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

相關文章