当前位置: 代码迷 >> 综合 >> 关于vmware esxi 5.1安装MegaCLI工具
  详细解决方案

关于vmware esxi 5.1安装MegaCLI工具

热度:30   发布时间:2024-01-21 06:39:11.0
关于vmware esxi 5.1安装MegaCLI工具
软件下载:http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/8.07.07_MegaCLI.zip1.解压之后把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 -aAll3.相关命令(所有系统下都可以使用)
/opt/lsi/MegaCLI/MegaCli -LDinfo -Lall -aAll
mkdir -p /opt/MegaRAID/MegaCli
cd /opt/MegaRAID/MegaCli64位使用:
/opt/MegaRAID/MegaCli/MegaCli64
/opt/raid/Linux/lsiutil.x86_64
32位使用:
/opt/MegaRAID/MegaCli/MegaCli
/opt/raid/Linux/lsiutilln  -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命令安装。
  相关解决方案