合 一步一步在RHEL6.5+VMware Workstation上搭建 Oracle 12cR1的rac集群环境详细教程
Tags: Oracle高可用rac集群部署VMware WorkStationRHEL6.512cR1
静默安装
静默安装grid
安装之前使用脚本进行校验,确保所有的failed选项都可以忽略。
1 | ./runcluvfy.sh stage -pre crsinst -n raclhr-12cR1-N1,raclhr-12cR1-N2 -fixup -verbose |
新建/etc/oraInst.loc文件
在2个节点上新建/etc/oraInst.loc,文件中的内容如下:
1 2 | inventory_loc=/u01/app/oraInventory inst_group=oinstall |
输入下面的命令在oraInst.loc文件上设置合适的拥有者,组和权限:
1 2 | chown oracle:oinstall /etc/oraInst.loc chmod 664 /etc/oraInst.loc |
检查项
1、/u01/app/oraInventory必须为空
1 2 | ls -l /u01/app/oraInventory/* rm -rf /u01/app/oraInventory/* |
否则报错:
1 2 3 4 | [FATAL] [INS-32035] Unable to create a new central inventory directory : /u01/app/oraInventory. CAUSE: The central inventory location provided is not empty. ACTION: Please provide another location for the inventory, or clean up the current location. |
2、INS-32040
1 2 3 4 | [FATAL] [INS-32040] The central inventory location provided is not empty on remote nodes [raclhr-12cr1-n1]. ACTION: Please provide another location for the inventory, or clean up the current location. |
解决办法: