关于vmware esxi 5.1安装MegaCLI工具

8年前 (2017-06-09) gtj vmware, 云计算 0评论 已收录 1170℃

关于vmware esxi 5.1安装MegaCLI工具
软件下载:http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/8.07.07_MegaCLI.zip

1.解压之后把VmwareMN文件夹中的vmware-esx-MegaCli-8.07.07.vib文件传到服务器/tmp目录下面

2.执行命令
esxcli software vib install -v /tmp/vmware-esx-MegaCli-8.07.07.vib --no-sig-check
mkdir -p /opt/MegaRAID/MegaCli
cd /opt/MegaRAID/MegaCli
ln -s /opt/lsi/MegaCLI/MegaCli MegaCli64
ln -s /opt/lsi/MegaCLI/libstorelib.so libstorelib.so
/opt/MegaRAID/MegaCli/MegaCli64 -LDinfo -Lall -aAll

/opt/lsi/MegaCLI/MegaCli -LDinfo -Lall -aAll

3.相关命令(所有系统下都可以使用)
/opt/lsi/MegaCLI/MegaCli -LDinfo -Lall -aAll
mkdir -p /opt/MegaRAID/MegaCli
cd /opt/MegaRAID/MegaCli

64位使用:
/opt/MegaRAID/MegaCli/MegaCli64
/opt/raid/Linux/lsiutil.x86_64
32位使用:
/opt/MegaRAID/MegaCli/MegaCli
/opt/raid/Linux/lsiutil

ln -s /opt/lsi/MegaCLI/MegaCli MegaCli64
ln -s /opt/lsi/MegaCLI/libstorelib.so libstorelib.so

/opt/MegaRAID/MegaCli/MegaCli -LDinfo -Lall -aAll 查看raid状态
/opt/MegaRAID/MegaCli/MegaCli -PDList -aAll 查看每块物理磁盘信息(可以看到具体哪块磁盘出问题)
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll | grep "Firmware state:"
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll | grep "Raw Size:"
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll | grep "Slot Number:"

注:为了统一性可以用软连接把命令行设置为一样的路径

相关帮助文档:
http://de.community.dell.com/techcenter/support-services/w/wiki/909.how-to-install-megacli-on-esxi-5-x

注意:其他系统例如:centos solaris下的直接使用或者rpm命令安装。

博主

这货来去如风,什么鬼都没留下!!!

相关推荐

嗨、骚年、快来消灭0回复。

×
订阅图标按钮
Less is more!!!