LSI的硬RAID卡,(我知道的)可以通过MegaCli以命令行方式管理,具体的可以google下,megacli的安装、命令格式等。还有一种方式就是使用MegaRaid Storage Manager图形界面管理,这方面的文章不多,自己安装试用了下,具体记录如下:
1、Server的操作系统为CentOS5.4,这里所指的Server即安装RAID卡的那台机器。
[root@chunk1 ~]# cat /etc/RedHat-release
CentOS release 5.4 (Final)
2、可以简单地查看RAID卡的型号,详细信息利用MegaCli可以更清楚的看到
[root@chunk1 ~]# dmesg |grep -i raid
scsi0 : LSI SAS based MegaRAID driver
Vendor: LSI Model: MegaRAID 8888ELP Rev: 1.20
Vendor: LSI Model: MegaRAID 8888ELP Rev: 1.20
device-mapper: dm-raid45: initialized v0.2594l
md: Autodetecting RAID arrays.
3、下载“MSM_linux_installer-8.00-05.tar.gz”软件,解压,执行./install.sh安装,同意license,为了方便,选择“1”完全安装。
Press Y to accept the License Agreement :y
Press 0 to exit from installation
Choose[1-3]:
(1) - Complete
This option will install all program features.
(2) - Client
This option will only install components required to remotely view and
configure servers.
(3) - StandAlone
This option will only install components required for local server management
Note : Installer can also be run in a command line mode
Usage : install.sh [-option]
The options are :
a
The Complete Installation of MegaRAID Storage Manager (MSM)
c
The Client components only program of MSM
s
The StandAlone component of MSM
Setup Type :1
Starting client installation of MegaRAID Storage Manager 8.00-05....
Checking for any Old Version
No Old Version Found
Continuing with installation
File /usr/lib/libstdc++.so.5 not found
Install the libstdc++ rpm from the OS CD and retry
Refer to MSM readme for more details
4、提示要安装libstdc++.so.5,直接yum install libstdc++.so.5就好,继续
Press Y to accept the License Agreement :y
Press 0 to exit from installation
Choose[1-3]:
(1) - Complete
This option will install all program features.
(2) - Client
This option will only install components required to remotely view and
configure servers.
(3) - StandAlone
This option will only install components required for local server management
Note : Installer can also be run in a command line mode
Usage : install.sh [-option]
The options are :
a
The Complete Installation of MegaRAID Storage Manager (MSM)
c
The Client components only program of MSM
s
The StandAlone component of MSM
Setup Type :1
Starting complete installation of MegaRAID Storage Manager 8.00-05....
Checking for any Old Version
No Old Version Found
Continuing with installation
Preparing... ########################################### [100%]
Installing....
1:Lib_Utils ########################################### [100%]
Lib_Utils2 RPM is already installed
Installing MegaRAID_Storage_Manager-8.00-05
Preparing... ########################################### [100%]
Installing....
1:MegaRAID_Storage_Manage########################################### [100%]
/
/
/
Starting Framework:
/
/
Starting Monitor:
set: KEY=INSTALLER_VERSION VAL=v8.00-05
/
Installing sas_snmp-3.17-1102
Preparing... ########################################### [100%]
1:sas_snmp ########################################### [100%]
Starting snmpd
Stopping snmpd:
[ OK ]
Starting snmpd: [ OK ]
Starting LSI SNMP Agent
Starting LSI SNMP Agent:LSI MegaRAID SNMP Agent Ver 3.17.0.1 (Sep 04th, 2008) Started
[ OK ]
Installing sas_ir_snmp-3.17-1100
Preparing... ########################################### [100%]
Stopping LSI SNMP Agent:[ OK ]
1:sas_ir_snmp ########################################### [100%]
Starting snmpd
Stopping snmpd: [ OK ]
Starting snmpd: [ OK ]
Starting LSI SNMP Agent
Starting LSI SNMP Agent:LSI MegaRAID SNMP Agent Ver 3.17.0.1 (Sep 04th, 2008) Started
[ OK ]