【Oracle 集羣】Oracle 11G RAC教程之集羣安裝(七)

                       Oracle 11G RAC集羣安裝(七)

集羣安裝

在進行oracle集羣安裝之前,首先看下整體集羣架構圖。另:oracle RAC集羣整體配置基於三個步驟(前期配置,集羣安裝,數據庫安裝)

                       

Oracle登入rac1進行上傳,解壓安裝p13390677_112040_Linux-x86-64_1of7.zip、p13390677_112040_Linux-x86-64_2of7.zip、p13390677_112040_Linux-x86-64_3of7.zip到/media下,並解壓(RAC1爲結點名,linux環境默認RAC1 #)

複製代碼

RAC1 # cd /media
RAC1 #mkdir crs_install
RAC1 #mkdir db_install
RAC1 # ls
 
RAC1 #cd crs_install
RAC1 #unzip /media/p13390677_112040_Linux-x86-64_3of7.zip

RAC1 #cd db_install
RAC1 #unzip /media/p13390677_112040_Linux-x86-64_1of7.zip
RAC1 #unzip /media/p13390677_112040_Linux-x86-64_2of7.zip

複製代碼

 

開始安裝:找到 /media/crs_install/grid 

./runInstaller


下一步

 

1) 跳過,下一步

2) 選擇'Install and Configure Oracle Grid Infrastructure for a Cluster'

 

3) 選 'Advanced Installation'

 

4) 選擇語言: English

 

5) 輸入集羣信息,點擊下一步.(這個集羣信息是之前預先定義好的,翻開上篇集羣配置準備,有明確規劃定義)

 

6)在 "Specify Node Information" 上點擊 "Add"按鈕.

 

7)輸入集羣結點2的信息,點擊 "OK" 按鈕.(如上所注,也是前期規劃好的,參見上篇。如果有多個結點照樣添加即可)

 

8)點擊SSH進行SSH配置通信.(11G之前包括Hadoop結點通信都是手動配置的,11G之後方便很多)

 

9)選擇私有網絡,點擊下一步。

 

10)選擇"Shared File System" 選項, 下一步.(上篇有介紹,已規劃好)

 

11)選擇輸入OCR 文件位置,下一步.(上篇有介紹,已規劃好)

 

12)選擇輸入表決磁盤Voting文件位置,下一步.(上篇有介紹,已規劃好).

 

13)下一步.

 

14)全部選擇dba,下一步.

 

15)輸入 "/u01/app/oracle" 作爲數據庫地址 並且 "/u01/app/11.2.0/grid" 作爲軟件路徑, 下一步.

 

16) 默認路徑,下一步.

 

17) 完成.(但是沒有結束哦

 

18) 等待安裝.

 

19) 彈出對話框,將腳本語句在每個結點運行, run the configuration scripts on each node.(與一般安裝不同,遇到此現象,必須在所有的結點下以root身份運行以下腳本語句)

 

打開每個結點,root身份登錄,運行 "orainstRoot.sh" .

複製代碼

# cd /u01/app/oraInventory
# ./orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.

複製代碼

 

The output of the root.sh will vary a little depending on the node it is run on. Example output can be seen here (Node1,Node2).

20) 運行結束點擊OK.

 

21)完成.

 

22) 忽略錯誤,點擊關閉.到此集羣cluster安裝完畢

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章