RAC安装时碰到的错误

1. INS-41105 on subnet  chosen as public does not match subnet of SCAN VIP.
通过修改用于RAC内部通信的网卡的子网掩码解决
ifconfig eth3 netmask 255.0.0.0

2.  Failed to create keys in the OLR at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm
缺少shared object: 
安装:yum install compat-libcap1

3. 网络相关
  因为节点2是复制的虚拟机,所以网卡设置有点问题
  参考: http://blog.csdn.net/tianlesoftware/article/details/8737700
   需要修改: /etc/udev/rules.d/70-persistent-net.rules 中网卡MAC地址,然后重启节点OS

4. 预安装检查时丢失cvuqdisk RPM包
  直接在grid安装目录下找到rpm目录,已经提供

5. 准备用udev绑定ASM磁盘时scsi_id命令没有输出:
  因为采用的是VM Workstation安装的Oracle Linux, 而vmware默认没有提供磁盘的UUID功能,所以需要修改虚拟机配置文件,我的例子里是:rac-node01.vmx
 disk.EnableUUID = "TRUE" 

6. 共享磁盘在虚拟机配置:
disk.locking = "FALSE"
disKLib.datacacheMaxsize= "0"
disKLib.datacacheMaxReadAheadsize= "0"
disKLib.datacacheMinReadAheadsize= "0"
disKLib.datacachepagesize= "4096"
disKLib.maxUnsynceWrites = "0"
scsi1.sharedBus = "virtual"
  
  缺少这些配置会导致磁盘不能被两个虚拟机之间共享

7. UDEV绑定有关:
  
for i in b c d e f ;
do
echo "KERNEL==\"sd*\", BUS==\"scsi\", PROGRAM==\"/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/\$name\", RESULT==\"`/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/sd$i`\", NAME=\"asm-disk$i\", OWNER=\"grid\", GROUP=\"asmadmin\", MODE=\"0660\""      >> /etc/udev/rules.d/99-oracle-asmdevices.rules
done
 参考: https://blogs.oracle.com/askmaclean/entry/%E5%9C%A8linux_6%E4%B8%8A%E4%BD%BF%E7%94%A8udev%E8%A7%A3%E5%86%B3rac_asm%E5%AD%98%E5%82%A8%E8%AE%BE%E5%A4%87%E5%90%8D%E9%97%AE%E9%A2%98

5. 最后阶段报错
  INS-20802 Oracle Cluster Verification failed
  

查了一下,scanip可以ping通,可以忽略

看到了想要的东西:
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding Clusterware entries to upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'racnode1'
CRS-2676: Start of 'ora.mdnsd' on 'racnode1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'racnode1'
CRS-2676: Start of 'ora.gpnpd' on 'racnode1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racnode1'
CRS-2672: Attempting to start 'ora.gipcd' on 'racnode1'
CRS-2676: Start of 'ora.cssdmonitor' on 'racnode1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'racnode1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'racnode1'
CRS-2672: Attempting to start 'ora.diskmon' on 'racnode1'
CRS-2676: Start of 'ora.diskmon' on 'racnode1' succeeded
CRS-2676: Start of 'ora.cssd' on 'racnode1' succeeded


ASM created and started successfully.


Disk Group DATA created successfully.


clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 782d2f515aab4f30bf7422ca9d32ef20.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   782d2f515aab4f30bf7422ca9d32ef20 (/dev/oracleasm/disks/DISK1) [DATA]
Located 1 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'racnode1'
CRS-2676: Start of 'ora.asm' on 'racnode1' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'racnode1'
CRS-2676: Start of 'ora.DATA.dg' on 'racnode1' succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8520577/viewspace-2081426/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/8520577/viewspace-2081426/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值