centos 7.5下oracle 19.3 rac安裝(最新親測)

1、總體可以參考https://blog.csdn.net/mengxiangfeiyang/article/details/129034747 創建用戶、目錄、依賴rpm、權限、內核參數、環境。下面重點說明幾個容易出錯的地方,或者該文章沒有標記或者不必要的地方。

2、內存,最好8GB,4GB是非常卡的,至少OUI期間java很遲內存。

3、scan可以兩個IP,也可以三個IP。2節點的RAC三個SCAN IP,說實話我覺得有點怪異。所以LZ用兩個SCAN IP。

4、共享存儲可以單獨一臺服務器,也可以rac某個節點兼着,用iscsi共享給另外一個rac節點也可以(LZ就是這麼做的),缺點就是啓停的時候共享存儲所在的那個節點要先啓動、後停止(這很重要)。

5、vi /etc/hosts,localhost一定要去掉。同時公共ip一定要在最前面。

註釋掉以下內容,

#127.0.0.1   localhost rac1 localhost4 localhost4.localdomain4
#::1         localhost rac1 localhost6 localhost6.localdomain6

注:如果沒有註釋上述內容,在安裝rac的先決條件檢查時,會報PRVG-13632錯誤。

6、一定要關閉virbr0網卡,否則ssh檢測可能會去這個ip。

7、ssh免密一定要配置

#grid用戶
ssh-keygen -t rsa
ssh-copy-id -i ./id_rsa.pub grid@localhost
ssh-copy-id -i ./id_rsa.pub grid@另一節點IP
#oracle用戶
ssh-keygen -t rsa
ssh-copy-id -i ./id_rsa.pub oracle@localhost
ssh-copy-id -i ./id_rsa.pub oracle@另一節點IP
8、共享盤用udev而非oracleasm識別。參見https://www.cnblogs.com/fangzpa/p/14092142.html。但是LZ生成的uuid兩邊不一樣(這個最終不知道爲啥)這裏grid檢查會告警,忽略了,裝完後啓停反覆沒啥數據問題。也可以參見https://cloud.tencent.com/developer/article/1431520。要注意vmware的話,要開始enableUUID。vsphere參考https://www.topunix.com/post-3176.html,vmware參考https://www.cnblogs.com/avasteven/p/13662205.html
8.1、用linux自帶tgt共享存儲。基本可以參考https://blog.csdn.net/Oraclesand/article/details/78295853
9、 [FATAL] [INS-35423] The installer has detected that Oracle Clusterware is not running on local node.
https://www.cnblogs.com/dodotititi/articles/3924806.html  參考這個執行了未解決。
參考https://blog.csdn.net/qq_40687433/article/details/84850010,ORACLE_HOSTNAME、/etc/hosts都檢查下,如果都正確還不行,重啓一下(我去掉了localhost不行,節點重啓後好了)。
10、[INS-32042] The Installer has detected that the user (oracle) is not member of the central inventory group: oinstall
參考https://blog.csdn.net/weixin_45676697/article/details/126363964
id oracle 其實是oinstall成員,無奈改成oracle。後來裝database提示不是oracle,又改回去。
11、安裝grid時,提示 ins-44002錯誤
http://blog.chinaunix.net/uid-20687159-id-5828938.html
不用提前在rac2解壓grid,會自動拷貝過去。刪除的時候注意隱藏文件.opatchauto_storage和.patch_storage。
主要就是上述問題,沒有其他問題,總體還是比較順暢。
 
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章