Publish a service application (SharePoint Server 2010)
Applies to: SharePoint Server 2010, SharePoint Foundation 2010
In Microsoft SharePoint Server 2010, some service applications can be published across farms and thereby be made available over remote connections. This article describes how to publish a service application.
Important
Before you start to share service applications, we highly recommend that you read the articles Share service applications across farms (SharePoint Server 2010) and Services architecture planning (SharePoint Server 2010).
In this article:
To publish a service application by using Central Administration
To publish a service application by using Windows PowerShell
To publish a service application by using Central Administration
Verify 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 Application Management, and then click Manage service applications.
Click the row that contains the service application that you want to publish. Commands on the ribbon become available.
On the ribbon, click Publish.
In the Publish Service Application dialog box:
Select the Connection Type that you want from the drop-down list.
If you want the service application to be available to remote farms, select the check box for Publish this Service Application to other farms.
We recommend that you use the instructions in Exchange trust certificates between farms (SharePoint Server 2010) to establish trust between the two farms.
Copy the Published URL into Notepad or another text editor. You must provide this URL to remote farms to connect the remote farms to the published service application. The URL will be similar to the following: urn:schemas-microsoft-com:sharepoint:service:9c1870b7ee97445888d9e846519cfa27#authority=urn:uuid:02a493b92a5547828e21386e28056cba&authority=https://ua_powershell:32844/Topology/topology.svc.
You can optionally provide descriptive text and a link to a Web page that will be visible to administrators of remote farms. After you have specified the publication options that you want, click OK to publish the service application.
To publish a service application by using Windows PowerShell
Verify that you meet the following minimum requirements: See Add-SPShellAdmin.
On the Start menu, click Administrative Tools.
Click SharePoint 2010 Management Shell.
At the Windows PowerShell command prompt, type the following command:
Publish-SPServiceApplication -Identity <ServiceApplicationGUID>
If you do not know the GUID of the service application, you can use the following Windows PowerShell 2.0 cmdlet to list all service applications in the farm, together with their GUIDS:
Get-SPServiceApplication
To view the published service application load balancer URL, type the following command and record the output:
Get-SPTopologyServiceApplication
Any connecting remote farms will need the information that is generated by this command.
See Also
Reference
Publish-SPServiceApplication
Get-SPServiceApplication
Get-SPTopologyServiceApplication
Concepts
Add or remove a service application connection to a Web application (SharePoint Server 2010)