<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>vmPete.com</title>
	<atom:link href="http://vmpete.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vmpete.com</link>
	<description>An inside the ropes look at Virtualization, networking, storage, and everything else in IT</description>
	<lastBuildDate>Sun, 02 Jun 2013 15:42:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='vmpete.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>vmPete.com</title>
		<link>http://vmpete.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vmpete.com/osd.xml" title="vmPete.com" />
	<atom:link rel='hub' href='http://vmpete.com/?pushpress=hub'/>
		<item>
		<title>My VMworld &#8220;Call for Papers&#8221; submission, and getting more involved</title>
		<link>http://vmpete.com/2013/04/24/my-vmworld-call-for-papers-submission-and-getting-more-involved/</link>
		<comments>http://vmpete.com/2013/04/24/my-vmworld-call-for-papers-submission-and-getting-more-involved/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 12:55:00 +0000</pubDate>
		<dc:creator>vmPete</dc:creator>
				<category><![CDATA[Dell]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">https://itforme.wordpress.com/?p=388</guid>
		<description><![CDATA[It is a good sign that you are in the right business when you get tremendous satisfaction from your career – whether it be from the daily challenges at work, or through professional growth, learning, or sharing.&#160; It’s been an exciting month for me, as I’ve taken a few steps to get more involved. First, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=388&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><font size="2">It is a good sign that you are in the right business when you get tremendous satisfaction from your career – whether it be from the daily challenges at work, or through professional growth, learning, or sharing.&#160; It’s been an exciting month for me, as I’ve taken a few steps to get more involved.</font></p>
<p><font size="2">First, I decided to submit my application for the </font><a href="http://blogs.vmware.com/vmtn/2013/03/vexpert-2013-applications-are-now-open.html"><font size="2">2013 VMware vExpert program</font></a><font size="2">.&#160; I’ve sat on the sidelines, churning out blog posts for 4 years now, but with the encouragement of a few of my fellow VMUG comrades and friends, decided to put my hat in the game with others equally as enthusiastic as I am about what many of us do for a living.&#160; The list has not been announced yet, so we’ll see what happens.&#160; I’m also now officially part of the Seattle VMUG steering committee, contributing where I can to provide more value to the local VMUG community.</font></p>
<p><font size="2">Next, I was honored to be recognized as a </font><a href="http://en.community.dell.com/techcenter/b/techcenter/archive/2013/04/02/congrats-2013-dell-techcenter-rockstars.aspx"><font size="2">2013 Dell TechCenter Rockstar</font></a><font size="2">.&#160; Started in 2012, the DTC Rockstar program recognizes those Subject Matter Experts and enthusiasts who share their knowledge on the portfolio of Dell solutions in the Enterprise.&#160; And I am flattered to be in great company with the others who have been recognized by their efforts.&#160;&#160; Congratulations to the others who were recognized as well.&#160; </font></p>
<p><font size="2">And finally, I took a stab at submitting an abstract for consideration as a possible session at this year’s VMworld.&#160; I can’t say I ever imagined a scenario in which I would be responding to VMware’s annual “</font><a href="http://www.vmworld.com/cfp.jspa"><font size="2">Call for Papers</font></a><font size="2">”, but with real-life use cases comes really interesting stories. I had a really interesting story.&#160; My session title is:</font></p>
<p><strong><font size="2">4370 &#8211; Compiling code in virtual machines: Identifying bottlenecks and optimizing performance to scale out development environments</font></strong></p>
<p><a href="http://itforme.files.wordpress.com/2013/04/image1.png"><font size="2"><img title="image" style="background-image:none;padding-top:0;padding-left:0;display:inline;padding-right:0;border-width:0;" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/04/image_thumb1.png?w=723&#038;h=94" width="723" height="94" /></font></a></p>
<p><font size="2">This session was inspired from </font><a href="http://vmpete.com/2012/12/18/vroom-scaling-up-virtual-machines-in-vsphere-to-meet-performance-requirements/"><font size="2">part 1</font></a><font size="2"> and </font><a href="http://vmpete.com/2013/03/11/vroom-scaling-up-virtual-machines-in-vsphere-to-meet-performance-requirementspart-2/"><font size="2">part 2</font></a><font size="2"> of “</font><a href="http://vmpete.com/2012/12/18/vroom-scaling-up-virtual-machines-in-vsphere-to-meet-performance-requirements/"><font size="2">Vroom! Scaling up Virtual Machines in vSphere to meet performance requirements</font></a><font size="2">.”&#160; What transpired from the project was a fascinating exercise in assumptions, bottleneck chasing, and a modern virtualized infrastructure’s ability to scale up computational power immediately for an organization.&#160; I’ve received great feedback from those posts, <font style="background-color:#ffff00;"></font></font><font size="2">but the posts just skimmed the surface on what was learned. </font><font size="2">What better way to demonstrate a very unique use-case than to share the details with those who really care.&#160; Take a look out at:&#160; </font><a title="http://www.vmworld.com/cfp.jspa" href="http://www.vmworld.com/cfp.jspa"><font size="2">http://www.vmworld.com/cfp.jspa</font></a><font size="2">.&#160; My submission is under the “<strong>Customer Case Studies</strong>” track, number <strong>4730</strong>.&#160; Public voting is now open.&#160; If you don’t have a VMworld account, just create one – it’s free.&#160; Click on the session to read the abstract, and if you like what you see, click on the “thumbs up” button to put in a vote for it.</font></p>
<p><font size="2">Spend enough time in IT, and it turns out you might have an opinion or two on things.&#160; How to make it all work, and how to keep your sanity.&#160; I haven’t quite figured out the definitive answers to either one of those yet, but when there is an opportunity to contribute, I try my best to pay it forward to the great communities of geeks out there.&#160; Thanks for reading.</font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itforme.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itforme.wordpress.com/388/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=388&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vmpete.com/2013/04/24/my-vmworld-call-for-papers-submission-and-getting-more-involved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0d169682a40f151448d92ac747bd3357?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ITforMe</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/04/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring a VM for SNMP monitoring using Cacti</title>
		<link>http://vmpete.com/2013/04/23/configuring-a-vm-for-snmp-monitoring-using-cacti/</link>
		<comments>http://vmpete.com/2013/04/23/configuring-a-vm-for-snmp-monitoring-using-cacti/#comments</comments>
		<pubDate>Tue, 23 Apr 2013 13:27:30 +0000</pubDate>
		<dc:creator>vmPete</dc:creator>
				<category><![CDATA[Architecture/planning]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Powerconnect]]></category>
		<category><![CDATA[SNMP]]></category>

		<guid isPermaLink="false">https://itforme.wordpress.com/?p=384</guid>
		<description><![CDATA[There are a number of things that I don’t miss with old physical infrastructures.&#160; One near the top of the list is a general lack of visibility for each and every system.&#160; Horribly underutilized hardware running happily along side overtaxed or misconfigured systems, and it all looked the same.&#160; Fortunately, virtualization has changed much of [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=384&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><font size="2">There are a number of things that I don’t miss with old physical infrastructures.&#160; One near the top of the list is a general lack of visibility for each and every system.&#160; Horribly underutilized hardware running happily along side overtaxed or misconfigured systems, and it all looked the same.&#160; Fortunately, virtualization has changed much of that nonsense, and performance trending data of VMs and hosts are a given.</font></p>
<p><font size="2">Partners in the VMware ecosystem are able to take advantage of the extensibility by offering useful tools to improve management and monitoring of other components throughout the stack.&#160; The <a href="http://en.community.dell.com/techcenter/systems-management/w/wiki/1961.dell-management-plug-in-for-vmware-vcenter.aspx">Dell Management Plug-in for VMware vCenter</a> is a great example of that. It does a good job of integrating side-band management and event driven alerting inside of vCenter.&#160; However, i</font><font size="2">n many cases you still need to look at performance trending data of devices that may not inherently have that ability on it’s own.&#160; Switchgear is a great example of a resource that can be left in the dark.&#160; SNMP can be used to monitor switchgear and other types of devices, but it’s use is almost always absent in smaller environments.&#160; But there are simple options to help provide better visibility even for the smallest of shops.&#160; This post will provide what you need to know to get started.</font><font style="background-color:#ffff00;" size="2"></font></p>
<p><font size="2">In this example, I will be setting up a general purpose SNMP management system running </font><a href="http://cacti.net/"><font size="2">Cacti</font></a><font size="2"> to monitor the performance of some Dell PowerConnect switchgear.&#160; Cacti leverages <a href="http://oss.oetiker.ch/rrdtool/">RRDTool</a>’s framework to deliver time based performance monitoring and graphing.&#160; It can monitor a number of different types of systems supporting SNMP, but switchgear provides the best example that most everyone can relate to.&#160; At a very affordable price (free), Cacti will work just fine in helping with these visibility gaps.&#160;&#160; </font></p>
<p><font size="2"><strong><font size="3">Monitoring VM</font></strong>       <br />The first thing to do is to build a simple Linux VM for the purpose of SNMP management.&#160; One would think there would be a free Virtual Appliance out on the <a href="https://solutionexchange.vmware.com/store/category_groups/19">VMware Virtual Appliance Marektplace</a> for this purpose, but if there is, I couldn’t find it.&#160; Any distribution will work, but my instructions will cater toward the Debian distributions – particularly Ubuntu, or a Ubuntu clone like <a href="http://www.linuxmint.com/edition.php?id=118">Linux Mint</a> (my personal favorite).&#160; Set it for 1vCPU and 512 MB of RAM.&#160; Assign it a static address on your network management VLAN (if you have one).&#160; Otherwise, your production LAN will be fine.&#160; While it is a single purpose built VM, you still have to live with it, so no need to punish yourself by leaving it bare bones.&#160; Go ahead and install the typical packages (e.g. vim, ssh, ntp, etc.) for convenience or functionality.</font></p>
<p><font size="2">Templates are an option that extend the functionality in Cacti.&#160; In the case of the PowerConnect switches, the template will assist in providing information on CPU, memory, and temperature.&#160; A template for the PowerConnect 6200 line of switches can be found </font><a href="http://docs.cacti.net/usertemplate:host:dell:powerconnect:62xx"><font size="2">here</font></a><font size="2">.&#160; The instructions below will include how to install this.</font></p>
<p><font size="2"></font></p>
<p><font size="2"><strong><font size="3">Prepping SNMP on the switchgear          <br /></font></strong></font></p>
<p><font size="2">In the simplest of configurations (which I will show here), there really isn’t much to SNMP.&#160; For this scenario, one will be providing read-only access of SNMP via a shared community name. </font><font size="2">The monitoring VM will poll these devices and update the database accordingly.</font></p>
<p><font size="2">If your switchgear is isolated, as your SAN switchgear might be, then there are a few options to make the switches visible in the right way. Regardless of what option you use, the key is to make sure that your iSCSI storage traffic lives on a different VLAN from your management interface of the device.&#160; I outline a good way to do this at “</font><a href="http://vmpete.com/2011/06/26/reworking-my-powerconnect-6200-switches-for-my-iscsi-san/"><font size="2">Reworking my PowerConnect 6200 switches for my iSCSI SAN</font></a><font size="2">”</font></p>
<p><font size="2">There are a couple of options in connecting the isolated storage switches to gather SNMP data:&#160; </font></p>
<p><font size="2"><strong>Option 1:</strong>&#160; Connect a dedicated management port on your SAN switch stack back to your LAN switch stack.</font></p>
<p><font size="2"><strong>Option 2:</strong>&#160; Expose the SAN switch management VLAN using a port group on your iSCSI vSwitch.&#160; </font></p>
<p><font size="2">I prefer option 1, but regardless, if it is iSCSI switches you are dealing with, you will want to make sure that management traffic is on a different VLAN than your iSCSI traffic to maintain the proper isolation of iSCSI traffic.&#160; </font></p>
<p><font size="2">Once the communication is in place, just make a few changes to your PowerConnect switchgear.&#160; Note that community names are case sensitive, so decide on a name, and stick with it.</font></p>
<blockquote><p><font face="Courier New">enable</font></p>
<p><font face="Courier New">configure</font></p>
<p><font face="Courier New">snmp-server location &quot;Headquarters&quot;</font></p>
<p><font face="Courier New">snmp-server contact &quot;IT&quot;</font></p>
<p><font face="Courier New">snmp-server community mycompany ro ipaddress 192.168.10.12</font></p>
</blockquote>
<p><strong><font size="3">Monitoring VM – Pre Cacti configuration</font></strong>     <br /><font size="2">Perform the following steps on the VM you will be using to install Cacti.</font></p>
<p><font size="2">1.&#160; Install and configure SNMPD</font></p>
<blockquote><p><font face="Courier New">apt-get update</font></p>
<p><font face="Courier New">mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.old</font></p>
</blockquote>
<p><font size="2">2.&#160; Create a new <font face="Courier New">/etc/snmp/snmpd.conf</font> with the following contents:</font></p>
<blockquote><p><font face="Courier New">rocommunity mycompanyt</font></p>
<p><font face="Courier New">syslocation Headquarters</font></p>
<p><font face="Courier New">syscontact IT</font></p>
</blockquote>
<p><font size="2">3.&#160; Edit <font face="Courier New">/etc/default/snmpd</font> to allow snmpd to listen on all interfaces and use the config file.&#160; Comment out the first line below and replace it with the second line:</font></p>
<blockquote><p><font face="Courier New">SNMPDOPTS=&#8217;-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1&#8242;</font></p>
<p><font face="Courier New">SNMPDOPTS=&#8217;-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid -c /etc/snmp/snmpd.conf&#8217;</font></p>
</blockquote>
<p><font size="2">4.&#160; Restart the snmpd daemon.</font></p>
<blockquote><p><font face="Courier New">sudo /etc/init.d/snmpd restart</font></p>
</blockquote>
<p><font size="2">5.&#160; Install additional perl packages:</font></p>
<blockquote><p><font face="Courier New">apt-get install libsnmp-perl</font></p>
<p><font face="Courier New">apt-get install libnet-snmp-perl</font></p>
</blockquote>
<p><strong><font size="3">Monitoring VM – Cacti Installation</font></strong>     <br /><font size="2">6.&#160; Perform the following steps on the VM you will be using to install Cacti.</font></p>
<blockquote><p><font face="Courier New">apt-get update</font></p>
<p><font face="Courier New">apt-get install cacti</font></p>
</blockquote>
<p><font size="2">During the installation process, MySQL will be installed, and the installation will ask what you would like the MySQL root password to be. Then the installer will ask what you would like cacti&#8217;s MySQL password to be.&#160; Choose passwords as desired.</font></p>
<p><font size="2">Now, the Cacti installation is available via </font><font size="2"><a href="http://[cactiservername]/cacti">http://[cactiservername]/cacti</a> </font><font size="2">with a username and password of &quot;admin&quot; Cacti will now ask you to change the admin password.&#160; Choose whatever you wish.</font></p>
<p><font size="2">7.&#160; Download PowerConnect add-on from </font><a href="http://docs.cacti.net/usertemplate:host:dell:powerconnect:62xx"><font size="2">http://docs.cacti.net/usertemplate:host:dell:powerconnect:62xx</font></a><font size="2"> and unpack both zip files</font></p>
<p><font size="2">8.&#160; Import the host template via the GUI interface.&#160; Log into Cacti, and go to <strong>Console &gt; Import Templates</strong>, select the desired file (in this case, <font face="Courier New">cacti_host_template_dell_powerconnect_62xx_switch.xml</font>), and click <strong>Import</strong>.</font></p>
<p><font size="2">9.&#160; Copy the <font face="Courier New">62xx_cpu.pl</font> script into the Cacti script directory on server (<font face="Courier New">/usr/share/cacti/site/scripts</font>).&#160; This may need executable permissions.&#160; If you downloaded it to a Windows machine, but need to copy it to the Linux VM, </font><a href="http://winscp.net/eng/index.php"><font size="2">WinSCP</font></a><font size="2"> works nicely for this.</font></p>
<p><font size="2">10.&#160; Depending on how things were copied, there might be some line endings in the .pl file.&#160; You can clean up that <font face="Courier New">62xx_cpu.pl</font> file by running the following:</font></p>
<blockquote><p><font face="Courier New">dos2unix 62xx_cpu.pl</font></p>
</blockquote>
<p><font size="3"><strong>Using Cacti        <br /></strong></font><font size="2">You are now ready to run Cacti so that you can connect and monitor your devices. This example shows how to add the device to Cacti, then monitor CPU and a specific data port on the switch. </font></p>
<p><font size="2">1.&#160; Launch Cacti from your workstation by browsing out to <a href="http://[cactiservername]/cacti">http://[cactiservername]/cacti</a>&#160; and enter your credentials.</font></p>
<p><font size="2">2.&#160; Create a new Graph Tree via <strong>Console &gt; Graph Trees &gt; Add</strong>.&#160; You can call it something like “<strong>Switches</strong>” then click <strong>Create</strong>.</font></p>
<p><font size="2">3.&#160; Create a new device via <strong>Console &gt; Devices &gt; Add</strong>.&#160; Give it a friendly description, and the host name of the device.&#160; Enter the SNMP Community name you decided upon earlier.&#160; In my example above, I show the community name as being “mycompany” but choose whatever fits.&#160; Remember that community names are case sensitive.</font></p>
<p><font size="2">4.&#160; To create a graph for monitoring CPU of the switch, click <strong>Console &gt; Create New Graphs</strong>.&#160; In the host box, select the device you just added.&#160;&#160; In the “Create” box, select “<strong>Dell Powerconnect 62xx – CPU</strong>” and click <strong>Create</strong> to complete.</font></p>
<p><font size="2">5.&#160; To create a graph for monitoring a specific Ethernet port, click <strong>Console &gt; Create New Graphs</strong>.&#160; In the Host box, select the device you just added.&#160; Put a check mark next to the port number desired, and select <strong>In/Out bits with total bandwidth</strong>.&#160; Click <strong>Create</strong> <strong>&gt; Create</strong> to complete.&#160; </font></p>
<p><font size="2">6.&#160; </font><font size="2">To add the chart to the proper graph tree, click <strong>Console &gt; Graph Management</strong>.&#160; Put a check mark next to the Graphs desired, and change the “Choose and action” box to “<strong>Place on a Tree [Tree name]</strong>”</font></p>
<p><font size="2">Now when you click on Graphs, you will see your two items to be monitored </font></p>
<p><a href="http://itforme.files.wordpress.com/2013/04/image.png"><img title="image" style="background-image:none;padding-top:0;padding-left:0;display:inline;padding-right:0;border-width:0;" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/04/image_thumb.png?w=1003&#038;h=804" width="1003" height="804" /></a></p>
<p><font style="background-color:#ffffff;"></font><font size="2">By clicking on the magnifying glass icon, or by the “Graph Filters” near the top of the screen, one can easily zoom or zoom out to various sampling periods to suite your needs.<font style="background-color:#ffffff;"></font></font></p>
<p><font size="2"><font size="3"><strong>Conclusion</strong> </font>      <br /><font style="background-color:#ffff00;"></font></font><font size="2">Using SNMP and a tool like Cacti can provide historical performance data for non virtualized devices and systems in ways you’ve grown accustomed to in vSphere environments.&#160; How hard are your switches running?&#160; How much internet bandwidth does your organization use?&#160; This will tell you.&#160; </font><font size="2">Give it a try.&#160; You might be surprised at what you find.</font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itforme.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itforme.wordpress.com/384/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=384&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vmpete.com/2013/04/23/configuring-a-vm-for-snmp-monitoring-using-cacti/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0d169682a40f151448d92ac747bd3357?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ITforMe</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/04/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Vroom! Scaling up Virtual Machines in vSphere to meet performance requirements&#8211;Part 2</title>
		<link>http://vmpete.com/2013/03/11/vroom-scaling-up-virtual-machines-in-vsphere-to-meet-performance-requirementspart-2/</link>
		<comments>http://vmpete.com/2013/03/11/vroom-scaling-up-virtual-machines-in-vsphere-to-meet-performance-requirementspart-2/#comments</comments>
		<pubDate>Mon, 11 Mar 2013 19:35:53 +0000</pubDate>
		<dc:creator>vmPete</dc:creator>
				<category><![CDATA[Architecture/planning]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[code compiling]]></category>
		<category><![CDATA[Monster VMs]]></category>
		<category><![CDATA[NUMA]]></category>
		<category><![CDATA[vCPU]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">https://itforme.wordpress.com/?p=380</guid>
		<description><![CDATA[In my original post, Scaling up Virtual Machines in vSphere to meet performance requirements, I described a unique need for the Software Development Team to have a lot of horsepower to improve the speed of their already virtualized code compiling systems.&#160; My plan of attack was simple.&#160; Address the CPU bound systems with more powerful [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=380&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><font color="#000000" size="2">In my original post, </font><a href="http://vmpete.com/2012/12/18/vroom-scaling-up-virtual-machines-in-vsphere-to-meet-performance-requirements/"><font color="#0000ff" size="2"><strong>Scaling up Virtual Machines in vSphere to meet performance requirements</strong></font></a><font color="#000000" size="2">, I described a unique need for the Software Development Team to have a lot of horsepower to improve the speed of their already virtualized code compiling systems.&#160; My plan of attack was simple.&#160; Address the CPU bound systems with more powerful blades, and scale up the VMs accordingly.&#160; Budget constraints axed the storage array included in my proposal, and also kept this effort limited to keeping the same number of vSphere hosts for the task.&#160; </font></p>
<p><font color="#000000" size="2">The four new Dell M620 blades arrived and were quickly built up with vSphere 5.0 U2 (Enterprise Plus Licensing) with the <a href="http://vmpete.com/2012/09/20/multipathing-in-vsphere-with-the-dell-equallogic-multipathing-extension-module-mem/"><font color="#0000ff">EqualLogic MEM installed</font></a>.&#160; A separate cluster was created to insure all build systems were kept separate, and so that I didn’t have to mask any CPU features to make them work with previous generation blades.&#160; Next up was to make sure each build VM was running VM hardware level 8.&#160; Prior to vSphere 5, the guest VM was unaware of the NUMA architecture behind it.&#160; Without the guest OS understanding memory locality, one could introduce problems into otherwise efficient processes.&#160; While I could find no evidence that the compilers for either OS are NUMA aware, I knew the Operating Systems understood NUMA.</font></p>
<p><font color="#000000" size="2">Each build VM has a separate vmdk for its compiling activities.&#160; Their D:\ drive (or /home for Linux) is where the local sandboxes live.&#160; I typically have this second drive on a “Virtual Device Node” changed to something other than 0:x.&#160; This has proven beneficial in previous performance optimization efforts.</font></p>
<p><font color="#000000" size="2">I figured the testing would be somewhat trivial, and would be wrapped up in a few days.&#160; After all, the blades were purchased to quickly deliver CPU power for a production environment, and I didn’t want to hold that up.&#160; But the data the tests returned had some interesting surprises.&#160; It is not every day that you get to test 16vCPU VMs for a production environment that can actually use the power.&#160; My home lab certainly doesn’t allow me to do this, so I wanted to make this count.&#160; </font></p>
<p><font color="#000000" size="2"><strong><font size="3">Testing </font></strong>      <br />The baseline tests would be to run code compiling on two of the production build systems (one Linux, and the other Windows) on an old blade, then the same set with the same source code on the new blades.&#160; This would help in better understanding if there were speed improvements from the newer generation chips.&#160; Most of the existing build VMs are similar in their configuration.&#160; The two test VMs will start out with 4vCPUs and 4GB of RAM.&#160; Once the baselines were established, the virtual resources of each VM would be dialed up to see how they respond.&#160; The systems will be compiling the very same source code.</font></p>
<p><font color="#000000" size="2">For the tests, I isolated each blade so they were not serving up other needs.&#160; The test VMs resided in an isolated datastore, but lived on a group of EqualLogic arrays that were part of the production environment.&#160; Tests were run at all times during the day and night to simulate real world scenarios, as well as demonstrate any variability in SAN performance.</font></p>
<p><font color="#000000" size="2">Build times would be officially recorded in the Developers <a href="http://www.cdash.org/"><font color="#0000ff">Build Dashboard</font></a>.&#160; All resources would be observed in vSphere in real time, with screen captures made of things like CPU, disk and memory, and dumped into my favorite brain-dump application; Microsoft <a href="http://vmpete.com/2010/04/06/using-onenote-in-it/"><font color="#0000ff">OneNote</font></a>.&#160; I decided to do this on a whim when I began testing, but it immediately proved incredibly valuable later on as I found myself looking at dozens of screen captures constantly.</font></p>
<p><font color="#000000" size="2">The one thing I didn’t have&#160; time to test was the nearly limitless possible scenarios in which multiple monster VMs were contending for CPUs at the same time.&#160; But the primary interest for now was to see how the build systems scaled.&#160; I would then make my sizing judgments off of the results, and off of previous experience with smaller build VMs on smaller hosts.&#160; </font></p>
<p><font color="#000000" size="2">The <strong>[n/n]</strong> title of each test result column indicates the number of vCPUs followed by the amount of vRAM associated.&#160; </font><font color="#000000" size="2">Stacked bar graphs show a lighter color at the top of each bar.&#160; This indicates the difference in time between the best result and the worst result.&#160; The biggest factor of course would be the SAN.</font></p>
<p><font color="#000000"><font size="2"><strong><font size="3">Bottleneck cat and mouse</font>           <br /></strong>Performance testing is a great exercise for anyone, because it helps challenge your own assumptions on where the bottleneck really is.&#160; No resource lives as an island, and this project showcased that perfectly.&#160; Improving the performance of these CPU bound systems may very well shift the contention elsewhere.&#160; However, it may expose other bottlenecks that you were not aware of, as resources are just one element of bottleneck chasing.&#160; Applications and the Operating Systems they run on are not perfect, nor are the scripts that kick them off.&#160; Keep this in mind when looking at the results.</font></font></p>
<p><font color="#000000" size="2"><strong><font size="3">Test Results – Windows</font></strong>       <br />The following are test results are with Windows 7, running the Visual Studio Compiler.&#160; Showing three generations of blades.&#160; The Dell M600 (HarperTown), M610, (Nehalem), and M620 (SandyBridge).&#160; </font></p>
<p><font color="#000000" size="2"><strong>Comparing a Windows code compile across blades <u>without</u> any virtual resource modifications.</strong></font></p>
<p><a href="http://itforme.files.wordpress.com/2013/03/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb.png?w=464&#038;h=279" width="464" height="279" /></a></p>
<p><font color="#000000" size="2">Yes, that is right.&#160; The old M600 blades were that terrible when it came to running VMs that were compiling.&#160; This would explain the inconsistent build time results we had seen in the past.&#160; While there was improvement in the M620 over the M610s, the real power of the M620s is that they have double the number of physical cores (16) than the previous generations.&#160; Also noteworthy is the significant impact the SAN (up to 50%) was affecting the end result.&#160; </font></p>
<p><font color="#000000" size="2"><strong>Comparing a Windows code compile on new blade, but scaling up virtual resources</strong></font></p>
<p><a href="http://itforme.files.wordpress.com/2013/03/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb1.png?w=460&#038;h=283" width="460" height="283" /></a></p>
<p><font color="#000000" size="2">Several interesting observations about this image (above).&#160; </font></p>
<ul>
<li><font color="#000000" size="2">When the SAN can’t keep up, it can easily give back the improvements made in raw compute power. </font></li>
<li><font color="#000000" size="2">Performance degraded when compiling with more than 8vCPUs.&#160; It was so bad that I quit running tests when it became clear they weren’t compiling efficiently (which is why you do not see SAN variability when I started getting negative returns) </font></li>
<li><font color="#000000" size="2">Doubling the vCPUs from 4 to 8, and the vRAM from 4 to 8 only improved the build time by about 30%, even though the compile showed nearly perfect multithreading (shown below) and 100% CPU usage.&#160; Why the degradation?&#160; Keep reading! </font></li>
</ul>
<p><a href="http://itforme.files.wordpress.com/2013/03/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb2.png?w=1108&#038;h=302" width="1108" height="302" /></a> </p>
<ul><font color="#000000" size="2">On a different note, it was becoming quite clear already I needed to take a little corrective action in my testing.&#160; The SAN was being overworked at all times of the day, and it was impacting my ability to get accurate test results in raw compute power.&#160; The more samples I ran the more consistent the inconsistency was.&#160; Each of the M620’s had a 100GB SSD, so I decided to run the D:\ drive (where the build sandbox lives) on there to see a lack of storage contention impacted times.&#160; The purple line indicates the build times of the given configuration, but with the D:\ drive of the VM living on the local SSD drive.</font></ul>
<p> <a href="http://itforme.files.wordpress.com/2013/03/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb3.png?w=462&#038;h=283" width="462" height="283" /></a>
<ul><font color="#000000"></font></ul>
<p><font color="#000000" size="2">The difference between a slow run on the SAN and a run with faster storage was spreading.</font></p>
<p><font color="#000000"></font></p>
<p><font size="2"><font color="#000000"><font size="3"><strong>Test Results – Linux</strong>           <br /></font></font><font color="#000000">The following are test results are with Linux, running the GCC compiler. Showing three generations of blades.&#160; The Dell M600 (HarperTown), M610, (Nehalem), and M620 (SandyBridge). </font></font></p>
<p><font color="#000000" size="2"><strong>Comparing a Linux code compile across blades <u>without</u> any virtual resource modifications.</strong></font></p>
<p><a href="http://itforme.files.wordpress.com/2013/03/image4.png"><font size="2"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb4.png?w=454&#038;h=279" width="454" height="279" /></font></a></p>
<p><font color="#000000" size="2">The Linux compiler showed a a much more linear improvement, along with being faster than it’s Windows counterpart.&#160; Noticeable improvements across the newer generations of blades, with no modifications in virtual resources.&#160; However, the margin of variability from the SAN is a concern.</font></p>
<p><font color="#000000" size="2"><strong>Comparing a Linux code compile on new blade, but scaling up virtual resources</strong></font></p>
<p><a href="http://itforme.files.wordpress.com/2013/03/image5.png"><font size="2"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb5.png?w=463&#038;h=278" width="463" height="278" /></font></a></p>
<p><font color="#000000" size="2">At first glance it looks as if the Linux GCC compiler scales up well, but not in a linear way.&#160; But take a look at the next graph, where similar to the experiment with the Windows VM, I changed the location of the vmdk file used for the /home drive (where the build sandbox lives) over to the local SSD drive.</font></p>
<p><a href="http://itforme.files.wordpress.com/2013/03/image6.png"><font size="2"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb6.png?w=456&#038;h=281" width="456" height="281" /></font></a></p>
<p><font color="#000000" size="2">This shows very linear scalability with Linux and a GCC compiler.&#160; A 4vCPU with 4GB RAM was able to compile 2.2x faster with 8vCPUs and 8GB of RAM.&#160; Total build time was just 12 minutes.&#160; Triple the virtual resources to 12/12, and it is an almost linear 2.9x faster than the original configuration.&#160; Bump it up to 16vCPUs, and diminishing returns begin to show up, where it is 3.4x faster than the original configuration.&#160; I suspect crossing NUMA nodes and the architecture of the code itself was impacting this a bit.&#160; Although, don’t lose sight of the fact that a&#160; build that could take up to 45 minutes on the old configuration took only 7 minutes with 16vCPUs.</font></p>
<p><font color="#000000" size="2">The big takeaways from these results are the differences in scalability in compilers, and how overtaxed the storage is.&#160; Lets take a look at each one of these.</font></p>
<p><font color="#000000"><strong><font size="3">The compilers</font></strong>       <br /><font size="2">Internally it had long been known that Linux compiled the same code faster than Windows.&#160; Way faster.&#160; But for various reasons it had been difficult to pinpoint why.&#160; The data returned made it obvious.&#160; It was the compiler.</font></font></p>
<p><a href="http://itforme.files.wordpress.com/2013/03/image7.png"><font color="#000000" size="2"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb7.png?w=458&#038;h=278" width="458" height="278" /></font></a></p>
<p><font color="#000000" size="2">While it was clear that the real separation in multithreaded compiling occurred after 8vCPUs, the real problem with the Windows Visual Studio compiler begins after 4vCPUs.&#160; This surprised me a bit because when monitoring the vCPU usage (in stacked graph format) in vCenter, it was using every CPU cycle given to it, and multithreading quite evenly.&#160; The testing used Visual Studio 2008, but I also tested newer versions of Visual Studio, with nearly the same results.&#160; </font></p>
<p><font color="#000000" size="2"><strong><font size="3">Storage</font></strong>       <br />The original proposal included storage to support the additional compute horsepower.&#160; The existing set of arrays had served our needs very well, but were really targeted at general purpose I/O needs with a focus of capacity in mind.&#160; During the budget review process, I had received many questions as to why we needed a storage array.&#160; Boiling it down to even the simplest of terms didn’t allow for that line item to survive the last round of cuts.&#160; Sure, there was a price to pay for the array, but the results show there is a price to pay for not buying the array.</font></p>
<p><font color="#000000" size="2">I knew storage was going to be an issue, but when contention occurs, its hard to determine how much of an impact it will have.&#160; Think of a busy freeway, where throughput is pretty easy to predict up to a certain threshold.&#160; Hit critical mass, and predicting commute times becomes very difficult.&#160; Same thing with storage.&#160; But how did I know storage was going to be an issue?&#160; The free tool provided to all Dell EqualLogic customers; <a href="http://www.dell.com/downloads/global/products/pvaul/en/equallogic-san-headquarters.pdf"><font color="#0000ff">SAN HQ</font></a>.&#160; This tool has been a trusted resource for me <a href="http://vmpete.com/2011/01/28/how-i-use-dellequallogics-sanhq-in-my-environment/"><font color="#0000ff">in the past</font></a>, and removes ALL speculation when it comes to historical usage of the arrays, and other valuable statistics.&#160; IOPS, read/write ratios, latency etc.&#160; You name it.&#160; </font></p>
<p><font color="#000000" size="2"><strong>Historical data of Estimated Workload over the period of 1 month</strong></font></p>
<p><a href="http://itforme.files.wordpress.com/2013/03/image8.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb8.png?w=989&#038;h=265" width="989" height="265" /></a></p>
<p><font color="#000000" size="2"><strong>Historical data of Estimated Workload over the period of 12 months</strong></font></p>
<p><a href="http://itforme.files.wordpress.com/2013/03/image9.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb9.png?w=981&#038;h=270" width="981" height="270" /></a></p>
<p><font color="#000000" size="2">Both images show that with the exception of weekends, the SAN arrays are maxed out to 100% of their estimated workload.&#160; The overtaxing shows up on the lower part of each screen capture the read and writes surpassing the brown line indicating the estimated maximum IOPS of the array.&#160; The 12 month history showed that our storage performance needs were trending upward.</font></p>
<p><font color="#000000" size="2">Storage contention and how it relates to used CPU cycles is also worth noting.&#160; Look at how inadequate storage I/O influences compute. The image below shows the CPU utilization for one of the Linux builds using 8vCPUs and 8GB RAM when the /home drive was using fast storage (the local SSD on the vSphere host)</font></p>
<p><a href="http://itforme.files.wordpress.com/2013/03/image10.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb10.png?w=803&#038;h=345" width="803" height="345" /></a></p>
<p><font color="#000000" size="2">Now look at the same build when running&#160; against a busy SAN array.&#160; It completely changes the CPU usage profile, and thus <strong>took 46% longer to complete</strong>.</font></p>
<p><a href="http://itforme.files.wordpress.com/2013/03/image11.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/03/image_thumb11.png?w=811&#038;h=310" width="811" height="310" /></a></p>
<p><font color="#000000" size="2"><strong><font size="3">General Observations and lessons</font></strong>       <br /></font></p>
<ul>
<li><font color="#000000" size="2">If you are running any hosts using pre-Nehalem architectures, now is a good time to question why. They may not be worth wasting vSphere licensing on. The core count and architectural improvements on the newer chips put the nails in the coffin on these older chips. </font></li>
<li><font color="#000000" size="2">Storage Storage Storage. If you have CPU intensive operations, deal with the CPU, but don’t neglect storage. The test results above demonstrate how one can easily give back the <strong>entire</strong> amount of performance gains in CPU by not having storage performance to support it. </font></li>
<li><font color="#000000" size="2">Giving a Windows code compiling VM a lot of CPU, but not increasing the RAM seemed to make the compiler trip on it’s own toes.&#160; This makes sense, as more CPUs need more memory addresses to work with.&#160; </font></li>
<li><font color="#000000" size="2">The testing showcased another element of virtualization that I love. It often helps you understand problems that you might otherwise be blind to. After establishing baseline testing, I noticed some of the Linux build systems were not multithreading the way they should. Turns out it was some scripting errors by our Developers. Easily corrected. </font></li>
</ul>
<p><font color="#000000" size="2"><strong><font size="3">Conclusion</font></strong>       <br />The new Dell M620 blades provided an immediate performance return.&#160; All of the build VMs have been scaled up to 8vCPUs and 8GB of RAM to get the best return while providing good scalability of the cluster.&#160; Even with that modest doubling of virtual resources, we now have nearly 30 build VMs that when storage performance is no longer an issue, will run between 4 and 4.3 times faster than the same VMs on the old M600 blades.&#160; The primary objective moving forward is to target storage that will adequately support these build VMs, as well as looking into ways to improve multithreaded code compiling in Windows.</font></p>
<p><font color="#000000"><font size="3"><strong>Helpful Links</strong></font>       <br /><font size="2">Kitware blog post on multithreaded code compiling options</font></font>     <br /><a title="http://www.kitware.com/blog/home/post/434" href="http://www.kitware.com/blog/home/post/434"><font size="2">http://www.kitware.com/blog/home/post/434</font></a></p>
<p><font color="#000000" size="2"></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itforme.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itforme.wordpress.com/380/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=380&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vmpete.com/2013/03/11/vroom-scaling-up-virtual-machines-in-vsphere-to-meet-performance-requirementspart-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0d169682a40f151448d92ac747bd3357?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ITforMe</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/03/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Using a Synology NAS as an emergency backup DNS server for vSphere</title>
		<link>http://vmpete.com/2013/01/22/using-a-synology-nas-as-an-emergency-backup-dns-server-for-vsphere/</link>
		<comments>http://vmpete.com/2013/01/22/using-a-synology-nas-as-an-emergency-backup-dns-server-for-vsphere/#comments</comments>
		<pubDate>Tue, 22 Jan 2013 13:55:00 +0000</pubDate>
		<dc:creator>vmPete</dc:creator>
				<category><![CDATA[Architecture/planning]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Synology]]></category>

		<guid isPermaLink="false">https://itforme.wordpress.com/?p=353</guid>
		<description><![CDATA[Powering up a highly virtualized infrastructure can sometimes be an interesting experience.&#160; Interesting in that “crossing-the-fingers” sort of way.&#160; Maybe it&#8217;s an outdated run book, or an automated power-on of particular VMs that didn’t occur as planned.&#160; Sometimes it is nothing more than a lack of patience between each power-on/initialization step.&#160; Whatever the case, if [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=353&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><font size="2">Powering up a highly virtualized infrastructure can sometimes be an interesting experience.&#160; Interesting in that “crossing-the-fingers” sort of way.&#160; Maybe it&#8217;s an outdated run book, or an automated power-on of particular VMs that didn’t occur as planned.&#160; Sometimes it is nothing more than a lack of patience between each power-on/initialization step.&#160; Whatever the case, if it is a production environment, there is at least a modest amount of anxiety that goes along with this task.&#160; How often does this even happen?&#160; For those who have extended power outages, far too often.</font></p>
<p><font size="2">One element that can affect power-up scenarios is availability of DNS.&#160; A funny thing happens though when everything is virtualized.&#160; Equipment that powers the infrastructure may need DNS, but DNS is inside of the infrastructure that needs to be powered up.&#160; A simple way around this circular referencing problem is to have another backup DNS server that supplements your normal DNS infrastructure.&#160; This backup DNS server acts as a slave to the server having authoritative control for that DNS zone, and would handle at minimum recursive DNS queries for critical infrastructure equipment, and vSphere hosts.&#160; While all production systems would use your normal primary and secondary DNS, this backup DNS server could be used as the <u>secondary</u> name server a few key components:</font></p>
<ul>
<li><font size="2">vSphere hosts </font></li>
<li><font size="2">Server and enclosure Management for IPMI or similar side-band needs </font></li>
<li><font size="2">Monitoring nodes </font></li>
<li><font size="2">SAN components</font> (optional) </li>
<li><font size="2">Switchgear (optional)</font> </li>
</ul>
<p><font size="2">vSphere certainly isn’t as picky as it once was when it comes to DNS.&#160; Thank goodness.&#160; But guaranteeing immediate availability of name resolution will help your environment during these planned, or unplanned power-up scenarios.&#160; Those that do not have to deal with this often have at least one physical Domain Controller with integrated DNS in place.&#160; That option is fine for many organizations, and certainly accomplishes more than just availability of name resolution.&#160; AD design is a pretty big subject all by itself, and way beyond the scope of this post.&#160; But r</font><font size="2">unning a spare physical AD server isn’t my favorite option for a number of different reasons, especially for smaller organizations.&#160; Some folks way smarter than me might disagree with my position.&#160; Here are a few reasons why it isn’t my preferred option.</font></p>
<ul>
<li><font size="2">One may be limited in Windows licensing </font></li>
<li><font size="2">There might be limited availability of physical enterprise grade servers. </font></li>
<li><font size="2">One may have no clue as to if, or how a physical AD server might fit into their DR strategy. </font><font size="2"></font></li>
</ul>
<p><font size="2">As time marches on, I also have a feeling that this approach will be falling out of favor anyway.&#160; During a breakout session for optimizing virtualized AD infrastructures at the 2012 VMWorld, it was interesting to hear that the VMware Mothership still has some physical AD servers running the PDCe role.&#160; However, they were actively in the process of eliminating this final, physical element, and building recommendations around doing so.&#160; And lets face it, a physical DC doesn’t align with the vision of elastic, virtualized datacenters anyway.</font></p>
<p><font size="2">To make DNS immediately available during these power-up scenarios, the prevailing method in the “Keep it Simple Stupid” category has been running a separate physical DNS server.&#160; Either a Windows member server with a DNS role, or a Linux server with BIND.&#160; But it is a physical server, and us virtualization nuts hate that sort of thing.&#160; But wait!&#160; …There is one more option.&#160; Use your Synology NAS as an emergency backup DNS server.&#160; The intention of this is not to supplant your normal DNS infrastructure. it’s simply to help a few critical pieces of equipment start up. </font></p>
<p><font size="2">The latest version of Synology’s DSM (4.1) comes with a beta version of a DNS package.&#160; It is pretty straight forward, but I will walk you through the steps of setting it up anyway. </font></p>
<p align="left"><font size="2">1.&#160; Verify that your Windows DNS servers allow to transfer to the IP address of the NAS.&#160; Jump into the Windows Server DNS MMC snap in, highlight the zone you want to setup a zone transfer to, and click properties.&#160; Add or verify that the settings allow a zone transfer to the new slave server </font></p>
<p align="left"><font size="2">2.&#160; In the Synology DSM, open the Package Center, and install DNS package. </font></p>
<p align="left"><font size="2">3.&#160; Enable Synology DSM Firewall to allow for DNS traffic.&#160; In the Synology DSM, open the <strong>Control Panel &gt; Firewall</strong>.&#160; Highlight the interface desired, and click <strong>Create</strong>.&#160; Choose “<strong>Select from a built in list of applications</strong>” and choose “<strong>DNS Server</strong>”&#160; Save the rule, and exit out of the Firewall application. </font></p>
<p align="left"><font size="2">4.&#160; Open up “<strong>DNS Server</strong>” from the Synology launch menu. </font></p>
<p align="left"><a href="http://itforme.files.wordpress.com/2013/01/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/01/image_thumb.png?w=112&#038;h=103" width="112" height="103" /></a></p>
<p align="left"><font size="2">5.&#160; Click on “<strong>Zones</strong>” and click <strong>Create &gt; Slave Zone.</strong>&#160; Choose a <strong>“Forward Zone”</strong> type, and select the desired domain name, and Master DNS server </font></p>
<p align="left"><a href="http://itforme.files.wordpress.com/2013/01/image4.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/01/image4_thumb.png?w=624&#038;h=370" width="624" height="370" /></a></p>
<p align="left"><font size="2">6.&#160; Verify the population of recourse records by selecting the new zone, clicking <strong>Edit &gt; Resource Records</strong>. </font></p>
<p align="left"><a href="http://itforme.files.wordpress.com/2013/01/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/01/image_thumb1.png?w=624&#038;h=292" width="624" height="292" /></a></p>
<p align="left"><font size="2">7.&#160; If you want, or need to have this forward DNS requests, enable the forwarders checkbox. (In my Home Lab, I enable this.&#160; In my production environment, I do not)</font></p>
<p align="left"><a href="http://itforme.files.wordpress.com/2013/01/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/01/image_thumb2.png?w=624&#038;h=289" width="624" height="289" /></a></p>
<p align="left"><font size="2">8.&#160; Complete the configuration, and test with a client using this IP address only for DNS, simply to verify that it is operating correctly.&#160; Then, go back and tighten up some of the security mechanisms as you see fit.&#160; Once that is completed, jump back into your ESXi hosts (and any other equipment) and configure your secondary DNS to use this server.</font></p>
<p align="left"><a href="http://itforme.files.wordpress.com/2013/01/image3.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2013/01/image_thumb3.png?w=581&#038;h=283" width="581" height="283" /></a></p>
<p> <strong></strong>
<p><font size="2">In my case, I had my Synology NAS to try this out in my home lab, as well as newly deployed unit at work (serving the primary purpose of a Veeam backup target).&#160; In both cases, it has worked exactly as expected, and allowed me to junk an old server at work running BIND.</font></p>
<p><font size="2">If the NAS lived on an isolated storage network that wasn’t routable, then this option wouldn’t work, but if you have one living on a routable network somewhere, then it’s a great option.&#160; The arrangement simplifies the number of components in the infrastructure while insuring service availability.</font></p>
<p><font size="2">Even if you have multiple internal zones, you may want to have this slave server only handling your primary zone.&#160; No need to make it more complicated than it needs to be.&#160; You also may choose to set up the respective reverse lookup zone as a slave.&#160; Possible, but not necessary for this purpose.</font></p>
<p><font size="2">There you have it.&#160; Nothing ground breaking, but a simple way to make a more resilient environment during power-up scenarios.</font></p>
<p><font size="2"></font></p>
<p><font size="4"><strong>Helpful Links:</strong></font></p>
<p><font size="2">VMWorld 2012.&#160; Virtualizing Active Directory Best Practices (APP-BCA1373).&#160; (Accessible by VMWorld attendees only)      <br /></font><a title="http://www.vmworld.com/community/sessions/2012/" href="http://www.vmworld.com/community/sessions/2012/"><font size="2">http://www.vmworld.com/community/sessions/2012/</font></a><font size="2">      <br /></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itforme.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itforme.wordpress.com/353/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=353&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vmpete.com/2013/01/22/using-a-synology-nas-as-an-emergency-backup-dns-server-for-vsphere/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0d169682a40f151448d92ac747bd3357?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ITforMe</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/01/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/01/image4_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/01/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/01/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2013/01/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Vroom! Scaling up Virtual Machines in vSphere to meet performance requirements</title>
		<link>http://vmpete.com/2012/12/18/vroom-scaling-up-virtual-machines-in-vsphere-to-meet-performance-requirements/</link>
		<comments>http://vmpete.com/2012/12/18/vroom-scaling-up-virtual-machines-in-vsphere-to-meet-performance-requirements/#comments</comments>
		<pubDate>Tue, 18 Dec 2012 14:06:00 +0000</pubDate>
		<dc:creator>vmPete</dc:creator>
				<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Dell blades]]></category>
		<category><![CDATA[NUMA]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[vCPU]]></category>

		<guid isPermaLink="false">https://itforme.wordpress.com/?p=334</guid>
		<description><![CDATA[A typical conversation with one of our Developers goes like this.&#160; “Hey, that new VM you gave us is great, but can you make it say, 10 times faster?”&#160;&#160; Another day, and another request by our Development Team to make our build infrastructure faster.&#160; What is a build infrastructure, and what does it have to [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=334&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://itforme.files.wordpress.com/2012/12/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;float:right;padding-top:0;border-width:0;" title="image" border="0" alt="image" align="right" src="http://itforme.files.wordpress.com/2012/12/image_thumb.png?w=300&#038;h=168" width="300" height="168" /></a></p>
<p><font size="2">A typical conversation with one of our Developers goes like this.&#160; <em>“Hey, that new VM you gave us is great, but can you make it say, 10 times faster?”</em>&#160;&#160; Another day, and another request by our Development Team to make our build infrastructure faster.&#160; What is a build infrastructure, and what does it have to do with vSphere?&#160; I’ll tell you…</font></p>
<p><font size="2">Software Developers have to compile, or “build” their source code before it is really usable by anyone. Compiling can involve just a small bit of code, or millions of lines. Developers will often perform builds on their own workstations, as well as designated “build” systems. These dedicated build systems are often part of a farm of systems that are churning out builds by fixed schedule, or on demand.&#160; Each might be responsible for different products, platforms, versions, or build purposes.&#160; </font><font size="2">This can result in dozens of build machines.&#160; Most of this is orchestrated by a lot of scripting or build automation tools.&#160; This type of practice is often referred to as Continuous Integration (CI), and are all driven off of Test Driven Development and Lean/Agile Development practices.</font></p>
<p><font size="2">In the software world, waiting for builds is wasting money. Slower turn around time, and longer cycles leave less time or willingness to validate that changes to the code didn’t’ break anything.&#160; So there is a constant desire to make all of this faster.</font></p>
<p><font size="2">Not long after I started virtualizing our environment, I demonstrated the benefits of virtualizing our build systems. Often times the physical build systems were on tired old machines lacking uniformity, protection, revision control, or performance monitoring. That is not exactly a desired recipe for business critical systems. We have benefited in so many ways with these systems being virtualized. Whether it is cloning a system in just a couple of minutes, or knowing they replicated offsite without even thinking about it.&#160; </font></p>
<p><font size="2">But one problem. Code compiling takes CPU. <strong>Massive amounts of it.</strong> It has been my observation that nothing makes better use of parallelizing with multiple cores better than compilers.&#160; Many applications simply aren’t able to multi-thread, while other applications can, but don’t do it very well &#8211; including well known enterprise application software.&#160; Throw the right command line switch on a compiler, and it will peg out your latest rocket of a workstation.</font></p>
<p><font size="2">Take a look below.&#160; This is a 4vCPU VM.&#160; That solid line pegged at 100% nearly the entire time is pretty much the way the system will run during the compile.&#160; There are exceptions, as tasks like linking are single threaded.&#160; What you see here can go on for hours at a time.</font></p>
<p><a href="http://itforme.files.wordpress.com/2012/12/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2012/12/image_thumb3.png?w=644&#038;h=375" width="644" height="375" /></a></p>
<p><font size="2"></font></p>
<p><font size="2">This is a different view of that same VM above, showing a nearly perfect distribution of threading across the vCPUs assigned to the VM.</font></p>
<p><a href="http://itforme.files.wordpress.com/2012/12/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2012/12/image4_thumb.png?w=644&#038;h=413" width="644" height="413" /></a></p>
<p><font size="2">So, as you can see, the efficiency of the compilers actually present a bit of a problem in the virtualized world.&#160; Lets face it, one of the values virtualization provides is the unbelievable ability to use otherwise wasted CPU cycles for other systems that really need it.&#160; But what happens if you really need it?&#160; Well, consolidation ratios go down, and sizing becomes really important.</font></p>
<p><font size="2">Compiling from source code can involve handling literally millions of little tiny files.&#160; You might think there is a ton of disk activity.&#160; There certainly can be I/O, but it is rarely disk bound.&#160; This stuck out loud and clear after some of the Developer’s physical workstations had SSDs installed.&#160; <a href="http://vmpete.com/2012/11/01/ssds-in-the-workplace-trust-but-verify/">After an initial hiccup with some bad SSDs</a>, further testing showed almost no speed improvement.&#160; Looking at some of the performance data on those workstations showed that SSDs had no affect because the systems were always CPU bound.</font></p>
<p><font size="2">Even with the above, some evidence suggests that the pool of Dell EqualLogic arrays (PS6100 and PS600) used in this environment were nearing their performance thresholds.&#160; Ideally, I would like to incorporate the EqualLogic hybrid array.&#160; The SSD/SAS combo would give me the IOPS needed if I started running into I/O issues.&#160; Unfortunately, I have to plan for incorporating this into the mix perhaps a bit later in the year.</font></p>
<p><font size="2">RAM for each build system is a bit more predictable.&#160; Most systems are not memory hogs when compiling.&#160; 4 to 6 Gigabytes of RAM used during a build is quite typical.&#160; Linux has a tendency to utilize it more if it has it available, especially when it comes to file IO.</font></p>
<p><font size="2">The other variable is the compiler.&#160; Windows platforms may use something like Visual Studio, while Linux will use a GCC compiler.&#160; The differences in performance can be startling.&#160; Compile the exact same source code on two machines with the exact same specs, with one running Windows/Visual Studio, and the other running Linux/GCC, and the Linux machine will finish the build in 1/3rd the time.&#160; I can’t do anything about that, but it is a worthy data point when trying to speed up builds.</font></p>
<p><font size="2"><strong><font size="3">The Existing Arrangement</font></strong>       <br />All of the build VMs (along with the rest of the VMs) currently run in a cluster of 7 Dell M6xx blades inside a Dell M1000e enclosure.&#160; Four of them are Dell M600s with dual socket, Harper Town based chips.&#160; Three others are Dell M610s running Nehalem chips.&#160; The Harper Town chips didn’t support hyper threading, so in vSphere, that means it will see just a total of 8 logical cores.&#160; The Nehalem based systems show 16 logical cores.</font></p>
<p><font size="2">All of the build systems (25 as of right now, running a mix of Windows and Linux) run no greater than 4vCPUs.&#160; I’ve held firm on this limit of going no greater than 50% of the total physical core count of a host.&#160; I’ve gotten some heat from it, but I’ve been rewarded with very acceptable CPU Ready times.&#160; After all, this cluster had to support the rest of our infrastructure as well.&#160; By physical workstation standards (especially expensive Development workstations), they are pathetically slow.&#160; Time to do something about it.</font></p>
<p><strong><font size="3">The Plan        <br /></font></strong><font size="2">The plan is simple.&#160; Increase CPU resources.&#160; For the cluster, I could either scale up (bigger hosts) or scale out (more hosts).&#160; In my case, I was really limited on the capabilities on the host, plus, I wanted to refrain from buying more vSphere licenses unless I had to, so it was well worth it to replace the 4 oldest M600 blades (using Intel Harper Town chips).&#160; The new blades, which will be Dell M620s, will have 192GB of RAM versus just 32GB in the old M600s.&#160; And lastly, in order to take advantage of some of the new chip architectures in the new blades, I will be splitting this off into a dedicated 4 host cluster.</font></p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="133">&#160;</td>
<td valign="top" width="133"><strong>New M620 Blades </strong></td>
<td valign="top" width="133"><strong>Old M600 Blades</strong></td>
</tr>
<tr>
<td valign="top" width="133">Chip</td>
<td valign="top" width="133">Intel Xeon E5-2680</td>
<td valign="top" width="133">Intel Xeon E5430</td>
</tr>
<tr>
<td valign="top" width="133">Clock Speed</td>
<td valign="top" width="133">2.7GHz (or faster)</td>
<td valign="top" width="133">2.66GHz</td>
</tr>
<tr>
<td valign="top" width="133"># of physical cores</td>
<td valign="top" width="133">16</td>
<td valign="top" width="133">8</td>
</tr>
<tr>
<td valign="top" width="133"># of logical cores</td>
<td valign="top" width="133">32</td>
<td valign="top" width="133">8</td>
</tr>
<tr>
<td valign="top" width="133">RAM</td>
<td valign="top" width="133">192 GB</td>
<td valign="top" width="133">32 GB</td>
</tr>
</tbody>
</table>
<p><font size="2">The new blades will have dual 8 core Sandy Bridge processors, giving me 16 physical cores, and 32 logical cores with hyper threading for each host. This is double the physical cores, and 4 times the logical cores against the older hosts. I will also be paying the premium price for clock speed. I rarely get the fastest clock speed of anything, but in this case, it can truly make a difference.</font></p>
<p><font size="2">I have to resist throwing in the blades and just turning up the dials on the VMs.&#160; I want to understand to what level I will be getting the greatest return.&#160; I also want to see to what level does the dreaded CPU Ready value start cranking up.&#160; I’m under no illusion that a given host only has so many CPU cycles, no matter how powerful it is.&#160; But in this case, it might be worth tolerating some degree of contention if it means that the majority of time it finishes the builds some measurable amount faster.</font></p>
<p><font size="2">So how powerful can I make these VMs?&#160; Do I dare go past 8 vCPUs?&#160; 12 vCPUs?&#160; How about 16?&#160; Any guesses?&#160; What about NUMA, and the negative impact that might occur if one goes beyond a NUMA node?&#160; Stay tuned!&#160; …I intend to find out.&#160; </font></p>
<p><font size="2"></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itforme.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itforme.wordpress.com/334/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=334&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vmpete.com/2012/12/18/vroom-scaling-up-virtual-machines-in-vsphere-to-meet-performance-requirements/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0d169682a40f151448d92ac747bd3357?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ITforMe</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2012/12/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2012/12/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2012/12/image4_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>SSDs in the workplace. Trust, but verify</title>
		<link>http://vmpete.com/2012/11/01/ssds-in-the-workplace-trust-but-verify/</link>
		<comments>http://vmpete.com/2012/11/01/ssds-in-the-workplace-trust-but-verify/#comments</comments>
		<pubDate>Thu, 01 Nov 2012 13:04:00 +0000</pubDate>
		<dc:creator>vmPete</dc:creator>
				<category><![CDATA[Architecture/planning]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SSD SATA IOPS MBps]]></category>

		<guid isPermaLink="false">https://itforme.wordpress.com/?p=312</guid>
		<description><![CDATA[Most of my interests, duties, and responsibilities surround infrastructure.&#160; Virtualization, storage, networking, and the architecture of it all.&#160; Ask me about the latest video card out there, and not only will I probably not know about it, I might not care.&#160; Eventually problems crop up on the desktop though, and the hands have to get [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=312&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><font size="2">Most of my interests, duties, and responsibilities surround infrastructure.&#160; Virtualization, storage, networking, and the architecture of it all.&#160; Ask me about the latest video card out there, and not only will I probably not know about it, I might not care.&#160; Eventually problems crop up on the desktop though, and the hands have to get dirty.&#160; This happened to me after some issues arose over recently purchased SSD drives. </font></p>
<p><font size="2">The Development Team wanted SSDs to see if they could make their high end workstations compile code faster.&#160; Sounded reasonable to me, but the capacity and price point just hadn’t been there until recently.&#160; When it was decided to move forward on the experiment, my shortlist of recommended drives was very short.&#160; I specifically recommended the Crucial M4 line of SSDs.&#160; There are a number of great SSD drives out there, but the M4 has a good reputation, and also sits in my workstation, my laptop, and my NAS in my home lab.&#160; I was quite familiar with the performance numbers they were capable of.</font></p>
<p><font size="2">It didn’t take long to learn that that through a series of gaffes, what was ultimately ordered, delivered, and installed on those Developer workstations were <u>not</u> the Crucial M4 SSD drives that have such a good reputation, but the Crucial V4 drives.&#160; The complaints were quite startling.&#160; Code compile times increasing significantly.&#160; In fact, more than doubling over their spinning disk counterparts.&#160; When you have cries to bring back the 7200RPM SATA drives, there must be a problem.&#160;&#160; It was time to jump into the fray to see what was up.&#160; The first step was to simply verify that the disks were returning expected results.&#160; </font></p>
<p><font size="2"><strong><font size="4">The testing</font></strong>       <br />I used the venerable Iometer for testing, and set it to the following conditions.</font></p>
<p> <font size="2">
<ul>
<li>Single Worker, running for 5 minutes </li>
<li>80000000 Sectors </li>
<li>64 Outstanding I/Os </li>
<li>8KB block size </li>
<li><font size="2">35% write / 65% read</font> </li>
<li><font size="2">60% random / 40% sequential</font> <font size="2"></font></li>
</ul>
<ul><font size="2">Each test was run three times, then averaged. Just like putting a car on a Dyno to measure horsepower, the absolute numbers generated was not of tremendous interest to me. Environmental conditions can affect this too much.&#160; I was looking at how these performance numbers related to each other. </font></ul>
<p> </font>
<p><font size="2">For the sake of clarity, I’ve simplified the list of test systems to the following:</font> </p>
<ul>
<li><font size="2">PC1 = New Dell Precision M6600 laptop.&#160; Includes Crucial M4 SSD and 7200 RPM SATA drive</font> </li>
<li><font size="2">PC2 = Older Dell Precision T3400 workstation.&#160; Includes Crucial V4 SSD and 7200&#160; RPM SATA drive</font> </li>
<li><font size="2">PC3 = New Dell Precision T5500 workstation.&#160; Includes Crucial V4 SSD and 7200 RPM SATA drive</font> </li>
<li><font size="2">VM = A VM in a vSphere 5.0 cluster against an EqualLogic PS6100 array with 7200 RPM SATA drives</font> <font size="2"></font></li>
</ul>
<ul><font size="2">I also tested under different settings (block sizes, etc.), but the results were pretty consistent.&#160; Something was terribly wrong with the Crucial V4 SSDs. Or, they were just something terrible.</font></ul>
<p><font size="2"></font></p>
<p><font size="4"><strong>The results        <br /></strong></font><font size="2">Here are the results. </font></p>
<p><font size="2">For the first two charts, the <strong>higher</strong> the number, the better.</font></p>
<p><a href="http://itforme.files.wordpress.com/2012/11/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2012/11/image_thumb.png?w=618&#038;h=373" width="618" height="373" /></a></p>
<p><a href="http://itforme.files.wordpress.com/2012/11/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2012/11/image_thumb1.png?w=617&#038;h=368" width="617" height="368" /></a></p>
<p>For the next two charts, the <strong>lower</strong> the number, the better</p>
<p><a href="http://itforme.files.wordpress.com/2012/11/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2012/11/image_thumb2.png?w=612&#038;h=364" width="612" height="364" /></a></p>
<p><a href="http://itforme.files.wordpress.com/2012/11/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2012/11/image_thumb3.png?w=610&#038;h=364" width="610" height="364" /></a></p>
<p><font size="2">You might be thinking this is an unfair test because they are comparing different systems.&#160; This was done to show it wasn’t one system demonstrating the miserable performance results of the V4.&#160; So, just to pacify curiosity, here are some results of the same tests on a system that had the V4, then was swapped out with the M4.</font></p>
<p><font size="2">For the blue numbers, the higher the better.&#160; For the red numbers, the lower the better.</font></p>
<p><a href="http://itforme.files.wordpress.com/2012/11/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2012/11/image_thumb4.png?w=587&#038;h=109" width="587" height="109" /></a></p>
<p><font size="2">If one looks on the specs between the M4 and V4, there is nothing too unexpected.&#160; Sure, one is SATA II while the other is SATA III.&#160; But the results speak for themselves.&#160; This was not an issue of bus speed.&#160; The performance of the M4 drives were very good; exactly as expected.&#160; The performance of the V4 drives were terrible – far worse than anything I’ve seen out of an SSD.&#160; This isn’t a one off “bad drive” situation either, as there are a bag full of them that perform the same way.&#160; They’ve been tested in brand new workstations, and workstations a few years old.&#160; Again, the same result across the board for all of them.&#160;&#160; Surely the V4 is not the only questionable SSD out there.&#160; I’m sure there are some pretty hideous ones lining store shelves everywhere.&#160; I’m sharing this experience to show the disparity between SSDs so that others can make some smart purchasing decisions.</font></p>
<p><font size="2">As for the comparison of code compile times, I’ll be saving that for another post.</font></p>
<p><font size="2"><font size="4"><strong>Conclusion</strong></font>       <br /><font size="2">It was interesting to see how SSDs were so quickly dismissed internally before any real testing had been performed to verify they were actually working okay. Speculation from the group even included them not being a serious option in the workplace.&#160; This false impression was concerning to me, as I knew how much flash is changing the enterprise storage industry.&#160; Sure, SSDs can be weird at times, but the jury is in; SSDs change the game for the better.&#160; Perhaps the disinterest in testing was simply due to this subject not being their area of focus, or they had other things to think about.&#160; Whatever the case, it was certainly a lesson for me in how quickly results can be misinterpreted.&#160; </font></font></p>
<p><font size="2">So if anything, this says to me a few things about SSDs.</font></p>
<ul>
<li><font size="2">Check the specific model number, and make sure that it matches the model you desire.&#160; </font></li>
<li><font size="2">Stick with makes and models that you know. </font></li>
<li><font size="2">If you’ve never used a particular brand and model of SSD, test it first.&#160; I’m tempted to say, test it no matter what.</font> </li>
<li><font size="2">Stay far far away from the “value” SSDs out there.&#160; It almost appears like solid state thievery.&#160; I can only imagine the number of folks who have under performing drives like the V4, and wonder what all the fuss about SSDs are.&#160; At least with a bad spinning disk, you could tear it apart and make the worlds strongest refrigerator magnet.&#160; Bad SSDs aren’t even good as a paper weight. </font></li>
</ul>
<p><font size="2">- Pete</font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itforme.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itforme.wordpress.com/312/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=312&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vmpete.com/2012/11/01/ssds-in-the-workplace-trust-but-verify/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0d169682a40f151448d92ac747bd3357?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ITforMe</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2012/11/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2012/11/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2012/11/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2012/11/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2012/11/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Saving time with the AutoLab for vSphere</title>
		<link>http://vmpete.com/2012/10/29/saving-time-with-the-autolab-for-vsphere/</link>
		<comments>http://vmpete.com/2012/10/29/saving-time-with-the-autolab-for-vsphere/#comments</comments>
		<pubDate>Mon, 29 Oct 2012 12:38:09 +0000</pubDate>
		<dc:creator>vmPete</dc:creator>
				<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[AutoLab vBrownbag]]></category>

		<guid isPermaLink="false">https://itforme.wordpress.com/?p=314</guid>
		<description><![CDATA[Earlier this year, I started building up a few labs for a little work, and a little learning.&#160; (Three Labs for three reasons).&#160; Not too long after that is when I started playing around with the AutoLab.&#160; For those not familiar with what the AutoLab is, it is most easily described as a crafty collection [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=314&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><font size="2">Earlier this year, I started building up a few labs for a little work, and a little learning.&#160; (<a href="http://vmpete.com/2012/07/30/three-labs-for-three-reasons/">Three Labs for three reasons</a>).&#160; Not too long after that is when I started playing around with the AutoLab.&#160; For those not familiar with what the AutoLab is, it is most easily described as a crafty collection of scripts, open source VMs, and shell VMs that allow one to build a nested vSphere Lab environment with minimal effort.&#160; The nested arrangement can live inside of VMware Workstation, Fusion, or ESXi.&#160; AutoLab comes to you from a gentleman by the name of Alastair Cooke, along with support from many over at the <a href="http://professionalvmware.com/brownbags/">vBrownBag sessions</a>.&#160; What?&#160; You haven’t heard of the vBrownBag sessions either?&#160; Even if you are just a mild enthusiast of VMware and virtualization, check out this great resource.&#160; Week after week, they put out somewhat informal, but highly informative webinars.&#160; The AutoLab and vBrownBag sessions are both great examples of paying it forward to an already strong virtualization community.</font></p>
<p><font size="2"><strong><font size="3">The Value of AutoLab</font></strong>       <br />Why use it?&#160; Simple.&#160; It saves time.&#160; Who doesn’t like that?&#160; To be fair, it doesn’t really do anything that you couldn’t do on your own.&#160; But here’s the key.&#160; Scripts don’t forget to do stuff.&#160; People do (me included).&#160; Thus, the true appreciation of it really only comes after you have manually built up your own nested lab a few different times.&#160; With the AutoLab, set up the requirements (well documented in the deployment guide), kick it off, and a few hours later your lab is complete.&#160; There are tradeoffs of course with a fully nested environment, but it is an incredibly powerful arrangement, and thanks to the automation of it all, will allow you to standardize your deployment of a lab.&#160; The AutoLab has made big improvements with each version, and now assists in incorporating <a href="http://www.vmware.com/products/vcloud-director/overview.html">vCloud Director</a>, <a href="http://www.vmware.com/products/datacenter-virtualization/vsphere/endpoint.html">vShield</a>, <a href="http://www.vmware.com/products/view/overview.html">View</a>, <a href="http://go.veeam.com/ppc-vmware-esx-monitoring.html?utm_expid=1245100-10&amp;utm_referrer=http%3A%2F%2Fwww.bing.com%2Fsearch%3Fq%3Dveeam%2520one%26pc%3Dconduit%26ptag%3DA5C8DC2172517436E99F%26form%3DCONTLB%26adlt%3Dstrict%26conlogo%3DCT3210127%26ShowAppsUI%3D0">Veeam One</a>, and <a href="http://go.veeam.com/ppc-vm-backup-6_5.html">Veeam Backup &amp; Replication</a>.</font></p>
<p><font size="2">Letting the AutoLab take care of some of the menial things through automation is a nice reminder of the power of automation in general.&#160; Development teams are quite familiar with this concept, where automation and unit testing allow them to be more aggressive in their coding to produce better results faster.&#160; Fortunately, momentum seems to be gaining in IT around this, and VMware is doing its part as well with things like vCenter Orchestrator, PowerCLI, and stateless host configurations with AutoDeploy.</font></p>
<p><font size="2">In my other post, I touch a bit on what I use my labs for.&#160; Those who know me also know I’m a stickler for documentation.&#160; I have high standards for documentation from software manufacturers, and from myself when providing it for others.&#160; The lab really helps me provide detailed steps and accurate screen shots along the way.</font></p>
<p><font size="2">The AutoLab nested arrangement I touch most is on my laptop.&#160; Since my original post, I did bump up my laptop to 32GB of RAM.&#160; Some might think this would be an outrageously expensive luxury, but a 16GB Kit for a Dell Precision M6600 laptop costs only $80 on NewEgg at the time of purchase (Don’t ask me why this is so affordable.&#160; I have no idea.).&#160; Regardless, don’t let this number prevent you from using the AutoLab.&#160; The documentation demonstrates how to make the core of the lab run with just 8GB of RAM.</font></p>
<p><font size="2"></font></p>
<p><font size="2"><strong><font size="3">A few tips</font></strong>       <br />Here are a few tips that make my experience a bit better with the AutoLab nested vSphere environment.&#160; Nothing groundbreaking, but just a few things to make life easier.</font></p>
<ul>
<li><font size="2">I have a Shortcut to a folder that houses all of my shortcuts needed for the lab.&#160; Items like the router Administration, the NAS appliance, and your local hosts file which you might need to edit on occasion.</font> </li>
<li><font size="2">I choose to create another VMnet network in VMware Workstation so that I could add a few more vNICs to my nested ESXi hosts. That allows me to create a vSwitch to be used to play with additional storage options (VSAs, etc.) while preserving what was already set up.</font> </li>
<li><font size="2">The FREESCO router VM is quite a gem.&#160; It provides quite a bit of flexibility in a lab environment (a few adjustments and you can connect to another lab living elsewhere), and you might even find other uses for it outside of a lab.</font> </li>
<li><font size="2">To allow direct access to the FreeNAS storage share from your workstation, you will need to click on the <em>“Connect a host virtual adapter to this network”</em> option on the VMnet3 network in the Network Editor of VMware Workstation.</font> </li>
<li>You might be tempted to trim up the RAM on various VMs to make everything fit.&#160; Trim up the RAM too much on say, the vMA, and SSH won’t work.&#160; Just something to be mindful of. </li>
<li><font size="2">On my laptop, I have a 256GB Crucial M4 SSD drive for the OS, and a 750GB SATA disk for everything else.&#160; I have a few of the VM’s (the virtualized ESXi hosts, vCenter server and a DC over on the SSD, and most everything else on the SATA drive.&#160; This makes everything pretty fast while using my SSD space wisely.</font> </li>
<li><font size="2">You’ll be downloading a number of ISOs and packages.&#160; Start out with a plan for organization so that you know where things are when/if you have to rebuild.</font> </li>
<li>The ReadMe file inside of the packaged FreeNAS VM is key to understanding where and how to place the installation bits.&#160; Read carefully. </li>
<li>The automated build of the DC and vCenter VMs can be pretty finicky on which Windows Server ISO it will work with.&#160; If you are running into problems, you may not be using the correct ISO. </li>
<li>If you build up your lab on a laptop, and suddenly you can’t get anything to talk to say, the storage network, it may be the wireless (or wired) network you connected to.&#160; I had this happen to me one where the wireless address range happened to be the same as part of my lab.&#160; </li>
<li>As with any VMs you’ll be running on a Desktop/Laptop with VMware Workstation, make sure you create Antivirus real-time scanning exceptions for all locations that will be housing VMs.&#160; The last thing you need is your Antivirus thinking its doing you a favor. </li>
<li>The laptop I use for my lab is also my primary system.&#160; It’s worth a few bucks to protect it with a disk imaging solution.&#160; I choose to dump the entire system out to an external drive using <a href="http://www.acronis.com/homecomputing/products/trueimage/?utm_source=bing&amp;utm_medium=cpc&amp;utm_term=acronis%2B%2Btrue%2Bimage%2Bbranded&amp;utm_campaign=us_bing">Acronis TrueImage</a>.&#160; I typically run this when all of the VMs are shut off. </li>
</ul>
<p><font size="2">So there you have it.&#160; Get your lab set up, and hunker down with your favorite book, blog, links from twitter, or vBrownBag session, and see what you can learn.&#160; Use it and abuse it.&#160; It’s not a production environment, and is a great opportunity to improve your skills, and polish up your documentation.</font></p>
<p><font size="2">- Pete</font></p>
<p><font size="2"><font size="3"><strong>Helpful Links          <br /></strong></font></font><font size="2"><strong>AutoLab        <br /></strong><a href="http://www.labguides.com/autolab">http://www.labguides.com/autolab</a>       <br />Twitter: <s>@</s>DemitasseNZ #AutoLab <a title="https://twitter.com/DemitasseNZ" href="https://twitter.com/DemitasseNZ">https://twitter.com/DemitasseNZ</a></font></p>
<p><font size="2"><strong>vBrownBag sessions.</strong>&#160; A great resource, and an easy way to surround yourself (virtually) with smart people. <a title="http://professionalvmware.com/brownbags/" href="http://professionalvmware.com/brownbags/">http://professionalvmware.com/brownbags/</a>       <br />Twitter:&#160; @cody_bunch @vBrownBag <a title="https://twitter.com/vBrownBag" href="https://twitter.com/vBrownBag">https://twitter.com/vBrownBag</a></font></p>
<p><font size="2"><strong>FREESCO virtual router.</strong>&#160; Included and preconfigured with the AutoLab, but worth looking at their site too.       <br /><a title="http://freesco.org/" href="http://freesco.org/">http://freesco.org/</a></font></p>
<p><font size="2"><strong>FreeNAS virtual storage.</strong>&#160; Also included and preconfigured with the AutoLab.       <br /><a title="http://www.freenas.org/" href="http://www.freenas.org/">http://www.freenas.org/</a></font></p>
<p><font size="2">&#160;</font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itforme.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itforme.wordpress.com/314/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=314&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vmpete.com/2012/10/29/saving-time-with-the-autolab-for-vsphere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0d169682a40f151448d92ac747bd3357?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ITforMe</media:title>
		</media:content>
	</item>
		<item>
		<title>Diagnosing a failed iSCSI switch interconnect in a vSphere environment</title>
		<link>http://vmpete.com/2012/10/06/diagnosing-a-failed-iscsi-switch-interconnect-in-a-vsphere-environment/</link>
		<comments>http://vmpete.com/2012/10/06/diagnosing-a-failed-iscsi-switch-interconnect-in-a-vsphere-environment/#comments</comments>
		<pubDate>Sun, 07 Oct 2012 01:44:56 +0000</pubDate>
		<dc:creator>vmPete</dc:creator>
				<category><![CDATA[Architecture/planning]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[Powerconnect]]></category>

		<guid isPermaLink="false">https://itforme.wordpress.com/?p=294</guid>
		<description><![CDATA[The beauty of a well constructed, highly redundant environment is that if a single point fails, systems should continue to operate without issue.&#160; Sometimes knowing what exactly failed is more challenging than it first appears.&#160; This was what I ran into recently, and wanted to share what happened, how it was diagnosed, and ultimately corrected. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=294&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><font color="#000000"><font size="2">The beauty of a well constructed, highly redundant environment is that if a single point fails, systems should continue to operate without issue.&#160; Sometimes knowing what exactly failed is more challenging than it first appears.&#160; </font><font size="2">This was what I ran into recently, and wanted to share what happened, how it was diagnosed, and ultimately corrected.</font></font></p>
<p><font color="#000000"><font size="2">A group of two EqualLogic arrays were running happily against a pair of stacked Dell PowerConnect 6224 switches, serving up a 7 node vSphere cluster.&#160; The <a href="http://vmpete.com/2011/06/26/reworking-my-powerconnect-6200-switches-for-my-iscsi-san/">switches were rebuilt</a> over a year ago, and since that time they have been rock solid</font><font size="2">.&#160; Suddenly, the arrays started spitting out all kinds of different errors.&#160; Many of the messages looked similar to these:</font></font></p>
<p><font size="2"><font color="#666666"><font face="Courier New">iSCSI login to target &#8217;10.10.0.65:3260, iqn.2001-05.com.equallogic:0-8a0906-b6cc21609-d200014832f4ecfb-vmfs001&#8242; from initiator &#8217;10.10.0.10:52155, iqn.1998-01.com.vmware:esx1-70a98577&#8242; failed for the following reason:          <br /></font><font face="Courier New">Initiator disconnected from target during login.</font></font></font></p>
<p><font color="#000000" size="2">Some of the earliest errors on the array looked like this:</font></p>
<p><font color="#666666" size="2" face="Courier New">10/1/2012 1:01:11 AM to 10/1/2012 1:01:11 AM      <br /></font><font color="#666666" size="2" face="Courier New">Warning: Member PS6000e network port cannot be reached. Unable to obtain network performance data for the member.      <br /></font><font color="#666666" size="2" face="Courier New">Warning: Member PS6100e network port cannot be reached. Unable to obtain network performance data for the member.      <br /></font><font color="#666666" size="2" face="Courier New">10/1/2012 1:01:11 AM to 10/1/2012 1:01:11 AM      <br /></font><font size="2"><font color="#666666"><font face="Courier New">Caution: Some SNMP requests to member PS6100e for disk drive information timed out.          <br /></font><font face="Courier New">Caution: Some SNMP requests for information about member PS6100e disk drives timed out.</font></font></font></p>
<p><font color="#000000" size="2">VMs that had guest attached volumes were generating errors similar to this:</font></p>
<p><font color="#666666" size="2" face="Courier New">Subject: ASMME smartcopy from SVR001: MPIO Reconfiguration Request IPC Error &#8211; iqn.2001-05.com.equallogic:0-8a0906-bd5d27503-7ef000ed5d54a8c1-ntfs001 on host SVR001</font></p>
<p><font color="#666666" size="2" face="Courier New">[01:01:11] MPIO failure during reconfiguration request for target iqn.2001-05.com.equallogic:0-8a0906-476f6bd06-0c500008a0c4c41f-ntfs002 with error status 0&#215;16000000.</font></p>
<p><font color="#666666" size="2" face="Courier New">[01:01:11] MPIO failure during reconfiguration request for target iqn.2001-05.com.equallogic:0-8a0906-dc0da1609-2fe0014145f4e931-ntfs001 with error status 0&#215;80070006.</font></p>
<p><font color="#000000"><font size="2">Before I had a chance to look at anything, I suspected something was wrong with the SAN switch stack, but was uncertain beyond that.&#160; I jumped into vCenter to see if anything obvious showed up.&#160; But vSphere and all of the VMs were motoring along just like normal.&#160; No failed uplink errors, or anything else noticeable.&#160; I didn’t do much vSphere log fishing at this point because all things were pointing to something on the storage side, and I had a number of tools that could narrow down the problem.&#160; </font><font size="2">With all things related to storage traffic, I wanted to be extra cautious and prevent making matters worse with reckless attempts to resolve.</font></font></p>
<p><font color="#000000" size="2">First, some background on how EqualLogic arrays work.&#160; All arrays have two controllers, working in an active/passive arrangement.&#160; Depending on the model of array, each controller will have between two and four ethernet ports per controller, with each port having an IP address assigned to it.&#160; Additionally, there will be a single IP address to define the “group” the member array is a part of.&#160; (The Group IP is single IP used by systems looking for an iSCSI target, to let the intelligence of the arrays figure out how to distribute traffic across interfaces.)&#160; If some of the interfaces can’t be contacted (e.g. disconnected cable, switch failure, etc.), the EqualLogic arrays will be smart enough to distribute across the active links.</font></p>
<p><font color="#000000" size="2">The ports of each EqualLogic array are connected to the stacked SAN switches in a meshed arrangement for redundancy.&#160; If there ware a switch failure, then one wouldn’t be able to contact the IP addresses of the ethernet ports connected to one of the switches.&#160; But using a VM with guest attached volumes (which have direct access to the SAN), I could successfully ping all four interfaces (eth0 through eth3) on each array.&#160; Hmm…</font></p>
<p><font color="#000000" size="2">So then I decided to SSH into the array and see if I could perform the same test.&#160; The idea would be to test from one IP on one of the arrays to see if a ping would be successful on eth0 through eth3 on the other array.&#160; The key to doing this is to use an IP of one of the individual interfaces as the source, and not the Group IP.&#160; Controlling the source and the target during this test will tell you a lot.&#160; After connecting to the array via SSH, the syntax for testing the interfaces on the target array would be this:</font></p>
<p><font color="#000000" size="2"><font face="Courier New">ping –I “[sourceIP] [destinationIP]”</font>&#160; (quotes are needed!)</font></p>
<p><font color="#000000" size="2">From one of the arrays, pinging all four interfaces on the second array revealed that only two of the four ports succeeded.&#160; But the earlier test from the VM proved that I could ping all interfaces, so I chose to change the source IP as one of the interfaces living on the other switch.&#160; Performed the same test, and the opposite results occurred.&#160; The ports that failed on the last test passed on this test, and the ports that passed the last test, failed on this time.&#160; <strong>This seemed to indicate that both switches were up, but the communication between switches were down.</strong>&#160; </font></p>
<p><font color="#000000" size="2">While I’ve never seen these errors on switches using stacking modules, I have seen the MPIO errors above on a trunked arrangement.&#160; One might run into these issues more with trunking, as it tends to leave more opportunity for issues caused by configuration errors.&#160; I knew that in this case, the switch configurations had not been touched for quite some time.&#160; The status of the switches via the serial console stated the following:</font></p>
<p><font size="2" face="Courier New">SANSTACK&gt;show switch      <br /></font><font size="2" face="Courier New">Management Standby Preconfig Plugged-in Switch Code      <br /></font><font size="2" face="Courier New">SW Status Status Model ID Model ID Status Version      <br /></font><font size="2" face="Courier New">1 Mgmt Sw PCT6224 PCT6224 OK 3.2.1.3      <br /></font><font size="2" face="Courier New">2 Unassigned PCT6224 Not Present 0.0.0.0</font></p>
<p><font color="#000000" size="2">The result above wasn’t totally surprising, in that if the stacking module was down, the master switch wouldn’t be able to be able to gather the information from the other switch.</font></p>
<p><font color="#000000" size="2">Dell also has an interesting little tool call “Lasso.”&#160; The Dell Lasso Tool will help grab general diagnostics data from a variety of sources (servers, switches, storage arrays).&#160; But in this case, I found it convenient to test connectivity from the array group itself.&#160; The screen capture below seems to confirm what I learned through the testing above.</font></p>
<p><a href="http://itforme.files.wordpress.com/2012/10/image.png"><font color="#000000"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2012/10/image_thumb.png?w=1030&#038;h=375" width="1030" height="375" /></font></a></p>
<p><font color="#000000" size="2">So the next step was trying to figure out what to do about it.&#160; I wanted to reboot/reload the slave switch, but knowing both switches were potentially passing live data, I didn’t want to do anything to compromise the traffic.&#160; So I employed an often overlooked, but convenient way of manipulating traffic to the arrays; turning off the interfaces on the array that are connected to the SAN switch that needs to be restarted.&#160; If one turns off the interfaces on each array connected to the switch that needs the maintenance, then there will not be any live data passing through that switch.&#160; Be warned that you better have a nice, accurate wiring schematic of your infrastructure so that you know which interfaces can be disabled.&#160; You want to make things better, not worse.</font></p>
<p><font color="#000000" size="2">After a restart of the second switch, the interconnect reestablished itself.&#160; The interfaces on the arrays were re-enabled, with all errors disappearing.&#160; I’m not entirely sure why the interconnect went down, but the primary objective was diagnosing and correcting in a safe, deliberate, yet speedy way.&#160; No VMs were down, and the only side effect of the issue was the errors generated, and some degraded performance.&#160; Hopefully this will help you in case you see similar symptoms in your environment.</font></p>
<p><font color="#000000" size="4"><strong>Helpful Links</strong></font></p>
<p><font color="#000000"><font color="#000000">Dell Lasso Tool        <br /></font><a title="http://www.dell.com/support/drivers/us/en/555/DriverDetails?driverId=4T3Y6&amp;c=us&amp;l=en&amp;s=biz" href="http://www.dell.com/support/drivers/us/en/555/DriverDetails?driverId=4T3Y6&amp;c=us&amp;l=en&amp;s=biz">http://www.dell.com/support/drivers/us/en/555/DriverDetails?driverId=4T3Y6&amp;c=us&amp;l=en&amp;s=biz</a></font></p>
<p><font color="#000000"><font color="#000000">Reworking my PowerConnect 6200 switches for my iSCSI SAN        <br /></font><a title="http://vmpete.com/2011/06/26/reworking-my-powerconnect-6200-switches-for-my-iscsi-san/" href="http://vmpete.com/2011/06/26/reworking-my-powerconnect-6200-switches-for-my-iscsi-san/">http://vmpete.com/2011/06/26/reworking-my-powerconnect-6200-switches-for-my-iscsi-san/</a></font></p>
<p><font color="#000000">Dell TechCenter.&#160; A great resource all things related to Dell in the Enterprise.      <br /></font><a title="http://en.community.dell.com/techcenter/b/techcenter/default.aspx" href="http://en.community.dell.com/techcenter/b/techcenter/default.aspx">http://en.community.dell.com/techcenter/b/techcenter/default.aspx</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itforme.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itforme.wordpress.com/294/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=294&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vmpete.com/2012/10/06/diagnosing-a-failed-iscsi-switch-interconnect-in-a-vsphere-environment/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0d169682a40f151448d92ac747bd3357?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ITforMe</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2012/10/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Multipathing in vSphere with the Dell EqualLogic Multipathing Extension Module (MEM)</title>
		<link>http://vmpete.com/2012/09/20/multipathing-in-vsphere-with-the-dell-equallogic-multipathing-extension-module-mem/</link>
		<comments>http://vmpete.com/2012/09/20/multipathing-in-vsphere-with-the-dell-equallogic-multipathing-extension-module-mem/#comments</comments>
		<pubDate>Fri, 21 Sep 2012 03:57:03 +0000</pubDate>
		<dc:creator>vmPete</dc:creator>
				<category><![CDATA[Architecture/planning]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[MEM]]></category>
		<category><![CDATA[Multipathing Extension Module]]></category>

		<guid isPermaLink="false">https://itforme.wordpress.com/?p=285</guid>
		<description><![CDATA[There is a lot to be said about the Dell EqualLogic Multipathing Extension Module (MEM) for vSphere.&#160; One is that it is an impressive component that without a doubt will improve the performance of your vSphere environment.&#160; The other is that it often not installed by organizations large and small.&#160; This probably stems from a [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=285&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><span style="font-size:small;"><span style="font-family:arial;">There is a lot to be said about the Dell EqualLogic Multipathing Extension Module (MEM) for vSphere.&#160; One is that it is an impressive component that without a doubt will improve the performance of your vSphere environment.&#160; The other is that it often not installed by organizations large and small.&#160; </span><span style="font-family:arial;">This probably stems from a few reasons.</span></span></p>
<ul>
<li><span style="font-family:arial;font-size:small;">The typical user is uncertain of the value it brings. </span></li>
<li><span style="font-family:arial;font-size:small;">vSphere Administrators might be under the assumption that VMware’s Round Robin will perform the same thing. </span></li>
<li><span style="font-size:small;"><span style="font-family:arial;">The assumption that if they don’t have vSphere Enterprise Plus licensing, they can’t use MEM.</span> </span></li>
<li><span style="font-family:arial;font-size:small;">It’s command line only </span></li>
</ul>
<p><span style="font-family:arial;font-size:small;">What a shame, because the MEM gives you optimal performance of vSphere against your EqualLogic array, and is frankly easier to configure.&#160; Let me clarify, easier to configure <em><strong>correctly</strong></em>.&#160; iSCSI will work seemingly okay with not much effort.&#160; But that lack of effort initially can catch up with you later; resulting in no multipathing, poor performance, and possibly prone to error.</span></p>
<p><span style="font-family:arial;font-size:small;">There are a number of good articles that outline the advantages of using the MEM.&#160; There is no need for me to repeat, so I’ll just stand on the shoulder’s of their posts, and provide the links at the end of my rambling. </span></p>
<p><span style="font-family:arial;font-size:small;">The tool can be configured in a number of different ways to accommodate all types of scenarios; all of which is well documented in the Deployment Guide.&#160; The flexibility&#160; in deployment options might be why it seems a little intimidating to some users.&#160; </span></p>
<p><span style="font-family:arial;font-size:small;">I’m going to show you how to set up the MEM in a very simple, typical fashion.&#160; Let’s get started.&#160; We’ll be working under the following assumptions:</span></p>
<ul>
<li><span style="font-size:small;"><span style="font-family:arial;">vSphere 5 and the EqualLogic MEM&#160; <font color="#ff0000" size="3"><strong>*</strong></font></span></span></li>
<li><span style="font-size:small;"><span style="font-family:arial;">An ESXi host Management IP of <span style="color:#4f81bd;">192.168.199.11</span></span> </span></li>
<li><span style="font-size:small;"><span style="font-family:arial;">Host account of <span style="color:#4f81bd;">root</span> with a password of <span style="color:#4f81bd;">mypassword</span></span> </span></li>
<li><span style="font-size:small;"><span style="font-family:arial;">a standard vSwitch for iSCSI traffic will be used with two physical uplinks (<span style="color:#4f81bd;">vmnic4</span> &amp; <span style="color:#4f81bd;">vmnic5</span>)&#160;&#160; The vSwitch created will be a standard vSwitch, but it can easily be a Distributed vSwitch as well.</span> </span></li>
<li><span style="font-size:small;"><span style="font-family:arial;">Three IP addresses for each host; two for iSCSI vmkernels (<span style="color:#4f81bd;">192.168.198.11 <span style="color:#000000;">&amp;</span> 192.168.198.21</span>), and one for Storage Heartbeat. (<span style="color:#4f81bd;">192.168.198.31</span>)</span> </span></li>
<li><span style="font-family:arial;font-size:small;">Jumbo frames (<span style="color:#4f81bd;">9000</span> bytes) have been configured on your SAN switchgear, and will be used on your ESXi hosts. </span></li>
<li><span style="font-family:arial;font-size:small;">A desire to accommodate VMs that used guest attached volumes. </span></li>
<li><span style="font-size:small;"><span style="font-family:arial;">EqualLogic Group IP address of:&#160; <span style="color:#4f81bd;">192.168.198.65</span></span> </span></li>
<li><span style="font-size:small;"><span style="font-family:arial;">Storage network range of <span style="color:#4f81bd;">192.168.198.0 /24</span></span> </span></li>
</ul>
<p><span style="font-family:arial;font-size:small;">When applying to your environment, just tailor the settings to reflect your environment.</span></p>
<p><span style="font-family:arial;font-size:medium;"><strong>Download and preparation</strong></span></p>
<p><span style="font-family:arial;font-size:small;">1.&#160; Download the MEM from the Dell EqualLogic customer web portal to a workstation that has the vSphere CLI installed</span></p>
<p align="justify"><span style="font-family:arial;font-size:small;">2.&#160; Extract the MEM so that it resides in a <span style="font-family:courier new;">C:\MEM</span> directory. You should see a <span style="font-family:courier new;">setup.pl</span> file in the root of <span style="font-family:courier new;">C:\MEM</span>, along with a <span style="font-family:courier new;">dell-eql-mem-esx5-[version].zip</span> Keep this zip file, as it will be needed during the installation process.</span></p>
<p><span style="font-family:arial;font-size:medium;"><strong>Update ESXi host</strong></span></p>
<p><span style="font-family:arial;font-size:small;">1.&#160; Put ESXi host in Maintenance Mode</span></p>
<p><span style="font-family:arial;font-size:small;">2.&#160; Delete any previous vSwitch that goes into the pNICs for iSCSI. Will also need to remove any previous port bindings.</span></p>
<p><span style="font-family:arial;font-size:small;">3.&#160; Initiate script against first host:</span></p>
<p><span style="font-family:courier new;"><span style="font-size:small;">setup.pl &#8211;configure &#8211;server=<span style="color:#4f81bd;">192.168.199.11</span> &#8211;username=<span style="color:#4f81bd;">root</span> &#8211;password=<span style="color:#4f81bd;">mypassword</span></span></span></p>
<p><span style="font-family:arial;font-size:small;">This will walk you through a series of variables you need to enter.&#160; It’s all pretty straightforward, but I’ve found the more practical way is to include it all as one string.&#160; This minimizes mistakes, improves documentation, and allows you to just cut and paste into the vSphere CLI.&#160; The complete string would look like this.</span></p>
<p><span style="font-family:courier new;"><span style="font-size:small;">setup.pl &#8211;configure &#8211;server=<span style="color:#4f81bd;">192.168.199.11</span> &#8211;vswitch=vSwitchISCSI &#8211;mtu=<span style="color:#4f81bd;">9000</span> &#8211;nics=<span style="color:#4f81bd;">vmnic4</span>,<span style="color:#4f81bd;">vmnic5</span> &#8211;ips=<span style="color:#4f81bd;">192.168.198.11</span>,<span style="color:#4f81bd;">192.168.198.21</span> &#8211;heartbeat=<span style="color:#4f81bd;">192.168.198.31</span> &#8211;netmask=<span style="color:#4f81bd;">255.255.255.0</span> &#8211;vmkernel=iSCSI &#8211;nohwiscsi &#8211;groupip=<span style="color:#4f81bd;">192.168.198.65</span></span></span></p>
<p><span style="font-family:arial;font-size:small;">It will prompt for a user name and password before it runs through the installation.&#160; Near the end of the installation, it will return:</span></p>
<blockquote><p><span style="font-family:arial;font-size:small;"><em>No Dell EqualLogic Multipathing Extension Module found. Continue your setup by installing the module with the &#8216;esxcli software vib install&#8217; command or through vCenter Update Manager</em></span></p>
</blockquote>
<p><span style="font-family:arial;font-size:small;">This is because the MEM VIB has not been installed yet.&#160; MEM will work but only using the default pathing policies.&#160; The MEM VIB can be installed by typing in the following:</span></p>
<p><span style="font-family:courier new;"><span style="font-size:small;">setup.pl &#8211;install &#8211;server=<span style="color:#4f81bd;">192.168.199.11</span> &#8211;username=root &#8211;password=<span style="color:#4f81bd;">mypassword</span></span></span></p>
<p><span style="font-family:arial;font-size:small;">If you look in vCenter, you’ll now see the vSwitch and vmkernel ports created and configured properly, with the port bindings configured correctly as well.&#160; You can verify it with the following</span></p>
<p><span style="font-size:small;"><span style="font-family:courier new;">setup.pl &#8211;query &#8211;server=<span style="color:#4f81bd;">192.168.199.11</span> &#8211;username=root &#8211;password=<span style="color:#4f81bd;">mypassword</span></span> </span></p>
<p><span style="font-family:arial;font-size:small;">But you aren’t quite done yet.&#160; If you are using guest attached volumes, you will need to create Port Groups on that same vSwitch so that the guest volumes can connect to the array.&#160; To do it properly in which the two vNICs inside the guest OS can multipath to the volume properly, you will need to create two Port Groups.&#160; When complete, your vSwitch may look something like this:</span></p>
<p><a href="http://itforme.files.wordpress.com/2012/09/image.png"><span style="font-size:small;"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://itforme.files.wordpress.com/2012/09/image_thumb.png?w=424&#038;h=299" width="424" height="299" /></span></a></p>
<p><span style="font-family:arial;font-size:small;">Take a look at the VMkernel ports created by MEM, you will see the NIC Teaming Switch Failover Order has been set so that one vmnic is set to “Active” while the other is set to “Unused”&#160; The other VMkernel port has the same settings, but with the vmnics reversed in their “Active” and “Unused” state.</span><span style="font-family:arial;"><span style="font-size:small;">The Port Groups you create for VMs using Guest attached volumes will take a similar approach.&#160; Each Port Group will have one “Active” and one “Standby” adapter (“Standby” not “unused” like the VMkernel).&#160; Each Port Group has the vmnics reversed.&#160; When configuring a VM’s NICs for guest attached volume access, you will want to assign one vmnic to one Port Group, while the other is assigned to the other Port Group.&#160; Confused?&#160; Great.&#160; Take a look at </span><a href="http://en.community.dell.com/techcenter/storage/w/wiki/2672.data-drives-in-vmware.aspx"><strong><span style="font-size:small;">Will Urban’s post</span></strong></a><span style="font-size:small;"> on how to configure Port Groups for guest attached volumes correctly.&#160; </span></span></p>
<p><span style="font-family:arial;font-size:medium;"><strong>Adjusting your existing environment.       <br /></strong></span><span style="font-family:arial;font-size:small;">If you need to rework your existing setup, simply put each host into Maintenance Mode one at a time and perform the steps above with your appropriate information.</span><span style="font-family:arial;font-size:small;">Next, take a look at your existing Datastores, and if they are using one of the built in Path Selection Policy methods (“Fixed” “Round Robin” etc.), change them over to “DELL_PSP_EQL_ROUTED”</span><span style="font-family:arial;font-size:small;">If you have VMs that leverage guest attached volumes off of a single teamed Port Group, you may wish to temporarily create this Port Group under the exact same name so the existing VMs have don’t get confused.&#160; Remove this temporary Port Group once you’ve had the opportunity to change the VM’s properties.</span><span style="font-family:arial;font-size:small;">So there you have it.&#160; A simple example of how to install and deploy Dell’s MEM for vSphere 5.&#160; Don’t leave performance and ease of management on the shelf.&#160; Get MEM installed and running in your vSphere environment.</span></p>
<p><span style="font-family:arial;font-size:small;"><font color="#ff0000" size="3"><strong>UPDATE (9/25/2012)         <br /></strong><font color="#333333" size="2">The instructions provided was under the assumption that vSphere 5 was being used.&#160; <strong>Under vSphere 5.1 and the latest version of MEM, the storage heartbeat is no longer needed.</strong>&#160; I have modified the post to accommodate, including the link below that references the latest Dell EqualLogic MEM documentation.&#160; I’d like to thank the Dell EqualLogic Engineering team for pointing out this important distinction.</font></font></span></p>
<p><strong><span style="font-family:arial;font-size:medium;">Helpful Links</span></strong></p>
<p><span style="font-family:arial;font-size:small;">A great summary on the EqualLogic MEM and vStorage APIs     <br /></span><a title="http://whiteboardninja.wordpress.com/2011/02/01/equallogic-mem-and-vstorage-apis/" href="http://whiteboardninja.wordpress.com/2011/02/01/equallogic-mem-and-vstorage-apis/"><span style="font-family:arial;font-size:small;">http://whiteboardninja.wordpress.com/2011/02/01/equallogic-mem-and-vstorage-apis/</span></a></p>
<p><span style="font-family:arial;font-size:small;">Comac Hogan’s great post on how the MEM works it’s magic.     <br /></span><a title="http://blogs.vmware.com/vsphere/2011/11/dells-multipath-extension-module-for-equallogic-now-supports-vsphere-50.html" href="http://blogs.vmware.com/vsphere/2011/11/dells-multipath-extension-module-for-equallogic-now-supports-vsphere-50.html"><span style="font-family:arial;font-size:small;">http://blogs.vmware.com/vsphere/2011/11/dells-multipath-extension-module-for-equallogic-now-supports-vsphere-50.html</span></a></p>
<p><span style="font-family:arial;font-size:small;">Some performance testing of the MEM     <br /></span><a title="http://www.spoonapedia.com/2010/07/dell-equallogic-multipathing-extension.html" href="http://www.spoonapedia.com/2010/07/dell-equallogic-multipathing-extension.html"><span style="font-family:arial;font-size:small;">http://www.spoonapedia.com/2010/07/dell-equallogic-multipathing-extension.html</span></a></p>
<p>Official Documentation for the EqualLogic MEM <strong>(Rev 1.2, which covers vSphere 5.1)     <br /></strong><a title="http://www.equallogic.com/WorkArea/DownloadAsset.aspx?id=11000" href="http://www.equallogic.com/WorkArea/DownloadAsset.aspx?id=11000">http://www.equallogic.com/WorkArea/DownloadAsset.aspx?id=11000</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itforme.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itforme.wordpress.com/285/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=285&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vmpete.com/2012/09/20/multipathing-in-vsphere-with-the-dell-equallogic-multipathing-extension-module-mem/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0d169682a40f151448d92ac747bd3357?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ITforMe</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2012/09/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Three Labs for three reasons</title>
		<link>http://vmpete.com/2012/07/30/three-labs-for-three-reasons/</link>
		<comments>http://vmpete.com/2012/07/30/three-labs-for-three-reasons/#comments</comments>
		<pubDate>Mon, 30 Jul 2012 14:30:00 +0000</pubDate>
		<dc:creator>vmPete</dc:creator>
				<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vSphere 5.0 Home Lab]]></category>

		<guid isPermaLink="false">https://itforme.wordpress.com/?p=270</guid>
		<description><![CDATA[Chalk up 2012 as the year I started paying attention to what everyone in the Virtualization world was doing for their vSphere home/portable labs.  Well, it was 2011 to be more precise, but I just didn’t act on it until this year.  Since I decided to dive into a lab head first, I thought I’d [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=270&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><span style="font-family:Arial;font-size:small;">Chalk up 2012 as the year I started paying attention to what everyone in the Virtualization world was doing for their vSphere home/portable labs.  Well, it was 2011 to be more precise, but I just didn’t act on it until this year.  Since I decided to dive into a lab head first, I thought I’d share with you what I have, and how its been working.</span></p>
<p><span style="font-family:Arial;font-size:small;">I was reminded of the power of a lab environment last year while I was building out a CoLo site for DR, offsite hosting and VDI for my company.  It was more than once that I thought, <em>“gee, this is nice that I’m not playing around with the production site.</em>”  I knew that it was time to start thinking about what I wanted for a lab.</span></p>
<p><span style="font-family:Arial;font-size:small;">If you start digging into the whole home/portable lab movement, and you find out that the ideal home lab is really dependent on what your needs are.  Some are perfectly satisfied with a vSphere lab nested inside of VMware Workstation, while others have physical labs that will make the lights dim.  Both are viable options, but I’ll tell you what I settled on for mine, and how everything has been working.  Regardless of what you end up choosing, some great hardware and software can produce some pretty fantastic lab environments.</span></p>
<p><span style="font-family:Arial;font-size:medium;"><strong>But first, time for a change…</strong></span></p>
<p><span style="font-family:Arial;font-size:small;">So why the need for all of this? Well, in June of 2012, I decided to take my career in a slightly different direction. After 13 years as the Senior Systems Administrator for a software company in Bellevue, WA. I took a position with <a href="http://www.mosaictec.com/">Mosaic Technology</a>, a Solution Provider and Channel Partner for VMware, Dell, and others.  As a Senior Systems Engineer, I now get the opportunity to design and implement virtualization solutions, while applying my practical experience in the trenches with technologies and solutions in every corner of IT. This is extremely exciting for me, as I get to focus more the very software that altered the course of my career just 5 years ago. I get to work with a great team at Mosaic, many of whom I’ve known for quite some time, including my good friend Tim Antonowicz.  Over the years I’ve also had the opportunity to establish relationships with many at Dell, including Dell EqualLogic, and Dell TechCenter.  I get to continue to work with these folks, but in a different capacity. </span></p>
<p><span style="font-family:Arial;font-size:small;">  </span></p>
<p><strong><span style="font-family:Arial;font-size:medium;">The Home Lab</span></strong></p>
<p><span style="font-family:Arial;font-size:small;">For my home lab, I wanted to simulate some sense of a real world environment.  For that you need real hardware; real NICs, and real resources.  I also had the desire to eventually run a nested environment in each physical host, so I didn’t want to skimp on physical resources too much.  </span></p>
<p><span style="font-family:Arial;font-size:small;">As much as I wanted real hardware, I also didn’t want my house to sound or feel like a datacenter, so for me, being mindful of power consumption was as much about heat generation as it was about noise, and cost.  Another goal of mine was to avoid scenarios where I’d buy something twice where the first time met a certain price point, and the second time to get what you really needed the first time around.  For most people, that usually means RAM.  Buy it once and be done with it.</span></p>
<p><span style="font-family:Arial;font-size:small;"><strong>Compute:<br />
</strong></span><span style="font-family:Arial;font-size:small;">My physical hosts (qty. 2) most closely reflect the setup that Chris Wahl has <a href="http://wahlnetwork.com/2012/03/13/building-esxi-5-whitebox-home-lab-servers/">described in his home lab</a>.  The main differences are: 1.) I dumped 32GB of RAM in each host, and 2.) I threw in two dual port NICs, and a single port NIC.  I wanted a minimum of 6 functioning NICs for vSphere.  The SuperMicro motherboard comes with two onboard NICs (not including the IPMI port).  One is an Intel 82574L which is supported by vSphere 5, but the other is an Intel 82574LM and isn’t easily recognized.  <a href="http://hardforum.com/showthread.php?t=1607992&amp;page=7">You can get it to work</a>, but it was worth $20 for the additional NIC, especially during host rebuilds.  A few notes about this setup</span></p>
<ul>
<li><span style="font-family:Arial;font-size:small;">If you go with this particular SuperMicro motherboard, keep an eye out for ECC Unbuffered DDR3 DIMMs, as this motherboard requires it.  They are down to about $90 a stick as of the time of this writing, so about $360 to populate the host with 32GB of RAM.</span></li>
<li><span style="font-family:Arial;font-size:small;">IPMI has proven to be extremely valuable.  Not only will it allow for some nice remote rebuilds of the hosts, but is a perfect match for DPM in vSphere.</span></li>
</ul>
<p><span style="font-family:Arial;font-size:small;"><strong>Storage:<br />
</strong></span><span style="font-family:Arial;font-size:small;">For storage, I settled on a <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822108112">Synology DS1512+ NAS</a> unit.  I populated the enclosure with two, 128GB Crucial M4 SSDs, and three 2TB 5400 RPM SATA drives.  The interesting feature of the DS1512+ is that it has two NICs on the back.  This offers up a little flexibility for multipathing iSCSI, or splitting off NFS to a different interface/network.</span></p>
<p><span style="font-family:Arial;font-size:small;">Synology has been getting a lot of press with the Home Lab crowd, and if you use it, you’ll understand why.  The DSM (their OS) provides an easy, flexible way to serve up NFS, CIFS, or iSCSI, including VAAI support.  Plenty of other features will keep you entertained as well.  The enclosure should fit my needs even as the drives themselves may change.</span></p>
<p><span style="font-family:Arial;font-size:small;"><strong>Switching:<br />
</strong></span><span style="font-family:Arial;font-size:small;">With my desires of so many NIC ports, I knew that they’d get sucked up pretty fast.  So a 20 port switch was the minimum.  My other requirement was that it had to be fanless.  1U anything with a fan seems to be nothing but a noise maker, I didn’t want that.  I settled on a Cisco SG300-20 switch.  This is a full layer 3 managed switch that is a real gem.  While it doesn’t run IOS, it does have a CLI, and supports just about everything you’d want in a home lab.  Inter-VLAN routing.  CDP, LLDP, jumbo frames, etc.  It’s been fantastic.  I feed this switch to a Cisco/Linksys WRT-160NL flashed with DD-WRT so that my lab has internet access.</span></p>
<p><span style="font-family:Arial;font-size:small;">So, how much power does all this draw?  <strong>All together, around 160 watts or about 170VA</strong>.  Yeah, that’s right, under light load, the entire thing is drawing minimal power, with minimal heat, and just a whisper of noise.  Considering that a Dell Precision T5500 workstation alone pulls about the same amount of power, I’m extremely happy with the result.  Here is how the running load works out.</span></p>
<table width="400" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="133"><strong>Device</strong></td>
<td valign="top" width="133"><strong>Running Watts</strong></td>
<td valign="top" width="133"><strong>Running VA</strong></td>
</tr>
<tr>
<td valign="top" width="133">Switch</td>
<td valign="top" width="133">10</td>
<td valign="top" width="133">17</td>
</tr>
<tr>
<td valign="top" width="133">NAS</td>
<td valign="top" width="133">38</td>
<td valign="top" width="133">34</td>
</tr>
<tr>
<td valign="top" width="133">Host1</td>
<td valign="top" width="133">57</td>
<td valign="top" width="133">60</td>
</tr>
<tr>
<td valign="top" width="133">Host2</td>
<td valign="top" width="133">57</td>
<td valign="top" width="133">60</td>
</tr>
<tr>
<td valign="top" width="133"><strong>Total</strong></td>
<td valign="top" width="133"><strong>162</strong></td>
<td valign="top" width="133"><strong>171</strong></td>
</tr>
</tbody>
</table>
<p><span style="font-family:Arial;font-size:small;">My only complaint is the goof-ball form factors of the NAS, the Lian Li chassis and SG-300-20 switch.  No amount of reorganizing them have resulted in an orderly arrangement of systems.  I’ll have to build something to accommodate.</span></p>
<p><strong><span style="font-family:Arial;font-size:medium;">The Portable Lab</span></strong></p>
<p><span style="font-family:Arial;font-size:small;">Due to the job change, I also had the need to have a portable lab (running nested vSphere inside of VMware Workstation); something I could guarantee to spin up if needed.  Wifi access wouldn’t necessarily be available where I needed a lab, so a portable lab on a laptop solved this problem.  But a portable lab does require some real horsepower, so that is where a Dell Precision M6600 comes into play.  This 17” laptop is a beast in every sense.  Yeah, it’s a tank to lug around, but it has a 17” screen, quad core i7 processor, and 16GB of RAM (expandable to 32).  I have a 256GB Crucial M4 SSD to run the OS and some of the VMs, while a second internal SATA drive carries the bulk of VMs, user data, etc.</span></p>
<p><span style="font-family:Arial;font-size:small;">I set up the lab in VMware Workstation a few different ways.  A few times on my own, from scratch, then a few times using the “</span><a href="http://www.labguides.com/autolab/"><span style="font-family:Arial;font-size:small;">AutoLab</span></a><span style="font-family:Arial;font-size:small;">”  Both ways will end up with similar results; a functioning nested vSphere environment.  The AutoLab definitely saves time when it comes to the rebuild process.  I’ve found that the perfect mix so far has been to install the AutoLab, then tweak where I see fit (typically networking changes) based on personal preferences, or requirements.</span></p>
<p><span style="font-family:Arial;font-size:small;">With the assortment of powered VMs up required to run the nested lab, I typically use around 10GB of RAM on my system.  That doesn’t leave much left over to run additional VMs, but with a little creativity, its workable.</span></p>
<p><span style="font-family:Arial;font-size:small;"> </span></p>
<p><span style="font-family:Arial;font-size:medium;"><strong>The Verdict</strong></span></p>
<p><span style="font-family:Arial;font-size:small;">So which one do I like better?  Honestly, they both are extremely valuable in their own ways.  But here are some generalizations.</span></p>
<ul>
<li><span style="font-family:Arial;font-size:small;">If you are testing anything related to networking, nothing seems to beat the physical lab, as it is going to mimic the real deal.  </span></li>
<li><span style="font-family:Arial;font-size:small;">If you are pushing any sizable workload with VM’s (in quantity, or allocation size of VMs), the physical lab shines.  With a portable lab, even with 16GB of RAM on a workstation, you really have to trim up the VMs.  But then again, it’s a lab, not production.</span></li>
<li><span style="font-family:Arial;font-size:small;">For professional development, study, documentation, experimenting, and customer demonstrations, the portable lab is se</span><span style="font-family:Arial;font-size:small;">cond to none when it comes to convenience and accessibility.</span></li>
<li><span style="font-family:Arial;font-size:small;">The speed at which you can test a setting of one’s ESXi hosts, vCenter, or play with some scripting, is just fantastic.  The availability of the lab makes it incredibly valuable.  </span></li>
</ul>
<p><span style="font-family:Arial;font-size:small;">The comparison is almost similar to the SLR versus point-n-shoot camera debate.  One might be technically superior, but if you don’t have it with you because it’s too bulky, etc. then what good is it?  This analogy is where the portable nested lab on my laptop proves to be incredibly valuable.  You will find those who have run a portable lab and went physical because they were tired of nesting ESXi, and others who have ran physical and moved to a portable setup.  It really depends on what your needs are.  I continue to use both as the needs dictate.</span></p>
<p><strong><span style="font-family:Arial;font-size:medium;">The third Lab</span></strong></p>
<p><span style="font-family:Arial;font-size:small;">The third lab might be my most important.  This little guy is the most reliable lab I’ve ever had.  Here he is on high alert guarding my other lab.  </span></p>
<p><span style="font-family:Arial;font-size:small;"><a href="http://itforme.files.wordpress.com/2012/07/cq.gif"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="cq" src="http://itforme.files.wordpress.com/2012/07/cq_thumb.gif?w=640&#038;h=438" alt="cq" width="640" height="438" border="0" /></a></span></p>
<p><span style="font-family:Arial;font-size:medium;"><strong>Resources:</strong></span></p>
<p><span style="font-family:Arial;font-size:small;">AutoLab by Alastair Cooke and Nick Marshall<br />
</span><a title="http://www.labguides.com/" href="http://www.labguides.com/"><span style="font-family:Arial;font-size:small;">http://www.labguides.com/</span></a></p>
<p><span style="font-family:Arial;font-size:small;">Hersey Cartwright’s Lab setup<br />
</span><a title="http://www.vhersey.com/2011/12/my-home-vmware-lab/" href="http://www.vhersey.com/2011/12/my-home-vmware-lab/"><span style="font-family:Arial;font-size:small;">http://www.vhersey.com/2011/12/my-home-vmware-lab/</span></a></p>
<p><span style="font-family:Arial;font-size:small;">Chris Wahl’s lab posts<br />
</span><a title="http://wahlnetwork.com/tag/lab/" href="http://wahlnetwork.com/tag/lab/"><span style="font-family:Arial;font-size:small;">http://wahlnetwork.com/tag/lab/</span></a><span style="font-family:Arial;font-size:small;"> </span></p>
<p><span style="font-family:Arial;font-size:small;">Tim’s portable lab<br />
</span><a title="http://whiteboardninja.wordpress.com/2011/10/13/building-a-portable-vsphere-lab/" href="http://whiteboardninja.wordpress.com/2011/10/13/building-a-portable-vsphere-lab/"><span style="font-family:Arial;font-size:small;">http://whiteboardninja.wordpress.com/2011/10/13/building-a-portable-vsphere-lab/</span></a></p>
<p><span style="font-family:Arial;font-size:small;">Synology’s DSM 4.0 support of VAAI in vSphere 5<br />
</span><a href="http://www.kendrickcoleman.com/index.php/Tech-Blog/synology-dsm-40-supports-vaai-in-vsphere-5-for-home-labs.html"><span style="font-family:Arial;font-size:small;">http://www.kendrickcoleman.com/index.php/Tech-Blog/synology-dsm-40-supports-vaai-in-vsphere-5-for-home-labs.html</span></a></p>
<p><span style="font-family:Arial;font-size:small;">A detailed build out of a home lab<br />
<a title="http://boerlowie.wordpress.com/2011/11/30/building-the-ultimate-vsphere-lab-part-1-the-story/" href="http://boerlowie.wordpress.com/2011/11/30/building-the-ultimate-vsphere-lab-part-1-the-story/">http://boerlowie.wordpress.com/2011/11/30/building-the-ultimate-vsphere-lab-part-1-the-story/</a></span></p>
<p><span style="font-family:Arial;font-size:small;">Review of the 10 port version of my Cisco SG300-20 switch<br />
<a title="http://www.vladan.fr/home-lab-gear-cisco-sg300-10-layer-3-switch-gets-new-firmware/" href="http://www.vladan.fr/home-lab-gear-cisco-sg300-10-layer-3-switch-gets-new-firmware/">http://www.vladan.fr/home-lab-gear-cisco-sg300-10-layer-3-switch-gets-new-firmware/</a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itforme.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itforme.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vmpete.com&#038;blog=9490911&#038;post=270&#038;subd=itforme&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vmpete.com/2012/07/30/three-labs-for-three-reasons/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0d169682a40f151448d92ac747bd3357?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ITforMe</media:title>
		</media:content>

		<media:content url="http://itforme.files.wordpress.com/2012/07/cq_thumb.gif" medium="image">
			<media:title type="html">cq</media:title>
		</media:content>
	</item>
	</channel>
</rss>
