In this article we will be seeing how to publish a Service Application in
SharePoint 2010.
In MOSS 2007 we had SSP that cannot be shared across farm levels. But in
SharePoint 2010 a new feature have been introduced "Service Applications" which
can be shared across farm levels, for that we need to create a Service
Application and that has to be published so that it can be used by other farms.
In this we will be seeing how to publish a Managed Metadata Service.
Publish a Service Application:
I. Go to the Central Administration->Application Management->Manage Service
Applications.
ii. Select Managed Metadata Service.
iii. In the Ribbon click on Publish.
iv. Publish Service application model popup will be opened.
v. Select the Connection Type that you want from the drop-down list.
vi. If you want the service application to be available to remote farms, select
the check box for Publish this Service Application to other farms.
vii. In the Trusted farms column click the link you could see the trust
relationship between farms that you have created(How to create Trust
relationship go to this article)
viii. Copy the Published URL which should be provided by the consuming farm when
connecting to the publishing farm.
ix. The Publisher farm is the farm in which the Service application is running
and the Consumer farm is the farm which will consume data from the publishing
farm.
x. Click OK.
Set permission to the published service application for a consuming farm:
I. In the publishing farm go to Start menu.
ii. Go to SharePoint 2010 Management Shell and select Run as Administrator.
iii. In the command prompt, type each of the following commands.
iv. The above command is used to get the farm id.
v. Save the farm id.
vi. Go to the Central Administration->Application Management->Manage Service
Applications.
vii. Click on Managed Metadata Service.
viii. In the Ribbon select Permissions.
ix. Enter the farm id that you got from step 3 and click Add.
x. In Permissions for Local Farm, select the Full Access to Term Store.
xi. Click OK.
Thus we have published a Managed Metadata Service Application; the other farms
can connect to this Service Application. This is one of the best features in
SharePoint 2010 so that we no need to create the same service application in
another farm.