Skip to main content

Task 12: Install FC HBA Drivers (Conditional)

The automated run does this task for you

The automated OS configuration run covers this task in the Drivers and Sbe steps for the OEM network drivers. It does not install Fibre Channel HBA drivers; its SanVerify step checks that every listed WWPN is seen. 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: FC HBA and iSCSI adapter driver installation PURPOSE: Install and verify FC HBA drivers so nodes present WWPNs to the FC fabric, and time the zoning correctly for your storage design MASTER REFERENCE: Microsoft Learn — Install the Azure Local operating system for disaggregated deployments (Connect to SAN)

Status: Active

Which storage designs run this task
Storage designThis task
Disaggregated (SAN only)Run it now, on every node, before Arc registration.
Hybrid (Storage Spaces Direct + SAN)Not part of the initial deployment. SAN is attached after the initial deployment (version 2604 or later). Do the initial deployment with local storage, then follow Connect an external storage array to Azure Local. If the FC HBAs are already installed, do not zone their WWNs until after the deployment (see the zoning timing below).
Storage Spaces Direct onlySkip to Task 15: Complete Combined Script.

Overview​

Azure Local disaggregated deployments connect each node to a SAN with Fibre Channel Host Bus Adapters (HBAs) or with dedicated iSCSI network adapters. For Fibre Channel, the HBA drivers must be installed and the WWPNs collected so the SAN administrator can zone the fabric and unmask the LUNs. This task installs the vendor-provided drivers and records each node's WWPN.


Zoning timing: disaggregated versus hybrid​

The timing is opposite for the two designs. Do not apply one rule to both.

DesignWhen to zone the FC HBA WWNsWhat Microsoft Learn says
Disaggregated (SAN only)Before Arc registration (Phase 04), so the LUNs are visible to the nodes."Retrieve the HBA Address (WWPN)... get the LUNs unmasked to the HBAs... Confirm you can see the LUNs before you proceed with Arc registration." "Don't initialize the drives, as the deployment expects the drive type to be RAW."
Hybrid (S2D + SAN)After the Azure Local deployment completes."To avoid deployment confusion for FC LUNs, don't zone in FC HBA World Wide Names (WWNs) until after the Azure Local deployment."

Learn's disaggregated page requires that the LUNs are unmasked and visible before Arc registration. It does not describe the fabric zoning step itself; on Fibre Channel the LUNs can only become visible once the zones exist, so zoning is part of getting them visible. Needed LUNs at this point: the infrastructure LUN (250 GB or larger) and the performance history LUN (20 GB or larger). Learn states that workload LUNs are configured after deployment.


When to Run​

ScenarioRun?
SAN disaggregated deployment, Fibre Channel✅ Yes — all nodes, FC tab
SAN disaggregated deployment, iSCSI✅ Yes — all nodes, iSCSI section (driver step only on 2610)
Hybrid (S2D + SAN)❌ Not at initial deployment — attach SAN after deployment per Learn
Storage Spaces Direct (S2D) deployment❌ Skip
HBA drivers already installed from OEM image✅ Yes — verify and collect WWPNs

Prerequisites​

RequirementDetails
Tasks 01–11 completeNodes named, local storage cleaned (Task 11 never touches SAN LUNs)
HBA hardware installedFC HBAs seated in PCIe slots on all nodes
HBA vendor driver packageDownload from your HBA vendor (Emulex, QLogic, Broadcom, Marvell, etc.). For hybrid, Learn requires a Windows Server 2025 certified HBA and driver
FC fabric accessFabric admin ready to configure zoning after WWPN collection (disaggregated)
LUNsInfrastructure LUN (250 GB or larger) and performance history LUN (20 GB or larger) created on the array

Variables from variables.yml​

PathTypeDescription
cluster_nodes[].management_ipstringPSRemoting target IP (orchestrated mode)
cluster_nodes[].hostnamestringNode display name for logging
cluster_nodes[].fc_hba[].wwpnstringRecord here after collection — used for FC zoning and LUN masking

Execution Options​

Run on each node individually via console, RDP, or PSRemoting.

Toolkit script: scripts/deploy/04-cluster-deployment/phase-03-os-configuration/task-12-install-fc-hba-drivers-conditional/powershell/Install-FcHbaDrivers-Direct.ps1

# Task 12 - Install FC HBA Drivers (run on each node)
# Consult your HBA vendor documentation for the correct .inf driver path

# Stage 1: Install driver via PnP
# Replace <path-to-driver.inf> with the vendor-provided INF file path
PNPUTIL /add-driver "<path-to-driver.inf>" /install

# Stage 2: Confirm HBA ports are detected
Get-InitiatorPort | Select-Object NodeAddress, PortAddress, ConnectionType |
Where-Object { $_.ConnectionType -eq 'Fibre Channel' } |
Format-Table -AutoSize

# Stage 3: Record WWPNs for each node (save to variables.yml)
# PortAddress field contains the WWPN in XX:XX:XX:XX:XX:XX:XX:XX format
Get-InitiatorPort | Where-Object { $_.ConnectionType -eq 'Fibre Channel' } |
Select-Object @{N='Node';E={$env:COMPUTERNAME}}, NodeAddress, PortAddress |
Export-Csv -Path "C:\Temp\wwpn-$env:COMPUTERNAME.csv" -NoTypeInformation

Validation​

# Confirm HBA ports are online and WWPNs visible
$ServerList = @("<node1-ip>", "<node2-ip>")
Invoke-Command -ComputerName $ServerList -ScriptBlock {
Get-InitiatorPort | Where-Object { $_.ConnectionType -eq 'Fibre Channel' } |
Select-Object @{N='Node';E={$env:COMPUTERNAME}}, PortAddress, ConnectionType, OperationalStatus
} | Sort-Object Node | Format-Table -AutoSize

Expected: Each node shows 1–4 FC initiator ports depending on HBA count. OperationalStatus should be Online once fabric-connected.


WWPN Collection Worksheet​

NodeHBA PortWWPNFabric (A/B)
NODE01Port 0___________________________A
NODE01Port 1___________________________B
NODE02Port 0___________________________A
NODE02Port 1___________________________B
Provide WWPNs to the FC fabric and SAN administrators (disaggregated)

For a disaggregated design, give the collected WWPNs to the SAN administrator so the LUNs are unmasked to the HBAs, and to the fabric administrator for zoning. The array's target port WWPNs are needed to complete the zones. Do this before Arc registration (Phase 04), then confirm the LUNs in Task 14.

For a hybrid design (S2D + SAN), keep the WWPNs on file but do not zone them until after the Azure Local deployment.


iSCSI adapters (disaggregated, iSCSI SAN)​

Learn: "Azure Local only supports dedicated adapters for iSCSI." The steps depend on the version you deploy.

Azure Local 2610: do not enable iSCSI on the machines before deployment

"Starting with Azure Local version 2610, for connected and disconnected deployments, don't manually enable iSCSI on the machines before deployment. The deployment wizard now includes iSCSI configuration as part of the deployment process. For earlier versions, follow the steps in this section to enable iSCSI manually." (Learn, Connect to SAN). In the 2610 portal wizard you turn on iSCSI Configuration, then enter the authentication type and the iSCSI network details (Deploy Azure Local using the Azure portal for disaggregated deployments).

Version you deployWhat to do in this task
2610 (connected or disconnected)Install the OEM drivers for the dedicated iSCSI network adapters (not the inbox drivers). Learn says not to manually enable iSCSI on the machines before deployment because the wizard now configures it, so this runbook does not run the manual iSCSI steps (addresses, MSiSCSI, auto-claim, target connections) on 2610. Enter the iSCSI network details in the wizard instead; Learn does not spell out each manual step as unsupported, so confirm anything beyond the drivers with your OEM.
2604 to 2609Follow Learn's manual iSCSI steps on every node: install the OEM adapter drivers (not inbox), assign each adapter an IP address and disable DNS client registration, validate connectivity with ping -S, add static routes only if routing is required, set MSiSCSI to start automatically, run Enable-MSDSMAutomaticClaim -BusType iSCSI, add the target portal for each path, collect the IQNs (the NodeAddress of the iSCSI initiator ports from Get-InitiatorPort) for LUN masking| Where-Object ConnectionType -eq 'iSCSI').NodeAddress) for LUN masking, connect each target with -IsPersistent $true -IsMultipathEnabled $true, then confirm the LUNs with Get-PhysicalDisk`.

Check that the iSCSI adapters are not on an inbox driver (Learn: an adapter uses an inbox driver if DriverProvider is Microsoft):

Get-NetAdapter -Name "<AdapterName>" | Select-Object Name, DriverProvider, DriverVersion, DriverDate

For hybrid (S2D + SAN) with iSCSI, Learn requires dedicated physical ports for iSCSI (vNICs are not supported) and a node with identical NIC configurations; see Connect an external storage array to Azure Local.


Rolling Reboot (if required)​

Driver installation may require a node restart. In a cluster, reboot one node at a time to maintain availability:

# Drain and reboot one node at a time
Suspend-ClusterNode -Name "<NodeName>" -Drain
# Wait for roles to migrate
Restart-Computer -ComputerName "<node-ip>" -Force
# Wait for node to rejoin
Resume-ClusterNode -Name "<NodeName>"

For initial pre-cluster deployment (Phase 03), simply reboot each node and confirm the OS comes back online.


Validation Checklist​

  • HBA drivers installed on all nodes (FC), or OEM iSCSI adapter drivers installed and not inbox (iSCSI)
  • FC initiator ports visible (Get-InitiatorPort shows Fibre Channel ports)
  • WWPNs collected and recorded in variables.yml under cluster_nodes[].fc_hba[].wwpn
  • Disaggregated: WWPN list provided to the SAN and FC fabric administrators now (before Arc registration)
  • Hybrid: WWNs not zoned yet (zone only after the Azure Local deployment)

← Task 11: Clear Storage · ↑ Phase 03 · Task 13: Configure MPIO →


Version Control​

VersionDateAuthorChanges
1.0.02026-05-02Azure Local CloudInitial release
1.1.02026-11-08Azure Local CloudAligned to Azure Local 2610: zoning timing split by design (disaggregated before Arc registration, hybrid after deployment); removed the claim that zoning waits for Arc registration; added iSCSI section with the 2610 wizard rule; inbox driver check; fixed Learn links and platform badge