Skip to content

Commit 3784c86

Browse files
authored
Merge pull request #103190 from roygara/sharedDisks
Shared disks
2 parents 4d24dd1 + efa0a82 commit 3784c86

13 files changed

+383
-1
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Enable shared disks for Azure managed disks
3+
description: Configure an Azure managed disk with shared disks (preview) so that you can share it across multiple VMs
4+
author: roygara
5+
ms.service: virtual-machines-linux
6+
ms.topic: conceptual
7+
ms.date: 02/13/2020
8+
ms.author: rogarana
9+
ms.subservice: disks
10+
---
11+
12+
# Enable shared disk
13+
14+
This article covers how to enable the shared disks (preview) feature for Azure managed disks. Azure shared disks (preview) is a new feature for Azure managed disks that enables you to attach a managed disk to multiple virtual machines (VMs) simultaneously. Attaching a managed disk to multiple VMs allows you to either deploy new or migrate existing clustered applications to Azure.
15+
16+
If you are looking for conceptual information on managed disks that have shared disks enabled, refer to [Azure shared disks](disks-shared.md).
17+
[!INCLUDE [virtual-machines-enable-shared-disk](../../../includes/virtual-machines-enable-shared-disk.md)]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Share an Azure managed disk across VMs (preview)
3+
description: Learn about sharing Azure managed disks across multiple VMs.
4+
author: roygara
5+
ms.service: virtual-machines-linux
6+
ms.topic: conceptual
7+
ms.date: 02/13/2020
8+
ms.author: rogarana
9+
ms.subservice: disks
10+
---
11+
12+
# Azure shared disks
13+
14+
[!INCLUDE [virtual-machines-disks-shared](../../../includes/virtual-machines-disks-shared.md)]
15+
16+
## Next steps
17+
18+
If you're interested in enabling and using shared disks for your managed disks, proceed to our article [Enable shared disk](disks-shared-enable.md)

articles/virtual-machines/linux/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@
160160
href: disk-scalability-targets.md
161161
- name: Backup and disaster recovery for disks
162162
href: backup-and-disaster-recovery-for-azure-iaas-disks.md
163+
- name: Shared disks
164+
href: disks-shared.md
163165
- name: Ephemeral OS disks
164166
href: ephemeral-os-disks.md
165167
- name: Networking
@@ -553,6 +555,8 @@
553555
- name: Deploy disks with template
554556
displayName: Azure Resource Manager, ARM
555557
href: using-managed-disks-template-deployments.md
558+
- name: Enable shared disks
559+
href: disks-shared-enable.md
556560
- name: Upload a vhd to a disk - CLI
557561
href: disks-upload-vhd-to-managed-disk-cli.md
558562
- name: Resize a disk
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Enable shared disks for Azure managed disks
3+
description: Configure an Azure managed disk with shared disks (preview) so that you can share it across multiple VMs
4+
author: roygara
5+
ms.service: virtual-machines-windows
6+
ms.topic: conceptual
7+
ms.date: 02/13/2020
8+
ms.author: rogarana
9+
ms.subservice: disks
10+
---
11+
12+
# Enable shared disk
13+
14+
This article covers how to enable the shared disks (preview) feature for Azure managed disks. Azure shared disks (preview) is a new feature for Azure managed disks that enables you to attach a managed disk to multiple virtual machines (VMs) simultaneously. Attaching a managed disk to multiple VMs allows you to either deploy new or migrate existing clustered applications to Azure.
15+
16+
If you are looking for conceptual information on managed disks that have shared disks enabled, refer to [Azure shared disks](disks-shared.md).
17+
[!INCLUDE [virtual-machines-enable-shared-disk](../../../includes/virtual-machines-enable-shared-disk.md)]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Sharing an Azure managed disk across VMs (preview)
3+
description: Learn about sharing Azure managed disks across multiple VMs.
4+
author: roygara
5+
ms.service: virtual-machines-windows
6+
ms.topic: conceptual
7+
ms.date: 02/13/2020
8+
ms.author: rogarana
9+
ms.subservice: disks
10+
---
11+
12+
# Azure shared disks
13+
14+
[!INCLUDE [virtual-machines-disks-shared](../../../includes/virtual-machines-disks-shared.md)]
15+
16+
## Next steps
17+
18+
If you're interested in enabling and using shared disks for your managed disks, proceed to our article [Azure shared disks](disks-shared.md).

articles/virtual-machines/windows/toc.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,9 @@
241241
- name: Scalability targets for disks
242242
href: disk-scalability-targets.md
243243
- name: Backup and disaster recovery for disks
244-
href: backup-and-disaster-recovery-for-azure-iaas-disks.md
244+
href: backup-and-disaster-recovery-for-azure-iaas-disks.md
245+
- name: Shared disks
246+
href: disks-shared.md
245247
- name: Ephemeral OS disks
246248
href: ephemeral-os-disks.md
247249
- name: Networking
@@ -547,6 +549,8 @@
547549
href: detach-disk.md
548550
- name: Deploy disks with template
549551
href: using-managed-disks-template-deployments.md
552+
- name: Enable shared disks
553+
href: disks-shared-enable.md
550554
- name: Upload a vhd to a disk - PowerShell
551555
href: disks-upload-vhd-to-managed-disk-powershell.md
552556
- name: Resize a disk
105 KB
Loading
42.9 KB
Loading
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: include file
3+
description: include file
4+
services: virtual-machines
5+
author: roygara
6+
ms.service: virtual-machines
7+
ms.topic: include
8+
ms.date: 02/13/2020
9+
ms.author: rogarana
10+
ms.custom: include file
11+
---
12+
13+
While in preview, managed disks that have shared disks enabled are subject to the following limitations:
14+
15+
- Currently only available with premium SSDs.
16+
- Currently only supported in the West Central US region.
17+
- All virtual machines sharing a disk must be deployed in the same [proximity placement groups](../articles/virtual-machines/windows/proximity-placement-groups.md).
18+
- Can only be enabled on data disks, not OS disks.
19+
- Only basic disks can be used with some versions of Windows Server Failover Cluster, for details see [Failover clustering hardware requirements and storage options](https://docs.microsoft.com/windows-server/failover-clustering/clustering-requirements).
20+
- ReadOnly host caching is not available for premium SSDs with `maxShares>1`.
21+
- Availability sets and virtual machine scale sets can only be used with `FaultDomainCount` set to 1.
22+
- Azure Backup and Azure Site Recovery support is not yet available.
23+
24+
If you're interested in trying shared disks then [sign up for our preview](https://aka.ms/shareddisksignup).
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: include file
3+
description: include file
4+
services: virtual-machines
5+
author: roygara
6+
ms.service: virtual-machines
7+
ms.topic: include
8+
ms.date: 02/13/2020
9+
ms.author: rogarana
10+
ms.custom: include file
11+
---
12+
13+
For now, only premium SSDs can enable shared disks. The disk sizes that support this feature are P15 and greater. Different disk sizes may have a different `maxShares` limit, which you cannot exceed when setting the `maxShares` value.
14+
15+
For each disk, you can define a `maxShares` value that represents the maximum number of nodes that can simultaneously share the disk. For example, if you plan to set up a 2-node failover cluster, you would set `maxShares=2`. The maximum value is an upper bound. Nodes can join or leave the cluster (mount or unmount the disk) as long as the number of nodes is lower than the specified `maxShares` value.
16+
17+
> [!NOTE]
18+
> The `maxShares` value can only be set or edited when the disk is detached from all nodes.
19+
20+
The following table illustrates the allowed maximum values for `maxShares` by disk size:
21+
22+
|Disk sizes |maxShares limit |
23+
|---------|---------|
24+
|P15, P20 |2 |
25+
|P30, P40, P50 |5 |
26+
|P60, P70, P80 |10 |
27+
28+
The IOPS and bandwidth limits for a disk are not affected by the `maxShares` value. For example, the max IOPS of a P15 disk are 1100 whether maxShares = 1 or maxShares > 1.

0 commit comments

Comments
 (0)