Hi All,
I had a SharePoint 2013 farm with two WFE servers. Both hosting Central Admin. Both servers were part of Distributed Cache host.
But last week, we remove one of the servers from the farm permanently. I followed following procedure:
1) Stop all services on the server which was to be removed.
2) Uninstalled SharePoint from that server.
Our single server farm is working all right now but using the command "Get-CacheHost" is still showing both the servers (Removed server is having status "Down").
I tried every command from the google search example - Unregister-AFCacheHost, Unregister-CacheHost, Remove-CacheHost, Remove-SPDistributedCacheServiceInstance etc. but unable to delete the removed server Host name from App Fabric Cache Host list. Firing Add-SPDistributedCacheServiceInstance brings it back.
Please suggest.