Deploy an Azure disk pool (preview)
Important
Disk pools are being retired soon. If you're looking for an alternative solution, see either Azure Elastic SAN (preview) or Azure NetApp Files.
This article covers how to deploy and configure an Azure disk pool (preview). Before deploying a disk pool, read the conceptual and planning articles.
For a disk pool to work correctly, you must complete the following steps:
- Register your subscription for the preview.
- Delegate a subnet to your disk pool.
- Assign the resource provider of disk pool role-based access control (RBAC) permissions for managing your disk resources.
- Create the disk pool.
- Add disks to your disk pool.
Prerequisites
To successfully deploy a disk pool, you must have:
- A set of managed disks you want to add to a disk pool.
- A virtual network with a dedicated subnet deployed for your disk pool.
- Outbound ports 53, 443, and 5671 must be open.
- Ensure that your network setting don't block any of your disk pool's required outbound dependencies. You can use either the Azure PowerShell module or Azure CLI to get the complete list of all outbound dependencies.
If you're going to use the Azure PowerShell module, install version 6.1.0 or newer.
If you're going to use the Azure CLI, install the latest version.
Register your subscription for the preview
Register your subscription to the Microsoft.StoragePool provider, to be able to create and use disk pools.
- Sign in to the Azure portal.
- On the Azure portal menu, search for and select Subscriptions.
- Select the subscription you want to use for disk pools.
- On the left menu, under Settings, select Resource providers.
- Find the resource provider Microsoft.StoragePool and select Register.
Once your subscription has been registered, you can deploy a disk pool.
Delegate subnet permission
For your disk pool to work with your client machines, you must delegate a subnet to your Azure disk pool. When creating a disk pool, you specify a virtual network and the delegated subnet. You may either create a new subnet or use an existing one and delegate to the Microsoft.StoragePool/diskPools resource provider.
- Go to the virtual networks pane in the Azure portal and select the virtual network to use for the disk pool.
- Select Subnets from the virtual network pane and select +Subnet.
- Create a new subnet by completing the following required fields in the Add subnet pane: - Subnet delegation: Select Microsoft.StoragePool/diskPools
For more information on subnet delegation, see Add or remove a subnet delegation.
Assign StoragePool resource provider permissions
For a disk to be able to be used in a disk pool, it must meet the following requirements:
- The StoragePool resource provider must have been assigned an RBAC role that contains Read and Write permissions for every managed disk in the disk pool.
- Must be either a premium SSD, standard SSD, or an ultra disk in the same availability zone as the disk pool.
- For ultra disks, it must have a disk sector size of 512 bytes.
- Disk pools can't be configured to contain both Premium/standard SSDs and ultra disks. A disk pool configured for ultra disks can only contain ultra disks. Likewise, a disk pool configured for premium or standard SSDs can only contain premium and standard SSDs.
- Must be a shared disk with a maxShares value of two or greater.
Sign in to the Azure portal.
Search for and select either the resource group that contains the disks or each disk themselves.
Select Access control (IAM).
Select Add role assignment (Preview), and select Disk Pool Operator in the role list.
If you prefer, you may create your own custom role instead. A custom role for disk pools must have the following RBAC permissions to function: Microsoft.Compute/disks/write and Microsoft.Compute/disks/read.
For Assign access to, select User, group, or service principal.
Select + Select members and then search for StoragePool Resource Provider, select it, and save.
Create a disk pool
For optimal performance, deploy the disk pool in the same Availability Zone of your clients. If you are deploying a disk pool for an Azure VMware Solution cloud and need guidance on identifying the Availability Zone, fill in this form.
Search for and select Disk pool.
Select +Add to create a new disk pool.
Fill in the details requested, select the same region and availability zone as the clients that will use the disk pool.
Select the subnet that has been delegated to the StoragePool resource provider, and its associated virtual network.
Select Next to add disks to your disk pool.
Add disks
Prerequisites
To add a disk, it must meet the following requirements:
- Must be either a premium SSD, standard SSD, or an ultra disk in the same availability zone as the disk pool.
- Currently, you can only add premium SSDs and Standard SSDs in the portal. Ultra disks must be added with either the Azure PowerShell module or the Azure CLI.
- For ultra disks, it must have a disk sector size of 512 bytes.
- Must be a shared disk with a maxShares value of two or greater.
- Disk pools can't be configured to contain both premium/standard SSDs and ultra disks. A disk pool configured for ultra disks can only contain ultra disks. Likewise, a disk pool configured for premium or standard SSDs can only contain premium and standard SSDs.
- You must grant RBAC permissions to the resource provide of disk pool to manage the disk you plan to add.
If your disk meets these requirements, you can add it to a disk pool by selecting +Add disk in the disk pool pane.
Enable iSCSI
Select the iSCSI pane.
Select Enable iSCSI.
Enter the name of the iSCSI target, the iSCSI target IQN will generate based on this name.
- The ACL mode is set to Dynamic by default. To use your disk pool as a storage solution for Azure VMware Solution, the ACL mode must be set to Dynamic.
Select Review + create.
Next steps
- If you encounter any issues deploying a disk pool, see Troubleshoot Azure disk pools (preview).
- Attach disk pools to Azure VMware Solution hosts (Preview).
- Manage a disk pool.
Feedback
Submit and view feedback for