Create a dedicated WMI Collector service for MID Servers running on the same server

A WMI (Windows Management Instrumentation) Collector service is a MID Server component that helps it to communicate with Windows servers. If your deployment uses multiple MID Servers, make it more robust by creating a dedicated WMI Collector service for each MID Server.

Before you begin

Role required: sm_admin

  1. Decide on the port number used by MID Server to communicate with the WMI collector.
  2. Check that no other process uses this port.

    For example, to check if any process is already using the port 8585, use this netstat command:

    C:\temp>netstat -ano | findstr LISTEN | findstr 8585

    If the port is already in use, the output states it as follows:

    TCP 0.0.0.0:8585 0.0.0.0:0 LISTENING 4

    TCP [::]:8585 [::]:0 LISTENING 4

About this task

Discovery and Service Mapping use patterns to discover devices and applications referred to as configuration items (CIs). A pattern is a sequence of steps whose purpose is to detect attributes of a CI and its outbound connections. Patterns used to discover Windows servers or applications running on them, contain WMI queries and commands to run on Windows servers. A WMI Collector service transfers WMI queries and commands from the MID Server to Windows-based CIs and brings the results of the queries to the MID Server.

In some deployments, there is a default WMI Collector service shared by MID Servers installed on the same server, even if these MID Servers belong to different instances. This setup is potentially problematic, since this single WMI Collector service may be in non-operational state, be not upgraded, or experience overload issues.


Default setup with one WMI Collector service shared by all MID Servers

To make your deployment more robust, create a unique WMI Collector service for every MID Server running on the same server.


Dedicated WMI Collector services for each MID Server

Procedure

  1. Access one of the instances.
  2. Navigate to MID Servers > Servers.
  3. Select the MID Server to which you want to add a WMI collector.
  4. Create a WMI collector as follows:
    1. On the Configuration Parameters tab, click New.
    2. Define the collector properties:
      Field Description
      Parameter name Select mid.servicewatch.wmi_collector_service.
      Domain Do not change this setting. The instance retrieves it from the MID Server.
      Value Enter the descriptive name for the new WMI Collector service.
    3. Click Submit.
  5. Define the port for the WMI collector:
    1. On the Configuration Parameters tab, click New.
    2. Define the port properties:
      Field Description
      Parameter name Select mid.servicewatch.wmi.port.
      Domain Do not change this setting. The instance retrieves it from the MID Server.
      Value Enter the port number on which the WMI collector receives data from the MID Server. By default, WMI collector uses port 8585.
      Important: Make sure that no other process uses this port.
    3. Click Submit.
  6. If necessary, repeat this procedure for other MID Servers running on the same server.