Application Discovery 及 Load Balancer Service 目前未於此伺服器陣列執行 (SharePoint Server)The Application Discovery and Load Balancer Service is not running in this farm (SharePoint Server)

摘要:了解如何解決 SharePoint Server 2016 和 SharePoint 2013 的 SharePoint Health Analyzer 規則「Application Discovery and Load Balancer Service 目前未於此伺服器陣列執行」。Summary: Learn how to resolve the SharePoint Health Analyzer rule "The Application Discovery and Load Balancer Service is not running in this farm" for SharePoint Server 2016 and SharePoint 2013.

規則名稱:此伺服器陣列並未執行 Application Discovery and Load Balancer Service。Rule Name: The Application Discovery and Load Balancer Service is not running in this farm.

摘要:Application Discovery and Load Balancer Service 可針對使用伺服器陣列所提供之服務的使用者,提供有關伺服器陣列拓撲的相關資訊。使用者可以使用這項資訊來執行負載平衡。伺服器陣列中必須至少有一部伺服器在執行 Application Discovery and Load Balancer Service。Summary: The Application Discovery and Load Balancer service provides information about the topology of the farm to users who are using services offered by the farm. Users can use this information to perform load balancing. The Application Discovery and Load Balancer Service should be running on at least one server in the farm.

原因:Application Discovery and Load Balancer Service 已停止。Cause: The Application Discovery and Load Balancer service is stopped.

解決方案:在伺服器陣列中的至少一部伺服器上,啟動 Application Discovery and Load Balancer Service。Resolution: Start the Application Discovery and Load Balancer service on at least one server in the farm.

  1. 確認您具備下列成員資格:Verify that you have the following memberships:

    • SQL Server 執行個體上的 securityadmin 固定伺服器角色。securityadmin fixed server role on the SQL Server instance.

    • 所有要更新之資料庫上的 db_owner 固定資料庫角色。db_owner fixed database role on all databases that are to be updated.

    • 正在執行 Microsoft PowerShell Cmdlet 之所在伺服器上的系統管理員群組。Administrators group on the server on which you are running the Microsoft PowerShell cmdlets.

      系統管理員可以使用 Add-SPShellAdmin Cmdlet 授與使用 SharePoint Cmdlet 的權限。An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint cmdlets.

      注意

      [!附註] 如果您不具備上述權限,請連絡安裝程式系統管理員或 SQL Server 系統管理員要求權限。如需 PowerShell 權限的其他資訊,請參閱 Add-SPShellAdminIf you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.

  2. 啟動 SharePoint 管理命令介面。Start the SharePoint Management Shell.

  3. 在 PowerShell 命令提示字元處輸入下列命令:At the PowerShell command prompt, type the following command:

    Get-SPServiceInstance -ALL

    如需詳細資訊,請參閱 Get-SPServiceInstanceFor more information, see Get-SPServiceInstance.

  4. 尋找 Application Discovery and Load Balancer Service 的 GUID。Find the GUID of the Application Discovery and Load Balancer service.

  5. 輸入下列命令:Type the following command:

    Start-SPServiceInstance [-Identity]

    其中的 [-Identity] 是 Application Discovery and Load Balancer Service 的 GUID。如需詳細資訊,請參閱 Start-SPServiceInstanceWhere [-Identity] is the GUID for the Application Discovery and Load Balancer service. For more information, see Start-SPServiceInstance.