在托管磁盘上设置Azure Service Fabric群集 [英] Set up Azure Service Fabric cluster on managed disks

查看:81
本文介绍了在托管磁盘上设置Azure Service Fabric群集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Does anybody know how to set up Service Fabric cluster with VMs on managed disks(both OS and Data)? I would be very interested to know how to do this using template config.

推荐答案

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

You need to change VMSS api version to 2016-04-30-preview and storageProfile to this:

"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会为您处理).

Storage Accounts are redundant when using managed disks (you don't need them, Azure handles that for you).

这篇关于在托管磁盘上设置Azure Service Fabric群集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆