You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Customer intent: As a cloud engineer, I want to configure shared disks for Azure managed disks, so that I can enable simultaneous access from multiple virtual machines to support clustered applications.
11
11
---
12
12
13
-
# Enable shared disk
13
+
# Enable shared disks
14
14
15
15
**Applies to:**:heavy_check_mark: Linux VMs :heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets :heavy_check_mark: Uniform scale sets
16
16
17
-
This article covers how to enable the shared disks feature for Azure managed disks. Azure shared disks 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.
18
-
19
-
If you are looking for conceptual information on managed disks that have shared disks enabled, see [Azure shared disks](disks-shared.md).
17
+
This article explains how to enable the shared disks feature for Azure managed disks. With Azure shared disks, you can attach a managed disk to multiple virtual machines (VMs) simultaneously, enabling the deployment or migration of clustered applications to Azure.
18
+
19
+
If you're looking for conceptual information on managed disks that have shared disks enabled, see [Azure shared disks](disks-shared.md).
20
20
21
21
## Prerequisites
22
22
@@ -57,7 +57,7 @@ To deploy a managed disk with the shared disk feature enabled, use the new prope
57
57
1. Select **+ Create** to create a new managed disk.
58
58
1. Fill in the details and select an appropriate region, then select **Change size**.
59
59
60
-
:::image type="content" source="media/disks-shared-enable/create-shared-disk-basics-pane.png" alt-text="Screenshot of the create a managed disk pane, change size highlighted.." lightbox="media/disks-shared-enable/create-shared-disk-basics-pane.png":::
60
+
:::image type="content" source="media/disks-shared-enable/create-shared-disk-basics-pane.png" alt-text="Screenshot of the Azure portal showing the create a managed disk pane with the change size option highlighted." lightbox="media/disks-shared-enable/create-shared-disk-basics-pane.png":::
61
61
62
62
1. Select the premium SSD size and SKU that you want and select **OK**.
63
63
@@ -196,7 +196,7 @@ To deploy a managed disk with the shared disk feature enabled, change the `maxSh
196
196
1. Fill in the details, then select **Change size**.
197
197
1. Select ultra disk for the **Disk SKU**.
198
198
199
-
:::image type="content" source="media/disks-shared-enable/select-ultra-shared-disk.png" alt-text="Screenshot of the disk SKU, ultra disk highlighted.." lightbox="media/disks-shared-enable/select-ultra-shared-disk.png":::
199
+
:::image type="content" source="media/disks-shared-enable/select-ultra-shared-disk.png" alt-text="Screenshot of the disk SKU, ultra disk highlighted." lightbox="media/disks-shared-enable/select-ultra-shared-disk.png":::
200
200
201
201
1. Select the disk size that you want and select **OK**.
202
202
1. Proceed through the deployment until you get to the **Advanced** pane.
@@ -279,7 +279,7 @@ To share an existing disk, or update how many VMs it can mount to, set the `maxS
279
279
> Host caching isn't supported for shared disks.
280
280
>
281
281
> The value of `maxShares` can only be set or changed when a disk is unmounted from all VMs. See the [Disk sizes](#disk-sizes) for the allowed values for `maxShares`.
282
-
> Before detaching a disk, record the LUN ID for when you re-attach it.
282
+
> Before detaching a disk, record the LUN ID for when you reattach it.
283
283
284
284
### PowerShell
285
285
@@ -300,12 +300,12 @@ az disk update --name mySharedDisk --max-shares 5 --resource-group myResourceGro
300
300
301
301
## Using Azure shared disks with your VMs
302
302
303
-
Once you've deployed a shared disk with `maxShares>1`, you can mount the disk to one or more of your VMs.
303
+
After you deploy a shared disk with `maxShares>1`, you can mount the disk to one or more of your VMs.
304
304
305
305
> [!NOTE]
306
306
> Host caching isn't supported for shared disks.
307
307
>
308
-
> If you are deploying an ultra disk, make sure it matches the necessary requirements. See [Using Azure ultra disks](disks-enable-ultra-ssd.md) for details.
308
+
> If you're deploying an ultra disk, make sure it matches the necessary requirements. See [Using Azure ultra disks](disks-enable-ultra-ssd.md) for details.
309
309
310
310
```azurepowershell-interactive
311
311
@@ -366,9 +366,4 @@ You also need to provide a persistent-reservation-key when using PR_RESERVE, PR_
366
366
367
367
## Next steps
368
368
369
-
If you prefer to use Azure Resource Manager templates to deploy your disk, the following sample templates are available:
Copy file name to clipboardExpand all lines: articles/virtual-machines/disks-shared.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,16 @@ author: roygara
5
5
ms.service: azure-disk-storage
6
6
ms.custom: linux-related-content
7
7
ms.topic: concept-article
8
-
ms.date: 02/20/2024
8
+
ms.date: 12/03/2025
9
9
ms.author: rogarana
10
10
# Customer intent: As a cloud architect, I want to understand how to share Azure managed disks across multiple VMs, so that I can effectively deploy and manage clustered applications in the cloud.
11
11
---
12
12
13
-
# Share an Azure managed disk
13
+
# Share an Azure managed disk across VMs
14
14
15
15
**Applies to:**:heavy_check_mark: Linux VMs :heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets :heavy_check_mark: Uniform scale sets
16
16
17
-
Azure shared disks is a feature for Azure managed disks that allow 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.
17
+
Azure shared disks is a feature for Azure managed disks that allows you to attach a managed disk to multiple virtual machines (VMs) simultaneously. This capability enables you to deploy new or migrate existing clustered applications to Azure without modifying your architecture. Shared disks ensure high availability for clustered applications, as other VMs in the cluster retain full access to the disk if one VM fails.
18
18
19
19
Shared disks require a cluster manager, like Windows Server Failover Cluster (WSFC), or Pacemaker, that handles cluster node communication and write locking. Shared managed disks don't natively offer a fully managed file system that can be accessed using SMB/NFS.
20
20
@@ -36,13 +36,13 @@ Shared disks support several operating systems. See the [Windows](#windows) or [
36
36
37
37
When you share a disk, your billing could be impacted in two different ways, depending on the type of disk.
38
38
39
-
For shared premium SSD disks, in addition to cost of the disk's tier, there's an extra charge that increases with each VM the SSD is mounted to. See [managed disks pricing](https://azure.microsoft.com/pricing/details/managed-disks/) for details.
39
+
For shared Premium SSD disks, in addition to cost of the disk's tier, there's an extra charge that increases with each VM the SSD is mounted to. See [managed disks pricing](https://azure.microsoft.com/pricing/details/managed-disks/) for details.
40
40
41
-
Both shared ultra disks and shared premium SSD v2 disks don't have an extra charge for each VM that they're mounted to. They're billed on the total IOPS and MB/s that the disk is configured for. Normally, ultra disks and premium SSD v2 has two performance throttles that determine its total IOPS/MB/s. However, when configured as a shared disk, two more performance throttles are exposed, for a total of four. These two additional throttles allow for increased performance at an extra expense and each meter has a default value, which raises the performance and cost of the disk.
41
+
Both shared Ultra Disks and shared Premium SSD v2 disks don't have an extra charge for each VM that they're mounted to. They're billed on the total IOPS and MB/s that the disk is configured for. Normally, Ultra Disks and Premium SSD v2 has two performance throttles that determine its total IOPS/MB/s. However, when configured as a shared disk, two more performance throttles are exposed, for a total of four. These two extra throttles allow for increased performance at an extra expense and each meter has a default value, which raises the performance and cost of the disk.
42
42
43
-
The four performance throttles a shared ultra disk and shared premium SSD v2 disk have are diskIOPSReadWrite, diskMB/sReadWrite, diskIOPSReadOnly, and diskMB/sReadOnly. Each performance throttle can be configured to change the performance of your disk. The performance for shared ultra disk premium SSD v2 disk are calculated in the following ways: total provisioned IOPS (diskIOPSReadWrite + diskIOPSReadOnly) and for total provisioned throughput MB/s (diskMB/sReadWrite + diskMB/sReadOnly).
43
+
The four performance throttles a shared Ultra Disk and shared Premium SSD v2 disk have are diskIOPSReadWrite, diskMB/sReadWrite, diskIOPSReadOnly, and diskMB/sReadOnly. Each performance throttle can be configured to change the performance of your disk. The performance of shared Ultra Disks and Premium SSD v2 disks are calculated in the following ways: total provisioned IOPS (diskIOPSReadWrite + diskIOPSReadOnly) and for total provisioned throughput MB/s (diskMB/sReadWrite + diskMB/sReadOnly).
44
44
45
-
Once you've determined your total provisioned IOPS and total provisioned throughput, you can use them in the [pricing calculator](https://azure.microsoft.com/pricing/calculator/?service=managed-disks) to determine the cost of an ultra shared disk and a premium SSD v2 shared disk.
45
+
Once you've determined your total provisioned IOPS and total provisioned throughput, you can use them in the [pricing calculator](https://azure.microsoft.com/pricing/calculator/?service=managed-disks) to determine the cost of an Ultra shared disk or a Premium SSD v2 shared disk.
46
46
47
47
## Disk sizes
48
48
@@ -58,9 +58,9 @@ Some popular applications running on WSFC include:
58
58
59
59
-[Create an FCI with Azure shared disks (SQL Server on Azure VMs)](/azure/azure-sql/virtual-machines/windows/failover-cluster-instance-azure-shared-disks-manually-configure)
60
60
-[Migrate your failover cluster instance to SQL Server on Azure VMs with shared disks](/azure/azure-sql/migration-guides/virtual-machines/sql-server-failover-cluster-instance-to-sql-on-azure-vm)
61
-
- Scale-out File Server (SoFS) [template](https://aka.ms/azure-shared-disk-sofs-template)
62
-
- SAP ASCS/SCS [template](https://aka.ms/azure-shared-disk-sapacs-template)
63
-
- File Server for General Use (IW workload)
61
+
-File servers. You can use the Scale-Out File Server features deployed on a Windows Server failover cluster, which uses shared disk in active-active mode. Cluster witness resources are stored on Azure shared disks and all file shares are simultaneously online on all nodes. For an example, see the Scale-out File Server (SoFS) [template](https://aka.ms/azure-shared-disk-sofs-template)
62
+
- SAP application servers use clustered shared disks to store SAP Central Services (ASCS for ABAP and SCS for Java) and SAP global host files. SAP ASCS/SCS [template](https://aka.ms/azure-shared-disk-sapacs-template)
63
+
- File Server for General Use (IW workload) - shared disks enable high availability for file servers in general
64
64
- Remote Desktop Server User Profile Disk (RDS UPD)
65
65
66
66
### Linux
@@ -111,7 +111,7 @@ Both Ultra disks and Premium SSD v2 managed disks offer two extra throttles, giv
111
111
112
112
### Premium SSD performance throttles
113
113
114
-
With premium SSD, the disk IOPS and throughput is fixed, for example, IOPS of a P30 is 5000. This value remains whether the disk is shared across 2 VMs or 5 VMs. The disk limits can be reached from a single VM or divided across two or more VMs.
114
+
With Premium SSD, the disk IOPS and throughput is fixed, for example, IOPS of a P30 is 5000. This value remains whether the disk is shared across 2 VMs or 5 VMs. The disk limits can be reached from a single VM or divided across two or more VMs.
115
115
116
116
### Ultra Disk and Premium SSD v2 performance throttles
117
117
@@ -145,7 +145,7 @@ The following formulas explain how the performance attributes can be set, since
145
145
146
146
#### Examples
147
147
148
-
The following examples depict a few scenarios that show how the throttling can work with shared ultra disks, specifically.
148
+
The following examples depict a few scenarios that show how the throttling can work with shared Ultra Disks, specifically.
149
149
150
150
##### Two nodes cluster using cluster shared volumes
151
151
@@ -173,4 +173,4 @@ Both shared Ultra Disks and shared Premium SSD v2 managed disks are priced based
173
173
174
174
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)
175
175
176
-
If you've additional questions, see the [shared disks](faq-for-disks.yml#azure-shared-disks) section of the FAQ.
176
+
If you have additional questions, see the [shared disks](faq-for-disks.yml#azure-shared-disks) section of the FAQ.
0 commit comments