Provide disaster recovery by replicating storage data across regions and failing over to a secondary location Flashcards
Locally redundant storage
Locally redundant storage (LRS) copies your data three times across separate racks of hardware in a datacenter, inside one region. Even if there’s a hardware failure, or if maintenance work is happening in the datacenter, this replication type ensures data is available for use.
Limitation of local redundancy storage
LRS doesn’t protect you from a datacenter-wide outage. If the datacenter goes down, you could lose your data.
Geographically redundant storage
With geographically redundant storage (GRS), your data is copied three times within one region, and three times in a secondary region that’s paired with it. This way, if your primary region is experiencing an outage, your secondary region is available for use.
Read-access geo-redundant storage
With GRS, your secondary region isn’t available for read access until the primary region fails. If you want to read from the secondary region, even if the primary region hasn’t failed, use RA-GRS for your replication type.
Zone-redundant storage
Zone-redundant storage (ZRS) copies your data in three storage clusters in a single region. Each cluster is in a different physical location and is considered as a single availability zone. Each cluster uses its own separate utilities for things like networking and power. If one datacenter is experiencing outage, your data remains accessible from another availability zone in the same Azure region.
Limitation of Zone-redundant storage
Because all availability zones are in a single region, ZRS can’t protect your data from a regional level outage.
Read-access geo-zone-redundant storage
Read-access geo-zone-redundant storage (RA-GZRS) uses the same replication method as GZRS but lets you read from the secondary region. If you want to read the data that’s replicated to the secondary region, even if your primary isn’t experiencing downtime, use RA-GZRS for your replication type.
Paired regions
A paired region is where an Azure region is paired with another in the same geographical location to protect against regional outages. Paired regions are used with GRS and GZRS replication types.
Switch replication strategies
ou can switch your replication strategy for any storage account. The process you use depends on the current replication strategy for your account
Convert account
f you’re using a ZRS account, you can convert it to use GZRS. You convert an account using the Azure portal, the Azure CLI, or Azure PowerShell.
Azure PowerShell to convert
Set-AzStorageAccount -ResourceGroupName -AccountName -SkuName “Standard_GZRS”
Live migration
You can also use live migration to migrate your data to an account that uses ZRS, GZRS, or RA-GZRS. Use live migration to avoid downtime or data loss. The duration of your live migration generally depends on the amount of data in your account.
There are some limitations to live migration
Unlike a manual app, you won’t know exactly when a live migration will complete.
Data can only be migrated to the same region.
Live migration is only supported for data held in standard storage account types.
If your account contains a large file share, live migration to GZRS isn’t supported.
Manual migration
Manual migration is more flexible than live migration. For example, because you control the timing, you can use manual migration if you need completion by a fixed date.
How the failover process works
Azure Storage lets you fail over your storage account to a different region if the primary region becomes unavailable. When a failover is triggered and completed, your data is accessible from a secondary region. You use the secondary region until the primary region is up again.