简体   繁体   English

如何提高 Azure 存储帐户的可用性?

[英]How to increase availability for Azure storage account?

For Azure storage accounts the SLA for write requests is 99.9% regardless if I'm using LRS, ZRS, GRS or RA-GRS.对于 Azure 存储帐户,写入请求的 SLA 为 99.9%,无论我使用的是 LRS、ZRS、GRS 还是 RA-GRS。 Is there a way to increase the SLA for write requests on the storage account?有没有办法增加存储帐户上写入请求的 SLA?

Eg is there a good way to fail over to another storage account in another region?例如,有没有一种好的方法可以故障转移到另一个区域的另一个存储帐户?

The accounts don't have to contain the same data.帐户不必包含相同的数据。 I just want to always be able to store the blobs.我只想始终能够存储 blob。

Is there a good way to fail over to another storage account in another region?是否有故障转移到另一个区域的另一个存储帐户的好方法?

Of course, Azure storage itself provides this feature, you can refer to the document Initiate a storage account failover .当然,Azure 存储本身就提供了这个功能,可以参考Initiate a storage account failover文档。

Before you can perform an account failover on your storage account, make sure that your storage account is configured for geo-replication .在您可以对存储帐户执行帐户故障转移之前,请确保您的存储帐户已配置为进行geo-replication Your storage account can use any of the following redundancy options:您的存储帐户可以使用以下任何冗余选项:

  1. Geo-redundant storage (GRS) or read-access geo-redundant storage (RA-GRS)异地冗余存储 (GRS) 或读取访问异地冗余存储 (RA-GRS)
  2. Geo-zone-redundant storage (GZRS) or read-access geo-zone-redundant storage (RA-GZRS)地理区域冗余存储 (GZRS) 或读取访问地理区域冗余存储 (RA-GZRS)

You will see an interface like this:你会看到这样的界面:

在此处输入图片说明

Is there a way to increase the SLA for write requests on the storage account?有没有办法增加存储帐户上写入请求的 SLA?

My suggestion is to increase the number of retries for write requests, maybe the example here can help you, you can use BlobClientOptions .我的建议是增加写请求的重试次数,也许这里的例子可以帮助你,你可以使用BlobClientOptions

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

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