Smart Array P410をRAIDカードだけ入手して、CentOS6.3のサーバにさしてみた。
認識はしたんだが、firmwareが古い。
また、おそらくマザーボードの問題で、P410からのブートは無理だったので、USBメモリにbootパーテーションを作って、そこから起動させる形でLinuxをインストールした。
インストール完了後、 hpacucliをインストールして、ステータスを確認してみる。
# hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
=>ctrl all show config detail
Smart Array P410 in Slot 6
Bus Interface: PCI
Slot: 6
Serial Number: PACCRID??????RQ
Cache Serial Number: PAAVPID??????KDX
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Hardware Revision: C
Firmware Version: 3.00
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 3 secs
Surface Scan Mode: Idle
Queue Depth: Automatic
Monitor and Performance Delay: 60 min
Elevator Sort: Enabled
Degraded Performance Optimization: Disabled
Inconsistency Repair Policy: Disabled
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 15 secs
Cache Board Present: True
Cache Status: OK
Cache Ratio: 25% Read / 75% Write
Drive Write Cache: Disabled
Total Cache Size: 512 MB
Total Cache Memory Available: 400 MB
No-Battery Write Cache: Enabled
Cache Backup Power Source: Batteries
Battery/Capacitor Count: 1
Battery/Capacitor Status: Failed (Replace Batteries)
SATA NCQ Supported: True
Array: A
Interface Type: SAS
Unused Space: 0 MB
Status: OK
Array Type: Data
Spare Type: dedicated
Logical Drive: 1
Size: 205.0 GB
Fault Tolerance: 5
Heads: 255
Sectors Per Track: 32
Cylinders: 52687
Strip Size: 256 KB
Full Stripe Size: 768 KB
Status: OK
Caching: Enabled
Parity Initialization Status: In Progress
Parity Initialization Progress: 79.64% complete
Unique Identifier: 600508B100103130333?????????????
Disk Name: /dev/sda
Mount Points: /boot 500 MB
OS Status: LOCKED
Logical Drive Label: A23B2853PACCRID???????????F
Drive Type: Data
physicaldrive 1I:0:3
Port: 1I
Box: 0
Bay: 3
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 72 GB
Rotational Speed: 10000
Firmware Revision: 0603
Serial Number: 0422???Y 3??????Y
Model: SEAGATE ST973402SSUN72G
PHY Count: 2
PHY Transfer Rate: 3.0Gbps, Unknown
physicaldrive 1I:0:4
Port: 1I
Box: 0
Bay: 4
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 72 GB
Rotational Speed: 10000
Firmware Revision: 0603
Serial Number: 0422???1 3??????1
Model: SEAGATE ST973402SSUN72G
PHY Count: 2
PHY Transfer Rate: 3.0Gbps, Unknown
physicaldrive 2I:0:5
Port: 2I
Box: 0
Bay: 5
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 72 GB
Rotational Speed: 10000
Firmware Revision: 0603
Serial Number: 0522???3 3??????3
Model: SEAGATE ST973402SSUN72G
PHY Count: 2
PHY Transfer Rate: 3.0Gbps, Unknown
physicaldrive 2I:0:6
Port: 2I
Box: 0
Bay: 6
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 72 GB
Rotational Speed: 10000
Firmware Revision: 0603
Serial Number: 0422???7 3??????7
Model: SEAGATE ST973402SSUN72G
PHY Count: 2
PHY Transfer Rate: 3.0Gbps, Unknown
physicaldrive 2I:0:7
Port: 2I
Box: 0
Bay: 7
Status: Predictive Failure
Drive Type: Spare Drive
Interface Type: SAS
Size: 72 GB
Rotational Speed: 10000
Firmware Revision: 0603
Serial Number: 4922???W 3??????W
Model: SEAGATE ST973402SSUN72G
PHY Count: 2
PHY Transfer Rate: 3.0Gbps, Unknown
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250
Device Number: 250
Firmware Version: RevC
WWID: 500143800??????F
Vendor ID: PMCSIERA
Model: SRC 8x6G
#
ディスクが1本死にかけてるとか、バッテリーモジュールが死んでるとか、RAID構築中とか、あるけれど、firmware はv3.0であることを確認。
バージョンアップしようとしたところ、エラーが・・・
# ./CP019316.scexe
./hpsetup: ./ccissflash: /lib/ld-linux.so.2: bad ELF interpreter: そのようなファイルやディレクトリはありません
#
なんのファイルが足らないのか調べようとしたら、実行した後に展開される作業用ファイルを削除してしまってわからない。
CP019316.scexeはシェルスクリプトなので、ファイルを展開するだけのオプションがないか確認したところ「–unpack=出力先ディレクトリ」であることが判明。
# ./CP019316.scexe --unpack=/root/t
1115.bin
CP019316.xml
MIZ108.bin
Rom.bin
ccissflash
firmware.cfg
hpsetup
libcpqimgr.so
sandman.bin
# ls -l /root/t
合計 20908
-rwxr-xr-x 1 root root 1494272 11月 16 04:24 2011 1115.bin
-rw-rw-rw- 1 root root 743473 12月 14 02:25 2012 CP019316.xml
-rwxr-xr-x 1 root root 1461504 9月 18 02:36 2012 MIZ108.bin
-rwxr-xr-x 1 root root 4194304 11月 16 04:24 2011 Rom.bin
-rwxr-xr-x 1 root root 7159043 3月 27 14:10 2012 ccissflash
-rw-rw-rw- 1 root root 427 12月 14 02:20 2012 firmware.cfg
-rwxrwxrwx 1 root root 268 12月 14 02:20 2012 hpsetup
-rwxr-xr-x 1 root root 2148102 3月 27 14:11 2012 libcpqimgr.so
-rwxr-xr-x 1 root root 4194304 12月 12 09:31 2012 sandman.bin
# file *
1115.bin: data
CP019316.xml: XML document text
MIZ108.bin: data
Rom.bin: data
ccissflash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.3, not stripped
firmware.cfg: ASCII text, with CRLF line terminators
hpsetup: Bourne-Again shell script text executable
libcpqimgr.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped
sandman.bin: data
#
とりあえず、よくある compat-libstdc++-296あたりかな、と「yum install compat-libstdc++-296」を実行。
# yum install compat-libstdc++-296
<略>
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
compat-libstdc++-296 i686 2.96-144.el6 base 77 k
Installing for dependencies:
glibc i686 2.12-1.80.el6_3.7 updates 4.3 M
libgcc i686 4.4.6-4.el6 base 111 k
nss-softokn-freebl i686 3.12.9-11.el6 base 116 k
Updating for dependencies:
glibc x86_64 2.12-1.80.el6_3.7 updates 3.8 M
glibc-common x86_64 2.12-1.80.el6_3.7 updates 14 M
Transaction Summary
================================================================================
Install 4 Package(s)
Upgrade 2 Package(s)
Total download size: 23 M
Is this ok [y/N]: y
<略>
# ./ccissflash
./ccissflash: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
#
まだエラーがでている。
というか、「compat-libstdc++-296」ではなかったようだ。
ぐぐったところ「“bad ELF interpreter” Error When Running Smart Array Controller Firmware Update Script」を発見。
「glibc-2.12-~.i686」と「libstdc++-4.4.6-~.i686」があれば良かったらしい。
先ほどの操作でglibc-2.12-~.i686はインストールされたので、libstdc++-4.4.6のみインストール。
# yum install libstdc++-4.4.6-4.el6.i686
<略>
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
libstdc++ i686 4.4.6-4.el6 base 299 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 299 k
Installed size: 908 k
Is this ok [y/N]: y
<略>
# ./ccissflash
HP Enclosure ROM Flash.
Flash Engine Version: 2.06.10
Copyright (c) 2006-2009 Hewlett-Packard Development Company L.P.
-i<romfile> is required
#
こんどは、問題なく動作できた。
改めてfirmwareのアップデートプログラムを実行
# ./CP019316.scexe
HP Enclosure ROM Flash.
Flash Engine Version: 2.06.10
Copyright (c) 2006-2009 Hewlett-Packard Development Company L.P.
Device [P410]: FW Ver [ Current:3.00 | Apply:6.00 ?]Flash this device? [NO, yes, quit] yes
Preparing to flash devices on the array controller...
Requesting flash - this could take up to 15 minutes...
The array flash operation succeeded.
Device [P410]: FW Ver [ Current:3.00 | Apply:6.00 ?]Flash this device? [NO, yes, quit] yes
Preparing to flash devices on the array controller...
Requesting flash - this could take up to 15 minutes...
Flash complete.
The array flash operation succeeded.
#
アップデート後は再起動して、hpacucliにてバージョンを確認。
# hpacucli ctrl all show config detail
Smart Array P410 in Slot 6
Bus Interface: PCI
Slot: 6
Serial Number: PACCRID??????RQ
Cache Serial Number: PAAVPID??????KDX
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Hardware Revision: C
Firmware Version: 6.00-2
Rebuild Priority: Medium
Expand Priority: Medium
<略>
v6.00-2になっていることを確認した。