Azure VMSS中的数据磁盘 [英] data disks in Azure VMSS

查看:45
本文介绍了Azure VMSS中的数据磁盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Azure门户中创建了一个包含2个虚拟机的虚拟机规模集,如下图所示,我添加了2个数据磁盘,但是,连接通过RDC到虚拟机,我在这两个虚拟机中找不到这两个新的数据磁盘。

I create a virtual machine scale set with 2 VMs in the Azure portal, as the pic shows below, I add 2 data disks, however, connect to VMs via RDC, I cannot find these 2 new data disks in these 2 VMs.

问题1:如何找到这2个新数据磁盘?

Question 1: how can I find these 2 new data disks?

问题2:如何调整Azure Windows VMSS数据磁盘的大小?你能提供详细的步骤吗?

Question 2: how can I resize Azure Windows VMSS data disks? could you provide detailed steps?

提前致谢!

推荐答案

嗨Lcey, 

Hi Lcey, 

您已在VMSS级别添加了数据磁盘,您需要更新每个实例以使其列出。

You have added the data disk at the VMSS level and you need to update each instance to get it listed.

您可以使用以下要更新的PoswerShell命令。 

You can use the below PoswerShell command to update. 

Update-AzVmssInstance -ResourceGroupName "myResourceGroup" -VMScaleSetName "myScaleSet" -InstanceId instanceId

然后,当您调整大小时,您需要再次更新以使现有的VMSS实例调整大小。新创建的内容会自动更新。 

Then when you resize, again you need to update to get the existing VMSS instance to resize. Newly created will automatically gets updated size. 

如果您有任何其他问题,请与我们联系。 

Let me know if you have any further questions. 

问候, 

Msrini


这篇关于Azure VMSS中的数据磁盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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