none
Supporting multiple farms with SharePoint 2010 management pack RRS feed

  • General discussion

  • Sometimes the question "how can I monitor multiple farms with the SharePoint 2010 management pack" comes up.  The guide says that the MP only supports one farm - but there is a straightforward way to help the MP manage multiple farms.

    A file named SharePointMP.config is used to configure the behavior of the SharePoint 2010 management pack.  This file should be on all RMS roles in the given management group Icluster case).

    The challenge with monitoring multiple farms is due to the need to have farm administrator permission to do the discovery and monitoring that is used to monitor SharePoint 2010.  The typical configuration for a single farm has the SCOM admin assuming that the run-as profile is involved and directly manipulating this is a complex operation for multiple farms.

    The config file and configuration task included in the MP comes to the rescue here.

    That file contains a section called Associations.  It is this section that should be adjusted for multiple farm support.

    Example:

     

    <Association Account="Contoso - SharePoint Farm administrator -3" Type="Agent">

        <Machine Name="NT10" />

        <Machine Name="NT11" />

        <Machine Name="NT12" />

        <Machine Name="NT13" />

        <Machine Name="NT14" />

        <Machine Name="NT15" />

      </Association>

     

      <Association Account="Contoso - SharePoint 2010 Farm Administrator 2" Type="Agent">

        <Machine Name="NT64" />

        <Machine Name="NT65" />

        <Machine Name="NT66" />

      </Association>

     

      <Association Account="Contoso - SharePoint 2010 Farm Administrator" Type="Agent">

        <Machine Name="NT77" />

        <Machine Name="NT75" />

        <Machine Name="NT76" />

      </Association>

    After adjusting the SharePoint configuration file, run the configuration task that is included in the management pack per the instructions found in the guide.


    Microsoft Corporation
    Wednesday, February 9, 2011 8:17 PM
    Moderator

All replies

  • are you sure that the task "Configure Share Point Management Pack" will work when the sharepoint server are configured like this:

    <Association Account="Contoso - SharePoint Farm administrator -3" Type="Agent">

        <Machine Name="NT10" />

        <Machine Name="NT11" />

        <Machine Name="NT12" />

        <Machine Name="NT13" />

        <Machine Name="NT14" />

        <Machine Name="NT15" />

      </Association>

    My experience shows me that the discovery only works when the share point servers in the config file will look like this.

    <Machine Name="(NT10|NT11|NT12|NT13|NT14|NT15)" />

    Lehugo

    Monday, March 21, 2011 12:21 PM
  • How about Farms in multiple Farms in untrusted domains? What about new servers? Do I have to run the task again? What about new Farms? Do I have to rerun the task for all Farms or modify the config just to include the new farm?

     

    Thanks Alex

    Wednesday, March 23, 2011 10:19 AM
  • The configuration task is a short cut for what would ordinarily be manual administration of computers in groups and then associating run-as accounts for those groups.

    The task itself only uses the first run-as account, so you won't get a complete result since the task was not designed to work on multiple farms, nor in multiple security contexts.

    This does not stop you from doing the manual administration of groups, run-as accounts mapping for the sharepoint discovery profile on those groups.

     


    Microsoft Corporation
    Wednesday, April 27, 2011 7:17 PM
    Moderator