LIST CELLDISK 报 CELL-02018: Internal error detected: java.lang.NullPointerException 错误。
适用于:
Oracle Exadata存储服务器软件 - 版本:11.2.1.2.0 11.2.1.2.1 - 发行:11.2至11.2
Linux的x86 - 64
症状
在CELLCLI 执行“ list celldisk”命令,返回内部错误:
[root@dwhcel10 ~]# cellcli
CellCLI: Release 11.2.1.2.1 - Production on Sun Jan 09 00:33:37 CST 2011
Copyright (c) 2007, 2009, Oracle. All rights reserved.
Cell Efficiency Ratio: 6M
CellCLI> LIST CELLDISK
CELL-02018: Internal error detected: java.lang.NullPointerException
Cause
ms-odl.log
===========
[2011-01-09T01:53:43.112-06:00] [ossmgmt] [NOTIFICATION] [] [ms.core.MSOSSComm] [tid: 12] [ecid: 10.204.74.117:74309:1294437780405:2,0] OSS Version compatible. MS-OSS Communication successful.
[2011-01-09T01:53:43.168-06:00] [ossmgmt] [NOTIFICATION] [] [ms.hwadapter.diskadp.MSDiskAdapterImpl] [tid: 12] [ecid: 10.204.74.117:74309:1294437780405:2,0] Disk 20:6 is in Foreign state. Will try to import.
[2011-01-09T01:53:49.175-06:00] [ossmgmt] [ERROR] [] [ms.core.MSCommandHandler] [tid: 12] [ecid: 10.204.74.117:74309:1294437780405:2,0] java.lang.NullPointerException[[
[2011-01-09T02:00:08.420-06:00] [ossmgmt] [NOTIFICATION] [] [ms.core.MSMetricPersistTimerTask] [tid: 12] [ecid: 10.204.74.117:74309:1294437780405:2,0] File /opt/oracle/cell11.2.1.2.1_LINUX.X64_100131/cellsrv/deploy/config/metrics/metrics_110102_02.xml is removed
[2011-01-09T02:01:36.317-06:00] [ossmgmt] [NOTIFICATION] [] [ms.hwadapter.diskadp.MSDiskAdapterImpl] [tid: 12] [ecid: 10.204.74.117:74309:1294437780405:2,0] Disk 20:6 is in Foreign state. Will try to import.
[2011-01-09T02:01:42.309-06:00] [ossmgmt] [ERROR] [] [ms.core.MSHwPollTimerTask] [tid: 12] [ecid: 10.204.74.117:74309:1294437780405:2,0] java.lang.NullPointerException[[
cellcli报告错误,该服务器上磁盘是失败的。
这是由于保持PD的失败历史设置为Enabled。
检查状态
MegaCli64 -AdpAllinfo -a0 | grep -i 'Maintain'
Maintain PD Fail History : Enabled
Maintain PD Fail History : Yes
这个问题已经提到了下面的错误。
未发表的错误9283894:CELL-02018:检测到内部错误:JAVA.LANG.NULLPOINTEREXCEPTION
它是确定在11.2.1.3
解决方案
我们需要“Maintain PD Fail History”属性设置为禁用。
运行下面的命令来改变这种状态,然后输入:
/opt/MegaRAID/MegaCli/MegaCli64 -adpsetprop MaintainPdFailHistoryEnbl 0 -a0
再次检查状态。
MegaCli64 -AdpAllinfo -a0 | grep -i 'Maintain'
Maintain PD Fail History : Disabled
Maintain PD Fail History : Yes
现在运行的list celldisk正常工作。
root@dwhcel10 ~]# cellcli
CellCLI: Release 11.2.1.2.1 - Production on Sun Jan 09 04:08:22 CST 2011
Copyright (c) 2007, 2009, Oracle. All rights reserved.
Cell Efficiency Ratio: 6M
CellCLI> LIST CELLDISK
CD_00_dwhcel10 normal
CD_01_cel10 normal
CD_02_cel10 normal
CD_03_cel10 normal
CD_04_cel10 normal
CD_05_cel10 normal
CD_06_cel10 not present