Nano Server - How to Configure iSCSI Target Portal and MPIO on Nano Server Step by Step

No comments

Configuring iSCSI Target Portal and MPIO on Nano Server step by step


Before you start

Configuring iSCSI Target Services

  • On the PowerShell session execute the following cmdlet:
#Enable and start the iSCSI Service on the Nano Server.
Set-Service –Name MSiSCSI –StartupType Automatic
Start-Service MSiSCSI
#Setup the iSCSI Target Portal make sure you set all your iSCSI NICS.
New-IscsiTargetPortal –TargetPortalAddress 10.x.x.01
New-IscsiTargetPortal –TargetPortalAddress 10.x.x.02
#Get all iSCSI configured NIC's and initiate the connection and also Multipath.
$Nics = Get-NetIPAddress –AddressFamily IPv4 -InterfaceAlias "(Your iSCSI Adapters)"
Get-IscsiTarget | Connect-IscsiTarget  -IsPersistent $True –IsMultipathEnabled $True –InitiatorPortalAddress $Nics.IPAddress


Map Disk From Storage (SAN)

This step may vary depending on your Storage system.
  • Map Volumes to the Nano Server and then proceed to configure MPIO

Setup MPIO

  • Run the following cmdlet to enable MPIO:
Enable-WindowsOptionalFeature -Online -FeatureName MultiPathIO
Important: Microsoft has published a PowerShell script so it configures/claims disks for MPIO.
Download the MPIO on Nano Server Script
  • Copy the sample script to a PowerShell and then copy to the Nano Server by utilizing the Explorer if not then the copy-item cmdlet.
  • Run the script

Initialize SAN/iSCSI Volumes on the Nano Server

  • On a Remote Server Manager session connect to your Nano Server and then navigate to File and Storage Services workspace then select Disks.
  • Initialize the SAN(iSCSI) Volumes and then that's it now you have your iSCSI SAN storage configured on your Nano Server.

No comments :

Post a Comment