How to Stop and Resume Synchronization with TFS in System Center 2012 SP1

 

Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Operations Manager

The information in this topic applies only to System Center 2012 SP1.

Sometimes you might need to temporarily stop synchronization in Operations Manager in System Center 2012 Service Pack 1 (SP1) with Team Foundation Server (TFS). For example, this may be necessary when a team project collection is unavailable because of maintenance, during maintenance of management servers in the synchronization management pool, or when you are changing synchronization settings to prevent inconsistent synchronization while new settings are applied. When you know synchronization is not working, turning off synchronization keeps unnecessary alerts about synchronization not working from being generated.

If you need to stop synchronization permanently, you can delete the TFS Work Item Synchronization template for the team project collection that you no longer want to use.

Use the following procedure to temporarily stop synchronization without deleting configuration settings. Use the next procedure to resume synchronization.

Tip

To restart synchronization, you can restart System Center Management service on all management servers in the synchronization pool.

To temporarily stop synchronization without deleting configuration settings

  1. To control synchronization, the system uses three independent rules:

    - The TFS Work Items Synchronization Rule
    
    - The Attachments Synchronization Rule
    
    - The TFS Work Items Creation Rule
    

    To temporarily stop synchronization, you must disable all three of these rules. For more information, see How to Override a Rule or Monitor.

    In the Operations Manager console, click Authoring, expand Management Pack Objects, and then click Rules. To scope the displayed rules, click Scope, and then click View all targets. Look for and then select the TFS Collection and TFS Connector targets. Click OK.

  2. To disable the TFS Work Items Synchronization Rule:

    1. In the list of scoped rules, expand TFS Collection, right-click TFS Work Items Synchronization Rule, click Overrides, click Disable the Rule, and then click For all objects of class: TFS Collection.

    2. On the Override Properties page, override the Enabled parameter to False, and then save your settings to a management pack.

  3. To disable the Attachment Synchronization Rule:

    1. In the list of scoped rules, expand TFS Collection, right-click Attachments Synchronization Rule, click Overrides, click Disable the Rule, and then click For all objects of class: TFS Collection.

    2. On the Override Properties page, override the Enabled parameter to False, and then save your settings to a management pack.

  4. To disable the TFS Work Items Creation Rule:

    1. In the list of scoped rules, expand TFS Connector, right-click TFS Work Items Creation Rule, click Overrides, click Disable the Rule, and then click For all objects of class: TFS Connector.

    2. On the Overrides Properties page, override the Enabled parameter to False, and then save your settings to a management pack.

To resume synchronization

  1. To control synchronization, the system uses three independent rules:

    - The TFS Work Items Synchronization Rule
    
    - The Attachments Synchronization Rule
    
    - The TFS Work Items Creation Rule
    

    To resume synchronization, you must re-enable all three of these rules. For more information about override settings, see How to Override a Rule or Monitor.

  2. In the Operations Manager console, click Authoring, expand Management Pack Objects, and then click Rules. To scope the displayed rules, click Scope, and then select View all targets. Look for and then select the TFS Collection and TFS Connector targets. Click OK.

  3. To enable the TFS Work Items Synchronization Rule:

    In the list of scoped rules, expand TFS Collection, right-click TFS Work Items Synchronization Rule, click Override Summary, click the Enabled parameter for class TFS Collection, and then click Delete. Click Close.

  4. To enable the Attachments Synchronization Rule:

    In the list of scoped rules, expand TFS Collection, right-click Attachments Synchronization Rule, click Override Summary, click the Enabled parameter for class TFS Collection, and then click Delete. Click Close.

  5. To enable the TFS Work Items Creation Rule:

    In the list of scoped rules, expand TFS Connector, right-click TFS Work Items Creation Rule, click Override Summary, click the Enabled parameter for class TFS Connector, and then click Delete. Click Close.