1.在rac2節(jié)點(diǎn)使用oracleasm找不到共享磁盤(pán)
成都創(chuàng)新互聯(lián)公司專(zhuān)注于觀山湖企業(yè)網(wǎng)站建設(shè),成都響應(yīng)式網(wǎng)站建設(shè)公司,商城開(kāi)發(fā)。觀山湖網(wǎng)站建設(shè)公司,為觀山湖等地區(qū)提供建站服務(wù)。全流程定制網(wǎng)站制作,專(zhuān)業(yè)設(shè)計(jì),全程項(xiàng)目跟蹤,成都創(chuàng)新互聯(lián)公司專(zhuān)業(yè)和態(tài)度為您提供的服務(wù)[root@rac2 ~]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@rac2 ~]#
解決方法:
是因?yàn)樵趓ac1節(jié)點(diǎn)格式化磁盤(pán)沒(méi)有使用partprobe命令,分區(qū)沒(méi)有生效
在rac1執(zhí)行:
[root@rac1 ~]# partprobe
在rac2執(zhí)行:
[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集群軟件時(shí)出現(xiàn)ORACLE_HOME和ORACLE_BASE目錄不對(duì)
錯(cuò)誤提示:
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
解決方法:
我當(dāng)前目錄是:ORACLE_BASE=/home/grid
ORACLE_HOME=/home/grid/11.2.0/grid
這樣目錄是不正確的,因?yàn)镺RACLE_BASE和ORACLE_HOME目錄要分開(kāi),ORACLE_BASE安裝好后是有root權(quán)限的,而ORACLE_HOME則沒(méi)有.
這樣才對(duì):ORACLE_BASE=/home/grid/app
ORACLE_HOME=/home/grid/11.2.0/grid
3.在安裝grid到最后一步出錯(cuò)誤,是因?yàn)閟can的IP問(wèn)題補(bǔ)占用了
日志:
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).直接跳過(guò)不影響
(2),修改系統(tǒng)的nslookup二進(jìn)制文件(http://www.ithao123.cn/content-1094742.html)
4.crs無(wú)法共享磁盤(pán)通信
錯(cuò)誤信息:
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
解決方法:
這是共享磁盤(pán)的問(wèn)題,我是用iscsi做的共享,查看了下asm只能掛載自己在磁盤(pán)組,將共享磁盤(pán)換成虛擬機(jī)自帶的磁盤(pán)共享就解決了.
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線(xiàn),公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性?xún)r(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專(zhuān)為企業(yè)上云打造定制,能夠滿(mǎn)足用戶(hù)豐富、多元化的應(yīng)用場(chǎng)景需求。