none
Remove Host from Distributed Cache RRS feed

  • Question

  • Hi,

    i have a problem with the Distributed Cache. I cannot delete an old entry in the hosts-config.

    KNLEMOSSAPTEST does not exist anymore, but everything i tried to remove this host is failing.

    Any tips or workarounds ?

    Monday, December 4, 2017 11:32 AM

All replies

  • Request you to try below powershell script

    Unregister-CacheHost -HostName <ServerName> -ProviderType "SPDistributedCacheClusterProvider" ConnectionString "Data Source=<Database ServerName>;Initial Catalog=<Config_DB>;Integrated Security=True;Enlist=False"

    You can get connection string property from below config file

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppFabric\V1.0\Configuration

    You may also follow the below web link

    http://alstechtips.blogspot.co.uk/2014/07/sharepoint-2013-how-to-remove-cache.html

    • Edited by Amol Pawar Monday, December 4, 2017 1:51 PM
    • Proposed as answer by Carl__Zhou Tuesday, December 5, 2017 7:59 AM
    Monday, December 4, 2017 1:46 PM
  • Hi,

     

    If the post helps you, you can mark it as answer to help other community members to find the information quickly.

    Have a nice day!

     

    Best Regards,

    Carl Zhou


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, December 15, 2017 6:13 AM
  • Hi,

     

    As you have solved this issue, please mark the reply as answer, it will benefit with others in the community who meet this similar issue in the future.

     

    Best Regards,

    Carl Zhou


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, December 22, 2017 6:37 AM