Manage services on the server (SharePoint Server 2010)
Применимо к: SharePoint Foundation 2010, SharePoint Server 2010
Последнее изменение раздела: 2015-03-09
Microsoft SharePoint Server 2010 includes services that reside on individual servers in the farm. In some cases, you can configure global service settings and start or stop a service. Services are managed directly in Central Administration instead of through a separate administration site. You can also remotely monitor and manage services. Additionally, you can manage services by using Windows PowerShell 2,0.
For more information about services and service applications, see About service applications and services (SharePoint Server 2010) and Планирование архитектуры служб (SharePoint Server 2010).
In this article:
Configuring global settings
Starting or stopping a service
Configuring global settings
Some services have settings that you can globally configure. For information about how to configure those settings, see the articles listed in the following table.
Service | Article |
---|---|
Document Conversions Launcher Service and Document Conversions Load Balancer Service |
Настройка службы запуска для преобразования документов (Windows SharePoint Services) |
Microsoft SharePoint Foundation Workflow Timer Service |
|
SharePoint Foundation Search and SharePoint Server Search |
Администрирование поиска в корпоративной среде (SharePoint Server 2010) |
Starting or stopping a service
You can manage services by using the Central Administration Web site or by using Windows PowerShell 2,0.
To start or stop a service by using Central Administration
Confirm that the user account that is performing this procedure is a member of the Farm Administrators SharePoint group.
On the SharePoint Central Administration Web site, click System Settings.
On the System Settings page, in the Servers section, click Manage services on server.
To change the server on which you want to start or stop the service, on the Server menu, click Change Server, and then click the server name that you want.
By default, only configurable services are displayed. To view all services, on the View menu, click All.
To start or stop a service, click Start or Stop in the Action column of the relevant service.
Click OK to start or stop the service.
To start a service by using Windows PowerShell
Verify that you meet the following minimum requirements: См. статью Add-SPShellAdmin.
On the Start menu, click Administrative Tools.
Click SharePoint 2010 Management Shell.
At the Windows PowerShell command prompt, type the following command:
Start-SPServiceInstance -Identity <ServiceGUID>
Where <ServiceGUID> is the GUID of the service. If you do not know the service GUID, you can retrieve a list of all services in the farm together with their GUIDs by using the Get-SPServiceInstance cmdlet.
For more information, see Start-SPServiceInstance.
To stop a service by using Windows PowerShell
Verify that you meet the following minimum requirements: См. статью Add-SPShellAdmin.
On the Start menu, click Administrative Tools.
Click SharePoint 2010 Management Shell.
At the Windows PowerShell command prompt, type the following command:
Stop-SPServiceInstance -Identity <ServiceGUID>
Where <ServiceGUID> is the GUID of the service. If you do not know the service GUID, you can retrieve a list of all services in the farm together with their GUIDs by using the Get-SPServiceInstance cmdlet.
For more information, see Stop-SPServiceInstance.
Примечание
Для выполнения административных задач из командной строки мы рекомендуем использовать Windows PowerShell. Программа командной строки Stsadm является устаревшей, однако она добавлена для совместимости с предыдущими версиями продукта.