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问题补占用了
日志:
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只能挂载自己在磁盘组,将共享磁盘换成虚拟机自带的磁盘共享就解决了.
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。