Remove Conflict Vib’s from ESXi Host.

Recently i have encountered an error while upgrading esxi host that “upgrade contains the following set of conflicting VIBs:scsi bfa , scsci qla.”

To remove conflict vib’s, login to esxi and run below command :

esxcli software vib remove --vibname scsi-bfa

you can also use below powercli script if there are multuple vibs to remove , Make sure host is in Maintenance Mode

Add-PSSnapin *Vmware*
$VIServer = 'vcenter server Name'
Connect-VIServer $VIServer
clear

write-host "Paste Esxi FQDN & Press Enter, Make sure host is in Maintenance Mode"
$esxihost = Read-host
$confirmation = Read-Host "Are you Sure You Want To Proceed (y/n):"
if ($confirmation -eq 'y')
{
write-host ("REMOVING VIB FOR HOST & Reboot " + $esxihost )
$esxi = get-esxcli -vmhost $esxihost
$esxi.software.vib.remove($false, $false, $true, $false, @("scsi-bfa"))
$esxi.software.vib.remove($false, $false, $true, $false, @("scsi-qla2xxx"))
Restart-VMHost $esxihost -confirm:$false | Out-Null
sleep -s 30
}

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s