Microsoft SharePoint 2010 Administration Cookbook
上QQ阅读APP看书,第一时间看更新

Managing service application associations

Web applications obtain access to the content through a tiered infrastructure. The tiers are depicted in the following diagram:

Managing service application associations

There can be multiple service application proxy groups. You can logically associate your web applications in these proxy groups. In this recipe, we will show how to modify the proxy group membership.

Getting ready

You must have Farm Administrator privileges to Central Administration.

Create an application proxy group as outlined in the preceding recipe. In our example, we have created a group called SAPGFinancial.

How to do it...

  1. Open Central Administration and click Application Management.
  2. The third section is Service Applications. Click the Configure service application associations option. You will see a screenshot similar to the following:
    How to do it...
  3. Click on the SAPGFinancial group option. A pop up will appear that will enable you to choose the service applications you want to associate with this application proxy group.
    How to do it...
  4. Choose the service applications proxies you wish to enable/disable and click OK.

How it works...

As seen in the previous recipe, we created a service application proxy group. Then when the web application was created, we associated it with the service application proxy group; in this case, it was SAPGFinancial. Initially, there were no service application proxies in this group.

Now that the web application is associated with the proxy group, it may consume the service application resources. As you can see from the preceding figures, service applications can exist in multiple application proxy groups.

However, it is important to note that a web application can be associated with only one application proxy group.

There's more...

You can use PowerShell to modify service applications that are associated with application proxy groups. This is powerful when scripting your environments for a seamless installation.

  • Creating Service Application Association:
    Add-spserviceapplicationproxygroupmember -identity <serviceappproxygroup> -member <members>
    
  • Creating Service Application Association:
    remove-spserviceapplicationproxygroupmember -identity <serviceappproxygroup> -member <members>
    

See also

  • Creating a Custom Service Application Proxy Group