MID Server and MID Server distributed cluster for Metric Intelligence
Summarize
Summary of MID Server and MID Server distributed cluster for Metric Intelligence
To use Metric Intelligence within ServiceNow, at least one MID Server must be configured as a Metric Intelligence MID Server and included in a MID Server distributed cluster. This cluster supports the throughput and processing needs of Metric Intelligence, enabling anomaly detection and data processing. Metric Intelligence activation automatically enables the MID Server distributed cluster feature, which is dedicated to supporting Metric Intelligence workloads.
Show less
Key Features
- Metric Intelligence MID Server: Processes metric data and detects anomalies, sending processed batches or immediate anomaly alerts to the instance.
- Distributed Cluster Support: The MID Server must be part of a distributed cluster to handle required data volumes and ensure scalability.
- Multiple Application Support: A single MID Server can support Metric Intelligence alongside other applications like Discovery and Agent Client Collector.
- Configuration Flexibility: Supports domain-specific configurations if Domain Support - Domain Extensions Installer is activated; otherwise, uses a global domain MID Server.
- Throttling Mechanism: Built-in throttling protects the instance from data bursts, ensuring stable performance without data loss; can be disabled temporarily for troubleshooting.
- Java and Memory Settings: Supports Java configuration overrides for garbage collection and network preferences, with recommended memory settings customizable via configuration files.
Key Outcomes
- Scalable Metric Processing: Proper hardware sizing allows a single MID Server to support from approximately 1.2 million to 1.7 million metrics, depending on memory and CPU resources.
- Reliable Anomaly Detection: Immediate reporting of anomalies ensures timely insights and proactive management.
- Seamless Integration: Metric Intelligence MID Servers can coexist with other MID Server roles, simplifying infrastructure management.
- Enhanced Stability: Throttling and configuration controls prevent overloads, maintaining consistent data flow to the ServiceNow instance.
- Compliance with Software Requirements: Supports specific Windows and Linux versions and requires MID Server validation and running state before configuration.
Practical Guidance for ServiceNow Customers
When deploying Metric Intelligence, ensure that your MID Server:
- Is validated and running properly.
- Is added to a MID Server distributed cluster configured for Metric Intelligence.
- Meets hardware specifications aligned with your metric volume needs (12 GB RAM/4 cores minimum, with options for scaling up).
- Runs supported operating systems (Windows Server 2008 R2 or later, Red Hat Enterprise Linux 6.6+ or CentOS 6.6+).
- Is configured with the correct service logon user permissions for data access.
- Has appropriate MID Server throttling parameters configured to balance data flow and system load.
- Has Java and memory settings tuned via the wrapper configuration files to optimize performance.
If automatic cluster creation fails, contact ServiceNow Customer Support for assistance with manual configuration.
Using Metric Intelligence requires at least one MID Server distributed cluster which contains a single MID Server that is configured for Metric Intelligence.
When using a single Metric Intelligence MID Server, that server must be added to a MID Server distributed cluster.
To support the specified throughput, create a distributed cluster with a single MID Server that meets the Metric Intelligence MID Server requirements. When using a virtual machine (VM), only a single MID Server can run that supports Metric Intelligence. When working with Agent Client Collector, a MID Server can also be connected to multiple agents (ACC-M and ACC-L).
A MID Server supporting Discovery can also be used with other applications.
For details on setting up Metric Intelligence, see Get started with Metric Intelligence.
MID Server distributed clusters
Activating Metric Intelligence (com.snc.sa.metric), automatically activates MID Server distributed cluster (com.snc.agent.distributed.cluster). A MID Server distributed cluster supports the Distributed MID Server cluster type which is used exclusively with Metric Intelligence.
If automatic creation of a MID Server distributed cluster fails, you can configure the cluster manually. For details, contact Customer Support.
Metric Intelligence MID Server
The Metric Intelligence MID Server supports the Metric Intelligence feature by processing data and detecting anomalies. The MID Server transmits batches of processed data to the instance. If an anomaly is detected, then information about the anomaly along with the raw data is sent immediately to the instance.
- Metric Intelligence as a supported application
- The Metrics capability
- Running the Metric Intelligence Metrics extension
The Metric Intelligence application that the Metric Intelligence MID Server is configured with enables you to add additional supported applications to the same MID Server. By default, Metric Intelligence is included in the definition of the MID Server ALL option. For information about modifying the behavior of the ALL option when selecting supported applications, see Configure applications included in ALL Applications.
If Domain Support - Domain Extensions Installer is activated, then you can configure a MID Server with the Metrics capability, per domain. In this case, metrics for a business service are processed on the MID Server that is in the same domain as the business service. Otherwise, a MID Server from the global domain is used.
- Is validated. For more information, see Validate a MID Server
- Is in running state
- Meets all software, hardware, and configuration requirements
| Requirement | |
|---|---|
One MID Server with:
|
Supports approximately up to a total of 1.2 million metrics (12,000 CIs with 100 metrics per CI). |
One MID Server with:
|
Supports approximately up to a total of 1.7 million metrics (17,000 CIs with 100 metrics per CI). |
| Software | Supported versions | Additional requirements |
|---|---|---|
| Windows | 32-bit and 64-bit versions:
|
32-bit or 64-bit version of the MID Server |
| Linux |
|
32-bit or 64-bit version of the MID Server |
| Configuration | Requirement |
|---|---|
| MID Server service logon user (required only for pulling) | Must be set to a user with read access to the SCOM database (OperationsManagerDW).
|
MID Server throttling mechanism
The MID Server throttling mechanism protects against data bursts to the instance. Data burst protection prevents overloading the instance, while ensuring that you do not lose any data.
The MID Server throttling mechanism is enabled by default. You may want to disable this mechanism when troubleshooting, to ensure that the mechanism is not causing system malfunction.
The throttling parameters are MID Server configuration parameters. Configure these parameters on the MID Server record, on the Configuration Parameters tab. When you add a configuration parameter, select the matching mid.oi parameter from the Parameter
name list.
- To disable this feature for metrics, set the
mid.oi.metric_token_bucket_enabledparameter tofalse. - To disable this feature for anomalies, set the
mid.oi.anomaly_token_bucket_enabledparameter tofalse.
Configuration Override
Use the ../agent/conf/wrapper-override.conf file to configure Java override parameters, such as the garbage collector and IPv4.
To configure the garbage collector, override the existing garbage collector parameter. For example, replace -XX:+UseParallelGC with -XX:+UseG1GC.
To force IPv4, add the following parameter, using the next available wrapper.java.additional number:
wrapper.java.additional.<number>=-Djava.net.preferIPv4Stack=true
wrapper.java.additional lines. Parameters 101 through 200 are reserved for ServiceNow out-of-the-box parameters. Only override those parameters by uncommenting the existing lines and
changing the values.Use the ../agent/conf/wrapper.conf file to configure memory for Metric Intelligence. Update the following parameters:
wrapper.java.initmemory=1024or higherwrapper.java.maxmemory=4096or higher
Optionally, if a server has additional RAM available, for example 16 GB RAM, you can replace 4096 with 8192 in wrapper.java.maxmemory=4096.