Skip to content

Commit a939597

Browse files
authored
Merge pull request #266259 from rcdun/aoi_unify_ingestion_agent
Document unified ingestion agent for Azure Operator Insights
2 parents 9968ff0 + cd63d00 commit a939597

19 files changed

+1160
-98
lines changed

articles/operator-insights/TOC.yml

Lines changed: 48 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,55 +15,75 @@
1515
- name: Concepts
1616
expanded: false
1717
items:
18+
- name: Quality of Experience - Affirmed MCC Data Products
19+
href: concept-mcc-data-product.md
20+
- name: Monitoring - Affirmed MCC Data Product
21+
href: concept-monitoring-mcc-data-product.md
1822
- name: Business continuity disaster recovery
1923
href: business-continuity-disaster-recovery.md
2024
- name: Data quality and data monitoring
2125
href: concept-data-quality-monitoring.md
2226
- name: Data types
2327
href: concept-data-types.md
2428
- name: Data visualization
25-
href: concept-data-visualization.md
26-
- name: Quality of Experience - Affirmed MCC Data Products
27-
href: concept-mcc-data-product.md
28-
- name: Monitoring - Affirmed MCC Data Product
29-
href: concept-monitoring-mcc-data-product.md
29+
href: concept-data-visualization.md
30+
- name: Ingestion agents
31+
href: ingestion-agent-overview.md
3032
- name: Managed identity
3133
href: managed-identity.md
3234
- name: How-to guides
3335
expanded: false
3436
items:
35-
- name: Use Microsoft Purview with an Azure Operator Insights Data Product
36-
href: purview-setup.md
37+
- name: Set up an ingestion agent for uploading data
38+
href: set-up-ingestion-agent.md
3739
- name: Use Azure Operator Insights Data Product dashboards
3840
href: dashboards-use.md
3941
- name: Query data in the Azure Operator Insights Data Product
4042
href: data-query.md
43+
- name: Use Microsoft Purview with an Azure Operator Insights Data Product
44+
href: purview-setup.md
4145
- name: Manage permissions to the consumption URL
4246
href: consumption-plane-configure-permissions.md
43-
- name: Deploy Ingestion Agents for MCC protobuf EDRs
47+
- name: Manage Azure Operator Insights ingestion agents
4448
items:
45-
- name: Create and configure MCC EDR Ingestion Agents
46-
href: how-to-install-mcc-edr-agent.md
47-
- name: Manage MCC EDR Ingestion Agents
48-
href: how-to-manage-mcc-edr-agent.md
49-
- name: Monitor and troubleshoot MCC EDR Ingestion Agents
50-
href: troubleshoot-mcc-edr-agent.md
51-
- name: MCC EDR Ingestion Agent configuration reference
52-
href: mcc-edr-agent-configuration.md
53-
- name: Deploy Ingestion Agents for SFTP files
54-
items:
55-
- name: Overview
56-
href: sftp-agent-overview.md
57-
- name: Create and configure SFTP Ingestion Agents
58-
href: how-to-install-sftp-agent.md
59-
- name: Manage SFTP Ingestion Agents
60-
href: how-to-manage-sftp-agent.md
61-
- name: Monitor and troubleshoot SFTP Ingestion Agents
62-
href: troubleshoot-sftp-agent.md
63-
- name: SFTP Ingestion Agent configuration reference
64-
href: sftp-agent-configuration.md
49+
- name: Change configuration
50+
href: change-ingestion-agent-configuration.md
51+
- name: Monitor and troubleshoot
52+
href: monitor-troubleshoot-ingestion-agent.md
53+
- name: Upgrade
54+
href: upgrade-ingestion-agent.md
55+
- name: Rotate secrets
56+
href: rotate-secrets-for-ingestion-agent.md
57+
- name: Map Microsoft hostnames to IP addresses
58+
href: map-hostnames-ip-addresses.md
59+
- name: Configuration reference
60+
href: ingestion-agent-configuration-reference.md
6561
- name: Monitor Azure Operator Insights
6662
href: monitor-operator-insights.md
63+
- name: Manage legacy ingestion agents
64+
items:
65+
- name: MCC EDR Ingestion Agents
66+
items:
67+
- name: Create and configure MCC EDR Ingestion Agents
68+
href: how-to-install-mcc-edr-agent.md
69+
- name: Manage MCC EDR Ingestion Agents
70+
href: how-to-manage-mcc-edr-agent.md
71+
- name: Monitor and troubleshoot MCC EDR Ingestion Agents
72+
href: troubleshoot-mcc-edr-agent.md
73+
- name: MCC EDR Ingestion Agent configuration reference
74+
href: mcc-edr-agent-configuration.md
75+
- name: SFTP ingestion agents
76+
items:
77+
- name: Overview
78+
href: sftp-agent-overview.md
79+
- name: Create and configure SFTP Ingestion Agents
80+
href: how-to-install-sftp-agent.md
81+
- name: Manage SFTP Ingestion Agents
82+
href: how-to-manage-sftp-agent.md
83+
- name: Monitor and troubleshoot SFTP Ingestion Agents
84+
href: troubleshoot-sftp-agent.md
85+
- name: SFTP Ingestion Agent configuration reference
86+
href: sftp-agent-configuration.md
6787
- name: Reference
6888
items:
6989
- name: Monitoring data
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: Change configuration for ingestion agents for Azure Operator Insights
3+
description: Learn how to make and roll back configuration changes for Azure Operator Insights ingestion agents.
4+
author: rcdun
5+
ms.author: rdunstan
6+
ms.reviewer: sergeyche
7+
ms.service: operator-insights
8+
ms.topic: how-to
9+
ms.date: 02/29/2024
10+
11+
#CustomerIntent: As a someone managing an agent that has already been set up, I want to update its configuration so that data products in Azure Operator Insights receive the correct data.
12+
---
13+
14+
# Change configuration for Azure Operator Insights ingestion agents
15+
16+
The ingestion agent is a software package that is installed onto a Linux Virtual Machine (VM) owned and managed by you. You might need to change the agent configuration.
17+
18+
In this article, you'll change your ingestion agent configuration and roll back a configuration change.
19+
20+
## Prerequisites
21+
22+
- Using the documentation for your data product, check for required or recommended configuration for the ingestion agent.
23+
- See [Configuration reference for Azure Operator Insights ingestion agent](ingestion-agent-configuration-reference.md) for full details of the configuration options.
24+
25+
## Update agent configuration
26+
27+
> [!WARNING]
28+
> Changing the configuration requires restarting the agent. For the MCC EDR source, a small number of EDRs being handled might be dropped.  It is not possible to gracefully restart without dropping any data. For safety, update agents one at a time, only updating the next when you are sure the previous was successful.
29+
30+
> [!WARNING]
31+
> If you change the pipeline ID for an SFTP pull source, the agent treats it as a new source and might upload duplicate files with the new pipeline ID. To avoid this, add the `exclude_before_time` parameter to the file source configuration. For example, if you configure `exclude_before_time: "2024-01-01T00:00:00-00:00"` then any files last modified before midnight on January 1, 2024 UTC will be ignored by the agent.
32+
33+
If you need to change the agent's configuration, carry out the following steps.
34+
35+
1. Save a copy of the existing */etc/az-aoi-ingestion/config.yaml* configuration file.
36+
1. Edit the configuration file to change the config values.
37+
1. Restart the agent.
38+
```
39+
sudo systemctl restart az-aoi-ingestion.service
40+
```
41+
42+
## Roll back configuration changes
43+
44+
If a configuration change fails:
45+
46+
1. Copy the backed-up configuration file from before the change to the */etc/az-aoi-ingestion/config.yaml* file.
47+
1. Restart the agent.
48+
```
49+
sudo systemctl restart az-aoi-ingestion.service
50+
```
51+
52+
## Related content
53+
54+
Learn how to:
55+
56+
- [Monitor and troubleshoot ingestion agents](monitor-troubleshoot-ingestion-agent.md).
57+
- [Upgrade ingestion agents](upgrade-ingestion-agent.md).
58+
- [Rotate secrets for ingestion agents](rotate-secrets-for-ingestion-agent.md).

articles/operator-insights/concept-mcc-data-product.md

Lines changed: 70 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ The data produced by the MCC varies according to the functionality. This variati
3535

3636
The following data types are provided for all Quality of Experience - Affirmed MCC Data Products.
3737

38-
- `edr`: This data type handles EDRs from the MCC.
39-
- `edr-sanitized`: This data type contains the same information as `edr` but with personal data suppressed to support operators' compliance with privacy legislation.
38+
- `edr` contains data from the Event Data Records (EDRs) written by the MCC network elements. EDRs record each significant event arising during calls or sessions handled by the MCC. They provide a comprehensive record of what happened, allowing operators to explore both individual problems and more general patterns.
39+
- `edr-sanitized` contains data from the `edr` data type but with personal data suppressed. Sanitized data types can be used to support data analysis while also enforcing subscriber privacy.
4040
- `edr-validation`: This data type contains a subset of performance management statistics and provides you with the ability to optionally ingest a minimum number of PMstats tables for a data quality check.
4141
- `device`: This optional data type contains device data (for example, device model, make and capabilities) that the Data Product can use to enrich the MCC Event Data Records. To use this data type, you must upload the device reference data in a CSV file. The CSV must conform to the [Device reference schema for the Quality of Experience Affirmed MCC Data Product](device-reference-schema.md).
4242
- `enrichment`: This data type holds the enriched Event Data Records and covers multiple sub data types for precomputed aggregations targeted to accelerate specific dashboards, granularities, and queries. These multiple sub data types include:
@@ -52,7 +52,74 @@ The following data types are provided for all Quality of Experience - Affirmed M
5252
To use the Quality of Experience - Affirmed MCC Data Product:
5353

5454
1. Deploy the Data Product by following [Create an Azure Operator Insights Data Product](data-product-create.md).
55-
1. Configure your network to provide data by setting up an MCC EDR Ingestion Agent. The MCC EDR Ingestion Agent uploads EDRs from your network to Azure Operator Insights. See [Create and configure MCC EDR Ingestion Agents for Azure Operator Insights](how-to-install-mcc-edr-agent.md). Alternatively, you can provide your own ingestion agent.
55+
1. Configure your network to provide data by setting up an Azure Operator Insights ingestion agent on a virtual machine (VM).
56+
57+
1. Read [Requirements for the Azure Operator Insights ingestion agent](#requirements-for-the-azure-operator-insights-ingestion-agent).
58+
1. [Install the Azure Operator Insights ingestion agent and configure it to upload data](set-up-ingestion-agent.md).
59+
60+
Alternatively, you can provide your own ingestion agent.
61+
62+
## Requirements for the Azure Operator Insights ingestion agent
63+
64+
Use the VM requirements to set up a suitable VM for the ingestion agent. Use the example configuration to configure the ingestion agent to upload data to the Data Product, as part of following [Install the Azure Operator Insights ingestion agent and configure it to upload data](set-up-ingestion-agent.md).
65+
66+
### VM requirements
67+
68+
Each agent instance must run on its own Linux VM. The number of VMs needed depends on the scale and redundancy characteristics of your deployment. This recommended specification can achieve 1.5-Gbps throughput on a standard D4s_v3 Azure VM. For any other VM spec, we recommend that you measure throughput at the network design stage.
69+
70+
Latency on the MCC to agent connection can negatively affect throughput. Latency should usually be low if the MCC and agent are colocated or the agent runs in an Azure region close to the MCC.
71+
72+
Talk to the Affirmed Support Team to determine your requirements.
73+
74+
Each VM running the agent must meet the following minimum specifications.
75+
76+
| Resource | Requirements |
77+
|----------|---------------------------------------------------------------------|
78+
| OS | Red Hat Enterprise Linux 8.6 or later, or Oracle Linux 8.8 or later |
79+
| vCPUs | 4 |
80+
| Memory | 32 GB |
81+
| Disk | 64 GB |
82+
| Network | Connectivity from MCCs and to Azure |
83+
| Software | systemd, logrotate, and zip installed |
84+
| Other | SSH or alternative access to run shell commands |
85+
| DNS | (Preferable) Ability to resolve Microsoft hostnames. If not, you need to perform extra configuration when you set up the agent (described in [Map Microsoft hostnames to IP addresses for ingestion agents that can't resolve public hostnames](map-hostnames-ip-addresses.md).) |
86+
87+
#### Deploying multiple VMs for fault tolerance
88+
89+
The ingestion agent is designed to be highly reliable and resilient to low levels of network disruption. If an unexpected error occurs, the agent restarts and provides service again as soon as it's running.
90+
91+
The agent doesn't buffer data, so if a persistent error or extended connectivity problems occur, EDRs are dropped.
92+
93+
For extra fault tolerance, you can deploy multiple instances of the ingestion agent and configure the MCC to switch to a different instance if the original instance becomes unresponsive, or to share EDR traffic across a pool of agents. For more information, see the [Affirmed Networks Active Intelligent vProbe System Administration Guide](https://manuals.metaswitch.com/vProbe/latest/vProbe_System_Admin/Content/02%20AI-vProbe%20Configuration/Generating_SESSION__BEARER__FLOW__and_HTTP_Transac.htm) (only available to customers with Affirmed support) or speak to the Affirmed Networks Support Team.
94+
95+
### Required agent configuration
96+
97+
Use the information in this section when [setting up the agent and configuring the agent software](set-up-ingestion-agent.md#configure-the-agent-software).
98+
99+
The ingestion agent must use MCC EDRs as a data source.
100+
101+
|Information | Configuration setting for Azure Operator Ingestion agent | Value |
102+
|---------|---------|---------|
103+
|Container in the Data Product input storage account |`sink.container_name` | `edr` |
104+
105+
> [!IMPORTANT]
106+
> `sink.container_name` must be set exactly as specified here. You can change other configuration to meet your requirements.
107+
108+
For more information about all the configuration options, see [Configuration reference for Azure Operator Insights ingestion agent](ingestion-agent-configuration-reference.md).
109+
110+
### Configure Affirmed MCCs
111+
112+
Once the agents are installed and running, configure the MCCs to send EDRs to them.
113+
114+
1. Follow the steps under "Generating SESSION, BEARER, FLOW, and HTTP Transaction EDRs" in the [Affirmed Networks Active Intelligent vProbe System Administration Guide](https://manuals.metaswitch.com/vProbe/latest/vProbe_System_Admin/Content/02%20AI-vProbe%20Configuration/Generating_SESSION__BEARER__FLOW__and_HTTP_Transac.htm) (only available to customers with Affirmed support), making the following changes:
115+
116+
- Replace the IP addresses of the MSFs in MCC configuration with the IP addresses of the VMs running the ingestion agents.
117+
118+
- Confirm that the following EDR server parameters are set.
119+
120+
- port: 36001
121+
- encoding: protobuf
122+
- keep-alive: 2 seconds
56123

57124
## Related content
58125

0 commit comments

Comments
 (0)