【问题标题】:Set up Azure Service Fabric cluster on managed disks在托管磁盘上设置 Azure Service Fabric 群集
【发布时间】:2018-12-27 17:44:19
【问题描述】:

有人知道如何使用托管磁盘(操作系统和数据)上的 VM 设置 Service Fabric 群集吗?我很想知道如何使用模板配置来做到这一点。

【问题讨论】:

    标签: azure azure-service-fabric


    【解决方案1】:

    您需要将 VMSS api 版本更改为 2016-04-30-preview 并将 storageProfile 更改为此:

    "storageProfile": {
        "imageReference": {
            "publisher": "[parameters('vmImagePublisher')]",
            "offer": "[parameters('vmImageOffer')]",
            "sku": "[parameters('vmImageSku')]",
            "version": "[parameters('vmImageVersion')]"
        },
        "osDisk": {
            "createOption": "FromImage"
            "managedDisk": {
                "storageAccountType": "Standard_LRS" 
       # defauls to Standard_LRS,
       # you can choose to pick Premium_LRS if your VM size supports premium storage 
       # or you can omit this node completely if you need standard storage
            }
        }
    }
    

    使用托管磁盘时,存储帐户是多余的(您不需要它们,Azure 会为您处理)。

    【讨论】:

    • 这可能是一个错字,我想它必须输入为“标准”而不是“标准”。
    • 您可以编辑答案,但是是的,这是因为它在俄语中是 standart。我总是混淆那些:)
    • 现在在 api 版本 2018-06-01 中,您可以将 storageAccountType 设置为 StandardSSD_LRS
    猜你喜欢
    • 2018-04-05
    • 2017-07-11
    • 2017-04-29
    • 2017-08-05
    • 2018-10-27
    • 1970-01-01
    • 1970-01-01
    • 2016-12-08
    • 2016-09-28
    相关资源
    最近更新 更多