3

After enabling my Distributed Cache on my SharePoint site I received and error.

When i navigated to My distributed Cache service I noticed the service had started but wasn't "Compliant" and had a "X" with a link to "Fix"(AS in image below CMD prompt,sorry its so small). When I click the "Fix" link the page refreshes and my Distributed Cache service is then turned off. I cant start the service from in the CA so Iv'e used Shell and it starts the service fine. But the service still gets the "Fix" link, which breaks the service when clicked. Real confused on this. Any help will be much appreciated, thanks.

Ps. Cache Host is up and running fine aswell.Host is up

enter image description here

1
  • What is server minrole? Commented Oct 14, 2016 at 5:49

1 Answer 1

1

Waqas Sarwar is pointing you in the right direction...I was seeing the same issue and after talking to MS, I had to change the role of one of my farm servers. I originally had a wfe, an app server, and a search server. I was trying to run distributed cache on the app server, but minrole doesn't see that as being in compliance because the application server role doesn't include distributed cache. The two options were to build a dedicated distributed cache server (which, I believe, incurs another sharepoint license) or change one of the server roles to custom. I went with changing the Application server to Custom. Use Central Administration to change the role - go to System Settings, Servers, Convert server role in this farm. You can use powershell Remove-SPDistributedCacheServiceInstance and Add-SPDistributedCacheServiceInstance to straighten out dist cache once you get the minrole piece hashed out.

2
  • 1
    May I know what actually will happen after I change server role from "Front-end" to "Custom"? I can manually setup Distributed Cache with PowerShell but I am worrying what "role change" is actually doing. Commented Jul 23, 2019 at 6:23
  • Same as @Mark L, I have a server which min-role is Front-End. I read in Microsoft documentation that the perfect minrole should be Front-End with Distributed Cache, but strangely my Centrale Admin does not propose that option when changing min-role Commented Aug 4, 2020 at 14:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.