Renamed a server - but forgot to rename the AppFabric / Dist. cache
Now almost everything related gives me errors
Use-cachecluster
Use-CacheCluster : ErrorCode<ERRCAdmin040>:SubStatus<ES0001>:Failed to connect to hosts in the cluste
Stop-CacheClusterStop-CacheCluster : ErrorCode<ERRCAdmin008>:SubStatus<ES0001>:No hosts running in cluster.
Get-Cachehost gives me this;
HostName : CachePort Service Name Service Status Version Info-------------------- ------------ -------------- ------------
OLDSERVERNAME:22233 AppFabricCachingService UNKNOWN 0 [0,0][0,0]
When trying to remove it:
Unregister-CacheHost: ErrorCode<ServiceNotConfigured>:SubStatus<ES0001>:Service is not configured on this host. Run Add-CacheHost to configure.
Exported the config - and adjusted it to new server name - then trying to import the config
Import-CacheClusterConfig C:\temp\af.txtImport-CacheClusterConfig : Object reference not set to an instance of an object.
So it's to start over or does someone have the magic bullet?