Skip to main content

Task 13: Configure MPIO and Vendor MSDSM (Conditional)

The automated run does this task for you

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.

Runbook Phase 03 Platform

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

Which storage designs run this task
Storage designThis 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 onlySkip 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.

MPIO is enabled by default from Azure Local 2604

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.

Registering the vendor IDs is not always enough: claim the disks too

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​

ScenarioRun?
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​

RequirementDetails
Task 12 completeFC HBA drivers installed (or OEM iSCSI adapter drivers on 2604 to 2609; on 2610 the wizard configures iSCSI, see Task 12)
SAN array vendorVendor and model confirmed (hardware IDs needed)
FC fabricDisaggregated: 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​

PathTypeDescription
cluster_nodes[].management_ipstringPSRemoting target IP
storage.san_array_vendorstringSAN array vendor name for documentation

Step 1: Verify the MPIO Windows Feature​

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
Restart only if required

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.

MPIO defaults in Azure Local 2604 and later​

SettingDefault value
PathVerificationStateEnabled
PathVerificationPeriod30
PDORemovePeriod20
RetryCount6
RetryInterval3
CustomPathRecoveryDisabled
CustomPathRecoveryTime20
DiskTimeoutValue60
Load balance policyRound Robin (RR)
NewDiskPolicyOfflineShared

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:

VendorVendorIdProductIdLearn command
Dell PowerStoreDellEMCPowerStoreNew-MSDSMSupportedHW -VendorId "DellEMC" -ProductId "PowerStore"
Everpure FlashArray (formerly Pure Storage)PUREFlashArrayNew-MSDSMSupportedHW -VendorId "PURE" -ProductId "FlashArray"
Hitachi VSPuse mpclaimOPEN-Vmpclaim -r -i -d "HITACHI OPEN-V"
HPE Alletra / 3PAR3PARdataVVNew-MSDSMSupportedHW -VendorId "3PARdata" -ProductId "VV"
NetApp ONTAPNETAPPLUN C-ModeNew-MSDSMSupportedHW -VendorId "NETAPP" -ProductId "LUN C-Mode"
Lenovo ThinkSystem DS / DM / DGLearn lists the series as supported but gives no IDsLearn gives no IDsGet the IDs from Lenovo's Windows MPIO guide and confirm them in the output of Get-Disk and mpclaim -s -d
How to claim with mpclaim

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.

# 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)
Verify hardware IDs with your SAN vendor

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, or mpclaim for 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 iSCSI confirmed

← Task 12: FC HBA Drivers · ↑ Phase 03 · Task 14: Verify LUN Presentation →


Version Control​

VersionDateAuthorChanges
1.0.02026-05-02Azure Local CloudInitial release
1.1.02026-11-08Azure Local CloudAligned 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