標籤:oracle 11g rac安裝之grid報錯解決
1.在rac2節點使用oracleasm找不到共用磁碟
[[email protected] ~]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[[email protected] ~]#
解決方案:
是因為在rac1節點格式化磁碟沒有使用partprobe命令,分區沒有生效
在rac1執行:
[[email protected] ~]# partprobe
在rac2執行:
[[email protected] ~]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "VOL04"
Instantiating disk "VOL03"
Instantiating disk "VOL01"
Instantiating disk "VOL02"
[[email protected] ~]# /usr/sbin/oracleasm listdisks
VOL01
VOL02
VOL03
VOL04
[[email protected] ~]#
2.安裝grid叢集軟體時出現ORACLE_HOME和ORACLE_BASE目錄不對
錯誤提示:
INS-32026]The Software Location specified should not be under Oracle base location.
CAUSE: Grid Infrastructure for a Cluster installation will assign root ownership to all parent directories of clusterware software location. As a result, all named directories in the software location path will acquire root ownership. This may create problems for subsequent installations into the same Oracle base.
ACTION: Specify software location outside of Oracle base
解決方案:
我目前的目錄是:ORACLE_BASE=/home/grid
ORACLE_HOME=/home/grid/11.2.0/grid
這樣目錄是不正確的,因為ORACLE_BASE和ORACLE_HOME目錄要分開,ORACLE_BASE安裝好後是有root許可權的,而ORACLE_HOME則沒有.
這樣才對:ORACLE_BASE=/home/grid/app
ORACLE_HOME=/home/grid/11.2.0/grid
本文出自 “一起走過的日子” 部落格,請務必保留此出處http://tongcheng.blog.51cto.com/6214144/1852663
oracle 11g rac安裝之grid報錯解決