<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Infrastructure | Breek Een Been</title>
    <link>https://blog.breekeenbeen.nl/tag/infrastructure/</link>
      <atom:link href="https://blog.breekeenbeen.nl/tag/infrastructure/index.xml" rel="self" type="application/rss+xml" />
    <description>Infrastructure</description>
    <generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>Rob Maas</copyright><lastBuildDate>Wed, 07 Jan 2015 18:59:02 +0200</lastBuildDate>
    <image>
      <url>https://blog.breekeenbeen.nl/images/icon_hue0c3a5851739ca8a2afc787728ee763e_182872_512x512_fill_lanczos_center_3.png</url>
      <title>Infrastructure</title>
      <link>https://blog.breekeenbeen.nl/tag/infrastructure/</link>
    </image>
    
    <item>
      <title>Nested NSX Upgrading Nsx 6.0.5 to 6.1.2</title>
      <link>https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/</link>
      <pubDate>Wed, 07 Jan 2015 18:59:02 +0200</pubDate>
      <guid>https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/</guid>
      <description>&lt;p&gt;In earlier blogposts I described how I 
&lt;a href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/&#34;&gt;build my nested NSX lab&lt;/a&gt;. This environment was based on NSX version 6.0.5 and in this post I will briefly show you how you can easily upgrade your NSX environment, in this case we will upgrade to version 6.1.2. Luckily the 
&lt;a href=&#34;http://pubs.vmware.com/NSX-61/index.jsp?topic=%2Fcom.vmware.nsx.install.doc%2FGUID-A4958E9B-7F2A-46EC-BAC9-5DA479E8A745.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;documentation of VMware&lt;/a&gt; is up-to-date which should make this proces pretty easy. Let&amp;rsquo;s start with the NSX Manager. &lt;strong&gt;NSX-Manager&lt;/strong&gt; &lt;em&gt;Before we actually start, make sure your filename of the upgrade bundle ends with tar.gz, otherwise the upload will fail. I had to rename the file;&lt;/em&gt; &lt;em&gt;from: VMware-NSX-Manager-upgrade-bundle-6.1.2-2318232.tar&lt;/em&gt; _to: VMware-NSX-Manager-upgrade-bundle-6.1.2-2318232.tar.gz&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager_error_hu57c372cc2ef50ee3ade9e94f71c3a1da_13637_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager_error_hu57c372cc2ef50ee3ade9e94f71c3a1da_13637_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;570&#34; height=&#34;276&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Login to the NSX Manager &amp;amp; click the upgrade button.&lt;/p&gt;















&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;nsx_upgrade_manager1.png&#34; &gt;


  &lt;img src=&#34;nsx_upgrade_manager1.png&#34; alt=&#34;&#34;  &gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;In the upgrade page, you&amp;rsquo;ll find another upgrade button in the top right corner, click it and in the new screen, select the upgrade file.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager2_hu71da319204c83ea313f13843f3c9fa16_43089_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager2_hu71da319204c83ea313f13843f3c9fa16_43089_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;941&#34; height=&#34;339&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager3_hu0e9a5c6c01b6023f82a34db3d630ff8c_9929_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager3_hu0e9a5c6c01b6023f82a34db3d630ff8c_9929_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;588&#34; height=&#34;203&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;After choosing the right file, click continue, now you have to wait, while the file is being uploaded.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager4_hu7ceeb36270862c6baf4eea0103297e8e_12141_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager4_hu7ceeb36270862c6baf4eea0103297e8e_12141_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;590&#34; height=&#34;249&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;If everything wen well, you should see a screen confirming the upgrade from 6.0.5 to 6.1.2 and a question about enabling SSH. I enabled SSH and clicked upgrade.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager5_hu450b49e05efaab6795058521ec224f4d_17203_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager5_hu450b49e05efaab6795058521ec224f4d_17203_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;568&#34; height=&#34;382&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager6_hu4717a89b0dc5bd7a3fc6cef1a4f71947_10396_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_manager6_hu4717a89b0dc5bd7a3fc6cef1a4f71947_10396_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;571&#34; height=&#34;271&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;After the upgrade you will be redirected to the login page, login and check the version number in the upper right corner.&lt;/p&gt;















&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;nsx_upgrade_manager_completed.png&#34; &gt;


  &lt;img src=&#34;nsx_upgrade_manager_completed.png&#34; alt=&#34;&#34;  &gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;h2 id=&#34;nsx-controllers&#34;&gt;NSX Controllers&lt;/h2&gt;
&lt;p&gt;The next step is to upgrade the controllers, log in to the vSphere webclient and go to Networking &amp;amp; Security and click the Installation option on the left side. Make sure the Management tab is selected and you should see on the right side &amp;ldquo;Upgrade Available&amp;rdquo;, click it and click yes, that you are willing to upgrade the controllers.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_controller1_hu858956a4798e253ed1af59ee9e29ffae_29500_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_controller1_hu858956a4798e253ed1af59ee9e29ffae_29500_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1568&#34; height=&#34;248&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;In the screen below the manager, you see that the controller is being upgraded.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_controller2_hu6af566785c55060959114e88fa1fa143_5846_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_controller2_hu6af566785c55060959114e88fa1fa143_5846_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;664&#34; height=&#34;109&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;If everything went fine, the upgrade status column should dissappear and the new version is displayed, also the upgade available link in the upper rigt corner should be gone.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_controller4_hu9b8508ff62331337eff605989d5213a9_16777_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_controller4_hu9b8508ff62331337eff605989d5213a9_16777_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;936&#34; height=&#34;383&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;h2 id=&#34;host-upgrade&#34;&gt;Host upgrade&lt;/h2&gt;
&lt;p&gt;Go to the &amp;ldquo;Host Preparation&amp;rdquo; tab and you should see that there is an update available.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_hosts1_hu8b94b9ac9f926d1db2c2acfb6ae8483a_19801_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_hosts1_hu8b94b9ac9f926d1db2c2acfb6ae8483a_19801_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;998&#34; height=&#34;286&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Click update near the host that you want to upgrade. The host is getting upgraded and will be rebooted when the installation is done. However if you have just one host in the cluster, like in my lab environment, this will need some manual interaction. This is because VMware has no other hosts where the workload can be migrated to.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_hosts2_hua6cd175df7f4fecac598724b293860fc_7974_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_hosts2_hua6cd175df7f4fecac598724b293860fc_7974_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;563&#34; height=&#34;133&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Go to host &amp;amp; clusters and you will see, that the host need a reboot.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_hosts3_hu2311b833769cc36875018784c2887b20_9426_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/nsx_upgrade_hosts3_hu2311b833769cc36875018784c2887b20_9426_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;290&#34; height=&#34;174&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;I simply shut down the VM and rebooted the host, I started with the one in the compute cluster. For the upgrade of the host in the management cluster I temporarily moved the compute host to this cluster and let it run the NSX Manager, till the second host was also upgraded. These steps took me a while. I also increased the memory of the NSX Manager to 6GB it seems the upgrade made it a bit slower. If everything went well you should see this eventually.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/Screen-Shot-2015-01-07-at-21.42.30_hu6a9537417a8089f236a41d1e9a88a68c_62073_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/Screen-Shot-2015-01-07-at-21.42.30_hu6a9537417a8089f236a41d1e9a88a68c_62073_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;2396&#34; height=&#34;256&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;h2 id=&#34;nsx-edge-upgrade&#34;&gt;NSX Edge upgrade&lt;/h2&gt;
&lt;p&gt;The last part of this upgrade is the NSX Edges, this means the distributed router and the edge. As mentioned in earlier posts in my opinion the distributed router should gets his own section. Click the appliance you would like to upgrade, order doesn&amp;rsquo;t matter and select from the action menu &amp;ldquo;Upgrade Version&amp;rdquo;.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/Screen-Shot-2015-01-07-at-21.49.00_hu800429bed362648b10cd696879333bb3_155304_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/Screen-Shot-2015-01-07-at-21.49.00_hu800429bed362648b10cd696879333bb3_155304_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;2406&#34; height=&#34;682&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/Screen-Shot-2015-01-07-at-22.03.31_hu01ce6fe6e257032fd6607610f6e4fa41_35473_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/Screen-Shot-2015-01-07-at-22.03.31_hu01ce6fe6e257032fd6607610f6e4fa41_35473_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1786&#34; height=&#34;136&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;It is nice to notice, that the upgrade of the Edge is an actual new installation;&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/Screen-Shot-2015-01-07-at-22.05.25_hu893cd4a03c9c0baf5576131dc5779b7f_22594_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/Screen-Shot-2015-01-07-at-22.05.25_hu893cd4a03c9c0baf5576131dc5779b7f_22594_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;352&#34; height=&#34;170&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/Screen-Shot-2015-01-07-at-22.12.19_huccdbf75e8b92e48b1ced324a9c52b360_50749_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-upgrading-nsx-6-0-5-to-6-1-2/Screen-Shot-2015-01-07-at-22.12.19_huccdbf75e8b92e48b1ced324a9c52b360_50749_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;444&#34; height=&#34;470&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;This is it, when all the NSX Edge devices (including the distributed router(s)) are up-to-date the upgrade is doen. As you can see upgrading a NSX environment consist just of a few basic steps, the only challenging step is the host-preparation, but that is due the lack of resources in my lab set-up. In production this would be easier.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Nested Nsx Vmware Nsx on Intel Nuc Lab Setup Part 3</title>
      <link>https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/</link>
      <pubDate>Mon, 29 Dec 2014 09:37:17 +0200</pubDate>
      <guid>https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/</guid>
      <description>&lt;p&gt;In the previous two posts I described 
&lt;a href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/&#34;&gt;how to set-up a nested ESXi environment&lt;/a&gt; on the Intel NUC and 
&lt;a href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/&#34;&gt;how to install and configure it for NSX&lt;/a&gt;. So in this post I assume everything is installed and configured and we can actually start deploying a network.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/featured_hue4671c3508747d903fa12afbdfb0381e_5685_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/featured_hue4671c3508747d903fa12afbdfb0381e_5685_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;340&#34; height=&#34;232&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;h2 id=&#34;logical-switch&#34;&gt;Logical Switch&lt;/h2&gt;
&lt;p&gt;If not already, go to &amp;ldquo;Network &amp;amp; Security&amp;rdquo; and click on &amp;ldquo;Logical Switches&amp;rdquo;, click the green plus sign, to add a Logical Switch. I used the following settings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name: App-Tier&lt;/li&gt;
&lt;li&gt;Description: Application Tier&lt;/li&gt;
&lt;li&gt;Zone: LAB-Zone&lt;/li&gt;
&lt;/ul&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_1_hu1630ef3a1be41d25a1ce86c27c0ec094_17288_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_1_hu1630ef3a1be41d25a1ce86c27c0ec094_17288_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;627&#34; height=&#34;422&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;This is it, we have created a working logical switch, however to see if it actually can switch, we need to put some workload on it. To show that the communication within the Logical Switch is completely independent of the underlying network, I put the two VMs on this switch, within a completely different subnet than already used.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;IP1: 172.20.20.2/24&lt;/li&gt;
&lt;li&gt;IP2: 172.20.20.3/24&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We are going to deploy two VMs I used Debian for this, but you are free to use whatever you want, as long as it can do IP. This is what I configured:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name: App-VM1 / App-VM2&lt;/li&gt;
&lt;li&gt;OS: Debian 7 - 64bit&lt;/li&gt;
&lt;li&gt;vCPU: 1&lt;/li&gt;
&lt;li&gt;MEM: 512MB Ram&lt;/li&gt;
&lt;li&gt;IP: 172.20.20.2 / 172.20.20.3&lt;/li&gt;
&lt;li&gt;Subnet: 255.255.255.0&lt;/li&gt;
&lt;li&gt;GW: 172.20.20.1&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Make sure you deploy a VM on ESX01 and one on ESX02, also connect them for now to the pgCompute1 and pgManagement port-group.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_5_hu20bf97a820a87f851abaa0eb44156622_13616_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_5_hu20bf97a820a87f851abaa0eb44156622_13616_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;232&#34; height=&#34;289&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;When both VMs are deployed, go to &amp;ldquo;Logical Switches&amp;rdquo; and click on &amp;ldquo;Add VM&amp;rdquo;, select the two VMs, select both the NICs and finish the task.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_3_hu9410ff66cddb015933e05707ea8aac43_23674_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_3_hu9410ff66cddb015933e05707ea8aac43_23674_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;965&#34; height=&#34;567&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Configure the VMs with the appropriate network settings and do a ping test to each other. If everything went well, you should get a reply.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_ping_success_hu05c0bee34feccd081e9d69a7c10c0dad_164047_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_ping_success_hu05c0bee34feccd081e9d69a7c10c0dad_164047_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1920&#34; height=&#34;570&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Before we continue it is nice to take a look at the controller, to see what information is stored here and get an idea how the actual traffic flow is working. You can log-in to the controller with SSH and username &amp;ldquo;admin&amp;rdquo; and the password specified earlier. With the following two commands you can list the VTEP interfaces and the MAC-addresses. The number 5000 is the segment ID (VNI = Virtual Network Identifier) assigned to the logical switch. Which can be found in the webinterface under Logical Switches.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_6_hu281fe02ac719fddbd91ec90eb791a100_11445_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_6_hu281fe02ac719fddbd91ec90eb791a100_11445_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1026&#34; height=&#34;132&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;nvp-controller # show control-cluster logical-switches vtep-table 5000
VNI      IP              Segment         MAC               Connection-ID
5000     192.168.5.11    192.168.5.0     00:50:56:62:a3:86 2
5000     192.168.5.10    192.168.5.0     00:50:56:66:dd:df 7

nvp-controller # show control-cluster logical-switches mac-table 5000
VNI      MAC               VTEP-IP         Connection-ID
5000     00:50:56:99:d0:77 192.168.5.11    2
5000     00:50:56:99:6b:d9 192.168.5.10    7
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In my case the MAC addresses of the VM&amp;rsquo;s are.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;App-VM1: 00:50:56:99:6B:D9&lt;/li&gt;
&lt;li&gt;App-VM2: 00:50:56:99:D0:77&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You could also use the following command, to see the ARP table, remember this like normal switches has a time-out, so when it is empty initiate a ping or some other traffic.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;nvp-controller # show control-cluster logical-switches arp-table 5000
VNI      IP              MAC               Connection-ID
5000     172.20.20.3     00:50:56:99:d0:77 2
5000     172.20.20.2     00:50:56:99:6b:d9 7
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As you can see in the mac-table, there is a relationship between the MAC address and the VTEP-IP. What it actually says is that if App-VM1 sends something to App-VM2, the traffic will be encapsulated (VXLAN-header), with the destination IP (192.168.5.11) of the VTEP connected to the host running the VM. After the host received the traffic, it is being decapsulated and sent to the VM, so the VM&amp;rsquo;s don&amp;rsquo;t know anything about how the traffic is handled and won&amp;rsquo;t see any difference between a virtualized or a traditional network.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/Logical_Switch_hu55d868290159ca4a7399c7f02fb3b24a_7162_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/Logical_Switch_hu55d868290159ca4a7399c7f02fb3b24a_7162_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;455&#34; height=&#34;239&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;h2 id=&#34;distributed-router&#34;&gt;Distributed Router&lt;/h2&gt;
&lt;p&gt;Another neat feature of NSX is the distributed router, this not only means you can route traffic, but the neat thing about it is, that this can be done on &amp;ldquo;host&amp;rdquo;-level. This means that when two VMs are running on the same host, but in different subnets, the distributed router (remember installed VIB) will route the traffic in the kernel, so the traffic won&amp;rsquo;t have to leave the host! To create a distributed router, go to &amp;ldquo;Network &amp;amp; Security&amp;rdquo; and click on &amp;ldquo;NSX Edges&amp;rdquo;. &lt;em&gt;(If you ask me, they should make two categories, &amp;ldquo;NSX Edges&amp;rdquo; &amp;amp; &amp;ldquo;Logical Routing&amp;rdquo;, this would make a in my opinion lot more sense)&lt;/em&gt; Click the green plus sign and select logical distributed router.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router1_hu50bfaec0da1a50acd2be1cae3a2f2402_24052_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router1_hu50bfaec0da1a50acd2be1cae3a2f2402_24052_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;707&#34; height=&#34;583&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Next specify a password and Enable SSH acces.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router2_hu438f7263ed6241cd1f70131701e9997c_18658_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router2_hu438f7263ed6241cd1f70131701e9997c_18658_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;708&#34; height=&#34;583&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Specify the &amp;ldquo;Management_and_Edge&amp;rdquo; cluster.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router3_hu0dab368550a583ba3205ed5dc48a377e_29192_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router3_hu0dab368550a583ba3205ed5dc48a377e_29192_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;707&#34; height=&#34;583&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Connect the management interface to the &amp;ldquo;pgManagement&amp;rdquo; port-group and specify an IP, in my case 10.10.11.126.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router4-MGMT_hubf2426e439b87e7aeceb65d2ee656c47_28430_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router4-MGMT_hubf2426e439b87e7aeceb65d2ee656c47_28430_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;707&#34; height=&#34;584&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Add an interface and connect it to the &amp;ldquo;Logical Switch&amp;rdquo; - &amp;ldquo;App-Tier&amp;rdquo; and specify an interface, in this case 172.20.20.1 [!&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router4-INT_huda1ec67bb023900456f360f1f23446e6_25565_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router4-INT_huda1ec67bb023900456f360f1f23446e6_25565_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;708&#34; height=&#34;585&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;When done with step 4 it should look as follow.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router4-Overview_hu7318da0d856cac447595b3e32c1da163_27418_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router4-Overview_hu7318da0d856cac447595b3e32c1da163_27418_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;708&#34; height=&#34;584&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;We can skip the HA configuration and continue, when satisfied with the settings, click Finish.&lt;/p&gt;















&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;nsx_dis_router-Overviw.png&#34; &gt;


  &lt;img src=&#34;nsx_dis_router-Overviw.png&#34; alt=&#34;&#34;  &gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;The first thing we want to do is enable routing between two logical switches. Therefore go to Logical Switches and create a second one, named: &amp;ldquo;Web-Tier&amp;rdquo;.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_web-tier_hu5e6d37ba83c8d2102bf4b87684b5b610_14463_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_log_switch_web-tier_hu5e6d37ba83c8d2102bf4b87684b5b610_14463_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1027&#34; height=&#34;155&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Deploy (or clone) a new VM and connect it to this &amp;ldquo;Logical Switch&amp;rdquo;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name: Web-VM1&lt;/li&gt;
&lt;li&gt;OS: Debian 7 - 64bit&lt;/li&gt;
&lt;li&gt;vCPU: 1&lt;/li&gt;
&lt;li&gt;MEM: 512MB Ram&lt;/li&gt;
&lt;li&gt;IP: 172.20.10.2&lt;/li&gt;
&lt;li&gt;Subnet: 255.255.255.0&lt;/li&gt;
&lt;li&gt;GW: 172.20.10.1&lt;/li&gt;
&lt;li&gt;Cluster: Compute&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Since we didn&amp;rsquo;t connect the distributed router to the Web-Tier Logical Switch, there is no gateway and no communication possible between the App- &amp;amp; the Web-Tier. &lt;em&gt;The App-Tier is connected and you can try ping the gateway 172.20.20.1 from one of the App-VMs, this should work.&lt;/em&gt; Go back to NSX Edges en open the distributed router we created, select the Manage tab, click on Settings and select interfaces. Now click the green plus sign and add the Web-Tier and create an interface with IP 172.20.10.1.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router-web-tier_hua266b26de9b426c2223c9cad9ad7263c_14360_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router-web-tier_hua266b26de9b426c2223c9cad9ad7263c_14360_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;591&#34; height=&#34;407&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Before you click OK, open the console of the Web-VM1 and start a ping to one of the App-VMs, now click OK. Immediately after the configuration, you should get a response on the pings.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router_ping_hu339064010b3821d64b0bbdeb0a68d840_83536_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router_ping_hu339064010b3821d64b0bbdeb0a68d840_83536_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;543&#34; height=&#34;259&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;It is important to know that the logical router instance (VM) is in this example purely for configuration of the distributed router and that traffic won&amp;rsquo;t go through it. When sending traffic to App-VM1 which is on the same host, the traffic won&amp;rsquo;t leave the host, but is routed at the kernel. If traffic is send to App-VM2, the traffic is routed on the host of the Web-VM1 and send (on the App-Tier Logical Switch) to the other host, like it was L2 switching. The last part of this post is bringing data outside the virtual world, there are two ways of accomplish this. The first one is bridging and the second one is routing. I won&amp;rsquo;t go further into bridging, but what it simply said does is, connecting a VXLAN to a VLAN.&lt;/p&gt;
&lt;h2 id=&#34;edge-services-gateway&#34;&gt;Edge Services Gateway&lt;/h2&gt;
&lt;p&gt;Best practice is that we use an Edge Services Gateway (ESG) for connection with the outside world. This means that the Logical Router will forward the traffic to the ESG and the ESG will route the traffic to the physical world. This is just one of the many functions the ESG can do, it can also NAT, Loadbalancing, basic firewalling, etc. VMware likes to call it a &amp;ldquo;swiss army knife&amp;rdquo; due the roles it can fulfill. Between the Logical Router and the ESG we will have a so called transit network, for this create a new Logical Switch and name it Transit.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router-transit_hu84033c31efb796e99cad0171dd303d44_16740_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router-transit_hu84033c31efb796e99cad0171dd303d44_16740_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;623&#34; height=&#34;417&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;My uplink is in a different VLAN, so I created a new portgroup pgUplink, but if your network is flat or you want to (mis)use the management port-group, this is no problem. Make sure, when you create an additional port-group, do this at the Management and Edge (cluster) Distributed Switch.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router-uplink_hu657b64880293350f90d98b4cf9e1ea8c_18685_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router-uplink_hu657b64880293350f90d98b4cf9e1ea8c_18685_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;966&#34; height=&#34;567&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Go back to the NSX Edges and click the green plus sign, similar to the deployment of a Logical Router, however now we choose Edge Services Gateway.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge1_hub2f70cc1c85d58ef9056c93e91ca6d4e_24784_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge1_hub2f70cc1c85d58ef9056c93e91ca6d4e_24784_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;707&#34; height=&#34;582&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Fill in the credentials and select the Management and Edge Cluster for deployment. A Compact deployment for this LAB is sufficient.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge3_huf541e4c00eab1db6c825f1006a0077cb_27114_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge3_huf541e4c00eab1db6c825f1006a0077cb_27114_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;706&#34; height=&#34;581&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Now the most important part, create the interfaces. Chooste &amp;ldquo;internally&amp;rdquo; for the Transit. I will use 172.16.10.0/24 as transit subnet and the Edge will get .1 and the Logical Router (later on) .2. In the Uplink subnet I have 10.0.0.0/24 and will use 10.0.0.1 for the Edge. My physical router has 10.0.0.254, so this will become my default gateway.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge4-uplink_hud027b81e7d3a39d2cbcf520e2501425e_31191_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge4-uplink_hud027b81e7d3a39d2cbcf520e2501425e_31191_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;729&#34; height=&#34;647&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge4-transit_hud516847e249d431810e7811e7f49f7c0_30917_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge4-transit_hud516847e249d431810e7811e7f49f7c0_30917_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;718&#34; height=&#34;655&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge4_hu4c1d707344c9da8fdc5fe6766f1fb2d6_23486_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge4_hu4c1d707344c9da8fdc5fe6766f1fb2d6_23486_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;707&#34; height=&#34;584&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge5_hu9dfe2514437aa8eb7d93d947d12beece_18983_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge5_hu9dfe2514437aa8eb7d93d947d12beece_18983_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;708&#34; height=&#34;584&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Leave all the further settings default and finish the wizard.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge_final_hue25025a988abc85c547be948db296360_27759_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge_final_hue25025a988abc85c547be948db296360_27759_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;707&#34; height=&#34;584&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Now open the just deployed ESG and go Manage, Routing, (for now) we will create static routes to the Logical Router we created earlier. Add the following two routes for the App and Web tier, by clicking on the green plus sign.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;172.20.10.0/24 - 172.16.10.2&lt;/li&gt;
&lt;li&gt;172.20.20.0/24 - 172.16.10.2&lt;/li&gt;
&lt;/ul&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge_route11_hu59c888ab5641e5038c4ffcb4c92f0d16_22937_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge_route11_hu59c888ab5641e5038c4ffcb4c92f0d16_22937_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;613&#34; height=&#34;511&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;If you added both routes, click on Publish Changes.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge_route2_hub92c81281468b5aadd427c2187765d63_11334_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge_route2_hub92c81281468b5aadd427c2187765d63_11334_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1085&#34; height=&#34;176&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;The next step is to add the 172.16.10.2 interface to the Logical Router, and set the default gateway for the Logical Router to the ESG. Open up the settings page for the Logical Router and add the interface.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router_edge1_hud3170d21fd711f80abf1370f717b0952_28788_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router_edge1_hud3170d21fd711f80abf1370f717b0952_28788_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;803&#34; height=&#34;644&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Go to routing and set the default gateway under Global Configuration to the ESG, make sure to Publish Changes when you are done.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router_edge2_hua03027880d5108e883cb767bb848da57_18815_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_dis_router_edge2_hua03027880d5108e883cb767bb848da57_18815_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1429&#34; height=&#34;345&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Now almost everything is set, however when you will test to communicate with the outside world, you will see that it will fail, there are two more (small) steps to take. First, make sure the outside world, your router or cliënt has a route to the new Web and App subnets. I first tested it of my desktop client, which has an IP in 10.0.0.0/24. I added a specific route to the WebVM.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;172.20.10.2/32 - 10.0.0.1&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now the very last step is to check the firewall of the ESG, by default it only has a rule which accept traffic, which has a source VSE (I assume this stands for vShield Edge). For this lab we will add a rule, which allows any traffic. Go to the ESG and click on firewalling and click the green plus sign. It will by default create a rule which accepts any, any, any :). Don&amp;rsquo;t forget to publish the new rule.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge_fw_hu2fb22b9cce0c0505d8c4e140b6da3240_20692_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-3/nsx_edge_fw_hu2fb22b9cce0c0505d8c4e140b6da3240_20692_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1430&#34; height=&#34;256&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Now you can test and everything should work! Now we have set-up a very basic and simple lab environment which runs NSX pretty well. Even despite the limited resources, the Intel NUC has proven itself to be capable of handling the load and give a decent lab experience. I think this lab is a very good starting point for further testing and learning with NSX and probably some more posts will follow concerning NSX configuration, for me it will hopefully help to eventually get my VCIX-NV. I hope you had fun and please let me know if you have any further questions, ideas or suggestions.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Nested Nsx Vmware Nsx on Intel Nuc Lab Setup Part 2</title>
      <link>https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/</link>
      <pubDate>Sat, 27 Dec 2014 09:20:49 +0200</pubDate>
      <guid>https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/</guid>
      <description>&lt;p&gt;In my 
&lt;a href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/&#34;&gt;previous post&lt;/a&gt; I described how to create a nested ESXi environment, connected to a vCenter, this as a preparation to run eventually NSX. In this post we will build further on the basic set-up we created in part 1 of this series. At the end of this post we will have the NSX installed and the network prepared for all the cool things NSX can do.&lt;/p&gt;
&lt;h2 id=&#34;distributed-switch&#34;&gt;Distributed Switch&lt;/h2&gt;
&lt;p&gt;Since the NSX vSwitch is based on the &amp;ldquo;distributed switch&amp;rdquo;, this is what we are going to create first on the two clusters. We will make two distributed switches, named;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;dsMgmtEdge&lt;/li&gt;
&lt;li&gt;dsCompute1&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Go to your (LAB) vCenter and go to the networking tab, right click on the Datacenter and click on &amp;ldquo;New Ditributed Switch&amp;rdquo;, for now the following options are sufficient.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Number of uplinks: 1&lt;/li&gt;
&lt;li&gt;Network I/O control: Enabled&lt;/li&gt;
&lt;li&gt;Default port group: Create a default port group&lt;/li&gt;
&lt;li&gt;Port group name: pgManagement / pgCompute1&lt;/li&gt;
&lt;/ul&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_dswitch11_hub6648800092cd312953770f32ff4f3da_24604_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_dswitch11_hub6648800092cd312953770f32ff4f3da_24604_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;966&#34; height=&#34;570&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Before we can actually add hosts to the distributed switches we created, we need to add the VLAN tag to the newly created port-groups. Therefore select the distributed switch, choose the manage tab and make sure settings is selected. Select the port-group and click edit settings. Under the VLAN settings, choose VLAN and enter the appropriate VLAN ID. (if you don&amp;rsquo;t work with VLANs you can skip this step)&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_dswitch4_hu2dd51732b4ca1cadec198a5f391c2312_23439_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_dswitch4_hu2dd51732b4ca1cadec198a5f391c2312_23439_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;973&#34; height=&#34;648&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Now we have created the distributed switch and configured the port-group, we need to add the hosts to it. Right click on the distributed switch and click on &amp;ldquo;Add and Manage Hosts&amp;rdquo;, we want to add the host, select the appropriate host.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_dswitch2_hu91a372fbd0aef128d7a52246a4ea7cfd_40219_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_dswitch2_hu91a372fbd0aef128d7a52246a4ea7cfd_40219_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1257&#34; height=&#34;667&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Make sure both the &amp;ldquo;Manage physical adapters&amp;rdquo; and &amp;ldquo;Manage VMkernel adapters&amp;rdquo; are both checked. We will move the vmnic0 to the uplink of the distributed switch.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_dswitch3_hu0c80633778042a9b325bcb241b251125_33576_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_dswitch3_hu0c80633778042a9b325bcb241b251125_33576_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;990&#34; height=&#34;614&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Also move the VMkernel adater (vmk0) to the new port group.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_dswitch5_hu43ca9cef4e5d6d77a7ed8f6f0011c9d0_39129_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_dswitch5_hu43ca9cef4e5d6d77a7ed8f6f0011c9d0_39129_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;989&#34; height=&#34;613&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;&lt;em&gt;If you screw this up, it is pretty easy to start over by accessing the console of the ESXi and in the settings, choose &amp;ldquo;Network Restore Options&amp;rdquo;.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;nsx-manager&#34;&gt;NSX Manager&lt;/h2&gt;
&lt;p&gt;Finally we can start with some real NSX stuff. The first step is the installation of the NSX Manager. Go to hosts and clusters, right click the &amp;ldquo;Management &amp;amp; Edge&amp;rdquo; cluster  and choose deploy OVF. Point to the NSX Manager OVA. Select Accept extra configuration options.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_deploy0_hu8af5f1c9fd8cb7727a3ff5cac417ea2e_38920_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_deploy0_hu8af5f1c9fd8cb7727a3ff5cac417ea2e_38920_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;965&#34; height=&#34;568&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Read &amp;amp; accept the EULA, pick a name (i.e. LAB NSX Manager). At the Network setup make sure you choose the new &amp;ldquo;pgManagement&amp;rdquo; port-group. At the &amp;ldquo;Customize template&amp;rdquo;, set some passwords and make the network configuration.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;VSMgmt: pgManagement&lt;/li&gt;
&lt;li&gt;Hostname: LABNSXManager&lt;/li&gt;
&lt;li&gt;Network 1 IPv4: 10.10.11.111&lt;/li&gt;
&lt;li&gt;Network 1 Netmask: 255.255.255.0&lt;/li&gt;
&lt;li&gt;Default IPv4 Gateway: 10.10.11.1&lt;/li&gt;
&lt;li&gt;DNS server list: 10.10.11.3, 8.8.8.8&lt;/li&gt;
&lt;li&gt;Enable SSH: checked&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The settings I didn&amp;rsquo;t mentioned I left blank.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_deploy2_hu1bc5690ed6391f8d0df6870d58641182_37973_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_deploy2_hu1bc5690ed6391f8d0df6870d58641182_37973_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;970&#34; height=&#34;624&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Click finish and have a bit of patience. Before we can power up the NSX manager we need to do something about the resources which are by default quite heavy and we simply have not that many resources available on our LAB set-up. Edit the VM hardware settings with the following values.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;CPU: 2 (instead of 4)&lt;/li&gt;
&lt;li&gt;Memory: 4GB (instead of 12)&lt;/li&gt;
&lt;li&gt;Memory reservation: 0 (instead of 3GB)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Power up the NSX manager and if everything went well, you will be able to visit the NSX page with a few minutes, https://IPAddress and you can log in with the username &amp;ldquo;admin&amp;rdquo; and the password specified during the deployment.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/featured_hucb009a8b679035f7d6263e18ddbbda1b_51366_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/featured_hucb009a8b679035f7d6263e18ddbbda1b_51366_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1004&#34; height=&#34;685&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;&lt;em&gt;Before we continue, I noticed that the resources are a bit short, cause after 17 minutes, the NSX Mangement Services wasn&amp;rsquo;t started and it would eventually turn out to take 19 minutes. As you can see the Memory is in full use and also on the ESXi host we can see this, this is an indication that we need to increase the memory of the ESX02 (the host of the Management &amp;amp; Edge) cluster. Cause it is also going to run the NSX Controller(s). Luckily this is a virtual ESX host, so extending the memory is quite easy, I doubled it at this moment to 8GB. I didn&amp;rsquo;t increase the memory of the NSX Manager, since this is a LAB, I don&amp;rsquo;t care if the start-up takes a while, as long it will run fluent enough to do some testing.&lt;/em&gt;&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_manager_resources_hu29c1712367dcff43b0d868e57774a6de_68850_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_manager_resources_hu29c1712367dcff43b0d868e57774a6de_68850_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;967&#34; height=&#34;774&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;h2 id=&#34;vcenter-integration&#34;&gt;vCenter integration&lt;/h2&gt;
&lt;p&gt;NSX has a tight integration with vCenter, at this moment it is an 1 on 1 relationship, which means for every vCenter, you need one NSX Manager. Log in to your just deployed NSX Manager and click on &amp;ldquo;Manage vCenter registration&amp;rdquo;, click on edit and enter your vCenter information.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_manager_integration_hu42e9839bd84c133ca46f01bd5ef4d18b_19466_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_manager_integration_hu42e9839bd84c133ca46f01bd5ef4d18b_19466_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;568&#34; height=&#34;384&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;After clicking ok, trust the certificate and within a few seconds it should say that is is successfully connected.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_manager_integration2_hu4419e9ea2d512ba203aea028269dee69_4500_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_manager_integration2_hu4419e9ea2d512ba203aea028269dee69_4500_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;539&#34; height=&#34;89&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Now we are going back to our vCenter, if you are already logged in, log out and log in again. The first time it can take a few minutes, cause it will configure itself for NSX. If everything went fine you should see a new option in the menu on the left, named &amp;ldquo;Networking &amp;amp; Security&amp;rdquo;.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_manager_integration3_hu320d2c3cf996485cfd9c92471f77007f_13905_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_manager_integration3_hu320d2c3cf996485cfd9c92471f77007f_13905_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;270&#34; height=&#34;216&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;h2 id=&#34;prepare-the-hosts&#34;&gt;Prepare the hosts&lt;/h2&gt;
&lt;p&gt;The next step is to prepare the host, NSX will install a couple of VIB&amp;rsquo;s into the hosts, knowing;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Logical Routing&lt;/li&gt;
&lt;li&gt;Distributed Firewall&lt;/li&gt;
&lt;li&gt;VXLAN&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Click on the new &amp;ldquo;Networking &amp;amp; Security&amp;rdquo; option and go to &amp;ldquo;installation&amp;rdquo;, click the &amp;ldquo;host preparation&amp;rdquo; tab. It will show the clusters available within the vCenter.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_host_preparation1_hu0f16ddc311e683230e5413905cbe5078_22105_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_host_preparation1_hu0f16ddc311e683230e5413905cbe5078_22105_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1385&#34; height=&#34;210&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Click the install link in the column &amp;ldquo;Installation Status&amp;rdquo;, do this for both clusters. After the installation it should say &amp;ldquo;ready&amp;rdquo; on the particular host and the version for the cluster.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_host_preparation2_hu538cd9af2dcea61eec75ac743b0ffa99_28427_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_host_preparation2_hu538cd9af2dcea61eec75ac743b0ffa99_28427_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1388&#34; height=&#34;256&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;h2 id=&#34;controller&#34;&gt;Controller&lt;/h2&gt;
&lt;p&gt;Now that the hosts are ready we can start deploying the controller(s), normally you would deploy at least 3 controllers, but in this LAB we will start with just one, mainly due resource restrictions. The controller is the control plane of the environment and will keep three primary tables.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ARP table&lt;/li&gt;
&lt;li&gt;MAC table&lt;/li&gt;
&lt;li&gt;VTEP table&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Go back to the &amp;ldquo;Management&amp;rdquo; tab of the &amp;ldquo;Installation&amp;rdquo; settings and click on the green plus sign, below NSX Controller Nodes. Fill in the following.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;NSX Manager: 10.10.11.111&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Datacenter: Datacenter&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Cluster: Management_and_Edge&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Datastore: NAS&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Host: 10.10.11.102&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Connected to: pgManagement &lt;em&gt;(select distributed switch)&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;IP Pool: ClusterIPPool - Create one&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name: ClusterIPPool&lt;/li&gt;
&lt;li&gt;Gateway: 10.10.11.1&lt;/li&gt;
&lt;li&gt;Prefix Length: 24&lt;/li&gt;
&lt;li&gt;Primary DNS: 10.10.11.3 -&amp;gt; Your own DNS server&lt;/li&gt;
&lt;li&gt;Secondary DNS: 8.8.8.8&lt;/li&gt;
&lt;li&gt;Static IP Pool: 10.10.11.120 - 10.10.11.125&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_controller_ippool_hu5a3f9806fadac950313bf68cd33ef579_14293_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_controller_ippool_hu5a3f9806fadac950313bf68cd33ef579_14293_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;431&#34; height=&#34;412&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;ul&gt;
&lt;li&gt;Password: Pick Something&lt;/li&gt;
&lt;/ul&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_controller_add1_hu8b9267143ff7bcd2ec71476a688ff16f_14379_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_controller_add1_hu8b9267143ff7bcd2ec71476a688ff16f_14379_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;431&#34; height=&#34;317&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Click OK, it will start deploying a controller and this can take a while.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_controller_deployed_hu659538c04659655bdce692296cda3992_6535_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_controller_deployed_hu659538c04659655bdce692296cda3992_6535_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1118&#34; height=&#34;64&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;h2 id=&#34;vxlan&#34;&gt;VXLAN&lt;/h2&gt;
&lt;p&gt;The last step in the preparation of the NSX environment is the VXLAN preparation, VXLAN is the tunnel protocol which makes sure every host participating in the NSX environment is able to communicate with each other. First we going to create an IP pool, with the IP adresses for the VMKernel adapters serving the VTEP (VXLan Tunnel End Point). Therefore click in the left bar on NSX Managers and select &amp;ldquo;10.10.11.111&amp;rdquo;, make sure the &amp;ldquo;Manage&amp;rdquo; tab is selected and click on &amp;ldquo;Grouping Objects&amp;rdquo;, select IP-Pools and click on the green plus sign. To show that communication between the hosts is really independent of the underlying network, I created a separate subnet without a default gateway (although specified).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name: VXLAN-VTEP&lt;/li&gt;
&lt;li&gt;Gateway: 192.168.5.1&lt;/li&gt;
&lt;li&gt;Prefix Length: 24&lt;/li&gt;
&lt;li&gt;Static IP Pool: 192.168.5.10-192.168.5.20&lt;/li&gt;
&lt;/ul&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_ippool_huf5899d023671710093ed8221b9fb47cb_47815_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_ippool_huf5899d023671710093ed8221b9fb47cb_47815_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1183&#34; height=&#34;682&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Now go back to the installation, &amp;ldquo;Host Preparation&amp;rdquo; tab and in the column VXLAN click &amp;ldquo;configure&amp;rdquo;.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_hostprep_huc0b8fc2323799c2161747c6025ef8bc3_62950_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_hostprep_huc0b8fc2323799c2161747c6025ef8bc3_62950_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1522&#34; height=&#34;646&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Leave everything default except:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;VLAN: 5&lt;/li&gt;
&lt;li&gt;IP Addressing: Use IP Pool&lt;/li&gt;
&lt;li&gt;IP Pool: VXLAN-VTEP&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Click ok and wait a few seconds, although it could give an error (didn&amp;rsquo;t find out why yet), the error will dissappear after a refresh.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_hostprep_error_hud973d25d8d802ebe466dc6594ceaca7f_4767_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_hostprep_error_hud973d25d8d802ebe466dc6594ceaca7f_4767_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1223&#34; height=&#34;48&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;If you go to the distributed switch of one of the cluster you should see something as follows:&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_dswitch_hu6890fa3210f07e0d1dae1da2ab675479_17287_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_dswitch_hu6890fa3210f07e0d1dae1da2ab675479_17287_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;550&#34; height=&#34;255&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Now we need to specify the VXLAN segment ID&amp;rsquo;s, therefore go to the &amp;ldquo;Logical Network Preparation&amp;rdquo; tab in the installation settings, select &amp;ldquo;Segment ID&amp;rdquo; and click edit. Fill in the following segment ID pool, which should be more than enough for this lab environment.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Segment ID Pool: 5000 - 5999&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We don&amp;rsquo;t have to enable multicast, since we are running on ESXi 5.5 hosts.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_step1_huddfbed41c9828614ceb3096bbd0bb8e5_29589_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_step1_huddfbed41c9828614ceb3096bbd0bb8e5_29589_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1439&#34; height=&#34;564&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;The last part is to create a &amp;ldquo;Transport Zone&amp;rdquo;, this will tell NSX which clusters are able to communicate with each other. Click on &amp;ldquo;Transport Zones&amp;rdquo; and click the green plus sign.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name: LAB-Zone&lt;/li&gt;
&lt;li&gt;Control Plane Mode: Unicast&lt;/li&gt;
&lt;li&gt;Clusters: Select both&lt;/li&gt;
&lt;/ul&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_transport_huef873f6b5be9210e03e92a9677e28ab0_34974_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-2/nsx_vxlan_transport_huef873f6b5be9210e03e92a9677e28ab0_34974_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;991&#34; height=&#34;763&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Now we have everything prepared to do some actual networking with NSX. This is what we will be doing in my next blog post.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Nested Nsx Vmware Nsx on Intel Nuc Lab Setup Part 1</title>
      <link>https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/</link>
      <pubDate>Wed, 17 Dec 2014 08:52:50 +0200</pubDate>
      <guid>https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/</guid>
      <description>&lt;p&gt;While the 
&lt;a href=&#34;http://labs.hol.vmware.com/&#34; title=&#34;VMware Hands-on Labs&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;VMware Hands-on Labs&lt;/a&gt; are extremely cool and useful, I found it always very learning-full and nonetheless fun to build my own labs. To keep it fun and keep down the noise and powering costs I decided 
&lt;a href=&#34;https://blog.breekeenbeen.nl/post/new-home-lab-intel-nuc-vsphere-5-5u1/&#34;&gt;to buy some Intel NUCs&lt;/a&gt;, which have a good price tag and are very low on energy. Last couple of months I&amp;rsquo;m very interested in 
&lt;a href=&#34;http://www.vmware.com/nl/products/nsx&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;VMware NSX&lt;/a&gt; and it is time to try-out running this in my own Lab and on one Intel NUC, which means not much resources but I&amp;rsquo;m wondering if it can be done and hopefully work well enough to play around. In the next coming posts I will show you the steps I take to get things working, so you can follow me on this journey. This first part will concentrate on how to get the nested environment up &amp;amp; running. One of the biggest downsides of the Intel NUC is that it only has one NIC, which makes it difficult to run all needed parts and another caveat is that chances are that you will lock-out yourself. Luckily ESXi can run itself, we call this a nested environment. Below you see a very abstract picture about the set-up we are going to create. As you can see I choose to let the nested ESXi servers interact directly with my NAS (Synology), mainly to save resources and time. If you want a complete nested and virtualized environment including storage you are of course free to do so.&lt;/p&gt;





  
  











&lt;figure id=&#34;figure-nested-nsx-abstract&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/featured_hu70459906523241e5041f6889b4358327_3890_2000x2000_fit_lanczos_3.png&#34; data-caption=&#34;Nested NSX abstract&#34;&gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/featured_hu70459906523241e5041f6889b4358327_3890_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;340&#34; height=&#34;188&#34;&gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    Nested NSX abstract
  &lt;/figcaption&gt;


&lt;/figure&gt;

&lt;p&gt;The blue components are the more physical parts of this environment and the actual lab is more located at the green components. I assume you have already running ESXi on your Intel NUC (or other system), if not below two good links to get you started.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;http://www.virten.net/2013/12/vmware-vsphere-homeserver-homelab-esxi-on-4th-gen-intel-nuc/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;http://www.virten.net/2013/12/vmware-vsphere-homeserver-homelab-esxi-on-4th-gen-intel-nuc/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;http://www.tekhead.org/blog/2013/01/nanolab-running-vmware-vsphere-on-intel-nuc-part-1/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;http://www.tekhead.org/blog/2013/01/nanolab-running-vmware-vsphere-on-intel-nuc-part-1/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When you have ESXi running on your NUC, we can create a nested environment on it. I will start small, cause I have no idea, how the NUC will handle the load and it will be easy to add another node in the feature (also a good test case). How to create nested ESXi servers isn&amp;rsquo;t new, but I will cover shortly how I&amp;rsquo;ve done it. A small note lots of older blogpost write about the vhv.enable feature, this isn&amp;rsquo;t necessary in ESXi 5.5 cause it will be set to true by default.&lt;/p&gt;
&lt;h2 id=&#34;network&#34;&gt;Network&lt;/h2&gt;
&lt;p&gt;This has nothing to do with NSX yet, but it will enable our nested hosts to communicate with the outside world. We are going to create a TRUNK port-group, so that we can use in the future different VLANs to segment the traffic, this however requieres that the connected physical switch also supports VLANs. Don&amp;rsquo;t worry if not, than this all will probably still work, however I didn&amp;rsquo;t tested it. Go to the host, networking configuration and add a port-group, with the following settings.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;VLAN ID: ALL (4095)&lt;/li&gt;
&lt;li&gt;Security - Promiscuous mode: Override Accept&lt;/li&gt;
&lt;li&gt;Security - MAC address changes: Override Accept (optional)&lt;/li&gt;
&lt;li&gt;Security - Forged transmits: Override Accept&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;




  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx7_hu0c175a0fe832aa2abc353d24e7177a7e_16093_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx7_hu0c175a0fe832aa2abc353d24e7177a7e_16093_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;968&#34; height=&#34;567&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx8_hu7759fd32faa0c55cd0453a1b1abb1a32_21273_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx8_hu7759fd32faa0c55cd0453a1b1abb1a32_21273_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;967&#34; height=&#34;566&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx9_hu8ef0a5a582cb6532e0f883e7717a05ca_24351_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx9_hu8ef0a5a582cb6532e0f883e7717a05ca_24351_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;545&#34; height=&#34;391&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id=&#34;nested-esxi-servers&#34;&gt;Nested ESXi servers&lt;/h2&gt;
&lt;p&gt;Deploy a new VM, I have my ESXi connected to a vCenter environment, this is not the vCenter we will discuss later and is running on another NUC. So I will use the web interface. The steps taken can also be done on the traditional GUI, the only difference will be the HW version, 10 for the WUI and 8 for the GUI. Use the following settings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Pick a VM name, for the sake of simplicity I use &amp;ldquo;ESX01&amp;rdquo; and &amp;ldquo;ESX02&amp;rdquo;&lt;/li&gt;
&lt;li&gt;OS Family: Other&lt;/li&gt;
&lt;li&gt;OS Version: Other (64 bit)&lt;/li&gt;
&lt;li&gt;CPU: 4 &lt;em&gt;(I started of with 2, but quickly changed to 4, needed for some componentens (i.e. Controllers))&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;CPU - Harware virtualization: Enable&lt;/li&gt;
&lt;li&gt;MEM: 4 GB (enough to get started) &lt;em&gt;(In part 2 I increased the memory of the ESX02 to 8GB)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;HD: 1GB&lt;/li&gt;
&lt;li&gt;Network: Trunk port-group (1 nic is enough to get started)&lt;/li&gt;
&lt;li&gt;CD: Mount the ESXi installer&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;




  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx1_hu96edfdf3083925ba625ba01d9d295a1a_37038_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx1_hu96edfdf3083925ba625ba01d9d295a1a_37038_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;966&#34; height=&#34;569&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx2_hud841ef10b845f9d05af96be3fcda2a21_35380_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx2_hud841ef10b845f9d05af96be3fcda2a21_35380_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;966&#34; height=&#34;568&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx3_hu651944ec3937080fa247626363afd6e6_53958_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx3_hu651944ec3937080fa247626363afd6e6_53958_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;966&#34; height=&#34;568&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx4_hu2cc7d9d758995f8e31e4a50d83903a57_53132_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx4_hu2cc7d9d758995f8e31e4a50d83903a57_53132_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;967&#34; height=&#34;569&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Now we created the VM, we can boot it up and start the installation, which is really a next, next finish job. When the installation is done, this can take a several minutes we start configuring the host. Open the console and press F2 and after entering your password go to &amp;ldquo;Configuring Management Network&amp;rdquo;. If you have a trunk port, don&amp;rsquo;t forget to enter the VLAN ID. Give the host an IP address, subnet, gateway and optionally for now some DNS settings. For me the IP&amp;rsquo;s are.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ESX01 IP: 10.10.11.101/24&lt;/li&gt;
&lt;li&gt;ESX02 IP: 10.10.11.102/24&lt;/li&gt;
&lt;li&gt;Gateway: 10.10.11.1&lt;/li&gt;
&lt;/ul&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx5_hu6a6a13ba3f1c506eeacdd9ee4fb3b576_92523_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx5_hu6a6a13ba3f1c506eeacdd9ee4fb3b576_92523_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1032&#34; height=&#34;776&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Since this is a lab environment I will enable the SSH console, you can do this under &amp;ldquo;Troubleshooting Options&amp;rdquo;.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx6_hu01de0a715f20a4cb06800429aa01280b_51514_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx6_hu01de0a715f20a4cb06800429aa01280b_51514_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1032&#34; height=&#34;777&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Before you exit the console test if you can reach the host, a simple ping test would be sufficient. The last thing we will need to do for now on the new hosts is adding the storage. For me this is a simple NFS share on mine Synology. Go to the host, storage configuration and add the NFS storage.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx91_hu0d53a46088e0f56bfa3c2432c9e9120c_20605_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx91_hu0d53a46088e0f56bfa3c2432c9e9120c_20605_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;752&#34; height=&#34;588&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Before continuing, make sure both hosts are deployed, have storage and are reachable.&lt;/p&gt;
&lt;h2 id=&#34;vcenter&#34;&gt;vCenter&lt;/h2&gt;
&lt;p&gt;The last part of this post is about deploying the vCenter appliance, which is sufficient, for running NSX. Deploy the vCenter 5.5 OVF, I used the following settings.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name: LAB-vCenter&lt;/li&gt;
&lt;li&gt;IP: 10.10.11.110/24&lt;/li&gt;
&lt;li&gt;GW: 10.10.11.1&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;(Since the last Chrome update, the vCenter plugin is broken, didn&amp;rsquo;t fixed it yet)&lt;/em&gt;&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx10_hub9d647cbf82358d77e4e3de971544430_22206_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx10_hub9d647cbf82358d77e4e3de971544430_22206_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;728&#34; height=&#34;692&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/vcenter_ovf_Settings_hu073f5495ff41fe437e3b34aef156a0ae_23188_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/vcenter_ovf_Settings_hu073f5495ff41fe437e3b34aef156a0ae_23188_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;728&#34; height=&#34;692&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;After the OVF is deployed I decreased the memory to 4GB, which is in my experience enough for a fluent experience in a LAB environment. Start the vCenter VM, as you can see on the console, you should be able to access the initial configuration on https://IPAddress:5480 and login with the default username &amp;ldquo;root&amp;rdquo; and password &amp;ldquo;vmware&amp;rdquo;.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx12_hu668f81ca8a72e5a34497876e62d381fa_211032_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx12_hu668f81ca8a72e5a34497876e62d381fa_211032_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;726&#34; height=&#34;405&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;






  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx13_hu8110fce5f20295660bdd9c4d42d96029_14546_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx13_hu8110fce5f20295660bdd9c4d42d96029_14546_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;528&#34; height=&#34;246&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;After logging in, accept the license (of course first read it). I choose for &amp;ldquo;configure with default settings&amp;rdquo;, after clicking next and start, it will configure itself, but this will take a while. When the configuration is done, the last change I make on the configuration is that the password of the admin will not expire.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx14_hud4072981a07265895546179290b716c3_32275_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx14_hud4072981a07265895546179290b716c3_32275_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;564&#34; height=&#34;516&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Now we are done we can actuale access the vCenter interface by going to https://IPaddress:9443/vsphere-client&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx15_hua53048e903e148831cb10ef8bd978f38_47111_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx15_hua53048e903e148831cb10ef8bd978f38_47111_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;581&#34; height=&#34;351&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;We don&amp;rsquo;t worry about license keys for now, so you can simply ignore this message or close it by clicking the cross sign on the right. Go to vCenter and click on hosts and clusters. Now we  start by creating a new Datacenter. Click on &amp;ldquo;Create datacenter&amp;rdquo; and if you want give it a name, you can also leave it default &amp;ldquo;Datacenter &amp;quot; and click ok. Now we are going to create two clusters, called;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Management_and_Edge&lt;/li&gt;
&lt;li&gt;Compute&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Click on create cluster and give it the desired name, we can leave HA and DRS off. You can create the second cluster by right clicking on the Datacenter. When both clusters are created we need to add the ESX hosts to the appropriate cluster. We add ESX02 to the Managment &amp;amp; Edge cluster and the ESX01 to the Compute cluster.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx16_hu221f3070abf71ca790ca99eeae4508db_13603_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx16_hu221f3070abf71ca790ca99eeae4508db_13603_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;653&#34; height=&#34;265&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Right click on the cluster and select &amp;ldquo;Add Host&amp;rdquo;. Fill in the IP of the host, on the next page the username and password of that specific Host, leave the other settings default.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx17_huc448840d5cb160079b0b613e674b58b5_16671_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx17_huc448840d5cb160079b0b613e674b58b5_16671_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;547&#34; height=&#34;208&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Do this for both hosts, when you have done this, your environment should look as follow.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx18_hu97345615e8a3be6d7980b6315effed6e_13876_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/nested-nsx-vmware-nsx-on-intel-nuc-lab-setup-part-1/new_nested_esx18_hu97345615e8a3be6d7980b6315effed6e_13876_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;228&#34; height=&#34;221&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;For now we are done, we have setup a basic nested environment on which we will go install and configure NSX. When you are bored and can&amp;rsquo;t wait for the next post or just want to optimize your environment, consider the following actions, these are all optional and not necessary to install NSX, also these steps can be taken on a later time.&lt;/p&gt;
&lt;h2 id=&#34;optional-but-nice&#34;&gt;Optional but nice!&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;https://labs.vmware.com/flings/vmware-tools-for-nested-esxi&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;VMtools for nested ESXi&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;https://labs.vmware.com/flings/esxi-mac-learning-dvfilter&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;ESXi Mac Learning dvFilter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;https://blog.breekeenbeen.nl/post/enable-nfs-vaai-on-a-synology-x10/&#34;&gt;Enable NFS VAAI on a Synology x10&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Enable Nfs Vaai on a Synology X10</title>
      <link>https://blog.breekeenbeen.nl/post/enable-nfs-vaai-on-a-synology-x10/</link>
      <pubDate>Thu, 04 Dec 2014 09:12:53 +0200</pubDate>
      <guid>https://blog.breekeenbeen.nl/post/enable-nfs-vaai-on-a-synology-x10/</guid>
      <description>&lt;p&gt;I was really trilled when Synology announced also releasing DSM 5.1 for their x10 series. Why? This because DSM 5.1 has a great feature called NFS for VAAI. In simple words, hardware acceleration on your NAS. For everyone using a Synology with at least DSM 5.1 or later and have VMware vSphere connected to it, I really would recommend enabling this feature. How you can do this, is explained below. First check your vSphere storage configuration, without VAAI you will see, that hardware acceleration is not supported.&lt;/p&gt;















&lt;figure id=&#34;figure-nfs-vaai-not-supported&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;nfs_vaai_syn_esxi_notsupp.png&#34; data-caption=&#34;NFS VAAI not supported&#34;&gt;


  &lt;img src=&#34;nfs_vaai_syn_esxi_notsupp.png&#34; alt=&#34;&#34;  &gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    NFS VAAI not supported
  &lt;/figcaption&gt;


&lt;/figure&gt;

&lt;p&gt;Now first download the VAAI plugin, cause VMware needs to know how it can offload the storage tasks to the Synology NAS. The plugin can be found 
&lt;a href=&#34;http://download.synology.com/ftp/Tools/VAAINFSPlugin/SYN-ESX-5.5.0-NasVAAIPlugin-1.0-offline_bundle-2092790.zip&#34; title=&#34;Synology NFS VAAI Plugin VIB&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;here&lt;/a&gt;. When the download is finished, save the file somewhere on the NAS where VMware can also access it, for me it is a folder named __Management under the NFS share.&lt;/p&gt;





  
  











&lt;figure &gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/enable-nfs-vaai-on-a-synology-x10/nfs_vaai_syn_esxi_copy2nas_hu282ba091f309865bf30d8919aa707916_10710_2000x2000_fit_lanczos_3.png&#34; &gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/enable-nfs-vaai-on-a-synology-x10/nfs_vaai_syn_esxi_copy2nas_hu282ba091f309865bf30d8919aa707916_10710_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;725&#34; height=&#34;124&#34;&gt;
&lt;/a&gt;



&lt;/figure&gt;

&lt;p&gt;Connect to your vSphere host using SSH, make sure you have enabled SSH. (host - configuration - security profile, enabled &amp;amp; start SSH) When you are logged in, you can install the plugin with the following command.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;esxcli software vib install -d /vmfs/volumes/Gimli\ \\(1\\)/\_\_Management/Updates/SYN-ESX-5.5.0-NasVAAIPlugin-1.0-offline\_bundle-2092790.zip
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Wait a few seconds, it can take a few minutes, if everything went fine, you should see the following message.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;Installation Result
   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
   Reboot Required: true
   VIBs Installed: Synology\_bootbank\_esx-nfsplugin_1.0-1
   VIBs Removed:
   VIBs Skipped:
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can reboot the system from here, simply with the command &amp;ldquo;reboot&amp;rdquo; or from the client. After the reboot the configuration page should say hardware acceleration: supported.&lt;/p&gt;





  
  











&lt;figure id=&#34;figure-nfs-vaai-supported&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/enable-nfs-vaai-on-a-synology-x10/featured_hu337c6523f24fe086c772713f5817f35f_13958_2000x2000_fit_lanczos_3.png&#34; data-caption=&#34;NFS VAAI supported&#34;&gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/enable-nfs-vaai-on-a-synology-x10/featured_hu337c6523f24fe086c772713f5817f35f_13958_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1076&#34; height=&#34;162&#34;&gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    NFS VAAI supported
  &lt;/figcaption&gt;


&lt;/figure&gt;

</description>
    </item>
    
    <item>
      <title>Bind DNS Server in Homelab With Split View</title>
      <link>https://blog.breekeenbeen.nl/post/bind-dns-server-in-homelab-with-split-view/</link>
      <pubDate>Tue, 23 Sep 2014 19:54:11 +0200</pubDate>
      <guid>https://blog.breekeenbeen.nl/post/bind-dns-server-in-homelab-with-split-view/</guid>
      <description>&lt;p&gt;One of the most undervalued infrastructure components in my opinion is DNS. A lot of services / components rely upon DNS and if DNS is mis-configured, not available, slow function or somehting else doing that shouldn&amp;rsquo;t be happening, it can lead to performance and other strange problems. In my homelab I&amp;rsquo;m running BIND DNS. One of the main reasons I choose BIND is the option to use Views. Views are making sure if I&amp;rsquo;m internally connected (e.g. WiFi @  Home) I get an internel IP as a response and if I&amp;rsquo;m externally connected, I get my public IP as response. My installation is based upon Debian 7, I won&amp;rsquo;t go into much details about this installation, since it is pretty straight forward. Make sure you use an static IP, don&amp;rsquo;t set your DNS to the server IP yet :) and I prefer to only install SSH, so I can start with a nice clean machine. First let&amp;rsquo;s install the BIND packages.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;aptitude install bind9
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Al the configuration files are stored in /etc/bind, so let&amp;rsquo;s go to this directory and start with creating a forwarder, so all DNS request can go through this DNS server. We will protect this forwarder by an ACL, so only internal cliënts can use this DNS server for relaying.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;cd /etc/bind
nano named.conf.options
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;At the top of this file, before options, create the ACL, I use RFC1918, cause my subnets will vary a lot in my lab.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;acl &amp;quot;trusted&amp;quot; {
        192.168.0.0/16;
        172.16.0.0/12;
        10.0.0.0/8;
        localhost;
        localnets;
};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In this example localnets, isn&amp;rsquo;t necessary assuming the server is already part of one the above listed subnets. Next we will add the lines, which enables the forwarding, these should be placed within the options placeholder.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;forwarders {
       8.8.8.8;
       8.8.4.4;
};

allow-query { any; };
allow-recursion { trusted; };
allow-query-cache { trusted; };
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;That&amp;rsquo;s it for the forwarding. Now let&amp;rsquo;s create our own domain. First let&amp;rsquo;s disable the default configuration.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;nano named.conf
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and comment the line include &amp;ldquo;/etc/bind/named.conf.default-zones&amp;rdquo;;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;//include &amp;quot;/etc/bind/named.conf.default-zones&amp;quot;;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Open up named.conf.local&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;nano named.conf.local
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and add the following lines.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;view &amp;quot;local&amp;quot; {
        match-clients {10/8; 172.16/12; 192.168/16;};
        zone &amp;quot;lab.breekeenbeen.nl&amp;quot; {
                type master;
                file &amp;quot;/etc/bind/zones/lab.breekeenbeen.nl.local&amp;quot;;
        };

        zone &amp;quot;11.10.10.in-addr.arpa&amp;quot; {
                type master;
                file &amp;quot;/etc/bind/zones/rev.11.10.10.in-addr.arpa&amp;quot;;
        };

};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Here we declare a view, which will only listen to RFC1918 (local) addresses, we than create two different zones, one for forward look-ups and second for reverse look-ups. In his case the domain/zone is &amp;ldquo;lab.breekeenbeen.nl&amp;rdquo; and the IP range for the reverse look-up is 10.10.11.*. As you can see, we are pointing to two different files, these files will actually contain the hostnames. So let&amp;rsquo;s create and edit them. I added the .local for recognitizion that it will contain local addresses.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;mkdir zones
touch zones/lab.breekeenbeen.nl.local
touch zones/rev.11.10.10.in-addr.arpa
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Let&amp;rsquo;s start with the forward look-up table.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;nano zones/lab.breekeenbeen.nl.local
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;$TTL 3D
@       IN      SOA     ns1.lab.breekeenbeen.nl. root.localhost(
        2014092201      ; serial number
        28800           ; refresh (i.e. 3h)
        3600            ; retry (i.e. 15M)
        604800          ; expire (i.e. 3W12h)
        38400           ; minimum (i.e. 2h20M)
);

@                       IN      NS      ns1.lab.breekeenbeen.nl.

dnsserver               IN      A       10.10.11.3;
ns1                     IN      A       10.10.11.3;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The above sample is pretty basic, remember everytime you make changes and commit them, you need to change the serial number, I use year-month-date-follow-up as a serialnumber. Every host can be added on a new line, here is one host &amp;ldquo;dnsserver&amp;rdquo; which will result in IP 10.10.11.3, the FQDN of this host is dnsserver.lab.breekeenbeen.nl. Restart the DNS server and check if it works with nslookup.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;root@dnsserver:/etc/bind# nslookup
&amp;gt; server 10.10.11.3
Default server: 10.10.11.3
Address: 10.10.11.3#53
&amp;gt; dnsserver
Server:         10.10.11.3
Address:        10.10.11.3#53

Name:   dnsserver.lab.breekeenbeen.nl
Address: 10.10.11.3
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If it doesn&amp;rsquo;t work, you can check on errors in the syslog.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;tail /var/log/syslog
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;That&amp;rsquo;s it, now the last thing to configure is the reverse look-up.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;nano zones/rev.11.10.10.in-addr.arpa
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;$TTL 3D
@       IN      SOA     ns1.lab.breekeenbeen.nl. root.localhost(
        2014092201      ; serial number
        28800           ; refresh (i.e. 3h)
        3600            ; retry (i.e. 15M)
        604800          ; expire (i.e. 3W12h)
        38400           ; minimum (i.e. 2h20M)
);

                        IN      NS      ns1.lab.breekeenbeen.nl.

3                       IN      PTR     dnsserver.lab.breekeenbeen.nl.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Restart the DNS server and check if the reverse look-up works.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;root@dnsserver:/etc/bind# nslookup
&amp;gt; server 10.10.11.3
Default server: 10.10.11.3
Address: 10.10.11.3#53
&amp;gt; set type=PTR
&amp;gt; 10.10.11.3
Server:         10.10.11.3
Address:        10.10.11.3#53

3.11.10.10.in-addr.arpa name = dnsserver.lab.breekeenbeen.nl.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now we can do exactly the same for the external look-ups. We just add another view for the external requests.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;nano named.conf.local

view &amp;quot;external&amp;quot; {
        match-clients { any; };

        zone &amp;quot;lab.breekeenbeen.nl&amp;quot; {
                type master;
                file &amp;quot;/etc/bind/zones/lab.breekeenbeen.nl.external&amp;quot;;
        };
};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It depends on your configuration if you need/want a reverse lookup for external requests. If you run an e-mail server for example it would be wise to set-up a reverse lookup zone. For now I leave the reverse look-up out of it, but it is exactly the same as described above. Like we did for internal, we create the external look-up file and fill it with the appropriate configuration. To speed things up, we just copy the
file.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;cp zones/lab.breekeenbeen.nl.local zones/lab.breekeenbeen.nl.external
nano zones/lab.breekeenbeen.nl.external

$TTL 3D
@       IN      SOA     ns1.lab.breekeenbeen.nl. root.localhost(
        2014092201      ; serial number
        28800           ; refresh (i.e. 3h)
        3600            ; retry (i.e. 15M)
        604800          ; expire (i.e. 3W12h)
        38400           ; minimum (i.e. 2h20M)
);

@                       IN      NS      ns1.lab.breekeenbeen.nl.

*                       IN      A       8.8.8.8

dnsserver               IN      A       8.8.8.8
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As you can see, you can also add an asterisk (*) to answer the public IP on all public requests ending on .lab.breekeenbeen.nl. Before we can test the external request, you have to make a firewall rule which NAT all the UDP/53 request, to this server. Make sure if you&amp;rsquo;re going to test the configuration, that you do this from an external client and your DNS server set to your public IP. If you also want other requests for your domain coming to you through other DNS servers, you have to make a so called glue record at your domain hosting provider.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Upgrade Vmware on My Homelab</title>
      <link>https://blog.breekeenbeen.nl/post/upgrade-vmware-on-my-homelab/</link>
      <pubDate>Wed, 17 Sep 2014 20:41:22 +0200</pubDate>
      <guid>https://blog.breekeenbeen.nl/post/upgrade-vmware-on-my-homelab/</guid>
      <description>&lt;p&gt;There are so many ways to update VMware that everytime they release a new version I can probably use a different one. Normally I really like 
&lt;a href=&#34;http://www.virtuallyghetto.com/2012/09/a-pretty-cool-method-of-upgrading-to.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;this online way&lt;/a&gt; described on 
&lt;a href=&#34;http://www.virtuallyghetto.com&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;virtualGhetto&lt;/a&gt;. Although this time I&amp;rsquo;m going to use a different way, cause my new homelab consists of two ESXi servers, I only want to download the new update once and of course use/learn a new way of updating.&lt;/p&gt;
&lt;p&gt;First of all get the desired update from the VMware website (account needed) 
&lt;a href=&#34;https://my.vmware.com/group/vmware/patch#search&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://my.vmware.com/group/vmware/patch#search&lt;/a&gt; Copy the downloaded update to the datastore which can be accessed by your ESXi servers. If you use NFS on a NAS (Synology) like me, it is pretty easy to copy this file with the use of Windows file sharing (if turned on), otherwise use WinSCP or another tool to access your datastore. I put my downloads in &amp;ldquo;__Management/Updates&amp;rdquo; (from a datastore perspective).&lt;/p&gt;
&lt;p&gt;Put one of the hosts in maintenance mode, assuming you have configured a cluster and enough resources left. Otherwise, power-down your virtual machines. I find it good practice to check the file, before using it, to check this, click on the build number on the patch download site.&lt;/p&gt;





  
  











&lt;figure id=&#34;figure-vmware-update-md5-hash&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/upgrade-vmware-on-my-homelab/featured_hu001b9504c0c100339022ab2467c901f5_20347_2000x2000_fit_lanczos_3.png&#34; data-caption=&#34;VMware update md5 hash&#34;&gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/upgrade-vmware-on-my-homelab/featured_hu001b9504c0c100339022ab2467c901f5_20347_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;747&#34; height=&#34;303&#34;&gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    VMware update md5 hash
  &lt;/figcaption&gt;


&lt;/figure&gt;

&lt;p&gt;If you haven&amp;rsquo;t already, enable SSH. Log in with SSH on your ESXi server, browse to the update directory and run the following command.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;~# md5sum update-from-esxi5.5-5.5_update02.zip
ea8c8486fffa0215df644f03b41c13f6 update-from-esxi5.5-5.5_update02.zip
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you find it interesting to see which modules have changed after the update, run this command, before you update.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;esxcli software vib list
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It will return something like this&lt;/p&gt;





  
  











&lt;figure id=&#34;figure-vmware-vibs-installed&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/upgrade-vmware-on-my-homelab/vibs_installed_hu8f37437e432432446610c010bf338a6d_49285_2000x2000_fit_lanczos_3.png&#34; data-caption=&#34;VMware vibs installed&#34;&gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/upgrade-vmware-on-my-homelab/vibs_installed_hu8f37437e432432446610c010bf338a6d_49285_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;897&#34; height=&#34;148&#34;&gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    VMware vibs installed
  &lt;/figcaption&gt;


&lt;/figure&gt;

&lt;p&gt;It will not return the current ESXi version, you can use the following command to accomplish that.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;esxcli system version get
&lt;/code&gt;&lt;/pre&gt;





  
  











&lt;figure id=&#34;figure-vmware-esxi-version-before-upgrade&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/upgrade-vmware-on-my-homelab/esxi_version_before_hu1132f943ba28e6d26564536908e08691_19262_2000x2000_fit_lanczos_3.png&#34; data-caption=&#34;VMware esxi version before upgrade&#34;&gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/upgrade-vmware-on-my-homelab/esxi_version_before_hu1132f943ba28e6d26564536908e08691_19262_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;652&#34; height=&#34;83&#34;&gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    VMware esxi version before upgrade
  &lt;/figcaption&gt;


&lt;/figure&gt;

&lt;p&gt;Now we have checked almost everything on to the actual update. To check if everything wil run just fine, you can use the dry-run option&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;esxcli software vib update -d /vmfs/volumes/Gimli/\_\_Management/Updates/update-from-esxi5.5-5.5\_update02.zip --dry-run
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you are happy result, then let&amp;rsquo;s start the update&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;esxcli software vib update -d /vmfs/volumes/Gimli/\_\_Management/Updates/update-from-esxi5.5-5.5\_update02.zip
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It can take a while and it seems nothing is happening, just be patient, eventually it will show something like.&lt;/p&gt;





  
  











&lt;figure id=&#34;figure-vmware-esxi-version-after-upgrade&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/upgrade-vmware-on-my-homelab/after_upgrade_hu0ba1b7032b4651876f26e8bafa64895a_23848_2000x2000_fit_lanczos_3.png&#34; data-caption=&#34;VMware esxi version after upgrade&#34;&gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/upgrade-vmware-on-my-homelab/after_upgrade_hu0ba1b7032b4651876f26e8bafa64895a_23848_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;1302&#34; height=&#34;78&#34;&gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    VMware esxi version after upgrade
  &lt;/figcaption&gt;


&lt;/figure&gt;

&lt;p&gt;It will state if you have to reboot or not, if you want you can check the module versions again, if they are updated they will show a new version and date. If you are satisfied you can reboot.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;reboot
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;After the reboot, check your version and if everything is functional as it should, if it does, exit maintenance mode and go on with the other server(s).&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Loadbalancing VMware Horizon View Blast</title>
      <link>https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/</link>
      <pubDate>Thu, 21 Aug 2014 19:39:05 +0200</pubDate>
      <guid>https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/</guid>
      <description>&lt;p&gt;One of the coolest features in my opinion of VMware Horizon View, is the Blast protocol. The Blast protocol makes it possible to connect and work on your desktop with just a browser and even better it does this all by making use of HTML5, no flash needed! (vCenter guys watch &amp;amp; learn from these guys) There already some good articles about load balancing VMware Horizon View to the outside world, however they all miss the part about how to load balance the Blast protocol to the outside world. Some good articles, worth reading:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;http://www.mikelaverick.com/2013/02/part-57-my-vcloud-journey-edge-gateway-load-balancing-vmware-view/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;http://www.mikelaverick.com/2013/02/part-57-my-vcloud-journey-edge-gateway-load-balancing-vmware-view/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;http://vmfocus.com/2014/01/14/load-balancing-horizon-view-design/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;http://vmfocus.com/2014/01/14/load-balancing-horizon-view-design/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;http://kemptechnologies.com/en/solutions/VMware/Horizon-View&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;http://kemptechnologies.com/en/solutions/VMware/Horizon-View&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Below I will describe how you could set-up VMware Horizon View including the Blast protocol. I will focus on the outside connections, which means the security servers. The set-up consists of the following components;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1 x outside firewall&lt;/li&gt;
&lt;li&gt;2 x Loadbalancers (ADC)&lt;/li&gt;
&lt;li&gt;2 x VMware View security server&lt;/li&gt;
&lt;li&gt;2 x VMware View connection server&lt;/li&gt;
&lt;li&gt;&lt;em&gt;1 inside firewall, between security servers and connection servers (not important for this case)&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;





  
  











&lt;figure id=&#34;figure-typical-view-ha-set-up&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/featured_hu4f4482ec655d3fa9c85f55d1dde1dc6c_9769_2000x2000_fit_lanczos_3.png&#34; data-caption=&#34;Typical View HA set-up&#34;&gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/featured_hu4f4482ec655d3fa9c85f55d1dde1dc6c_9769_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;274&#34; height=&#34;454&#34;&gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    Typical View HA set-up
  &lt;/figcaption&gt;


&lt;/figure&gt;

&lt;p&gt;This is how it actually works;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A user will connect to the &lt;em&gt;&lt;strong&gt;VIP address&lt;/strong&gt;&lt;/em&gt; (workplace.breekeenbeen.nl), this can be done by either using the client or a web browser, port 443.&lt;/li&gt;
&lt;li&gt;This DNS entry contains a public IP address, let&amp;rsquo;s assume 8.8.8.8&lt;/li&gt;
&lt;li&gt;The firewall will NAT this address to the VIP address of the ADC&amp;rsquo;s (in this set-up Active/Passive)&lt;/li&gt;
&lt;li&gt;The ADC will determine which security server has to be used. Let&amp;rsquo;s assume round-robin, but in most ADC&amp;rsquo;s you can make more advanced rules.&lt;/li&gt;
&lt;li&gt;The user logs in and the connection broker will do his job, to see if the user is allowed to access an available desktop. If this is true, the security server, will communicate a &lt;em&gt;&lt;strong&gt;direct address for PCoIP&lt;/strong&gt;&lt;/em&gt; or a &lt;strong&gt;&lt;em&gt;direct address for Blast&lt;/em&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The user connects to this address and should be able to work on his/her desktop.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I have embolden the three most important variables, which you will also see, when you go to the View configuration of a security server.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;External URL: VIP Address&lt;/li&gt;
&lt;li&gt;PCoIP external URL: direct address for PCoIP&lt;/li&gt;
&lt;li&gt;Blast external URL: direct address for Blast&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I used the term direct address, cause this connection will not go through the ADC. So we need a separate public IP for the direct connections and NAT them to the internal IP&amp;rsquo;s of the server, for the connection to the security server, the NAT should work both ways! So our configuration would look like.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;8.8.8.8    NAT &amp;gt; 10.1.1.8 (VIP ADC)&lt;/li&gt;
&lt;li&gt;8.8.8.7 &amp;lt; NAT &amp;gt; 10.1.1.6 (Sec. server 1)&lt;/li&gt;
&lt;li&gt;8.8.8.6 &amp;lt; NAT &amp;gt; 10.1.1.7 (Sec. server 2)&lt;/li&gt;
&lt;/ul&gt;





  
  











&lt;figure id=&#34;figure-view-connections-nat&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/Horizon_View_NAT_hud11033d863c475d350ba1cec967420fa_7836_2000x2000_fit_lanczos_3.png&#34; data-caption=&#34;View connections (NAT)&#34;&gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/Horizon_View_NAT_hud11033d863c475d350ba1cec967420fa_7836_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;317&#34; height=&#34;296&#34;&gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    View connections (NAT)
  &lt;/figcaption&gt;


&lt;/figure&gt;

&lt;p&gt;Make sure in the security server configuration, you use the public IP addresses, cause an user would not know where to find the internal addresses. So a working configuration for this example, would look like this.&lt;/p&gt;





  
  











&lt;figure id=&#34;figure-security-server-nat&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/Horizon_View_SS_NAT_hu45a3f3b5788ee67e16fdea574b4b2ff3_16162_2000x2000_fit_lanczos_3.png&#34; data-caption=&#34;Security Server (NAT)&#34;&gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/Horizon_View_SS_NAT_hu45a3f3b5788ee67e16fdea574b4b2ff3_16162_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;488&#34; height=&#34;404&#34;&gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    Security Server (NAT)
  &lt;/figcaption&gt;


&lt;/figure&gt;

&lt;p&gt;Although this is a perfectly working configuration, it has one caveat, when using Blast, it will redirect your browser to &amp;ldquo;https://8.8.8.6:8443&amp;rdquo;, this will result in an SSL warning, cause this IP is not the same as the certificates name &amp;ldquo;workspace.breekeenbeen.nl&amp;rdquo;. So what we want is, connecting to &amp;ldquo;
&lt;a href=&#34;https://workspace.breekeenbeen.nl:8443&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://workspace.breekeenbeen.nl:8443&lt;/a&gt;&amp;rdquo;, this will result in a desktop through Blast without an SSL warning. However, we can use a public IP and port only once and we want also Blast to be spread over the two servers. Luckily we can easily do this by the use of Port-NAT, also called NAPT. Another benefit you gain by using NAPT is you really specify which ports to use, so this will more tighten the security. Especially watch the last line in the table below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;8.8.8.8:443   (T)        NAPT &amp;gt; 10.1.1.8:443 (VIP ADC)&lt;/li&gt;
&lt;li&gt;8.8.8.7:4172 (T/U) &amp;lt; NAPT &amp;gt; 10.1.1.6:4172 (PCoIP - Sec. server 1)&lt;/li&gt;
&lt;li&gt;8.8.8.6:4172 (T/U) &amp;lt; NAPT &amp;gt; 10.1.1.7:4172 (PCoIP - Sec. server 2)&lt;/li&gt;
&lt;li&gt;8.8.8.8:8443 (T)        NAPT &amp;gt; 10.1.1.6:8443 (Blast - Sec. server 1)&lt;/li&gt;
&lt;li&gt;8.8.8.6:8444 (T)        NAPT &amp;gt; 10.1.1.7:8443 (Blast - Sec. server 2)&lt;/li&gt;
&lt;/ul&gt;





  
  











&lt;figure id=&#34;figure-view-connections-napt&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/Horizon_View_SS_NAPT_hue9e3eb59b4397c489a1b02b23b702f0a_10202_2000x2000_fit_lanczos_3.png&#34; data-caption=&#34;View connections (NAPT)&#34;&gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/Horizon_View_SS_NAPT_hue9e3eb59b4397c489a1b02b23b702f0a_10202_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;372&#34; height=&#34;315&#34;&gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    View connections (NAPT)
  &lt;/figcaption&gt;


&lt;/figure&gt;

&lt;p&gt;The security server configuration would look like this.&lt;/p&gt;





  
  











&lt;figure id=&#34;figure-security-server-napt&#34;&gt;


  &lt;a data-fancybox=&#34;&#34; href=&#34;https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/Horizon_View_SS_NAPT1_hu20d6e715800e17b03d36a034f6bdd59a_16599_2000x2000_fit_lanczos_3.png&#34; data-caption=&#34;Security Server (NAPT)&#34;&gt;


  &lt;img data-src=&#34;https://blog.breekeenbeen.nl/post/loadbalancing-vmware-horizon-view-blast/Horizon_View_SS_NAPT1_hu20d6e715800e17b03d36a034f6bdd59a_16599_2000x2000_fit_lanczos_3.png&#34; class=&#34;lazyload&#34; alt=&#34;&#34; width=&#34;489&#34; height=&#34;405&#34;&gt;
&lt;/a&gt;


  
  
  &lt;figcaption&gt;
    Security Server (NAPT)
  &lt;/figcaption&gt;


&lt;/figure&gt;

</description>
    </item>
    
    <item>
      <title>Upgrade Vmware Horizon View 5.3 to 6.0</title>
      <link>https://blog.breekeenbeen.nl/post/upgrade-vmware-horizon-view-5-3-to-6-0/</link>
      <pubDate>Mon, 04 Aug 2014 20:36:54 +0200</pubDate>
      <guid>https://blog.breekeenbeen.nl/post/upgrade-vmware-horizon-view-5-3-to-6-0/</guid>
      <description>&lt;p&gt;A little while back VMware released Horizon View 6.0, which comes with some neat new features, from which I think the RDS Hosted Apps is the biggest, for more information see 
&lt;a href=&#34;http://www.ivobeerens.nl/2014/04/09/vmware-horizon-6-whats-new/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;VMware Horizon 6 What’s New&lt;/a&gt; on Ivo Beerens blog. This post is about getting your VMware Horizon View 5.3 upgraded to 6.0 on new servers (Server 2012R2), below I described the steps we have taken and resulted in a flawless migration with nearly no downtime for the end-user of course this  is depending on your set-up. Keep in mind that the (re)compose function is not available during the upgrade.&lt;/p&gt;
&lt;p&gt;The following steps are based on the excellent 
&lt;a href=&#34;https://pubs.vmware.com/horizon-view-60/topic/com.vmware.ICbase/PDF/horizon-view-60-upgrades.pdf&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;upgrade guide&lt;/a&gt; from VMware, the only difference is that the upgrade guide assumes that you upgrade your current servers, while the steps below are based on new servers. This way it is possible to also upgrade your OS from Windows Server 2008R2 to Windows Server 2012R2, keep in mind Server 2012 is not supported.&lt;/p&gt;
&lt;p&gt;Before we actually get started it is good to find out which components are affected during the upgrade, these are not only the servers, but you also have to think about firewalls, load balancers, database servers and maybe active directory and/or some third party authentication tools like RSA SecureID. This particular setup is very basic and in short in consist of the following components, described from outside (internet) to inside;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Outside firewall&lt;/li&gt;
&lt;li&gt;Outside/DMZ load balancer&lt;/li&gt;
&lt;li&gt;Two secure connection brokers&lt;/li&gt;
&lt;li&gt;Inside firewall&lt;/li&gt;
&lt;li&gt;Two connection brokers paired to the secure connection brokers&lt;/li&gt;
&lt;li&gt;Inside load balancer&lt;/li&gt;
&lt;li&gt;Two connection brokers for the internal connections&lt;/li&gt;
&lt;li&gt;One composer&lt;/li&gt;
&lt;li&gt;RSA secureID&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now we know which servers are affected we can actually start. Here are the steps we took to upgrade this environment.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Build new servers based on Server 2012R2: &lt;em&gt;If you count the VMware servers above, you will see that there are 7 servers that are going to be upgraded with VMware Horizon View 6.0.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Create a new image with the new View Agent in it and deploy it. &lt;em&gt;From this point we stopped making changes to the infrastructure (compose, new pools, etc.).&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Make a back-up of the View databases.&lt;/li&gt;
&lt;li&gt;Installation &amp;amp; migration of the View Composer
&lt;ol&gt;
&lt;li&gt;Install the .NET 3.5 feature.&lt;/li&gt;
&lt;li&gt;Copy the .NET RSA keys of the current server to the new server. &lt;em&gt;Current: %windir%\Microsoft.NET\Framework\v2.0xxxxx, aspnet_regiis -px &amp;ldquo;SviKeyContainer&amp;rdquo; &amp;ldquo;keys.xml&amp;rdquo; –pri New: %windir%\Microsoft.NET\Framework\v2.0xxxxx, aspnet_regiis -pi &amp;ldquo;SviKeyContainer&amp;rdquo; &amp;ldquo;path\keys.xml&amp;rdquo; –exp&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Disable provisioning in VMware View &lt;em&gt;View Administration – servers – vCenter – disable provisioning&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Install VMware View Composer on the new server&lt;/li&gt;
&lt;li&gt;After installation change the server in VMware View Administration &lt;em&gt;View Administration – Server – vCenter and click on edit and verify&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Turn provisioning back on &lt;em&gt;View Administration – servers – vCenter – enable provisioning&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Turn off the “old” server&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Installation &amp;amp; migration of the connection servers handling inside traffic &lt;em&gt;repeat step A-F for every connection broker handling inside traffic&lt;/em&gt;
&lt;ol&gt;
&lt;li&gt;Start the installation of VMware Connection Server and choose for the install as replica option&lt;/li&gt;
&lt;li&gt;Install the right certificate on the server (if needed)&lt;/li&gt;
&lt;li&gt;Test the new server by going to the View Administration interface on this server. &lt;em&gt;
&lt;a href=&#34;https://newserver/admin&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://newserver/admin&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Make sure the settings of the new servers are the same as the “old” ones&lt;/li&gt;
&lt;li&gt;Make sure the firewall rules are updated with the new servers (if needed)&lt;/li&gt;
&lt;li&gt;See if it is possible to connect with the View Client directly to the new connection servers.&lt;/li&gt;
&lt;li&gt;Update the load balancer configuration with the new servers&lt;/li&gt;
&lt;li&gt;Test if a connection through the load balancer is possible&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Installation of the connected connection servers handling outside traffic (connected with security servers) &lt;em&gt;Repeat for all the connection servers handling outside traffic&lt;/em&gt;
&lt;ol&gt;
&lt;li&gt;Start the installation of VMware Connection Server and choose for the install as replica option.&lt;/li&gt;
&lt;li&gt;Install the right certificate on the server (if needed)&lt;/li&gt;
&lt;li&gt;Test the new server by going to the View Administration interface on this server. &lt;em&gt;
&lt;a href=&#34;https://newserver/admin&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://newserver/admin&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Create a new RSA authentication export file and import it to the new servers (if needed)&lt;/li&gt;
&lt;li&gt;Make sure the settings are the same as the “old” ones&lt;/li&gt;
&lt;li&gt;Make sure the firewall rules are updated with the new servers, change also the rules for connection from the new security servers.&lt;/li&gt;
&lt;li&gt;See if it is possible to connect with the View Client directly to the new connection servers.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Installation &amp;amp; migration of the security servers &lt;em&gt;Repeat A-F for all the security servers&lt;/em&gt;
&lt;ol&gt;
&lt;li&gt;Start the installation of VMware Connection Server and choose for the install as security server option&lt;/li&gt;
&lt;li&gt;Connect the server (during installation) with the corresponding connection server&lt;/li&gt;
&lt;li&gt;Install the right certificate on the server (if needed)&lt;/li&gt;
&lt;li&gt;Test the new server by going to the View Administration interface on this server. &lt;em&gt;
&lt;a href=&#34;https://newserver/admin&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://newserver/admin&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Make sure the settings are the same as the “old” ones&lt;/li&gt;
&lt;li&gt;See if it is possible to connect with the View Client directly to the new connection servers.&lt;/li&gt;
&lt;li&gt;Update the firewalls rules including NAT for PCOIP/Blast (if needed)&lt;/li&gt;
&lt;li&gt;Update the load balancer configuration with the new servers&lt;/li&gt;
&lt;li&gt;Test if a connection through the load balancer is possible&lt;/li&gt;
&lt;li&gt;Test a connection from outside&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Create a snapshot of the old connection and security servers&lt;/li&gt;
&lt;li&gt;Remove the VMware View Connection software on both the connection servers and security servers.&lt;/li&gt;
&lt;li&gt;If the servers still pop-up in View Administration remove them by running this command on one of the new connection servers. (we needed this) &lt;em&gt;vdmadmin -S -r -s old-Connection_server&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Remove old firewall rules (if needed)&lt;/li&gt;
&lt;li&gt;Test if everything works as it should, recompose, new pool, etc.&lt;/li&gt;
&lt;li&gt;If everything works correctly you may delete the old servers&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Congratulations you’re now running VMware View Horizon 6.0 and unlocked a lot of nice new features!&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>
