Edit

Share via


Common questions about Site Recovery monitoring

This article answers common questions about monitoring Azure Site Recovery, using inbuilt Site Recovery monitoring, and Azure Monitor (Log Analytics).

General

How is the logged RPO value different from the latest available recovery point?

Site Recovery uses a multistep, asynchronous process to replicate machines to Azure.

  • In the penultimate step of replication, recent changes on the machine, along with metadata, are copied into a log or cache storage account.
  • These changes, along with the tag that identifies a recoverable point, are written to the storage account or managed disk in the target region.
  • Site Recovery can now generate a recoverable point for the machine.
  • At this point, the RPO is met for the changes uploaded to the storage account so far. In other words, the machine RPO at this point is equal to amount of time that's elapsed from the timestamp corresponding to the recoverable point.
  • Now, Site Recovery picks the uploaded data from the storage account, and applies it to the replica disks created for the machine.
  • Site Recovery then generates a recovery point, and makes this point available for recovery at failover.
  • Thus, the latest available recovery point indicates the timestamp corresponding to the latest recovery point that Site Recovery already processed and applied to the replica disks.

An incorrect system time on the replicating source machine, or on on-premises infrastructure servers, skews the computed RPO value. For accurate RPO reporting, make sure that the system clock is accurate on all servers and machines.

Inbuilt Site Recovery logging

Why is the virtual machine count in the vault infrastructure view different from the total count shown in Replicated Items?

The vault infrastructure view is scoped by replication scenarios. Only machines in the currently selected replication scenario are included in the count for the view. In addition, the view only counts VMs that are configured to replicate to Azure. Failed over machines, or machines replicating back to an on-premises site, aren't counted in the view.

Why is the count of replicated items in Essentials different from the total count of replicated items on the dashboard?

The count shown in Essentials includes only machines for which initial replication is complete. The replicated items total includes all the machines in the vault, including those for which initial replication is currently in progress.

Azure Monitor logging

How often does Site Recovery send resource logs to Azure Monitor Log?

  • AzureSiteRecoveryReplicationStats and AzureSiteRecoveryRecoveryPoints are sent every 15 minutes.
  • AzureSiteRecoveryReplicationDataUploadRate and AzureSiteRecoveryProtectedDiskDataChurn are sent every five minutes.
  • AzureSiteRecoveryJobs is sent at the trigger and completion of a job.
  • AzureSiteRecoveryEvents is sent whenever an event is generated.
  • AzureSiteRecoveryReplicatedItems is sent whenever there's any environment change. Typically, the data refresh time is 15 minutes after a change.

How long is data kept in Azure Monitor logs?

For information on data retention, see Data retention and archive in Azure Monitor logs.

You can modify the default retention period in the Usage and Estimated Cost section in the Log Analytics workspace. Select Data Retention, and choose the range.

What's the size of the resource logs?

Typically, the size of a log is 15-20 KB.

Built-in Azure Monitor alerts for Azure Site Recovery

Is there any cost for using built-in Azure Monitor alerts for Azure Site Recovery?

With built-in Azure Monitor alerts, alerts for critical operations/failures generate by default (that you can view in the portal or via nonportal interfaces) at no extra cost. However, to route these alerts to a notification channel (such as email), it incurs a minor cost for notifications beyond the free tier (of 1,000 emails per month). Learn more about Azure Monitor pricing.

Will the current email notification solution for Azure Site Recovery in Recovery Services vault continue to work?

The current email notification solution works in parallel with the new built-in Azure Monitor alerts solution. Try the Azure Monitor based alerting to familiarize yourself with the new experience and use its capabilities.

What is the difference between alert rule, alert processing rule, and action group?

  • Alert rule: A user-created rule that specifies the condition for firing an alert.
  • Alert processing rule (earlier called Action rule): A user-created rule that specifies the notification channels for routing a particular fired alert. You can also use alert processing rules to suppress notifications for a set time.
  • Action group: The notification channel, such as email, ITSM endpoint, logic app, webhook, and so on, that a fired alert can be routed to.

In the case of built-in Azure Monitor alerts, as alerts already generate by default, you don't need to create an alert rule. To route these alerts to a notification channel, you should create an alert processing rule and an action group for these alerts. Learn more

Next steps

Learn how to monitor by using Site Recovery inbuilt monitoring or Azure Monitor.