Manage services on the server (SharePoint Foundation 2010)

 

Si applica a: SharePoint Foundation 2010

Ultima modifica dell'argomento: 2015-03-09

Microsoft SharePoint Foundation 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 Foundation 2010) and Pianificazione dell'architettura dei servizi (SharePoint Foundation 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 article listed in the following table.

Service Article

Microsoft SharePoint Foundation Workflow Timer Service

Configure global workflow settings (SharePoint Foundation 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

  1. Confirm that the user account that is performing this procedure is a member of the Farm Administrators SharePoint group.

  2. On the SharePoint Central Administration Web site, click System Settings.

  3. On the System Settings page, in the Servers section, click Manage services on server.

  4. 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.

  5. By default, only configurable services are displayed. To view all services, on the View menu, click All.

  6. To start or stop a service, click Start or Stop in the Action column of the relevant service.

  7. Click OK to start or stop the service.

To start a service by using Windows PowerShell

  1. Verify that you meet the following minimum requirements: vedere Add-SPShellAdmin.

  2. On the Start menu, click Administrative Tools.

  3. Click SharePoint 2010 Management Shell.

  4. 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

  1. Verify that you meet the following minimum requirements: vedere Add-SPShellAdmin.

  2. On the Start menu, click Administrative Tools.

  3. Click SharePoint 2010 Management Shell.

  4. 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.

Nota

Per l'esecuzione di attività amministrative dalla riga di comando è consigliabile utilizzare Windows PowerShell. Lo strumento da riga di comando Stsadm è deprecato, ma è stato incluso per garantire la compatibilità con le versioni precedenti del prodotto.

See Also

Reference

Get-SPServiceInstance