<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NetApp &#8211; Blog of Kliment Andreev &#8211; A place so I won&#039;t forget things</title>
	<atom:link href="https://blog.andreev.it/category/netapp/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.andreev.it</link>
	<description></description>
	<lastBuildDate>Thu, 22 Oct 2020 12:49:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>General: NetApp / Virtual Connect &#8211; connect without a switch</title>
		<link>https://blog.andreev.it/2012/12/netapp-virtual-connect-connect-without-a-switch/</link>
					<comments>https://blog.andreev.it/2012/12/netapp-virtual-connect-connect-without-a-switch/#comments</comments>
		
		<dc:creator><![CDATA[Kliment Andreev]]></dc:creator>
		<pubDate>Mon, 24 Dec 2012 20:16:13 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[Virtual Connect]]></category>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=512</guid>

					<description><![CDATA[Recently, I had to connect a NetApp device with our HP blades in c7000&#8230;]]></description>
										<content:encoded><![CDATA[<div id="bsf_rt_marker"></div><p>Recently, I had to connect a NetApp device with our HP blades in c7000 chassis, using a straight connection (meaning no switch in between). It took some significant time to make this thing work, because the connection between a NetApp storage device and HP Virtual Connect is supposed to be configured using a switch, not a straight and direct connection. </p>
<h1>Cabling</h1>
<p>There are two Virutal Connect modules in the HP c7000 chassis and two dual-head 10Gb NICs in each NetApp controller. Each Virtual Connect module is using ports x7 and x8. This is how the ports are connected. </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-01.png"><img fetchpriority="high" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-01.png" alt="" width="720" height="310" class="aligncenter size-full wp-image-6224" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-01.png 720w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-01-300x129.png 300w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-01-585x252.png 585w" sizes="(max-width: 720px) 100vw, 720px" /></a></p>
<ul>
<li>Port x7 on the first VC1 (Virtual Connect) module is connected to the NIC e3b on the first controller with a blue FC cable</li>
<li>Port x8 on the first VC1 module is connected to the NIC e3b on the second controller with a yellow FC cable</li>
<li>Port x7 on the second VC2 module is connected to the NIC e3a on the first controller with a green FC cable</li>
<li>Port x8 on the second VC2 module is connected to the NIC e3a on the second controller with a gray FC cable</li>
</ul>
<p><strong>NOTE: When looking the NetApp controllers, NIC e3b is on left and NIC e3a is on the right side, as shown on the image above.</strong></p>
<h1>NetApp configuration</h1>
<p>This is how the NICs are configured on the first controller. In case something goes wrong, these lines must be in /etc/rc on each controller. Otherwise, when the controllers are rebooted, these configuration changes will be lost. </p>
<pre class="brush: bash; title: ; notranslate">
ifconfig e3a down
ifconfig e3b down
ifgrp create single Trunk10 e3a e3b
vlan create Trunk10 10
ifconfig Trunk10-10 192.168.10.1 netmask 255.255.255.0 partner 192.168.11.1
ifgrp favor e3b
ifconfig Trunk10-10 up
</pre>
<p>This is how the NICs are configured on the second controller.</p>
<pre class="brush: bash; title: ; notranslate">
ifconfig e3a down
ifconfig e3b down
ifgrp create single Trunk11 e3a e3b
vlan create Trunk11 11
ifconfig Trunk11-11 192.168.11.1 netmask 255.255.255.0 partner 192.168.10.1
ifgrp favor e3a
ifconfig Trunk11-11 up
</pre>
<p>If you need to rebuild the configuration, first delete the vlan, and then destroy the group.</p>
<pre class="brush: bash; title: ; notranslate">
ifconfig Trunk10-10 down
vlan delete Trunk10 10
ifgrp destroy Trunk10
</pre>
<p>To see the config, execute <strong>ifconfig –a</strong>.</p>
<h1>Virtual Connect configuration</h1>
<p>The Virtual Connect module can be managed from http://<<em>IP_of_the_Virtual_Connect</em>><br />
There are two Shared External Uplink Sets defined.</p>
<ul>
<li>ENCSBP01_10G_NAS10</li>
<li>ENCSBP01_10G_NAS11</li>
</ul>
<p>If these sets need to be recreated, follow the screenshots below. This means that ports x7 from both VC1 (Bay 1) and VC2 (Bay 2) are defined as one external network card. The same applies for ports x8.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-02.png"><img decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-02.png" alt="" width="624" height="350" class="aligncenter size-full wp-image-6225" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-02.png 624w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-02-300x168.png 300w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-02-585x328.png 585w" sizes="(max-width: 624px) 100vw, 624px" /></a><br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-03.png"><img decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-03.png" alt="" width="624" height="355" class="aligncenter size-full wp-image-6226" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-03.png 624w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-03-300x171.png 300w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-03-585x333.png 585w" sizes="(max-width: 624px) 100vw, 624px" /></a><br />
In addition to the Shared Uplink Sets, there are two networks defined.</p>
<ul>
<li>ENCSBP01_iSCSI_NAS10</li>
<li>ENCSBP01_iSCSI_NAS11</li>
</ul>
<p>The first network is associated with the first Shared Uplink Set and External VLAN ID 10, the second network is associated with the second Shared Uplink Set and External VLAN ID 11. </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-04.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-04.png" alt="" width="624" height="288" class="aligncenter size-full wp-image-6227" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-04.png 624w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-04-300x138.png 300w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-04-585x270.png 585w" sizes="(max-width: 624px) 100vw, 624px" /></a><br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-05.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-05.png" alt="" width="624" height="289" class="aligncenter size-full wp-image-6228" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-05.png 624w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-05-300x139.png 300w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-05-585x271.png 585w" sizes="(max-width: 624px) 100vw, 624px" /></a></p>
<p><strong>NOTE: It is important to match the VLAN IDs (10 and 11) on the NetApp controller and the networks defined in Virtual Connect.</strong> </p>
<p>Finally, when creating a profile for a server (ESXi or Windows), the following NICs should be assigned.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-06.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-06.png" alt="" width="624" height="322" class="aligncenter size-full wp-image-6229" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-06.png 624w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-06-300x155.png 300w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-06-585x302.png 585w" sizes="(max-width: 624px) 100vw, 624px" /></a><br />
This means, that the first/second NIC are on VLAN21 from a different Shared Uplink Set. NIC from 3 to 6 are the ones used for iSCSI, and the last two NICs are used for the old iSCSI configuration and VLAN22 servers. Make sure that NICs 1 and 2 and 7 and 8 are set as CUSTOM port speed of 1Gb. That way, we’ll increase the iSCSI (NICs 3-6) to 4Gb.</p>
<h1>MS Windows configuration</h1>
<p>Depending on the subnet that MS Windows is going to use for a public IP, use NIC1 and NIC2 if the server is going to be on the 128.202.21.0/24 subnet and NIC7 and NIC8 if the server is going to be on the 128.202.22.0/24 subnet. These NIC pairs should be teamed using the provided HP Network Team Configuration utility. Your IP subnets may vary.</p>
<p>When dealing with MS Windows, it is unclear what NIC under Network Connections corresponds to the NICs under Virtual Connect (see previous screenshot). </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-07.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-07.png" alt="" width="613" height="334" class="aligncenter size-full wp-image-6230" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-07.png 613w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-07-300x163.png 300w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-07-585x319.png 585w" sizes="(max-width: 613px) 100vw, 613px" /></a><br />
In order to identify them we need to use ipconfig /all in Windows and then go to <em>https://Chassis_IP</em>, select the server name from the Device Bays on the left and click on the information tab.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-08.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-08.png" alt="" width="631" height="561" class="aligncenter size-full wp-image-6231" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-08.png 631w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-08-300x267.png 300w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-08-585x520.png 585w" sizes="(max-width: 631px) 100vw, 631px" /></a><br />
Based on this information, you can map the NICs.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-09.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-09.png" alt="" width="750" height="177" class="aligncenter size-full wp-image-6232" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-09.png 750w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-09-300x71.png 300w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-09-585x138.png 585w" sizes="(max-width: 750px) 100vw, 750px" /></a><br />
If we look at the screenshot from the Virtual Connect server profile, we need to team:</p>
<ul>
<li>1A and 2A (LAC 7 and LAC 8 ) for a public NIC on 128.202.21.0/24 network or whatever your public IP for servers is.</li>
<li>1B and 2B (LAC and LAC 2) for iSCSI NIC team on the first NetApp controller</li>
<li>1C and 2C (LAC 3 and LAC 4) for iSCSI NIC team on the second NetApp controller</li>
<li>1D and 2D (LAC 5 and LAC 6) for another IP subnet that you might use</li>
</ul>
<h1>ESX/ESXi configuration</h1>
<p>When building an ESXi host, follow the screenshots below. vmnic0 and vmnic1 should be used for the Management Network and VM NET 21 network (servers with IP range 128.202.21.0/24) or whatever your IP subnet for servers is.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-10.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-10.png" alt="" width="438" height="533" class="aligncenter size-full wp-image-6233" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-10.png 438w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-10-247x300.png 247w" sizes="(max-width: 438px) 100vw, 438px" /></a><br />
The iSCIS NICs are vmnic2, vmnic3 for the first controller and vmnic4, vmnic5 for the second controller. They MUST be in active/standby mode, otherwise the connection won’t work.<br />
In addition, the Network Failoved Detection MUST be set to Beacon probing for both vSwitch1 and vSwitch2, otherwise the failover won’t work.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-11.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-11.png" alt="" width="512" height="398" class="aligncenter size-full wp-image-6234" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-11.png 512w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-11-300x233.png 300w" sizes="(max-width: 512px) 100vw, 512px" /></a></p>
<h1>Troubleshooting failover</h1>
<p>The easiest way to validate the failover is to simulate a Virtual Connect crash. For that reason, we’ll ping constantly the first and the second controller&#8217;s IP for iSCSI (192.168.10.1 and 192.168.11.) and unplug both cables from VC2 module. </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2012/12/P025-12.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/12/P025-12.png" alt="" width="605" height="541" class="aligncenter size-full wp-image-6235" srcset="https://blog.andreev.it/wp-content/uploads/2012/12/P025-12.png 605w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-12-300x268.png 300w, https://blog.andreev.it/wp-content/uploads/2012/12/P025-12-585x523.png 585w" sizes="(max-width: 605px) 100vw, 605px" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.andreev.it/2012/12/netapp-virtual-connect-connect-without-a-switch/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>
