此部署中未启用分布式缓存服务 (SharePoint Server)

适用于:yes-img-132013 yes-img-162016 yes-img-192019 yes-img-seSubscription Edition no-img-sopSharePoint in Microsoft 365

规则名称:此部署中未启用分布式缓存服务。

摘要: 安装时会在运行 SharePoint 产品的所有服务器上启动分布式缓存。 然而,执行维护和操作任务的管理员可能需要启动和停止分布式缓存服务。 停止分布式缓存服务后会发生此事件。

原因:在此服务器上禁用分布式缓存服务。

解决方法:使用 Microsoft PowerShell 启用分布式缓存服务。

  1. 确认您具有以下成员身份:
  • SQL Server 实例上的 securityadmin 固定服务器角色。

  • 要更新的所有数据库上的 db_owner 固定数据库角色。

  • 运行 PowerShell cmdlet 的服务器上的 Administrators 组。

  • Farm Administrators 组。

    管理员可以使用 Add-SPShellAdmin cmdlet 授予使用 SharePoint Server cmdlet 的权限。

    注意

    [!注意] 如果您不具有这些权限,请联系您的安装管理员或 SQL Server 管理员来请求权限。 有关 PowerShell 权限的其他信息,请参阅 Add-SPShellAdmin

  1. 启动 SharePoint 命令行管理程序。

  2. 在您要启用分布式缓存服务的服务器上,运行以下命令:

    Add-SPDistributedCacheServiceInstance

  3. Verify that the Distributed Cache service is started. To do this, in the SharePoint Central Administration website, 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.

另请参阅

概念

在 SharePoint Server 中管理分布式缓存服务

在 SharePoint Server 中规划源和分布式缓存服务

其他资源

Add-SPDistributedCacheServiceInstance

规划和使用分布式缓存服务