Skip to content

Commit 6374094

Browse files
Merge pull request #226526 from ankitaduttaMSFT/legacy-agent-asr
UI fix
2 parents 5441aef + 42b5c07 commit 6374094

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

articles/site-recovery/monitor-log-analytics.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Monitor Azure Site Recovery with Azure Monitor Logs
33
description: Learn how to monitor Azure Site Recovery with Azure Monitor Logs (Log Analytics)
44
ms.service: site-recovery
55
ms.topic: conceptual
6-
ms.date: 11/15/2019
6+
ms.date: 02/07/2023
77
ms.author: ankitadutta
88
author: ankitaduttaMSFT
99

@@ -12,23 +12,23 @@ author: ankitaduttaMSFT
1212

1313
This article describes how to monitor machines replicated by Azure [Site Recovery](site-recovery-overview.md), using [Azure Monitor Logs](../azure-monitor/logs/data-platform-logs.md), and [Log Analytics](../azure-monitor/logs/log-query-overview.md).
1414

15-
Azure Monitor Logs provide a log data platform that collects activity and resource logs, along with other monitoring data. Within Azure Monitor Logs, you use Log Analytics to write and test log queries, and to interactively analyze log data. You can visualize and query log results, and configure alerts to take actions based on monitored data.
15+
Azure Monitor Logs provide a log data platform that collects activity and resource logs, along with other monitoring data. Within Azure Monitor Logs, you use Log Analytics to write and test log queries and interactively analyze log data. You can visualize and query log results, and configure alerts to take actions based on monitored data.
1616

1717
For Site Recovery, you can use Azure Monitor Logs to help you do the following:
1818

1919
- **Monitor Site Recovery health and status**. For example, you can monitor replication health, test failover status, Site Recovery events, recovery point objectives (RPOs) for protected machines, and disk/data change rates.
2020
- **Set up alerts for Site Recovery**. For example, you can configure alerts for machine health, test failover status, or Site Recovery job status.
2121

22-
Using Azure Monitor Logs with Site Recovery is supported for **Azure to Azure** replication, and **VMware VM/physical server to Azure** replication.
22+
Using Azure Monitor Logs with Site Recovery is supported for **Azure to Azure** replication and **VMware VM/physical server to Azure** replication.
2323

2424
> [!NOTE]
25-
> To get the churn data logs and upload rate logs for VMware and physical machines, you need to install a Microsoft monitoring agent on the Process Server. This agent sends the logs of the replicating machines to the workspace. This capability is available only for 9.30 mobility agent version onwards.
25+
> To get the churn data logs and upload rate logs for VMware and physical machines, you need to install a Microsoft monitoring agent on the Process Server. This agent sends the logs of the replicating machines to the workspace. This capability is available only for the 9.30 mobility agent version onwards.
2626
27-
## Before you start
27+
## Prerequisites
2828

2929
Here's what you need:
3030

31-
- At least one machine protected in a Recovery Services vault.
31+
- At least one machine is protected in a Recovery Services vault.
3232
- A Log Analytics workspace to store Site Recovery logs. [Learn about](../azure-monitor/logs/quick-create-workspace.md) setting up a workspace.
3333
- A basic understanding of how to write, run, and analyze log queries in Log Analytics. [Learn more](../azure-monitor/logs/log-analytics-tutorial.md).
3434

@@ -41,7 +41,7 @@ We recommend that you review [common monitoring questions](monitoring-common-que
4141
![Screenshot showing the Add diagnostic setting option.](./media/monitoring-log-analytics/add-diagnostic.png)
4242

4343
2. In **Diagnostic settings**, specify a name, and check the box **Send to Log Analytics**.
44-
3. Select the Azure Monitor Logs subscription, and the Log Analytics workspace.
44+
3. Select the Azure Monitor Logs subscription and the Log Analytics workspace.
4545
4. Select **Azure Diagnostics** in the toggle.
4646
5. From the log list, select all the logs with the prefix **AzureSiteRecovery**. Then select **OK**.
4747

@@ -55,12 +55,12 @@ You can capture the data churn rate information and source data upload rate info
5555

5656
1. Go to the Log Analytics workspace and select **Advanced Settings**.
5757
2. Select **Connected Sources** page and further select **Windows Servers**.
58-
3. Download the Windows Agent (64 bit) on the Process Server.
58+
3. Download the Windows Agent (64-bit) on the Process Server.
5959
4. [Obtain the workspace ID and key](../azure-monitor/agents/agent-windows.md#workspace-id-and-key)
6060
5. [Configure agent to use TLS 1.2](../azure-monitor/agents/agent-windows.md#configure-agent-to-use-tls-12)
6161
6. [Complete the agent installation](../azure-monitor/agents/agent-windows.md#install-the-agent) by providing the obtained workspace ID and key.
62-
7. Once the installation is complete, go to Log Analytics workspace and select **Advanced Settings**. Go to the **Data** page and select **Windows Performance Counters**.
63-
8. Select **'+'** to add the following two counters with sample interval of 300 seconds:
62+
7. Once the installation is complete, go to Log Analytics workspace and select **Legacy agents management**. Go to the **Data** page and select **Windows Performance Counters**.
63+
8. Select **'+'** to add the following two counters with a sample interval of 300 seconds:
6464

6565
- ASRAnalytics(*)\SourceVmChurnRate
6666
- ASRAnalytics(*)\SourceVmThrpRate
@@ -208,7 +208,7 @@ Category contains "Upload", "UploadRate", "none") 
208208
> [!Note]
209209
> Ensure you set up the monitoring agent on the Process Server to fetch these logs. Refer [steps to configure monitoring agent](#configure-microsoft-monitoring-agent-on-the-process-server-to-send-churn-and-upload-rate-logs).
210210
211-
This query plots a trend graph for a specific disk, **disk0**, of a replicated item, **win-9r7sfh9qlru**, which represents the data change rate (Write Bytes per Second) and data upload rate. You can find the disk name on **Disks** blade of the replicated item in the recovery services vault. Instance name to be used in the query is DNS name of the machine followed by _ and disk name as in this example.
211+
This query plots a trend graph for a specific disk, **disk0**, of a replicated item, **win-9r7sfh9qlru**, which represents the data change rate (Write Bytes per Second) and data upload rate. You can find the disk name on the **Disks** blade of the replicated item in the recovery services vault. The instance name to be used in the query is the DNS name of the machine followed by _ and the disk name as in this example.
212212

213213
```
214214
Perf
@@ -222,7 +222,7 @@ Process Server pushes this data every 5 minutes to the Log Analytics workspace.
222222

223223
### Query disaster recovery summary (Azure to Azure)
224224

225-
This query plots a summary table for Azure VMs replicated to a secondary Azure region. It shows VM name, replication and protection status, RPO, test failover status, Mobility agent version, any active replication errors, and the source location.
225+
This query plots a summary table for Azure VMs replicated to a secondary Azure region. It shows the VM name, replication, and protection status, RPO, test failover status, Mobility agent version, any active replication errors, and the source location.
226226

227227
```
228228
AzureDiagnostics 
@@ -234,7 +234,7 @@ AzureDiagnostics 
234234

235235
### Query disaster recovery summary (VMware/physical servers)
236236

237-
This query plots a summary table for VMware VMs and physical servers replicated to Azure. It shows machine name, replication and protection status, RPO, test failover status, Mobility agent version, any active replication errors, and the relevant process server.
237+
This query plots a summary table for VMware VMs and physical servers replicated to Azure. It shows the machine name, replication and protection status, RPO, test failover status, Mobility agent version, any active replication errors, and the relevant process server.
238238

239239
```
240240
AzureDiagnostics 
@@ -263,7 +263,7 @@ AzureDiagnostics  
263263
| summarize hint.strategy=partitioned arg_max(TimeGenerated, *) by name_s  
264264
| summarize count()
265265
```
266-
For the alert, set **Threshold value** to 20.
266+
For the alert, set **Threshold value** to `20`.
267267

268268
### Single machine in a critical state
269269

@@ -278,7 +278,7 @@ AzureDiagnostics  
278278
| summarize hint.strategy=partitioned arg_max(TimeGenerated, *) by name_s  
279279
| summarize count() 
280280
```
281-
For the alert, set **Threshold value** to 1.
281+
For the alert, set **Threshold value** to `1`.
282282

283283
### Multiple machines exceed RPO
284284

@@ -292,7 +292,7 @@ AzureDiagnostics  
292292
| project name_s , rpoInSeconds_d  
293293
| summarize count() 
294294
```
295-
For the alert, set **Threshold value** to 20.
295+
For the alert, set **Threshold value** to `20`.
296296

297297
### Single machine exceeds RPO
298298

@@ -308,7 +308,7 @@ AzureDiagnostics  
308308
| project name_s , rpoInSeconds_d  
309309
| summarize count() 
310310
```
311-
For the alert, set **Threshold value** to 1.
311+
For the alert, set **Threshold value** to `1`.
312312

313313
### Test failover for multiple machines exceeds 90 days
314314

@@ -323,9 +323,9 @@ AzureDiagnostics 
323323
| summarize hint.strategy=partitioned arg_max(TimeGenerated, *) by name_s  
324324
| summarize count() 
325325
```
326-
For the alert, set **Threshold value** to 20.
326+
For the alert, set **Threshold value** to `20`.
327327

328-
### Test failover for single machine exceeds 90 days
328+
### Test failover for a single machine exceeds 90 days
329329

330330
Set up an alert if the last successful test failover for a specific VM was more than 90 days ago.
331331
```
@@ -338,7 +338,7 @@ AzureDiagnostics 
338338
| summarize hint.strategy=partitioned arg_max(TimeGenerated, *) by name_s  
339339
| summarize count() 
340340
```
341-
For the alert, set **Threshold value** to 1.
341+
For the alert, set **Threshold value** to `1`.
342342

343343
### Site Recovery job fails
344344

articles/site-recovery/vmware-physical-manage-mobility-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: gaggupta
66
ms.service: site-recovery
77
ms.topic: conceptual
88
ms.author: ankitadutta
9-
ms.date: 05/27/2021
9+
ms.date: 02/07/2023
1010
---
1111

1212
# Manage the Mobility agent

0 commit comments

Comments
 (0)