<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Configuring NPIV in Windows 2012</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/configuring_npiv_in_windows_2012/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/configuring_npiv_in_windows_2012/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:26:34 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Configuring NPIV in Windows 2012</title>
      <link>https://docs.microsoft.com/archive/blogs/configuring_npiv_in_windows_2012/configuring-npiv-in-windows-2012</link>
      <pubDate>Sun, 31 Mar 2013 01:41:00 GMT</pubDate>
      <dc:creator><![CDATA[Ujval V]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/configuring_npiv_in_windows_2012/2013/03/31/configuring-npiv-in-windows-2012/</guid>
      <description><![CDATA[There is a lot of information about NPIV out there on the internet (What it is, how it works, what...]]></description>
      <content:encoded><![CDATA[<p>There is a lot of information about NPIV out there on the internet (What it is, how it works, what are the prerequisites of NPIV etc)&nbsp;</p>
<p>In this blog I am only focusing on the Implementation of&nbsp; NPIV in Windows Server 2012</p>
<p>For the Simplicity of configuration and Demonstration I have not Clustered the Physical Host Machines, instead made use of the HyperV&nbsp; replication feature to Failover the VM from one node to another node.</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;">Equipment Used</span></p>
<p>Servers: Two Dell PowerEdge 860's</p>
<p>OS: Windows Server 2012 Datacenter&nbsp; (RTM)</p>
<p>HBA's: Emulex A8003A Dual Port</p>
<p>HBA Firmware:2.82A4</p>
<p>HBA Driver version: 2.72.012.001</p>
<p>Fabric Switch: Brocade 300</p>
<p>Fabric OS:&nbsp;v6.4.2a</p>
<p>Storage: HDS HUS110</p>
<p>&nbsp;&nbsp;</p>
<p><span style="text-decoration: underline;">Naming Convention Followed</span></p>
<p>Physical Hosts: Contoso76, Contoso77</p>
<p>Virtual Machine:Contoso80</p>
<p>Domain Name:contoso7x.local</p>
<p>Brocade Switch: HDS_Switch1 &amp; HDS_Switch2</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"><span style="text-decoration: underline;">Design</span></p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">&nbsp;</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">&nbsp;</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"><span style="text-decoration: underline;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/8713.NPIV%20Design.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/8713.NPIV-Design.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/8713.NPIV%20Design.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/8713.NPIV-Design.png" alt="" border="0" /></a></span></p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">&nbsp;</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">&nbsp;</p>
<p><span style="text-decoration: underline;">Configuration Steps</span></p>
<p>1. Open the Emulex One command utility and enable NPIV feature as shown below on both the Host Machines</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/5165.1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/5165.1.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/5165.1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/5165.1.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>2. On Both the HyperV Nodes create a Virtual Fibre Channel SAN ( I named it VFC1) and select the WWPN which is connected to the fabric switch like shown below</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/2526.2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/2526.2.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/2526.2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/2526.2.png" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/3823.2.1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/3823.2.1.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/3823.2.1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/3823.2.1.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>3. Create a Fibre channel Adapter and assign it to the Virtual Fibre Channel SAN (VFC1) as shown below and boot the VM</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/0844.3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/0844.3.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/0844.3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/0844.3.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>4. The Next step is to do zoning in the Fabric switch (Brocade Switch1)</p>
<p>4.1 Create an Alias like shown below and add the wwpn to it.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/6012.4.1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/6012.4.1.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/6012.4.1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/6012.4.1.png" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/6254.4.1.1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/6254.4.1.1.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/6254.4.1.1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/6254.4.1.1.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>4.2 Create a Zone and add the above alias (contoso80) as well as the alias created for the SAN to it</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/2541.4.2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/2541.4.2.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/2541.4.2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/2541.4.2.png" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/4743.4.2.1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/4743.4.2.1.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/4743.4.2.1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/4743.4.2.1.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>4.3 Navigate to the zone config tab and add the zone to the zone config&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/7180.4.3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/7180.4.3.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/7180.4.3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/7180.4.3.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>4.4 Enable &amp; Save the configuration.</p>
<p>5. Create a Hyperv Replica of the above VM on the other Hyperv Node and run through the wizard</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/7635.5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/7635.5.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/7635.5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/7635.5.png" alt="" border="0" /></a></p>
<p>6. Repeat Steps 4.1 to 4.4 for the second Fabric switch (Brocade Switch2)</p>
<p>7. Create a Host group for Contoso80 (VM) in the SAN</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/3000.7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/3000.7.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/3000.7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/3000.7.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>8. Assign a LUN to the Host Group</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/7840.8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/7840.8.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/7840.8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/7840.8.png" alt="" border="0" /></a></p>
<p>9. In the VM(Contoso80) Rescan the disk,&nbsp; you may also have to reboot the vm at times to see the LUN</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/6470.9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/6470.9.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/73/6470.9.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-73/6470.9.png" alt="" border="0" /></a></p>
<p>10. You can Failover the VM to the Replica Server and you should be able to see the LUN after the VM replicates to the other Node</p>
<p>&nbsp;</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>