To ensure data security on the server, usually an array of cards will do raid5, or raid6 and so on. But this can not avoid the presence of a disk may be damaged.
ESXI previous version 6 can be used to monitor raid state MegaCli
[root@CTAPACVM2:~] esxcli software vib install -v /tmp/vmware-esx-MegaCli-8.07.07.vib --no-live-install (安装发现有冲突)
[DependencyError]
File path of '/opt/lsi/MegaCLI/MegaCli' is claimed by multiple non-overlay VIBs: set(['LSI_bootbank_vmware-esx-MegaCli-8.04.07_8.04.07-01', 'LSI_bootbank_vmware-esx-MegaCli-8.07.07_8.07.07-01'])
File path of '/opt/lsi/MegaCLI/libstorelib.so' is claimed by multiple non-overlay VIBs: set(['LSI_bootbank_vmware-esx-MegaCli-8.04.07_8.04.07-01', 'LSI_bootbank_vmware-esx-MegaCli-8.07.07_8.07.07-01'])
Please refer to the log file for more details.
[root @ CTAPACVM2: ~] esxcli software vib list | grep MegaCli ( see previous MegaCli)
VMware-ESX-MegaCli-8.04.07 8.04.07-01 LSI PartnerSupported 2019-08-18
[root@CTAPACVM2:~] esxcli software vib remove -n vmware-esx-MegaCli-8.04.07 (删除以前的MegaCli)
Removal Result
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed:
VIBs Removed: LSI_bootbank_vmware-esx-MegaCli-8.04.07_8.04.07-01
VIBs Skipped:
[root@CTAPACVM2:~] esxcli software vib install -v /tmp/vmware-esx-MegaCli-8.07.07.vib --no-sig-check (再次安装)
Installation Result
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed: LSI_bootbank_vmware-esx-MegaCli-8.07.07_8.07.07-01
VIBs Removed:
VIBs Skipped:
CD / opt / LSI / the MegaCLI /
./MegaCli -LdPdInfo -aALL (raid state can be obtained)
But from the beginning ESXI 6 can not be used to monitor raid MegaCLI state
for LSI arrays have the official card remote monitoring tool MSM (MegaRAID Storage Manager) and VMW-ESX-LSIProvider.
Download https://my.vmware.com/web/vmware/ details? downloadGroup = DT-ESXI60- LSI-LSI-MR3-66101700-1OEM & productId = 491 # product_downloads
[root@CTAPACVM2:~] vmware -vl
VMware ESXi 6.0.0 build-3620759
VMware ESXi 6.0.0 Update 2
[root@CTAPACVM2:~] esxcli storage core device list (可以查到raid信息)
Drive Type: logical
RAID Level: RAID5
Number of Physical Drives: 5
安装
[root@CTAPACVM2:~] esxcli software vib install -v /tmp/vmware-esx-provider-lsiprovider.vib --no-sig-check
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: vmware-esx-provider-lsiprovider
VIBs Removed:
VIBs Skipped:
We can see five states make up the hard drive of the raid5
[Root @ CTAPACVM2: ~] esxtop (garbled)
[root@CTAPACVM2:~] echo $TERM
[root@CTAPACVM2:~] export TERM=xterm
[root@CTAPACVM2:~] echo $TERM
[Root @ CTAPACVM2: ~] esxtop (executed again)