Wednesday, 30 October 2013

NetApp Clustered ONTAP 8.2, iSCSI, and MPIO with Server 2012: Part 2/5

In this 5 part series, we:
Part 1: Configure iSCSI on Clustered Data ONTAP
Part 2: Set up Windows Server 2012 with iSCSI and MPIO, NetApp Host Utilities, NetApp DSM for MPIO
Part 3: How to install NetApp SnapDrive for Windows 7.0
Part 4: Use NetApp SnapDrive for Windows to create a disk and attach via iSCSI
Part 5: Use the NetApp Data ONTAP DSM to manage paths and modify MPIO path policies

Part 2: Set up Windows Server 2012 with iSCSI and MPIO, NetApp Host Utilities, and NetApp DSM for MPIO

Note: Windows Server 2012 Standard Edition, Clustered Data ONTAP 8.2, NetApp iSCSI Host Utilities 6.0.2, NetApp DSM 4.0.1, and NetApp SnapDrive for Windows 7.0, is a support combination at http://support.netapp.com/matrix

2.1) How to setup Windows Server 2012 for iSCSI and MPIO

We have a vanilla install of Windows 2012 Standard Edition Server patched up to October 2013. In this lab the server is not domain joined. A local administrative user called snapdrive has been created, and this account is used for installing softwares and - later on - as the snapdrive service account.

Login as snapdrive (for all Windows tasks in this series):

Image: SnapDrive Local Login Used in this Lab

Open up PowerShell run as administrator:
To Disable UAC via Powershell:

New-ItemProperty -Path HKLM:Software\Microsoft\Windows\CurrentVersion\policies\system -Name EnableLUA -PropertyType DWord -Value 0 -Force

shutdown -r -t 0

Open up PowerShell:
To turn the Windows firewall off:

netsh advfirewall set allprofiles state off

To configure with two NICs (using Ethernet 3 and 4 here) with IP address on the iSCSI subnet, and disable IPv6:

New-NetIPAddress -IPAddress 10.10.10.11 -InterfaceAlias "Ethernet 3" -AddressFamily IPv4 -PrefixLength 24
New-NetIPAddress -IPAddress 10.10.10.12 -InterfaceAlias "Ethernet 4" -AddressFamily IPv4 -PrefixLength 24
Disable-NetAdapterBinding -InterfaceAlias “Ethernet 3” -ComponentID ms_tcpip6
Disable-NetAdapterBinding -InterfaceAlias “Ethernet 4” -ComponentID ms_tcpip6

Enable iSCSI and install the MPIO feature:

Set-Service -Name msiscsi -StartupType Automatic
Start-Service msiscsi
Enable-WindowsOptionalFeature –Online –FeatureName MultiPathIO

Note: Disabling UAC and turning off the Windows Firewall is not a requirement, just done here out of preference as it makes life easier!

2.2) Obtaining Softwares


NetApp Windows Host Utilities 6.0.2 (netapp_windows_host_utilities_6.0.2_x64)
NetApp Data ONTAP DSM for Windows MPIO 4.0.1 (ntap_win_mpio_4.0.1_setup_x64)
NetApp SnapDrive for Windows 7.0 (SnapDrive7.0_x64)

There is a recommended patch for the NetApp Windows Host Utilities 6.0.2 for Windows Server 2012, download from http://support.microsoft.com/kb/2796995:
457359_intl_x64_zip

Image: Softwares Downloaded in Preparation

2.3) How to Install NetApp Windows Host Utilities 6.0.2 using CLI

*All the install softwares have been installed in C:\Software

Install the recommended patch for Windows Server 2012:

Open up PowerShell:

PS C:\Users\admin> cd C:\software
PS C:\software> .\457359_intl_x64_zip.exe
PS C:\software> .\Windows8-RT-KB2796995-x64.msu
PS C:\software>

And restart!

Install NetApp Windows Host Utilities 6.0.2:

Open up PowerShell:

PS C:\Users\admin> cd c:\Software
PS C:\Software> msiexec /i netapp_windows_host_utilities_6.0.2_x64.msi /quiet MULTIPATHING=1

And the server reboots automatically!

2.4) How to Install NetApp Data ONTAP DSM for Windows MPIO 4.0.1 using the CLI

Open up PowerShell:

PS C:\Users\admin> cd c:\Software
PS C:\Software> cmd
C:\Software> start /b /wait msiexec /package ntap_win_mpio_4.0.1_setup_x64.msi /quiet LICENSECODE=your_key_here HYPERVUTIL=0 USESYSTEMACCOUNT=1

And the server reboots automatically!

Image: It does take 2/3 minutes to install - very likely it will sit on Enabling feature(s) at 66.6% for 2 minutes or more!

Image: Control Panel > MPIO Properties > MPIO Devices tab after DSM 4.0.1 install

2 comments:

  1. Great info and guide! Have you tried installing the MPIO v4.0.1 tools on Windows 2012 R2? There's a setup error. I'm wondering if anyone has found a workaround prior to NetApp delivering an updated build.

    ReplyDelete
    Replies
    1. Hi Wayne, sorry about the late reply. I'd wait for a supported DSM to come out for 2012 R2 and just use MS native MPIO for now. If you try and workaround the MPIO v4.0.1 not being supported for 2012 R2 and something goes wrong... Cheers!

      Delete