Logical disks and network adapters marked deleted in Service Manager, but they still exist in Operations Manager

Applies to: System Center 2016 Service ManagerSystem Center 2012 R2 Service Manager

Symptoms


In some environments, the Service Manager Operations Manager CI connector may incorrectly mark logical disk and network adapter objects as deleted. The items are still present in Operations Manager and can be found in the Service Manager Console under the Administration\Deleted Items folder as "Pending delete." But you don't receive error messages for the Operations Manager CI connector.

Cause


This issue can occur when a single Operations Manager CI connector is configured with multiple operating system (OS) Management Pack versions that sync all objects of the same type.

Resolution


To fix this issue, remove the items from the Deleted Items folder, reconfigure the existing Operations Manager Connector to a single operating system version Management Pack, and then add a connector for each Management Pack OS version. One new connector will be added for each operating system version (Windows Server 2003, 2008, and 2012).

To do this in the Service Manager console, follow these steps.

  1. Remove delete items:

    1. Go to Administration, and then click Deleted Items.
    2. In the Filter section, choose Edit Criteria, expand Add Criteria, choose Class, and then click Add.
    3. In the type the value field, select type Network Adapter (concrete).
    4. Select all items in the list, and then click Remove Items on the task pane.
    5. Repeat steps b to d, but in step c, select type Logical Disk (concrete).
  2. Reconfigure the Connector:

    1. Go to Administration and then click Connectors.
    2. Select the Operations Manager Configuration Items connector, and then choose Properties on the task pane.
    3. Select Management Packs from the Edit dialog box, and then click to clear the following Management Pack check boxes:
       
      • Microsoft.Windows.Server.Library

      • Microsoft.Windows.Server.2008.Discovery

      • Microsoft.Windows.Server.2003

    4. Click Ok.
  3. Add new connectors to import these items again from Operations Manager so that the connectors will not be marked for deletion. To do this, follow these steps:

    1. Go to Administration, click Connectors, click Create Connector, and then select Operations Manager CI connector.
    2. Give the connector a descriptive name. For example, include the operating system in the name, such as "Windows Server 2012 Objects."
    3. Complete the server and account details for connecting to Operations Manager, and then click Next.
    4. From the list of management Packs, choose only the management pack that will sync objects for the specific operating system (see the "Operations Manager Management Packs and their classes" chart, below).
  4. Choose a schedule and complete the wizard. We recommend that you choose a different schedule for each operating system type so that the connector schedules do not overlap.

Operations Manager Management Packs and their Classes

Management Pack display name

Mangement Pack name

Class display name

Class name

Windows Server 2003 Operating System

Microsoft.Windows.Server.2003

Windows Server 2003 Logical Disk

Microsoft.Windows.Server.2003.LogicalDisk

Windows Server 2003 Operating System

Microsoft.Windows.Server.2003

Windows Server 2003 Network Adapter

Microsoft.Windows.Server.2003.NetworkAdapter

Windows Server 2008 Operating System (Discovery)

Microsoft.Windows.Server.2008.Discovery

Windows Server 2008 Logical Disk

Microsoft.Windows.Server.2008.LogicalDisk

Windows Server 2008 Operating System (Discovery)

Microsoft.Windows.Server.2008.Discovery

Windows Server 2008 Network Adapter

Microsoft.Windows.Server.2008.NetworkAdapter

Windows Server Operating System Library

Microsoft.Windows.Server.Library

Windows Server 2012 Logical Disk

Microsoft.Windows.Server.6.2.LogicalDisk

Windows Server Operating System Library

Microsoft.Windows.Server.Library

Windows Server 2012 Network Adapter

Microsoft.Windows.Server.6.2.NetworkAdapter

When you are finished, you should have four Operations Manager CI connectors:

  • The original
  • One for Windows Server 2003
  • One for Windows Server 2008
  • One for Windows Server 2012

There are many possible variations. For example, you may not have any Windows Server 2003 objects to synchronize. So, you would not have a separate connector for that operating system.

Also, you may choose to add one of the operating system management packs back to the original connector. This is fine if you separate the other Management Packs into different connectors.

More information


The Operations Manager Configuration Items Connector maps classes from Operations Manager to classes in Service Manager such as for network adapters.  In Operations Manager, there are three separate classes for network adapters:

  • Microsoft.Windows.Server.2003.NetworkAdapter

  • Microsoft.Windows.Server.2008.NetworkAdapter

  • Microsoft.Windows.Server.6.2.NetworkAdapter

In Service Manager, only one class represents all three network adapters:

  • Microsoft.Windows.Peripheral.NetworkAdapter

In some environments, the connector can lose the mappings, and you may have to create separate connectors for each class. This can be controlled by selecting the correct Management Pack in the connector configuration. Using only a single Management Pack per connector makes sure that the objects maintain the correct mapping during deletion detection and don't get incorrectly marked for deletion.

The Operations manager CI connector does deletion detection every 7 days, checking for items that no longer exist in Operations Manager, and then marks those items for deletion in Service Manager.