How to added the "DistributedCache" role to the "ApplicationWithSearch" role on the server farm

Viet Nguyen 0 Reputation points
2023-11-08T09:32:05.4633333+00:00

I added the "DistributedCache" role to the "ApplicationWithSearch" role on the server farm, however, when starting the "Distributed Cache" service, the warning "Complaint is No" occurs. Please let me know if this affects server performance or not? How to change the status "Complaint is No" to "Complain is Yes"?

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,333 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Du-MSFT 45,586 Reputation points Microsoft Vendor
    2023-11-09T08:38:17.6366667+00:00

    You could enable the Distributed Cache service by using PowerShell.

    1.Open the SharePoint Management Shell.

    2.Run following PowerShell.

    Add-SPDistributedCacheServiceInstance

    3.Verify that the Distributed Cache service is started. To do this, in the SharePoint Central Administration, click Application Management. In the Service Applications section, click Manage services on server. On the Services on Server page, make sure that the Distributed Cache service is listed, and the status is Started.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Luigi Bruno 316 Reputation points
    2023-11-14T11:45:50.25+00:00

    Hello Viet.

    As per Microsoft documentation, the "Application with Search" role does not include the Distributed Cache service: that's why the server is displayed as not compliant with the role it has been assigned.
    You can start the Distributed Cache service in that server by executing the Add-SPDistributedCacheServiceInstance PowerShell cmdlet, but this would make the server being reported as non compliant with the "Application with Search" role; it could also have an impact on the server's performance, because you're running an additional service on it.

    Bye.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.