How to install MegaCli on ESXi 5.x
Posted by on 2015-12-22 10:10:49:
Enable ssh service (you can use Vsphere client for that purpose, or directly on the VM Host with F2 -> Troubleshooting Options)
Download MegaCli 08.07.07
Copy attached VIB to ESXi host using SFTP / SCP (I use FileZilla) to /tmp/
Install VIB with PUTTY using following command:
esxcli software vib install -v=/tmp/vmware-esx-MegaCli-8.07.06.vib --force --maintenance-mode --no-sig-check
I advise that you set your host in Maintenance Mode and don't use the maintenance-mode switch.
After that you can use two ways to get your Controllerlog:
Change to the MegaCLI folder:
cd /opt/lsi/MegaCLI/and use this command to get your controllerlog:
./MegaCli -FwTermLog -Dsply –aALL
To output the result to a text file, simply direct the output like this:
./MegaCli -FwTermLog -Dsply –aALL > lsi.txt
The Logfile is now located in /opt/lsi/MegaCLI/
Use the command from any folder after installation:
LD_LIBRARY_PATH=/opt/lsi/MegaCLI/ /opt/lsi/MegaCLI/MegaCli -FwTermLog -Dsply –aALL (Displays Output in Putty) LD_LIBRARY_PATH=/opt/lsi/MegaCLI/ /opt/lsi/MegaCLI/MegaCli -FwTermLog -Dsply –aALL > lsi.txt (to merge it into a .txt File)
All other commands like:
./MegaCli -AdpAllInfo -aAll > /tmp/adpinfo.log ./MegaCli -PDList -aAll > /tmp/pdlist.log ./MegaCli -LDInfo -aAll > /tmp/ldinfo.log
Various other MegaCLI commands can be found here:
Tags: Storage , Linux
Return to home page: Home