Task 13: Configure MPIO and Vendor MSDSM (Conditional)
The automated OS configuration run covers this task in the Mpio step (the feature, the array's MSDSM hardware ID, load balance policy and timers), for SAN designs. Use the manual steps below when you can't use the run, or to understand or troubleshoot what it does. See how the run works.
DOCUMENT CATEGORY: Runbook SCOPE: MPIO and MSDSM configuration PURPOSE: Verify MPIO and configure vendor MSDSM so Windows claims SAN disks as multi-path volumes MASTER REFERENCE: Microsoft Learn — Connect an external storage array to Azure Local
Status: Active
| Storage design | This task |
|---|---|
| Disaggregated (SAN only) | Run it now, on every node, after Task 12 and before you confirm the LUNs in Task 14. |
| Hybrid (Storage Spaces Direct + SAN) | Not part of the initial deployment. SAN is attached after the initial deployment (version 2604 or later). The same Learn steps apply then; follow Connect an external storage array to Azure Local after the cluster is deployed. |
| Storage Spaces Direct only | Skip to Task 15: Complete Combined Script. |
Overview
Windows Multipath I/O (MPIO) aggregates multiple physical paths to a SAN LUN into a single logical disk, providing both redundancy and load distribution. Azure Local uses the inbox Microsoft Device Specific Module (MSDSM); there is no vendor DSM package to stage. For each array, the vendor and product IDs have to be registered with MSDSM, and the array's disks have to be claimed by MPIO. Without that, Windows presents each path as a separate disk.
Learn: "Azure Local 2604 and later versions enable Multipath I/O (MPIO) by default. Verify that MPIO is enabled on all nodes. If MPIO isn't enabled, which can happen in earlier versions, you need to reboot." You no longer install the feature and restart as a routine step. Verify it, and enable it only if it is off.
Learn's step is registering the vendor with MSDSM (New-MSDSMSupportedHW). On a real Pure FlashArray lab, registering alone left 8 separate disks for 2 LUNs (4 paths each, not merged). Claiming the array's devices with mpclaim -n -i -d and restarting merged them into 2 multi-path disks. Treat the claim as part of the procedure. This claim step is lab-verified on Pure FlashArray only; Learn documents mpclaim only for Hitachi VSP (mpclaim -r -i -d "HITACHI OPEN-V"). For other arrays, apply the same claim and confirm with mpclaim -s -d.
When to Run
| Scenario | Run? |
|---|---|
| SAN disaggregated deployment (FC or iSCSI) | ✅ Yes — all nodes |
| Hybrid (S2D + SAN) | ❌ Not at initial deployment — after deployment, per Learn |
| Storage Spaces Direct (S2D) only | ❌ Skip |
| Array or firmware changed since a previous deployment | ✅ Yes — verify vendor hardware IDs are still registered and claimed |
Prerequisites
| Requirement | Details |
|---|---|
| Task 12 complete | FC HBA drivers installed (or OEM iSCSI adapter drivers on 2604 to 2609; on 2610 the wizard configures iSCSI, see Task 12) |
| SAN array vendor | Vendor and model confirmed (hardware IDs needed) |
| FC fabric | Disaggregated: zoning in place and the infrastructure and performance history LUNs unmasked to the HBAs, so the disks are visible before Arc registration. Hybrid: do not zone until after the deployment. |
Variables from variables.yml
| Path | Type | Description |
|---|---|---|
cluster_nodes[].management_ip | string | PSRemoting target IP |
storage.san_array_vendor | string | SAN array vendor name for documentation |
Step 1: Verify the MPIO Windows Feature
- Direct (On Node)
- Orchestrated Script
- Standalone Script
Run on each node individually via console, KVM, or RDP.
Toolkit script: scripts/deploy/04-cluster-deployment/phase-03-os-configuration/task-13-configure-mpio-and-vendor-msdsm-conditional/powershell/Enable-MPIO-Direct.ps1
# Task 13 - Step 1: Verify MPIO (run on each node)
Get-WindowsOptionalFeature -Online -FeatureName MultipathIO |
Select-Object FeatureName, State, RestartNeeded
# Only if State is not Enabled (possible on builds before 2604):
# Enable-WindowsOptionalFeature -Online -FeatureName MultipathIO
If you had to enable MPIO, or RestartNeeded is True, restart the node (rolling, one at a time once clustered) before proceeding to Step 2. If MPIO was already enabled, no restart is needed here.
Run from the management server against all nodes.
Toolkit script: scripts/deploy/04-cluster-deployment/phase-03-os-configuration/task-13-configure-mpio-and-vendor-msdsm-conditional/powershell/Enable-MPIO-Orchestrated.ps1
# Task 13 - Step 1: Verify MPIO (orchestrated)
# variables.yml variables:
# cluster_nodes[].management_ip -> $ServerList
$ConfigPath = "$env:USERPROFILE\variables.yml"
$ServerList = (Get-Content $ConfigPath | Select-String 'management_ip:\s+"?([^"'' ]+)' |
ForEach-Object { $_.Matches[0].Groups[1].Value.Trim() })
# Report the state on every node. 2604 and later enable MPIO by default.
Invoke-Command -ComputerName $ServerList -ScriptBlock {
Get-WindowsOptionalFeature -Online -FeatureName MultipathIO |
Select-Object @{N='Node';E={$env:COMPUTERNAME}}, FeatureName, State, RestartNeeded
} | Sort-Object Node | Format-Table -AutoSize
# Only for a node where State is not Enabled: enable it, then restart that node.
# Invoke-Command -ComputerName <node-ip> -ScriptBlock { Enable-WindowsOptionalFeature -Online -FeatureName MultipathIO -NoRestart }
# Restart-Computer -ComputerName <node-ip> -Force
Restart a node only if you enabled MPIO on it or RestartNeeded is True. Wait for the node to return online before proceeding to Step 2.
When to use: Use this option for a self-contained deployment without a shared configuration file.
Script: See azurelocal-toolkit → scripts/deploy/ for the standalone script for this task.
See toolkit repository for standalone implementation.
MPIO defaults in Azure Local 2604 and later
| Setting | Default value |
|---|---|
| PathVerificationState | Enabled |
| PathVerificationPeriod | 30 |
| PDORemovePeriod | 20 |
| RetryCount | 6 |
| RetryInterval | 3 |
| CustomPathRecovery | Disabled |
| CustomPathRecoveryTime | 20 |
| DiskTimeoutValue | 60 |
| Load balance policy | Round Robin (RR) |
| NewDiskPolicy | OfflineShared |
Step 2: Register the Vendor with MSDSM, Claim the Disks and Set the Policy
Run on each node. Select the tab for your array vendor. Learn's vendor IDs:
| Vendor | VendorId | ProductId | Learn command |
|---|---|---|---|
| Dell PowerStore | DellEMC | PowerStore | New-MSDSMSupportedHW -VendorId "DellEMC" -ProductId "PowerStore" |
| Everpure FlashArray (formerly Pure Storage) | PURE | FlashArray | New-MSDSMSupportedHW -VendorId "PURE" -ProductId "FlashArray" |
| Hitachi VSP | use mpclaim | OPEN-V | mpclaim -r -i -d "HITACHI OPEN-V" |
| HPE Alletra / 3PAR | 3PARdata | VV | New-MSDSMSupportedHW -VendorId "3PARdata" -ProductId "VV" |
| NetApp ONTAP | NETAPP | LUN C-Mode | New-MSDSMSupportedHW -VendorId "NETAPP" -ProductId "LUN C-Mode" |
| Lenovo ThinkSystem DS / DM / DG | Learn lists the series as supported but gives no IDs | Learn gives no IDs | Get the IDs from Lenovo's Windows MPIO guide and confirm them in the output of Get-Disk and mpclaim -s -d |
mpclaim -n -i -d "<device string>" adds the device to MPIO and claims the matching disks; -n suppresses the automatic reboot, so restart the node yourself afterwards (Learn's Hitachi form uses -r, which reboots). The device string is the vendor ID padded to 8 characters followed by the product ID padded to 16 characters, for example "PURE FlashArray " (PURE + 4 spaces, FlashArray + 6 spaces). Check the exact IDs with Get-Disk | Select-Object FriendlyName, Manufacturer, Model before you pad them.
- Everpure (Pure) FlashArray
- Dell PowerStore
- HPE Alletra / 3PAR
- Hitachi VSP
- NetApp ONTAP
- Lenovo ThinkSystem
# Task 13 - Step 2: Configure MSDSM for Everpure FlashArray (Pure Storage)
# Remove the generic wildcard entry so MSDSM does not claim non-Pure devices (Learn)
Remove-MSDSMSupportedHW -VendorId 'Vendor*' -ProductId 'Product*'
# Register the hardware IDs (Learn)
New-MSDSMSupportedHW -VendorId "PURE" -ProductId "FlashArray"
# Claim the array's devices (lab-verified on a Pure FlashArray). Vendor padded to 8, product padded to 16.
mpclaim -n -i -d "PURE FlashArray "
# Default load balance policy is Round Robin (Learn)
Set-MSDSMGlobalDefaultLoadBalancePolicy -Policy RR
# Vendor MPIO timers (Learn)
Set-MPIOSetting -NewPathRecoveryInterval 20 -CustomPathRecovery Enabled `
-NewPDORemovePeriod 20 -NewDiskTimeout 60 -NewPathVerificationState Enabled
# Restart the node to apply the MPIO changes (one node at a time)
# Task 13 - Step 2: Configure MSDSM for Dell PowerStore
# Register the hardware IDs (Learn). The vendor ID is DellEMC, not DELL.
New-MSDSMSupportedHW -VendorId "DellEMC" -ProductId "PowerStore"
# Claim the array's devices. Vendor padded to 8, product padded to 16 (not lab-verified for Dell).
mpclaim -n -i -d "DellEMC PowerStore "
# Default load balance policy is Round Robin (Learn)
Set-MSDSMGlobalDefaultLoadBalancePolicy -Policy RR
# Vendor MPIO timers (Learn)
Set-MPIOSetting -NewRetryCount 3 -CustomPathRecovery Enabled `
-NewPathRecoveryInterval 10 -NewDiskTimeout 30
# Restart the node to apply the MPIO changes (one node at a time)
# Task 13 - Step 2: Configure MSDSM for HPE Alletra MP / 3PAR
# Register the hardware IDs (Learn)
New-MSDSMSupportedHW -VendorId "3PARdata" -ProductId "VV"
# Claim the array's devices. Vendor is already 8 characters, product padded to 16 (not lab-verified for HPE).
mpclaim -n -i -d "3PARdataVV "
# Default load balance policy is Round Robin (Learn)
Set-MSDSMGlobalDefaultLoadBalancePolicy -Policy RR
# Restart the node to apply the MPIO changes (one node at a time)
Learn: no MPIO tuning is required when you set the host persona to WINDOWS on the array. Learn lists HPE Alletra MP 10000 as the supported model.
# Task 13 - Step 2: Configure MSDSM for Hitachi VSP
# Learn uses mpclaim for Hitachi (no New-MSDSMSupportedHW VendorId). -r REBOOTS the node.
# Plan a rolling restart; do not run this on all nodes at once.
mpclaim -r -i -d "HITACHI OPEN-V"
# Default load balance policy is Round Robin (Learn)
Set-MSDSMGlobalDefaultLoadBalancePolicy -Policy RR
Learn: default MSDSM settings with the Round Robin policy work well for Hitachi VSP. Run Set-MSDSMGlobalDefaultLoadBalancePolicy after the node is back online if the reboot interrupts the sequence.
# Task 13 - Step 2: Configure MSDSM for NetApp ONTAP
# ONTAP C-Mode reports "LUN C-Mode", not "LUN" (Learn). Only register "LUN" for legacy 7-Mode.
New-MSDSMSupportedHW -VendorId "NETAPP" -ProductId "LUN C-Mode"
# Claim the array's devices. Vendor padded to 8, product padded to 16 (not lab-verified for NetApp).
mpclaim -n -i -d "NETAPP LUN C-Mode "
# Default load balance policy is Round Robin (Learn)
Set-MSDSMGlobalDefaultLoadBalancePolicy -Policy RR
# Restart the node to apply the MPIO changes (one node at a time)
Learn: no extra MPIO tuning is required beyond the defaults.
Learn lists Lenovo ThinkSystem DS, DM and DG series as supported for Fibre Channel and iSCSI, but the 2610 article gives no MSDSM vendor and product IDs and no MPIO timers for Lenovo. Do not guess the IDs.
- Get the Windows MPIO IDs from Lenovo's configuration guide for your series.
- Confirm them on a node:
Get-Disk | Select-Object FriendlyName, Manufacturer, Modelandmpclaim -s -d. - Register with
New-MSDSMSupportedHW, claim withmpclaim -n -i -d "<vendor padded to 8><product padded to 16>", setSet-MSDSMGlobalDefaultLoadBalancePolicy -Policy RR, and restart the node.
Always confirm the exact IDs for your array and firmware against the vendor's Windows MPIO configuration guide, and against what the node reports for the disks.
iSCSI only: automatic claim
For iSCSI arrays on Azure Local 2604 to 2609, also enable MPIO automatic claim for the iSCSI bus (Learn: "Enable MPIO for iSCSI using default policy (round robin)"):
Enable-MSDSMAutomaticClaim -BusType iSCSI
If you enable auto-claim after LUNs are already visible, restart the node so MSDSM can re-enumerate the devices. On 2610, do not enable iSCSI on the machines before deployment; the deployment wizard's iSCSI Configuration does this (see Task 12). Fibre Channel LUNs are claimed through the registered hardware IDs; Learn does not use Enable-MSDSMAutomaticClaim -BusType FC, so this runbook no longer runs it.
Step 3: Restart and Verify
MPIO policy changes do not take effect until the node restarts. Restart each node (one at a time when clustered), then verify.
Verification
# Confirm MPIO is enabled
Get-WindowsOptionalFeature -Online -FeatureName MultipathIO | Select-Object FeatureName, State
# Confirm supported hardware IDs are registered
Get-MSDSMSupportedHW | Format-Table VendorId, ProductId
# Confirm the load balance policy and MPIO timers
Get-MSDSMGlobalDefaultLoadBalancePolicy
Get-MPIOSetting
# Confirm the array's disks are claimed and show their path counts
mpclaim -s -d
Expected: State = Enabled; your vendor's IDs appear in the supported HW list; the load balance policy is RR; mpclaim -s -d lists one MPIO disk per LUN with two or more paths. Until the LUNs are presented, mpclaim shows no disks, which is expected. If a node shows one disk per path instead of one disk per LUN, the disks are registered but not claimed; run the mpclaim -n -i -d claim from Step 2 and restart.
Validation Checklist
- MPIO verified as enabled on all nodes (restarted only where it had to be enabled)
- Vendor hardware IDs registered (
New-MSDSMSupportedHW, ormpclaimfor Hitachi) on all nodes - Array devices claimed (
mpclaim -n -i -d) and all nodes restarted afterwards - Load balance policy is Round Robin (
RR) unless the vendor guide says otherwise - Vendor MPIO timers applied where Learn lists them (Dell, Everpure)
- iSCSI on 2604 to 2609 only:
Enable-MSDSMAutomaticClaim -BusType iSCSIconfirmed
Navigation
← Task 12: FC HBA Drivers · ↑ Phase 03 · Task 14: Verify LUN Presentation →
Version Control
| Version | Date | Author | Changes |
|---|---|---|---|
| 1.0.0 | 2026-05-02 | Azure Local Cloud | Initial release |
| 1.1.0 | 2026-11-08 | Azure Local Cloud | Aligned to Azure Local 2610 (Learn "Connect an external storage array"): MPIO verified, not installed (enabled by default from 2604); corrected vendor IDs (DellEMC, 3PARdata/VV, NETAPP "LUN C-Mode", Hitachi via mpclaim); Pure renamed Everpure with wildcard removal; load balance policy RR instead of LQD; added the MSDSM claim step (lab-verified on Pure FlashArray) with padded vendor and product strings; per-vendor MPIO timers; Lenovo entry; dropped the FC auto-claim line; iSCSI auto-claim for 2604 to 2609 |