Oracle 11gR2光钎链路切换crs服务发生crash

来源:互联网 发布:第三方加密软件 编辑:程序博客网 时间:2024/06/05 16:06

Oracle 11gR2光钎链路切换crs服务发生crash

 

背景:

我们将Oracle 11gR2(11.2.0.4)在RedHat EnterPrise 5.8上通过RDAC完成的多路径链路冗余,在部署完成后,我们需要做多路径链路冗余测试,我们的光钎链路连接方式如下。我们做多路径测试完成了如下几个组合:

拔线测试组合一:

1、 先拔下光钎链路 ②和④ 一切正常没有问题;插上五分钟后执行第2步。

2、 再拔下光钎链路 ①和③ 数据库服务正常,crs进程crash无法访问,手工重启crs进程即可。

拔线测试组合二:

1、 先拔下光钎链路 ①和③ 一切正常没有问题;插上五分钟后执行第2步。

2、 再拔下光钎链路 ②和④ 数据库服务正常,crs进程crash无法访问,手工重启crs进程即可。

拔线测试组合三:

1、 先拔下光钎链路 ①和④ 一切正常没有问题;插上五分钟后执行第2步。

2、 再拔下光钎链路 ②和③ 一切正常没有问题;

拔线测试组合四:

1、 先拔下光钎链路 ②和③ 一切正常没有问题;插上五分钟后执行第2步。

2、 再拔下光钎链路 ①和④ 一切正常没有问题;

控制器切换测试组合:

1、 进入存储管理控制台,查看当前磁盘所在控制器为A控,手动全部切换到B,一切正常没有问题。

2、 五分钟之后,再次进入存储管理控制台,将所有磁盘从B控制器切换到A控制器,一切正常没有问题。



 

问题现象:

问题发生在第一组和第二组的的测试2上面,问题现象如下:

[grid@db01 ~] $ crs_stat -t -vCRS-0184: Cannot communicate with the CRS daemon.[root@db01 ~]# ps -ef|grep oraoracle    2687     1  0 00:12 ?        00:00:00 ora_pmon_woooracle    2689     1  0 00:12 ?        00:00:00 ora_psp0_woooracle    2691     1  0 00:12 ?        00:00:00 ora_vktm_woooracle    2695     1  0 00:12 ?        00:00:00 ora_gen0_woooracle    2697     1  0 00:12 ?        00:00:00 ora_diag_woooracle    2699     1  0 00:12 ?        00:00:00 ora_dbrm_woooracle    2701     1  0 00:12 ?        00:00:00 ora_dia0_woooracle    2703     1  0 00:12 ?        00:00:00 ora_mman_woooracle    2705     1  0 00:12 ?        00:00:00 ora_dbw0_woooracle    2707     1  0 00:12 ?        00:00:00 ora_lgwr_woooracle    2709     1  0 00:12 ?        00:00:01 ora_ckpt_woooracle    2711     1  0 00:12 ?        00:00:00 ora_smon_woooracle    2713     1  0 00:12 ?        00:00:00 ora_reco_woooracle    2715     1  0 00:12 ?        00:00:00 ora_mmon_woooracle    2717     1  0 00:12 ?        00:00:00 ora_mmnl_woooracle    2719     1  0 00:12 ?        00:00:00 ora_d000_woooracle    2721     1  0 00:12 ?        00:00:00 ora_s000_woooracle    2728     1  0 00:12 ?        00:00:00 ora_rvwr_wooSQL> select host_name,instance_name,status from gv$instance;HOST_NAME  INSTANCE_NAME    STATUS---------- ---------------- ------------db01       woo              OPENdb02woo  OPEN

日志排查:

        OSmessage:

Oct 30 13:48:23 db01 kernel: lpfc 0000:1b:00.0: 1:(0):0203 Devloss timeout on WWPN 20:34:00:80:e5:3f:7b:f0 NPort x0000e4 Data: x0 x7 x0Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:0 Selection Retry count exhaustedOct 30 13:48:23 db01 kernel: 7 [RAIDarray.mpp]oracledb:0:0 Path FailedOct 30 13:48:23 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:0 No new path: fall to failover controller case. vcmnd SN 74635 pdev H8:C0:T0:L0 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:0 Failed controller to 1. retry. vcmnd SN 74635 pdev H8:C0:T0:L0 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:0 Selection Retry count exhaustedOct 30 13:48:23 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:0 No new path: fall to failover controller case. vcmnd SN 74625 pdev H8:C0:T0:L0 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:0 Failed controller to 1. retry. vcmnd SN 74625 pdev H8:C0:T0:L0 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:23 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74645 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74645 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:23 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74644 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74644 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:23 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74643 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74643 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:23 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74642 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74642 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:23 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74634 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74634 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:23 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74632 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74632 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:23 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74631 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74631 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:23 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74624 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74624 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:23 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74622 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74622 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:23 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74621 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74621 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74620 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74620 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:1 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:1 No new path: fall to failover controller case. vcmnd SN 74619 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:1 Failed controller to 1. retry. vcmnd SN 74619 pdev H8:C0:T0:L1 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:2 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:2 No new path: fall to failover controller case. vcmnd SN 74641 pdev H8:C0:T0:L2 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:2 Failed controller to 1. retry. vcmnd SN 74641 pdev H8:C0:T0:L2 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:2 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:2 No new path: fall to failover controller case. vcmnd SN 74633 pdev H8:C0:T0:L2 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:2 Failed controller to 1. retry. vcmnd SN 74633 pdev H8:C0:T0:L2 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:2 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:2 No new path: fall to failover controller case. vcmnd SN 74623 pdev H8:C0:T0:L2 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:2 Failed controller to 1. retry. vcmnd SN 74623 pdev H8:C0:T0:L2 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:3 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:3 No new path: fall to failover controller case. vcmnd SN 74636 pdev H8:C0:T0:L3 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:3 Failed controller to 1. retry. vcmnd SN 74636 pdev H8:C0:T0:L3 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:3 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:3 No new path: fall to failover controller case. vcmnd SN 74626 pdev H8:C0:T0:L3 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:3 Failed controller to 1. retry. vcmnd SN 74626 pdev H8:C0:T0:L3 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:3 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:3 No new path: fall to failover controller case. vcmnd SN 74615 pdev H8:C0:T0:L3 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:3 Failed controller to 1. retry. vcmnd SN 74615 pdev H8:C0:T0:L3 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:3 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:3 No new path: fall to failover controller case. vcmnd SN 74610 pdev H8:C0:T0:L3 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:3 Failed controller to 1. retry. vcmnd SN 74610 pdev H8:C0:T0:L3 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:4 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:4 No new path: fall to failover controller case. vcmnd SN 74637 pdev H8:C0:T0:L4 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:4 Failed controller to 1. retry. vcmnd SN 74637 pdev H8:C0:T0:L4 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:4 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:4 No new path: fall to failover controller case. vcmnd SN 74630 pdev H8:C0:T0:L4 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:4 Failed controller to 1. retry. vcmnd SN 74630 pdev H8:C0:T0:L4 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:4 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:4 No new path: fall to failover controller case. vcmnd SN 74614 pdev H8:C0:T0:L4 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:4 Failed controller to 1. retry. vcmnd SN 74614 pdev H8:C0:T0:L4 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:4 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:4 No new path: fall to failover controller case. vcmnd SN 74609 pdev H8:C0:T0:L4 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:4 Failed controller to 1. retry. vcmnd SN 74609 pdev H8:C0:T0:L4 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:5 Selection Retry count exhaustedOct 30 13:48:24 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:5 No new path: fall to failover controller case. vcmnd SN 74638 pdev H8:C0:T0:L5 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:24 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:5 Failed controller to 1. retry. vcmnd SN 74638 pdev H8:C0:T0:L5 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:5 Selection Retry count exhaustedOct 30 13:48:25 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:5 No new path: fall to failover controller case. vcmnd SN 74629 pdev H8:C0:T0:L5 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:5 Failed controller to 1. retry. vcmnd SN 74629 pdev H8:C0:T0:L5 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:5 Selection Retry count exhaustedOct 30 13:48:25 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:5 No new path: fall to failover controller case. vcmnd SN 74616 pdev H8:C0:T0:L5 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:5 Failed controller to 1. retry. vcmnd SN 74616 pdev H8:C0:T0:L5 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:5 Selection Retry count exhaustedOct 30 13:48:25 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:5 No new path: fall to failover controller case. vcmnd SN 74613 pdev H8:C0:T0:L5 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:5 Failed controller to 1. retry. vcmnd SN 74613 pdev H8:C0:T0:L5 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:6 Selection Retry count exhaustedOct 30 13:48:25 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:6 No new path: fall to failover controller case. vcmnd SN 74639 pdev H8:C0:T0:L6 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:6 Failed controller to 1. retry. vcmnd SN 74639 pdev H8:C0:T0:L6 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:6 Selection Retry count exhaustedOct 30 13:48:25 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:6 No new path: fall to failover controller case. vcmnd SN 74628 pdev H8:C0:T0:L6 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:6 Failed controller to 1. retry. vcmnd SN 74628 pdev H8:C0:T0:L6 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:6 Selection Retry count exhaustedOct 30 13:48:25 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:6 No new path: fall to failover controller case. vcmnd SN 74618 pdev H8:C0:T0:L6 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:6 Failed controller to 1. retry. vcmnd SN 74618 pdev H8:C0:T0:L6 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:6 Selection Retry count exhaustedOct 30 13:48:25 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:6 No new path: fall to failover controller case. vcmnd SN 74611 pdev H8:C0:T0:L6 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:6 Failed controller to 1. retry. vcmnd SN 74611 pdev H8:C0:T0:L6 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:7 Selection Retry count exhaustedOct 30 13:48:25 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:7 No new path: fall to failover controller case. vcmnd SN 74640 pdev H8:C0:T0:L7 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:7 Failed controller to 1. retry. vcmnd SN 74640 pdev H8:C0:T0:L7 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:7 Selection Retry count exhaustedOct 30 13:48:25 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:7 No new path: fall to failover controller case. vcmnd SN 74627 pdev H8:C0:T0:L7 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:7 Failed controller to 1. retry. vcmnd SN 74627 pdev H8:C0:T0:L7 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:7 Selection Retry count exhaustedOct 30 13:48:25 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:7 No new path: fall to failover controller case. vcmnd SN 74617 pdev H8:C0:T0:L7 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:7 Failed controller to 1. retry. vcmnd SN 74617 pdev H8:C0:T0:L7 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 94 [RAIDarray.mpp]oracledb:0:0:7 Selection Retry count exhaustedOct 30 13:48:25 db01 kernel: 496 [RAIDarray.mpp]oracledb:0:0:7 No new path: fall to failover controller case. vcmnd SN 74612 pdev H8:C0:T0:L7 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 497 [RAIDarray.mpp]oracledb:0:0:7 Failed controller to 1. retry. vcmnd SN 74612 pdev H8:C0:T0:L7 0x00/0x00/0x00 0x00010000 mpp_status:6Oct 30 13:48:25 db01 kernel: 10 [RAIDarray.mpp]oracledb:1 Failover command issuedOct 30 13:48:25 db01 kernel: 801 [RAIDarray.mpp]Failover succeeded to oracledb:1<strong></strong>

ASMalert日志信息:

Thu Oct 30 13:47:40 2014kjbdomdet send to inst 2detach from dom 4, sending detach message to inst 2WARNING: Offline for disk OCR_VOTE1 in mode 0x7f failed.WARNING: Offline for disk OCR_VOTE2 in mode 0x7f failed.WARNING: Offline for disk OCR_VOTE3 in mode 0x7f failed.WARNING: Offline for disk OCR_VOTE4 in mode 0x7f failed.WARNING: Offline for disk OCR_VOTE5 in mode 0x7f failed.Thu Oct 30 13:47:40 2014List of instances: 1 2Dirty detach reconfiguration started (new ddet inc 1, cluster inc 4) Global Resource Directory partially frozen for dirty detach* dirty detach - domain 4 invalid = TRUE  17 GCS resources traversed, 0 cancelledDirty Detach Reconfiguration completeThu Oct 30 13:47:40 2014WARNING: dirty detached from domain 4NOTE: cache dismounted group 4/0x4558828B (OCR_VOT001) SQL> alter diskgroup OCR_VOT001 dismount force /* ASM SERVER:1163428491 */ Thu Oct 30 13:47:40 2014NOTE: cache deleting context for group OCR_VOT001 4/0x4558828bGMON dismounting group 4 at 19 for pid 28, osid 17335NOTE: Disk OCR_VOTE1 in mode 0x7f marked for de-assignmentNOTE: Disk OCR_VOTE2 in mode 0x7f marked for de-assignmentNOTE: Disk OCR_VOTE3 in mode 0x7f marked for de-assignmentNOTE: Disk OCR_VOTE4 in mode 0x7f marked for de-assignmentNOTE: Disk OCR_VOTE5 in mode 0x7f marked for de-assignmentNOTE:Waiting for all pending writes to complete before de-registering: grpnum 4Thu Oct 30 13:47:58 2014 Received dirty detach msg from inst 2 for dom 4Thu Oct 30 13:47:58 2014List of instances: 1 2Dirty detach reconfiguration started (new ddet inc 2, cluster inc 4) Global Resource Directory partially frozen for dirty detach* dirty detach - domain 4 invalid = TRUE  0 GCS resources traversed, 0 cancelledfreeing rdom 4Dirty Detach Reconfiguration completeThu Oct 30 13:48:10 2014NOTE:Waiting for all pending writes to complete before de-registering: grpnum 4Thu Oct 30 13:48:24 2014ASM Health Checker found 1 new failuresThu Oct 30 13:48:26 2014Errors in file /DBSoft/grid/diag/asm/+asm/+ASM1/trace/+ASM1_ora_6826.trc:ORA-15079: ASM file is closedErrors in file /DBSoft/grid/diag/asm/+asm/+ASM1/trace/+ASM1_ora_6826.trc:ORA-15079: ASM file is closedErrors in file /DBSoft/grid/diag/asm/+asm/+ASM1/trace/+ASM1_ora_6826.trc:ORA-15079: ASM file is closedErrors in file /DBSoft/grid/diag/asm/+asm/+ASM1/trace/+ASM1_ora_6826.trc:ORA-15079: ASM file is closedErrors in file /DBSoft/grid/diag/asm/+asm/+ASM1/trace/+ASM1_ora_6826.trc:ORA-15079: ASM file is closedWARNING: requested mirror side 1 of virtual extent 0 logical extent 0 offset 6754304 is not allocated; I/O request failedWARNING: requested mirror side 2 of virtual extent 0 logical extent 1 offset 6754304 is not allocated; I/O request failedWARNING: requested mirror side 3 of virtual extent 0 logical extent 2 offset 6754304 is not allocated; I/O request failedErrors in file /DBSoft/grid/diag/asm/+asm/+ASM1/trace/+ASM1_ora_6826.trc:ORA-15079: ASM file is closedORA-15079: ASM file is closedORA-15079: ASM file is closedThu Oct 30 13:48:26 2014SQL> alter diskgroup OCR_VOT001 check /* proxy */ Thu Oct 30 13:48:40 2014SUCCESS: diskgroup OCR_VOT001 was dismountedSUCCESS: alter diskgroup OCR_VOT001 dismount force /* ASM SERVER:1163428491 */Thu Oct 30 13:48:40 2014ORA-15032: not all alterations performedORA-15001: diskgroup "OCR_VOT001" does not exist or is not mountedERROR: alter diskgroup OCR_VOT001 check /* proxy */Thu Oct 30 13:48:40 2014NOTE: diskgroup resource ora.OCR_VOT001.dg is offlineSUCCESS: ASM-initiated MANDATORY DISMOUNT of group OCR_VOT001Thu Oct 30 13:48:46 2014NOTE: client exited [6814]Thu Oct 30 13:48:47 2014NOTE: [crsd.bin@db01 (TNS V1-V3) 17643] opening OCR fileThu Oct 30 13:48:49 2014NOTE: [crsd.bin@db01 (TNS V1-V3) 17656] opening OCR fileThu Oct 30 13:48:51 2014NOTE: [crsd.bin@db01 (TNS V1-V3) 17673] opening OCR fileThu Oct 30 13:48:53 2014NOTE: [crsd.bin@db01 (TNS V1-V3) 17720] opening OCR fileThu Oct 30 13:48:55 2014NOTE: [crsd.bin@db01 (TNS V1-V3) 17740] opening OCR fileThu Oct 30 13:49:02 2014NOTE: [crsd.bin@db01 (TNS V1-V3) 17760] opening OCR fileThu Oct 30 13:49:04 2014NOTE: [crsd.bin@db01 (TNS V1-V3) 17773] opening OCR fileThu Oct 30 13:49:06 2014NOTE: [crsd.bin@db01 (TNS V1-V3) 17790] opening OCR fileThu Oct 30 13:49:08 2014NOTE: [crsd.bin@db01 (TNS V1-V3) 17812] opening OCR fileThu Oct 30 13:49:10 2014NOTE: [crsd.bin@db01 (TNS V1-V3) 17826] opening OCR fileThu Oct 30 13:49:42 2014NOTE: [crsctl.bin@db01 (TNS V1-V3) 18043] opening OCR fileThu Oct 30 13:49:43 2014NOTE: [crsctl.bin@db01 (TNS V1-V3) 18087] opening OCR fileThu Oct 30 13:49:43 2014NOTE: [crsctl.bin@db01 (TNS V1-V3) 18221] opening OCR fileThu Oct 30 13:49:44 2014NOTE: [crsctl.bin@db01 (TNS V1-V3) 18274] opening OCR fileThu Oct 30 13:49:44 2014NOTE: [crsctl.bin@db01 (TNS V1-V3) 18292] opening OCR fileThu Oct 30 13:49:45 2014NOTE: [crsctl.bin@db01 (TNS V1-V3) 18416] opening OCR fileThu Oct 30 13:49:45 2014NOTE: [crsctl.bin@db01 (TNS V1-V3) 18434] opening OCR fileThu Oct 30 13:49:46 2014NOTE: [crsctl.bin@db01 (TNS V1-V3) 18536] opening OCR fileThu Oct 30 13:49:47 2014NOTE: [crsctl.bin@db01 (TNS V1-V3) 18641] opening OCR fileThu Oct 30 13:49:47 2014NOTE: [crsctl.bin@db01 (TNS V1-V3) 18659] opening OCR fileThu Oct 30 13:53:36 2014WARNING: Waited 15 secs for write IO to PST disk 0 in group 1.WARNING: Waited 15 secs for write IO to PST disk 0 in group 1.WARNING: Waited 15 secs for write IO to PST disk 0 in group 2.WARNING: Waited 15 secs for write IO to PST disk 0 in group 2.WARNING: Waited 15 secs for write IO to PST disk 0 in group 3.WARNING: Waited 15 secs for write IO to PST disk 0 in group 3.Thu Oct 30 13:54:43 2014NOTE: [crsctl.bin@db01 (TNS V1-V3) 19810] opening OCR file

CRS日志:

2014-10-30 13:48:26.715: [   CRSPE][1174640960]{2:1454:184} RI [ora.OCR_VOT001.dg db02 1] new target state: [OFFLINE] old value: [ONLINE]2014-10-30 13:48:26.716: [  CRSOCR][1166235968]{2:1454:184} Multi Write Batch processing...2014-10-30 13:48:26.716: [   CRSPE][1174640960]{2:1454:184} RI [ora.OCR_VOT001.dg db02 1] new internal state: [STOPPING] old value: [STABLE]2014-10-30 13:48:26.716: [   CRSPE][1174640960]{2:1454:184} Sending message to agfw: id = 32842014-10-30 13:48:26.716: [   CRSPE][1174640960]{2:1454:184} CRS-2673: Attempting to stop 'ora.OCR_VOT001.dg' on 'db02'2014-10-30 13:48:26.720: [   CRSPE][1174640960]{2:1454:184} Received reply to action [Stop] message ID: 32842014-10-30 13:48:26.725: [  OCRRAW][1166235968]proprior: Header check from OCR device 0 offset 6651904 failed (26).2014-10-30 13:48:26.725: [  OCRRAW][1166235968]proprior: Retrying buffer read from another mirror for disk group [+OCR_VOT001] for block at offset [6651904]2014-10-30 13:48:26.725: [  OCRASM][1166235968]proprasmres: Total 0 mirrors detected2014-10-30 13:48:26.725: [  OCRASM][1166235968]proprasmres: Only 1 mirror found in this disk group.2014-10-30 13:48:26.725: [  OCRASM][1166235968]proprasmres: Need to invoke checkdg. Mirror #0 has an invalid buffer. 2014-10-30 13:48:26.740: [   CRSPE][1174640960]{2:1454:184} Received reply to action [Stop] message ID: 32842014-10-30 13:48:26.740: [   CRSPE][1174640960]{2:1454:184} RI [ora.OCR_VOT001.dg db02 1] new internal state: [STABLE] old value: [STOPPING]2014-10-30 13:48:26.740: [   CRSPE][1174640960]{2:1454:184} RI [ora.OCR_VOT001.dg db02 1] new external state [OFFLINE] old value: [ONLINE] label = [] 2014-10-30 13:48:26.740: [   CRSPE][1174640960]{2:1454:184} CRS-2677: Stop of 'ora.OCR_VOT001.dg' on 'db02' succeeded2014-10-30 13:48:26.740: [  CRSRPT][1176742208]{2:1454:184} Published to EVM CRS_RESOURCE_STATE_CHANGE for ora.OCR_VOT001.dg2014-10-30 13:48:40.891: [  OCRASM][1166235968]proprasmres: kgfoControl returned error [8][  OCRASM][1166235968]SLOS : SLOS: cat=8, opn=kgfoCkDG01, dep=15032, loc=kgfokge2014-10-30 13:48:40.891: [  OCRASM][1166235968]ASM Error Stack : ORA-27091: unable to queue I/OORA-15079: ASM file is closedORA-06512: at line 42014-10-30 13:48:55.542: [ CRSMAIN][199140176] Initializing OCR[   CLWAL][199140176]clsw_Initialize: OLR initlevel [70000]2014-10-30 13:48:55.805: [  OCRASM][199140176]proprasmo: Error in open/create file in dg [OCR_VOT001][  OCRASM][199140176]SLOS : SLOS: cat=8, opn=kgfoOpen01, dep=15056, loc=kgfokge2014-10-30 13:48:55.805: [  OCRASM][199140176]ASM Error Stack : 2014-10-30 13:48:55.825: [  OCRASM][199140176]proprasmo: kgfoCheckMount returned [6]2014-10-30 13:48:55.825: [  OCRASM][199140176]proprasmo: The ASM disk group OCR_VOT001 is not found or not mounted2014-10-30 13:48:55.825: [  OCRRAW][199140176]proprioo: Failed to open [+OCR_VOT001]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.2014-10-30 13:48:55.825: [  OCRRAW][199140176]proprioo: No OCR/OLR devices are usable2014-10-30 13:48:55.825: [  OCRASM][199140176]proprasmcl: asmhandle is NULL2014-10-30 13:48:55.826: [    GIPC][199140176] gipcCheckInitialization: possible incompatible non-threaded init from [prom.c : 690], original from [clsss.c : 5343]2014-10-30 13:48:55.826: [ default][199140176]clsvactversion:4: Retrieving Active Version from local storage.2014-10-30 13:48:55.827: [ CSSCLNT][199140176]clssgsgrppubdata: group (ocr_db-cluster) not found2014-10-30 13:48:55.827: [  OCRRAW][199140176]proprio_repairconf: Failed to retrieve the group public data. CSS ret code [20]2014-10-30 13:48:55.830: [  OCRRAW][199140176]proprioo: Failed to auto repair the OCR configuration.2014-10-30 13:48:55.830: [  OCRRAW][199140176]proprinit: Could not open raw device 2014-10-30 13:48:55.830: [  OCRASM][199140176]proprasmcl: asmhandle is NULL2014-10-30 13:48:55.831: [  OCRAPI][199140176]a_init:16!: Backend init unsuccessful : [26]2014-10-30 13:48:55.832: [  CRSOCR][199140176] OCR context init failure.  Error: PROC-26: Error while accessing the physical storage2014-10-30 13:48:55.832: [    CRSD][199140176] Created alert : (:CRSD00111:) :  Could not init OCR, error: PROC-26: Error while accessing the physical storage2014-10-30 13:48:55.832: [    CRSD][199140176][PANIC] CRSD exiting: Could not init OCR, code: 262014-10-30 13:48:55.832: [    CRSD][199140176] Done.

故障处理有两种方法:

多路径切换层面,参考如下:

FailOverQuiescenceTime:

Quiescence Timeout before Failover (Mode Select Page 2C) command. Thetime,in seconds,the array will wait for a quiescence condition to clear for an explicitfailover operation. A typical setting is 20 seconds.

 

FailedPathCheckingInterval:

This parameter defines how long (in seconds) the MPP drivershould wait before initiating a path-validation action.Default value is 60 seconds.

 

Egg:

[root@db01 ~]# cat /etc/mpp.confVirtualDiskProductId=VirtualDiskDebugLevel=0x0NotReadyWaitTime=270BusyWaitTime=270QuiescenceWaitTime=270InquiryWaitTime=60MaxLunsPerArray=256MaxPathsPerController=4ScanInterval=60InquiryInterval=1MaxArrayModules=30ErrorLevel=3SelectionTimeoutRetryCount=0UaRetryCount=10RetryCount=10SynchTimeout=170FailOverQuiescenceTime=20FailoverTimeout=120FailBackToCurrentAllowed=1ControllerIoWaitTime=300ArrayIoWaitTime=600DisableLUNRebalance=0SelectiveTransferMaxTransferAttempts=5SelectiveTransferMinIOWaitTime=3IdlePathCheckingInterval=60RecheckFailedPathWaitTime=30FailedPathCheckingInterval=60ArrayFailoverWaitTime=300PrintSenseBuffer=0ClassicModeFailover=0AVTModeFailover=0LunFailoverDelay=3LoadBalancePolicy=1ImmediateVirtLunCreate=0BusResetTimeout=150LunScanDelay=2AllowHBAsgDevs=0S2ToS3Key=471f51f35ec5426e


ASM检测时间方面:

        只需要调整ASM隐含参数 _asm_hbeatiowait的值将其调大些,我这直接调到120了,重新执行五组测试,问题没有再现,故障解决。

(参看隐含参数值得方法参考:archive-1980)

 

Egg:

[root@db01 ~] # su – gird[grid@db01 ~] $ sqlplus sysasm/oracleSQL*Plus: Release 11.2.0.4.0 Production on Wed Nov 12 22:15:18 2014Copyright (c) 1982, 2013, Oracle.  All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> alter system set "_asm_hbeatiowait"=120 scope=spfile sid='*';System altered.SQL> <span style="color:#ff0000;"></span>

0 0
原创粉丝点击