oracle 12c rac 安装检测错误 Device Checks for ASM

78 篇文章 2 订阅
Device Checks for ASM - This is a prerequisite check to verify that the specified devices meet the requirements for ASM.
  Check Failed on Nodes: [rac04, rac03, rac02, rac01]  
Verification result of failed node: rac04 
Expected Value
:cvuqdisk-1.0.9-1
Actual Value
:cvuqdisk-1.0.9-1
Details: 
-
PRVF-9992 : Group of device "/dev/asm-diskc" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device. 
-
PRVF-9992 : Group of device "/dev/asm-diskd" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device. 
-
PRVF-5184 : Check of following Udev attributes of "rac04:/dev/sdc" failed: [Group: Found='asmadmin' Expected='asmdba'] Data used for above verification obtained from file: /etc/udev/rules.d/99-oracle-asmdevices.rules Rule used from above file: KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c29711e38b2b30ac3350a41bc795", NAME="asm-diskh", OWNER="grid", GROUP="asmadmin", MODE="0660" - Cause: Found incorrect attributes for the specified device. - Action: Ensure that the device attributes are set correctly. See Configurable Dynamic Device Naming documentation (udev) for further information. 
-
PRVF-5184 : Check of following Udev attributes of "rac04:/dev/sdd" failed: [Group: Found='asmadmin' Expected='asmdba'] Data used for above verification obtained from file: /etc/udev/rules.d/99-oracle-asmdevices.rules Rule used from above file: KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c29711e38b2b30ac3350a41bc795", NAME="asm-diskh", OWNER="grid", GROUP="asmadmin", MODE="0660" - Cause: Found incorrect attributes for the specified device. - Action: Ensure that the device attributes are set correctly. See Configurable Dynamic Device Naming documentation (udev) for further information. 
Back to Top  
Verification result of failed node: rac03 
Expected Value
:cvuqdisk-1.0.9-1
Actual Value
:cvuqdisk-1.0.9-1
Details: 
-
PRVF-9992 : Group of device "/dev/asm-diskc" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device. 
-
PRVF-9992 : Group of device "/dev/asm-diskd" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device. 
Back to Top  
Verification result of failed node: rac02 
Expected Value
:cvuqdisk-1.0.9-1
Actual Value
:cvuqdisk-1.0.9-1
Details: 
-
PRVF-9992 : Group of device "/dev/asm-diskc" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device. 
-
PRVF-9992 : Group of device "/dev/asm-diskd" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device. 
Back to Top  
Verification result of failed node: rac01 
Expected Value
:cvuqdisk-1.0.9-1
Actual Value
:cvuqdisk-1.0.9-1
Details: 
-
PRVF-9992 : Group of device "/dev/asm-diskc" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device. 
-
PRVF-9992 : Group of device "/dev/asm-diskd" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device. 

Back to Top


原因:在13步的时候所有选择了asmdba Group,但在udev绑定磁盘的时候,使用了是asmadmin,所以报错


解决:回到13步,将第1个选择为asmadmin,或者在/etc/udev/rules.d/99-oracle-asmdevices.rules 里的GROUP改为asmdba


 [root@rac01 ~]# cat /etc/udev/rules.d/99-oracle-asmdevices.rules 
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c29cfda425409b338dcc89bee3d1", NAME="asm-diskc", OWNER="grid", GROUP= "asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c29568d3bf2f0f93e426b1bb7e5e", NAME="asm-diskd", OWNER="grid", GROUP=" asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c292ee64f0282c3ec4f59a2b25a9", NAME="asm-diske", OWNER="grid", GROUP=" asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c2961c5deb39b7423e8aae97612a", NAME="asm-diskf", OWNER="grid", GROUP=" asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c2998df78f94e121e53950fa30cb", NAME="asm-diskg", OWNER="grid", GROUP=" asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c29711e38b2b30ac3350a41bc795", NAME="asm-diskh", OWNER="grid", GROUP= "asmadmin", MODE="0660"


该文件生成的脚本如下:

 [root@rac01 ~]# cat udev.sh 
# AUTO UDEV RULE BY Maclean Liu 2012/06/30
for i in c d e f g h;
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 


  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值