Skip to content

Query: Azure Storage failover for a RA-GRS account #15290

Closed
@asgoe

Description

@asgoe

We are working on creating scripts to failover our storage accounts (RA-GRS configuration). The failover documentation mentions that after failover the account is configured as LRS and needs to be re-enabled as RA-GRS. We use the Set-AzStorageAccount cmd (after failing over the account to the secondary region) to covert the account back from LRS to RA-GRS. Few questions about this flow:

  1. When the primary region is in an outage, will the Set-AzStorageAccount cmd succeed in converting the storage account from LRS to RA-GRS?
  • If yes, what happens to the replication while primary region is under outage?

  • If no, what is the correct process to follow to convert the account back to RA-GRS?

  1. Is the Set-AzStorageAccount cmd asynchronous? We have had cases where in our testing the above command succeeded, but the portal was still showing the account as LRS. Also, the when we ran the Get-AzStorageAccount cmd call with -IncludeGeoReplicationStats as a parameter, it failed with the error "AccountType Standard_LRS is invalid. ".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Service AttentionThis issue is responsible by Azure service team.Storagecustomer-reportedquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions