版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/mygodhome/article/details/71438831
环境介绍:
OS版本:RedHat Enterprise Linux Server release 6.4 (Santiago)
DB版本:Oracle 12c
问题描述:
12c RAC环境配置GRID时检查Perform Prerequisite Checks时报错,提示如下:
ASMLib installation and configuration verification.
- This task checks the ASMLib installation and configuration across the systems.
Check Failed on Nodes: [rws00abc, rws00abe]
Verification result of failed node: rws00abc Details:
-
PRVG-10122 : ASMLib configuration value set to configuration parameter "ORACLEASM_UID" on the node "rws00abc" does not match with cluster nodes
- Cause: The ASMLib configuration check found inconsistent settings across cluster nodes.
- Action: Ensure that the ASMLib is correctly installed and configured on all the nodes with same configuration settings and that the user has the necessary access privileges for the configuration file.
-
PRVG-10122 : ASMLib configuration value set to configuration parameter "ORACLEASM_GID" on the node "rws00abc" does not match with cluster nodes
- Cause: The ASMLib configuration check found inconsistent settings across cluster nodes.
- Action: Ensure that the ASMLib is correctly installed and configured on all the nodes with same configuration settings and that the user has the necessary access privileges for the configuration file.
问题处理:
1. 查看两个节点的oracleasm配置信息
- [root@rac01 ~]# oracleasm configure
- ORACLEASM_ENABLED=true
- ORACLEASM_UID=grid
- ORACLEASM_GID=asmadmin
- ORACLEASM_SCANBOOT=true
- ORACLEASM_SCANORDER=""
- ORACLEASM_SCANEXCLUDE=""
- ORACLEASM_USE_LOGICAL_BLOCK_SIZE="true"
- [root@rac01 ~]#
- [root@rac02 ~]# oracleasm configure
- ORACLEASM_ENABLED=false
- ORACLEASM_UID=
- ORACLEASM_GID=
- ORACLEASM_SCANBOOT=true
- ORACLEASM_SCANORDER=""
- ORACLEASM_SCANEXCLUDE=""
- ORACLEASM_USE_LOGICAL_BLOCK_SIZE="false"
2. 节点rac02配置oracleasm
- [root@rac02 ~]# oracleasm configure -i
- Configuring the Oracle ASM library driver.
- This will configure the on-boot properties of the Oracle ASM library
- driver. The following questions will determine whether the driver is
- loaded on boot and what permissions it will have. The current values
- will be shown in brackets ('[]'). Hitting <ENTER> without typing an
- answer will keep that current value. Ctrl-C will abort.
- Default user to own the driver interface []: grid
- Default group to own the driver interface []: asmadmin
- Start Oracle ASM library driver on boot (y/n) [n]: y
- Scan for Oracle ASM disks on boot (y/n) [y]: y
- Writing Oracle ASM library driver configuration: done
- [root@rac02 ~]# oracleasm configure
- ORACLEASM_ENABLED=true
- ORACLEASM_UID=grid
- ORACLEASM_GID=asmadmin
- ORACLEASM_SCANBOOT=true
- ORACLEASM_SCANORDER=""
- ORACLEASM_SCANEXCLUDE=""
- ORACLEASM_USE_LOGICAL_BLOCK_SIZE="false"
- [root@rac02 ~]#
3. 继续执行Perform Prerequisite Checks检查,通过
Reference:
:http://blog.csdn.net/secdata/article/details/51441984