您的位置:首页 > 大数据 > 人工智能

利用MegaRaid Storage Manager 管理LSI RAID卡

2012-06-14 13:28 507 查看
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 ]
5、到这里Server端就安装结束了。
6、接下来安装管理软件,即“MegaRaid Storage Manager.exe”,安装很简单,同样的,在选择安装模式时,选择“complete”就好。
7、之后就可以输入Server端的IP地址,输入用户名/密码,login



8、看到统计信息,包括磁盘数量,磁盘组数量,使用容量等等



9、看到各个磁盘的状态



10、可以看到详细的逻辑磁盘、磁盘组的状态



11、另外还可以针对磁盘做设置,如设置全局热备盘,单独RAID组中的热备盘,当然这个要看你的存储设备支不支持全局热备了。



12、在这里可以创建磁盘组等等。




这比用megacli一打长串命令人性化多咯!对那些经常配置RAID组,监控RAID状态的人来说,MegaRaid是个比较好的工具!

本文出自 “star&storage” 博客,请务必保留此出处http://taotao1240.blog.51cto.com/731446/898359
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: