溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

oracle 11g rac安裝之grid報錯解決

發布時間:2020-07-30 15:39:18 來源:網絡 閱讀:3975 作者:z597011036 欄目:關系型數據庫

1.在rac2節點使用oracleasm找不到共享磁盤

[root@rac2 ~]# oracleasm scandisks        
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@rac2 ~]#


解決方法:

   是因為在rac1節點格式化磁盤沒有使用partprobe命令,分區沒有生效

在rac1執行:

[root@rac1 ~]# partprobe

在rac2執行:

[root@rac2 ~]# /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"
[root@rac2 ~]# /usr/sbin/oracleasm listdisks
VOL01
VOL02
VOL03
VOL04
[root@rac2 ~]#


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


3.在安裝grid到最后一步出錯誤,是因為scan的IP問題補占用了

oracle 11g rac安裝之grid報錯解決

日志:

INFO: All nodes have same "hosts" entry defined in file "/etc/nsswitch.conf"

INFO: Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passed

INFO: ERROR:

INFO: PRVG-1101 : SCAN name "scan-cluster" failed to resolve

INFO: ERROR:

INFO: PRVF-4657 : Name resolution setup check for "scan-cluster" (IP address: 192.168.3.155) failed

INFO: ERROR:

INFO: PRVF-4664 : Found inconsistent name resolution entries for SCAN name "scan-cluster"

INFO: Verification of SCAN VIP and Listener setup failed

INFO: Checking OLR integrity...

INFO: Checking OLR config file...

INFO: OLR config file check successful

INFO: Checking OLR file attributes...

INFO: OLR file check successful


解決方法:

(1).直接跳過不影響

(2),修改系統的nslookup二進制文件(http://www.ithao123.cn/content-1094742.html)


4.crs無法共享磁盤通信

錯誤信息:

CRS-0184: Cannot communicate with the CRS daemon.


日志信息:

2016-09-16 09:20:45.508: [   CRSPE][1175734592]{1:19372:2} Reading (12) resources

2016-09-16 09:20:45.510: [   CRSPE][1175734592]{1:19372:2} Reading (15) types

2016-09-16 09:20:46.087: [   CRSPE][1175734592]{1:19372:2} Reading (2) server pools

2016-09-16 09:20:48.321: [  OCRRAW][1171532096]proprseterror: Error in accessing physical storage [26] Marking context invalid.

2016-09-16 09:20:48.321: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_ctx_tag=PROPCTXT

2016-09-16 09:20:48.325: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_valid=0

2016-09-16 09:20:48.325: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_boot_mode=1


解決方法:

  這是共享磁盤的問題,我是用iscsi做的共享,查看了下asm只能掛載自己在磁盤組,將共享磁盤換成虛擬機自帶的磁盤共享就解決了.

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

亚洲午夜精品一区二区_中文无码日韩欧免_久久香蕉精品视频_欧美主播一区二区三区美女