Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

Manual Failover of Azure Storage Account

  • October 8, 2020
  • 4 min read
Cloud and Virtualization Architect. Florent is specializing in public, hybrid, and private cloud technologies. He is a Microsoft MVP in Cloud and Datacenter Management and an MCSE in Private Cloud.
Cloud and Virtualization Architect. Florent is specializing in public, hybrid, and private cloud technologies. He is a Microsoft MVP in Cloud and Datacenter Management and an MCSE in Private Cloud.

Azure

If you are currently running a storage account, in GRS, you can now do a failover, manually, to switch from the primary region to the secondary. From the 17th of June, this feature is now generally available: https://azure.microsoft.com/en-us/updates/azure-storage-account-failover-ga/

To start, be sure to have a storage account, with one of the following SKU:

  • Geo-redundant storage (GRS) or read-access geo-redundant storage (RA-GRS)
  • Geo-zone-redundant storage (GZRS) or read-access geo-zone-redundant storage (RA-GZRS)

To verify this information, go into your storage account, and you will have the information directly here, or in the Geo-Replication part:

Geo-Replication part - img

We can see available regions on the Overview panel:

Overview panel

To do the failover, it’s very simple, you have 3 possibilities:

  • Through PowerShell:

  • Through Azure CLI:

Through the portal, in your storage account, click on Geo-Replication and on Prepare for failover:

Prepare for failover

Here, we have some information regarding the failover. Write yes to start it:

Write yes to start

Failover is in progress:

Failover is in progress

When the failover is finished after few minutes, the principal region is now North Europe:

Geo-replication refresh

We can see that the DNS name to access this storage account is the same, but the IP changed:

DNS name

The storage account moved to LRS also. You can put it back to GRS, that we will re-replicate datas in West Europe:

LRS configuration

When it’s done, you have your 2 regions:

Your regions

Cloudjourney

If you want to go back to West Europe in Primary, do the failover again.

Hey! Found Florent’s article helpful? Looking to deploy a new, easy-to-manage, and cost-effective hyperconverged infrastructure?
Alex Bykovskyi
Alex Bykovskyi StarWind Virtual HCI Appliance Product Manager
Well, we can help you with this one! Building a new hyperconverged environment is a breeze with StarWind Virtual HCI Appliance (VHCA). It’s a complete hyperconverged infrastructure solution that combines hypervisor (vSphere, Hyper-V, Proxmox, or our custom version of KVM), software-defined storage (StarWind VSAN), and streamlined management tools. Interested in diving deeper into VHCA’s capabilities and features? Book your StarWind Virtual HCI Appliance demo today!