IOFilters are offline in vCenter Server.
/var/log/vmware/vmware-sps/sps.log you will see entries similar to the below:[YYYY-MM-DDTHH:MM:SS] [pool-10-thread-5] ERROR opId=sps-Main-101761-246 com.vmware.vim.sms.provider.vasa.alarm.AlarmDispatcher -[YYYY-MM-DDTHH:MM:SS] [pool-10-thread-1] ERROR opId=sps-Main-101761-246 com.vmware.vim.sms.provider.vasa. alarm. AlarmDispatcher - Error: org.apache.axis2.AxisFault: self signed certificate occured as provider: https://<ESXi-A FQDN>:9080/version.xml:9080/version.xml isoffline[YYYY-MM-DDTHH:MM:SS] [pool-10-thread-4] ERROR opId=sps-Main-101761-246 com.vmware.vim.sms.provider.vasa.alarm.AlarmDispatcher - Error: org.apache.axis2.AxisFault: self signed certificate occured as provider: https://<ESXi-C FQDN>:9080/version.xml:9080/version.xml isoffline
wget localhost:22000/sms/HealthStatus ; cat HealthStatus ; rm HealthStatusnetstat -pan | grep sps does not show any entries in CLOSE_WAIT for port 9080.VMware vCenter Server 8.0.X
VMware vSphere ESXi host 8.0.X
VMware vCenter Server 7.0.X
VMware vSphere ESXi host 7.0.X
NOTE: Before taking the steps below, please ensure that a fresh snapshot or backup of the vCenter Server Appliance (VCSA) was created. In case the VCSA is in an Enhanced Linked Mode replication with other vCenter Servers, please be aware that offline snapshots of all ELM replication partners need to be taken, and need to be restored in case of a rollback.
Ensure that the IOFilter provider URLs can be reached from the vCenter, by running wget against them.
wget https://esxhost.fqdn.local:9080/version.xml
Expected Output :
|
After verification, use one of the options below to resolve the issue,
https://<vCenter-fqdn.local>/sms/mobQueryStorageManager linkInvoke method, then on the "storageManager" link in the Method Invocation ResultQueryProvider link and Invoke methodvasaProvider-### links in the Method Invocation Results one by oneQueryProviderInfo link and Invoke Method(sms.provider.VasaProviderInfo) { dynamicType = null, dynamicProperty = null, uid = ########-####-####-####-############)QueryStorageManager link (see step 1, step 2 and step 3)UnregisterProvider_Task linkservice-control --stop vmware-sps && service-control --start vmware-spsvCenter > Configure > Storage Providers, Click on “Synchronize Storage Providers”.Connect-VIServer --server <vCenter-FQDN>vCenter > Configure > Storage Providers.“Synchronize Storage Providers”.Note: If there are no offline filters present run the below command to remove the iofilters instead of the above command Get-VasaProvider | Where-Object {$_.Namespace -eq 'IOFILTERS' -and $_.Status -like 'offline'} | Remove-VasaProvider
Get-VasaProvider | where {$_.Namespace -eq 'IOFILTERS' -and $_.Url -like 'https://<ESXi_FQDN>*'} | Remove-VasaProvider
Next restart sps with command below
service-control --restart spsIn vSphere Client, go to vCenter > Configure > Storage Providers.
Click on “Synchronize Storage Providers”.
To map the vasaProvider moid to the ESXi host, you can use the below PowerCLI script:
Get-VasaProvider | Select-Object `
@{N="MOID";E={$_.Id}},
@{N="Host";E={[System.Uri]$_.Url | Select-Object -ExpandProperty Host}}