简体   繁体   English

Azure 存储帐户 - 准备故障转移失败并显示“上次同步时间不可用”

[英]Azure Storage Account - Prepare for a failover fails with “Last sync time is unavailable”

I have an Azure Storage Account of type "RA-GRS" as shown below我有一个“RA-GRS”类型的 Azure 存储帐户,如下所示

在此处输入图像描述

WEST US is being Primary and East US is secondary.美国西部是主要的,美国东部是次要的。

While trying to failover to East US it is failing as shown below尝试故障转移到美国东部时失败,如下所示

在此处输入图像描述

How to fix this?如何解决这个问题?

Note: I have followed this article - Prepare for a failover注意:我已关注这篇文章 - 准备故障转移

There is a known issue where account failover is not possible within 4 hours of account creation or the conversion to (RA-)GRS.存在一个已知问题,即在帐户创建或转换为 (RA-)GRS 后 4 小时内无法进行帐户故障转移。 Either one of these conditions will cause the error you mention.这些条件中的任何一个都会导致您提到的错误。

we currently have an ongoing issue with account failover wherein it can only be initiated once LastSyncTime is more than 4 hours after account creation time or after the time the account was converted to (RA-)GRS.我们目前存在帐户故障转移问题,其中只能在 LastSyncTime 超过帐户创建时间后 4 小时或帐户转换为 (RA-)GRS 时间后启动。 Eg if the account was created at 1 pm, then the LST should be 5 pm in order for the failover to work.例如,如果帐户是在下午 1 点创建的,那么 LST 应该是下午 5 点,以便故障转移工作。 We're working on the resolution right now, but I don't have the ETA quite yet.我们现在正在制定解决方案,但我还没有 ETA。

You should also check the last sync time just to make sure this is available.您还应该检查上次同步时间,以确保这是可用的。

$lastSyncTime = $(Get-AzStorageAccount -ResourceGroupName <resource-group> `
    -Name <storage-account> `
    -IncludeGeoReplicationStats).GeoReplicationStats.LastSyncTime

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM