【问题标题】:How to configure Azure storage credentials in perfkit?如何在 perfkit 中配置 Azure 存储凭据?
【发布时间】:2016-05-05 04:29:15
【问题描述】:

我正在尝试针对 azure 存储运行 google perfkit 的“object_storage_service”基准测试。我看到文档说将凭据作为 .boto 文件的一部分传递。但看起来这个文件可以使用 aws 凭证或 gce 凭证。如何传递 Azure 凭据?

.\pkb.py --cloud=Azure --machine_type=ExtraSmall --benchmarks=object_storage_service*

【问题讨论】:

    标签: azure cloud azure-storage google-cloud-platform


    【解决方案1】:

    一旦您完成了这一步https://github.com/GoogleCloudPlatform/PerfKitBenchmarker#windows-azure-cli-and-credentials,您确定 object_storage_service 基准测试不起作用吗?我不熟悉 perfkit,但如果 .boto 文件中不包含 Azure 凭据部分,则可能不需要它。

    【讨论】:

    • 我做了那个配置并且能够运行 iperf 基准测试。 object_storage_service 基准测试似乎需要额外的凭据,传入。
    【解决方案2】:

    进行存储测试不需要额外的配置,就像我们对 aws 或 google cloud 所做的那样。由于错误,与存储相关的基准测试失败。 您可能会收到错误,要求您在其他区域重试测试。

    “--zones”标签仅定义虚拟机的位置,“--object_storage_region”是您需要提供的附加参数,以选择需要进行存储相关基准测试的数据中心。

    这里是谷歌云平台会员的更多解释。

    https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/1111

    我已使用以下参数成功完成 Azure 存储测试。

    ./pkb.py --cloud=Azure --benchmarks=object_storage_service -storage=Azure --zones="North Europe"  --object_storage_scenario=cli --object_storage_region="North Europe"
    

    【讨论】:

      猜你喜欢
      • 2020-03-05
      • 1970-01-01
      • 2022-10-25
      • 1970-01-01
      • 1970-01-01
      • 2015-04-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多