<?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:series="http://unfoldingneurons.com/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
>

<channel>
	<title>Gestalt IT &#187; ESXi Archives  &#8211; Gestalt IT</title>
	<atom:link href="http://gestaltit.com/tag/esxi/feed/" rel="self" type="application/rss+xml" />
	<link>http://gestaltit.com</link>
	<description>Independent Experts United</description>
	<lastBuildDate>Wed, 08 Feb 2012 17:00:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
			<title>Gestalt IT</title>
			<url>http://gestaltit.com/wp-content/uploads/2009/02/gestalt-it-feedicon-21.png</url>
			<link>http://gestaltit.com</link>
			<width>144</width>
			<height>37</height>
			<description>Independent Experts United</description>
		</image><!-- podcast_generator="Blubrry PowerPress/2.0.4" -->
	<itunes:summary>Gestalt IT is a community of independent IT infrastructure experts. We gather at GestaltIT.com and our Tech FIeld Day events to discuss the topics of the day. This podcast includes video and audio recordings of these discussions.</itunes:summary>
	<itunes:author>Stephen Foskett</itunes:author>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://gestaltit.com/wp-content/uploads/powerpress/Gestalt_IT_Tech_Field_Day_Roundtable_Podcast_600.png" />
	<itunes:owner>
		<itunes:name>Stephen Foskett</itunes:name>
		<itunes:email>stephen@fosketts.net</itunes:email>
	</itunes:owner>
	<managingEditor>stephen@fosketts.net (Stephen Foskett)</managingEditor>
	<itunes:subtitle>The best independent IT commentary</itunes:subtitle>
	<itunes:keywords>Storage, Virtualization, Networking, IT</itunes:keywords>
	<image>
		<title>Gestalt IT &#187; ESXi Archives  &#8211; Gestalt IT</title>
		<url>http://gestaltit.com/wp-content/uploads/powerpress/Gestalt_IT_Tech_Field_Day_Roundtable_Podcast_144.png</url>
		<link>http://gestaltit.com</link>
	</image>
	<itunes:category text="Technology" />
	<itunes:category text="Business" />
	<itunes:category text="Technology">
		<itunes:category text="Tech News" />
	</itunes:category>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
			<item>
		<title>vSphere 5–PXE Installation Using vCenter Virtual Appliance</title>
		<link>http://gestaltit.com/featured/top/bill/vsphere-5pxe-installation-vcenter-virtual-appliance/</link>
		<comments>http://gestaltit.com/featured/top/bill/vsphere-5pxe-installation-vcenter-virtual-appliance/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 16:30:33 +0000</pubDate>
		<dc:creator>Bill Hill</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Server Virtualization]]></category>
		<category><![CDATA[Top Story]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[gestaltit]]></category>
		<category><![CDATA[PXE]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[virtual center]]></category>
		<category><![CDATA[vSphere 5]]></category>

		<guid isPermaLink="false">https://virtualbill.wordpress.com/?p=446</guid>
		<description><![CDATA[With the release of VMware's vSphere 5 product, the addition of the vCenter Virtual Appliance has been a welcome addition to management options. However, vCenter Virtual Appliance includes DHCP and TFTP functions that can be used for a PXE installation environment. Read on for instructions on using the vCenter Virtual Appliance as a PXE host for ESXi host installations!]]></description>
			<content:encoded><![CDATA[<p>The release of vSphere 5 has a lot of little gems. One of which is the availability of a SLES-based vCenter virtual appliance. So, while that is really cool, there is another little nugget of joy waiting for you in the vCenter virtual appliance (‘VCVA’ for all the hip kids)… specifically, your own little PXE booting environment. The oh-so-wise developers decided to include the requisite DHCP daemon and TFTP daemon. So nice of you VMware. Now, now only do you get a Linux-based vCenter, you also get the web client, a virtual appliance form, no requirement for SQL server, and a PXE environment. Really, how can you go wrong?</p>
<p>The PXE environment components included with the VCVA are not configured and turned off by default. So, if you’re ready to configure your VCVA for PXE, time to roll up your sleeves, crack those knuckles, and get ready to get your hands dirty.</p>
<p>Before we get started, though, and little caution (and disclaimer so I can sleep better at night):</p>
<blockquote><p>I know nothing about your environment. You are following these instructions at your own risk. This setup will impact DHCP functionality on your network. Follow these instructions at your own risk and make the appropriate adjustments to work in your environment.<br />
Additionally, I do not know everything about everything. So, you are going to need to rely upon your sleuthing abilities to help resolve issues that may arise.</p></blockquote>
<p>These instructions assume some knowledge of CLI-based file editing (vi). So, please research how to use it if you are unsure.</p>
<h3>Overview</h3>
<p>A PXE environment via the VCVA requires the following components in your environment</p>
<ul>
<li>DHCP server</li>
<li>TFTP server</li>
<li>Web Server (for kickstart scripts)</li>
<li>SYSLINUX (for pxeboot.0)</li>
<li>Access to an ESXi 5.0 installation CD (perhaps you created on using my <a rel="nofollow" href="http://virtualbill.wordpress.com/2011/08/19/vmware-vsphere-5using-image-builder-for-custom-installation/" >Image Builder tutorial</a>)</li>
<li>vCenter Virtual Appliance deployed</li>
<li>Blank server to PXE boot and install ESXi 5.0 on (aka – the client)</li>
<li>ESXi 5.0 installation .ISO</li>
<li>HTTP server on the network (for hosting kickstart files – customization during installation)</li>
</ul>
<p>For this exercise:</p>
<ul>
<li>Network: 192.168.226.0/24</li>
<li>VCVA: 192.168.226.21</li>
<li>DHCP Range: 192.168.226.200 – 254</li>
<li>Default Gateway: 192.168.226.1</li>
</ul>
<h3>Configuration</h3>
<p><strong>0 – Log into the appliance as ‘root’</strong></p>
<p><strong>1 – Configure DHCP</strong></p>
<p>‘<span style="font-family: 'Courier New';">dhcpd</span>‘ will listen to IP address requests, provide an IP to use, direct the client to the “<span style="font-family: 'Courier New';">next-server</span>” to continue PXE booting, and which file (<span style="font-family: 'Courier New';">filename</span>) to download from the server.</p>
<ul>
<li><span style="font-family: 'Courier New';">cd /var/lib/dhcp/etc </span></li>
<li><span style="font-family: 'Courier New';">cp -a dhcpd.conf dhcpd.conf.orig </span></li>
<li><span style="font-family: 'Courier New';">vi dhcpd.conf</span></li>
</ul>
<p>Once inside of the file, ensure the following exists (highlighted for your ease of identification)</p>
<blockquote>
<p align="left"><span style="font-family: 'Courier New';">ddns-update-style ad-hoc;<br />
</span><span style="color: #000000; font-family: 'Courier New';">allow booting;<br />
allow bootp;</span></p>
<p align="left"><span style="font-family: 'Courier New';">#gPXE options<br />
option space gpxe;<br />
option gpxe-encap-opts code 175 = encapsulate gpxe;<br />
option gpxe.bus-id code 177 = string;<br />
</span><span style="color: #000000; font-family: 'Courier New';">class “pxeclients”{<br />
match if substring(option vendor-class-identifier, 0, 9) = “PXEClient”;<br />
next-server 192.168.226.21;<br />
filename “pxelinux.0″;<br />
}<br />
subnet 192.168.226.0 netmask 255.255.255.0 {<br />
range 192.168.226.200 192.168.226.254;<br />
}</span></p>
</blockquote>
<p><span style="font-family: 'Courier New';">Save the</span> file and exit (hint: <span style="font-family: 'Courier New';">:wq</span>)</p>
<p><strong>2 – Configure TFTP</strong></p>
<p>TFTP services are provided by the ‘<span style="font-family: 'Courier New';">atftpd</span>’ daemon</p>
<ul>
<li><span style="font-family: 'Courier New';">cd /etc/sysconfig </span></li>
<li><span style="font-family: 'Courier New';">cp –a atftpd atftpd.orig </span></li>
<li><span style="font-family: 'Courier New';">vi atftpd</span></li>
</ul>
<p>Once inside the file adjust the “ATFTP_OPTIONS” line to read: “–daemon –user root”. Typically, the atftpd daemon runs as ‘<span style="font-family: 'Courier New';">nobody</span>’. However, the TFTP root (/<span style="font-family: 'Courier New';">tftpboot</span>/) is configured as owned by the ‘<span style="font-family: 'Courier New';">root</span>’ user.</p>
<p>Save and exit the file.</p>
<p><strong>3 – Get the SYSLINUX packages on the server</strong></p>
<p>There is one package missing to make the PXE installation process work: <span style="font-family: 'Courier New';">‘pxelinux.0′</span>. ‘<span style="font-family: 'Courier New';">pxelinux.0</span>‘ is an executable that is downloaded by the client in order to properly continue the PXE process (aka – download the files, execute the installer, etc…). ‘<span style="font-family: 'Courier New';">pxelinux.0</span>‘ is provided by the SYSLINUX package. In order for PXE to work properly with the ESXi 5.0 installation, SYSLINUX version 3.86 (or higher) is needed.</p>
<ul>
<li><span style="font-family: 'Courier New';">cd /tmp </span></li>
<li><span style="font-family: 'Courier New';">wget </span><a href="http://www.kernel.org/pub/linux/utils/boot/syslinux/3.xx/syslinux-3.86.tar.gz" ><span style="font-family: 'Courier New';">http://www.kernel.org/pub/linux/utils/boot/syslinux/3.xx/syslinux-3.86.tar.gz</span></a></li>
<li><span style="font-family: 'Courier New';">gunzip syslinux-3.86.tar.gz </span></li>
<li><span style="font-family: 'Courier New';">tar xvf syslinux-3.86.tar</span></li>
</ul>
<p>Note: you can use <span style="font-family: 'Courier New';">YUM</span> or copy the files to the server another way if you’d like. Regardless, get the files there. This example will continue to use the <span style="font-family: 'Courier New';">/tmp</span> file as the landing area for the SYSLINUX files.</p>
<p>Copy the pxelinux.0 file to your TFTP root</p>
<ul>
<li><span style="font-family: 'Courier New';">cp /tmp/syslinux-3.86/core/pxelinux.0 /tftpboot</span></li>
</ul>
<p><strong>4 – Prep the TFTP root for PXE</strong></p>
<p>The TFTP root configured on the VCVA is located at <span style="font-family: 'Courier New';">/tftpboot</span>. We are going to need to get the directory structure built out to support PXE.</p>
<ul>
<li><span style="font-family: 'Courier New';">cd /tftpboot </span></li>
<li><span style="font-family: 'Courier New';">mkdir esxi50</span></li>
</ul>
<p>By adding a directory, we are able to organize the TFTP server and support additional versions of ESXi going forward.</p>
<p><strong>5 – Get the ESXi 5.0 CD contents onto the server</strong></p>
<p>Seeing as the VCVA is a virtual appliance, it is easy to get the contents of the installation media onto the server.</p>
<ul>
<li>Mount the installation CD to the VCVA as a CD-ROM drive using the vSphere Client.</li>
<li><span style="font-family: 'Courier New';">mount /dev/cdrom /media </span></li>
<li><span style="font-family: 'Courier New';">cp –a /media* /tftpboot/esxi50</span>/</li>
<li><span style="font-family: 'Courier New';">umount /dev/cdrom</span></li>
</ul>
<p><strong>6 – Configure PXELINUX</strong></p>
<p>pxelinux is the utility that enables the PXE functionality. As mentioned before, pxelinux.0 is an executable that the server downloads. The executable provides functionality to parse a menu system, load kernels, options, customizations, modules, etc…, and boot the server. Since PXE can be used by multiple physical servers for multiple images, we need to configure pxelinux for this specific image.</p>
<ul>
<li><span style="font-family: 'Courier New';">cd /tftpboot </span></li>
<li><span style="font-family: 'Courier New';">mkdir pxelinux.cfg </span></li>
<li><span style="font-family: 'Courier New';">cd pxelinux.cfg</span></li>
</ul>
<p>pxelinux.0 looks for configuration files in the TFTP:/<span style="font-family: 'Courier New';">pxelinux.cfg</span> directory.</p>
<p>pxelinux looks for a large number of configuration files… specific to a default/generic value. This allows server administrators to define a file based on a complete MAC address, partial MAC address, or none at all to determine which image to boot from. Since this is the first configuration on the VCVA, we are going to configure a default. Do your research if you want to adjust this from the default value.</p>
<p>The installation media contains a file called <span style="font-family: 'Courier New';">isolinux.cfg</span>. We can use this as the basis for our file called ‘<span style="font-family: 'Courier New';">default</span>’. Copy it from the installation media and start customizations:</p>
<ul>
<li><span style="font-family: 'Courier New';">cp –a /tftpboot/esxi50/isolinux.cfg default </span></li>
<li><span style="font-family: 'Courier New';">chmod a+w default </span></li>
<li><span style="font-family: 'Courier New';">vi default</span></li>
</ul>
<ul>Ensure the appropriate lines match the following lines:</ul>
<blockquote><p><span style="font-family: 'Courier New';">DEFAULT /esxi50/menu.c32<br />
KERNEL /esxi50/mboot.cfg<br />
APPEND -c /esxi50/boot.cfg</span></p></blockquote>
<p>Save and Exit</p>
<p><strong>7 – Configure the Kickstart file</strong></p>
<p>Using a kickstart file, we can configure ESXi 5.0 automatically during installation. This requires that a file be placed on a server that is available to the client.  Sadly, the HTTP areas on the VCVA are not readily available… and, they may be erased during future upgrades. So, we need to use an external HTTP server somewhere on your network. (Note: NFS and FTP are options as well).</p>
<p>Add the following contents:</p>
<blockquote><p><span style="font-family: 'Courier New';"># Accept the EULA<br />
vmaccepteula</span></p>
<p><span style="font-family: 'Courier New';">#Set root password<br />
rootpw supersecretpassword</span></p>
<p><span style="font-family: 'Courier New';">#Install on first local disk<br />
install –firstdisk –overwritevmfs</span></p>
<p><span style="font-family: 'Courier New';">#Config initial network settings<br />
network –bootproto=dhcp –device=vmnic0</span></p>
<p>&nbsp;</p></blockquote>
<p>In this example, we are saving the file to:</p>
<ul>
<li>HTTP Server: 192.168.226.1</li>
<li>Directory: ks</li>
<li>File: esxi50.txt</li>
<li>URL: <a href="http://192.168.226.1/ks/esxi50.txt" >http://192.168.226.1/ks/esxi50.txt</a></li>
</ul>
<p><strong>8 – Configure the installation files</strong></p>
<p>The CD installation media for ESXi 5.0 assumes a single installation point. Thus, all the files are placed at the root of the image. However, since we want to actually organize our installation root, we added the ‘<span style="font-family: 'Courier New';">/tftpboot/esxi50</span>‘ directory and copied the files into it. We need to adjust the installation files in <span style="font-family: 'Courier New';">/tftpboot/esxi50</span> to reflect the change.</p>
<ul>
<li><span style="font-family: 'Courier New'; font-size: x-small;">cd /tftpboot/esxi50 </span></li>
<li><span style="font-family: 'Courier New'; font-size: x-small;">cp -a boot.cfg boot.cfg.orig </span></li>
<li><span style="font-family: 'Courier New'; font-size: x-small;">vi boot.cfg</span></li>
<li>Using the following picture as reference, add “<span style="font-family: 'Courier New'; font-size: x-small;">/esxi50</span>” to the paths for ‘<span style="font-family: 'Courier New';">kernel</span>’ and ‘<span style="font-family: 'Courier New';">modules</span>’ <a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image13.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border-width: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb13.png?w=486&amp;h=325" alt="image" width="486" height="325" border="0" /></a></li>
</ul>
<p>Save and quit</p>
<p><strong>9 – Restart services to load the service configurations and configure to start with server</strong><strong></strong></p>
<ul>
<li><span style="font-family: 'Courier New'; font-size: x-small;">/etc/init.d/dhcpd restart </span></li>
<li><span style="font-family: 'Courier New'; font-size: x-small;">/etc/init.d/atftpd restart </span></li>
<li><span style="font-family: 'Courier New'; font-size: x-small;">chkconfig –add dhcpd </span></li>
<li><span style="font-family: 'Courier New'; font-size: x-small;">chkconfig –add atftpd</span></li>
</ul>
<p><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image14.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb14.png?w=487&amp;h=185" alt="image" width="487" height="185" border="0" /></a></p>
<p><strong>10 – Take a break</strong></p>
<ul>You made it this far… great job. At this time, we have configured DHCP, TFTP, pxelinux, copied installation media to the TFTP root, and configured the installation for our organizational purposes.</ul>
<p><strong>11</strong><strong> – Start your host and install away</strong></p>
<p><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image15.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb15.png?w=514&amp;h=439" alt="image" width="514" height="439" border="0" /></a></p>
<p><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image16.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb16.png?w=514&amp;h=439" alt="image" width="514" height="439" border="0" /></a><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image17.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb17.png?w=516&amp;h=440" alt="image" width="516" height="440" border="0" /></a></p>
<p><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image18.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb18.png?w=511&amp;h=436" alt="image" width="511" height="436" border="0" /></a></p>
<p><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image19.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb19.png?w=513&amp;h=434" alt="image" width="513" height="434" border="0" /></a></p>
<p align="center">[BELOW] Reading the Kickstart Script. No need to enter customization info anymore.</p>
<p><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image20.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb20.png?w=515&amp;h=435" alt="image" width="515" height="435" border="0" /></a></p>
<p align="center">[BELOW] Checking contents of Kickstart file. You will see errors here if errors in file.</p>
<p><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image21.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb21.png?w=510&amp;h=436" alt="image" width="510" height="436" border="0" /></a></p>
<p><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image22.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb22.png?w=512&amp;h=438" alt="image" width="512" height="438" border="0" /></a></p>
<p><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image23.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb23.png?w=493&amp;h=417" alt="image" width="493" height="417" border="0" /></a></p>
<p><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image24.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb24.png?w=495&amp;h=442" alt="image" width="495" height="442" border="0" /></a></p>
<p><a rel="nofollow" href="http://virtualbill.files.wordpress.com/2011/08/image25.png" ><img style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border: 0;" title="image" src="http://virtualbill.files.wordpress.com/2011/08/image_thumb25.png?w=509&amp;h=90" alt="image" width="509" height="90" border="0" /></a></p>
<p>&nbsp;</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://gestaltit.com/all/tech/virtualization/simon/vmware-hot-add-memorycpu-support/"  rel="bookmark" class="crp_title">VMware Hot-Add Memory/CPU Support</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/unable-cast-object-type-logicalunitpolicy-type-fixedlogicalunitpolicy/"  rel="bookmark" class="crp_title">Unable to cast object of type ‘LogicalUnitPolicy’ to type ‘FixedLogicalUnitPolicy’</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/bill/vmware-flingpxe-manager-vcenterhow-setup-installing/"  rel="bookmark" class="crp_title">VMware Fling–PXE Manager for vCenter–How To Setup And Get Installing</a></li><li><a href="http://gestaltit.com/all/tech/networking/bill/macos-cosco-ipsec-vpn-tunnel-configuration/"  rel="bookmark" class="crp_title">OS X IPSec VPN Tunnel Configuration Issue AND Resolution</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/need-more-vcenter-tasks-and-events/"  rel="bookmark" class="crp_title">Need More vCenter Tasks and Events?</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://gestaltit.com/featured/top/bill/vsphere-5pxe-installation-vcenter-virtual-appliance/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© Bill for <a href="http://gestaltit.com">Gestalt IT</a>, 2011. |
<a href="http://gestaltit.com/featured/top/bill/vsphere-5pxe-installation-vcenter-virtual-appliance/">vSphere 5–PXE Installation Using vCenter Virtual Appliance</a>
<br/>
Read more posts categorized as <a href="http://gestaltit.com/category/all/" title="View all posts in All" rel="category tag">All</a>, <a href="http://gestaltit.com/category/featured/" title="View all posts in Featured" rel="category tag">Featured</a>, <a href="http://gestaltit.com/category/all/tech/virtualization/" title="View all posts in Server Virtualization" rel="category tag">Server Virtualization</a>, <a href="http://gestaltit.com/category/featured/top/" title="View all posts in Top Story" rel="category tag">Top Story</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://gestaltit.com/featured/top/bill/vsphere-5pxe-installation-vcenter-virtual-appliance/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://virtualbill.files.wordpress.com/2011/08/image_thumb20.png" length="5242880" type="image/png" />
			<itunes:keywords>ESXi,gestaltit,PXE,Systems,virtual center,vSphere 5</itunes:keywords>
		<itunes:subtitle>With the release of VMware&#039;s vSphere 5 product, the addition of the vCenter Virtual Appliance has been a welcome addition to management options. However, vCenter Virtual Appliance includes DHCP and TFTP functions that can be used for a PXE installation...</itunes:subtitle>
		<itunes:summary>With the release of VMware&#039;s vSphere 5 product, the addition of the vCenter Virtual Appliance has been a welcome addition to management options. However, vCenter Virtual Appliance includes DHCP and TFTP functions that can be used for a PXE installation environment. Read on for instructions on using the vCenter Virtual Appliance as a PXE host for ESXi host installations!</itunes:summary>
		<itunes:author>Stephen Foskett</itunes:author>
		<itunes:explicit>no</itunes:explicit>
	</item>
		<item>
		<title>vSphere 4.1 U1 Released. Fixes Specific For VM Backups</title>
		<link>http://gestaltit.com/all/tech/virtualization/rich/vsphere-41-u1-fixes-backup/</link>
		<comments>http://gestaltit.com/all/tech/virtualization/rich/vsphere-41-u1-fixes-backup/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 18:53:10 +0000</pubDate>
		<dc:creator>Rich Brambley</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Server Virtualization]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[DR]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[Fixes]]></category>
		<category><![CDATA[gestaltit]]></category>
		<category><![CDATA[issues]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[Rick Vanover]]></category>
		<category><![CDATA[Rickatron]]></category>
		<category><![CDATA[sqlpass]]></category>
		<category><![CDATA[techrepublic]]></category>
		<category><![CDATA[Veeam]]></category>
		<category><![CDATA[vmetc]]></category>
		<category><![CDATA[vmetc.com]]></category>
		<category><![CDATA[vms]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[vSphere 4.1]]></category>

		<guid isPermaLink="false">http://vmetc.com/?p=6382</guid>
		<description><![CDATA[Like everyone else, I have been reviewing the Release Notes for the latest Update 1 release of vSphere 4.1, but I decided to point out specific fixes that will make full image VM backups better for everyone. Note that I work for Veeam Software, but the fixes I am referring to are all VMware resolved issues that surface from time to no matter what backup solution you use. There are numerous other fixes and impovements in the U1 release, but, since most of my world is backup these days, these particular items “popped out” at me.]]></description>
			<content:encoded><![CDATA[<p>Like everyone else, I have been reviewing the <a href="http://www.vmware.com/support/vsphere4/doc/vsp_esx41_u1_rel_notes.html" >Release Notes for the latest Update 1 release of vSphere 4.1</a>, but I decided to point out specific fixes that will make full image VM backups better for everyone. Note that I work for <a href="http://www.veeam.com/" class="zem_slink" title="Veeam Software" rel="homepage" >Veeam Software</a>, but the fixes I am referring to are all <a href="http://www.vmware.com/" class="zem_slink" title="VMware" rel="homepage" >VMware</a> resolved issues that surface from time to no matter what backup solution you use. There are numerous other fixes and impovements in the U1 release, but, since most of my world is backup these days, these particular items “popped out” at me.</p>
<p>For a great overview of the entire U1 release check out Rick Vanover’s post <a rel="nofollow" href="http://rickvanover.wordpress.com/2011/02/11/vsphere-4-1-update-1-released/" >vSphere 4.1 update 1 released</a> from his Rickatron Blog and <a href="http://www.techrepublic.com/blog/datacenter/vsphere-41-update-1-adds-customization-support/3741" >via his Servers and Storage Column/Blog</a> at <a rel="nofollow" href="http://en.wikipedia.org/wiki/TechRepublic" class="zem_slink" title="TechRepublic" rel="wikipedia" >TechRepublic</a>.</p>
<p>The rest of this post contains cut and pastes from the Release Notes and some commentary about them from me. I want to stress again that these are issues that have now been fixed!</p>
<p><strong>Finally, I’ll point out the one huge VM backup issue (that I can think of right now) that still does not appear to be resolved.</strong></p>
<ul>
<li><strong><span style="text-decoration: underline;">Cannot take quiesced snapshots of <a rel="nofollow" href="http://www.microsoft.com" class="zem_slink" title="Microsoft" rel="homepage" >Microsoft</a> <a rel="nofollow" href="http://www.microsoft.com/windowsserver2008/en/us/R2.aspx" class="zem_slink" title="Windows Server 2008 R2" rel="homepage" >Windows Server 2008 R2</a> virtual machine running vCenter Server 4.1</span></strong><strong> </strong>When creating a snapshot of a Microsoft Windows Server 2008 R2 virtual machine that has vCenter Server 4.1 installed, the snapshot operation might fail to complete. This issue occurs on Microsoft Windows Server 2008 R2 virtual machines when the ADAM database is installed. The issue is resolved in this release.</li>
</ul>
<p>The change from 2008 to 2008 R2 has caused quite a few applications to stumble, so it is good to see that VMware users can now install vCenter on the latest and greatest OS from Microsoft running as a virtual machine without having to worry about various hassles, not to mention coming up with a separate backup or business continuity solution for arguably one of the most important VMs in the environment.</p>
<ul>
<li><strong><span style="text-decoration: underline;">Creation of large <a href="http://www.vmware.com/interfaces/vmdk.html" class="zem_slink" title="VMDK" rel="homepage" >.vmdk</a> files on <a rel="nofollow" href="http://en.wikipedia.org/wiki/Network_File_System_(protocol)" class="zem_slink" title="Network File System (protocol)" rel="wikipedia" >NFS</a> might fail</span>. </strong>When you create a virtual disk (.vmdk file) with a large size, for example, more than 1TB, on NFS storage, the creation process might fail with an error: <tt>A general system error occurred: Failed to create disk: Error creating disk</tt>. This issue occurs when the NFS client does not wait for sufficient time for the NFS storage array to initialize the virtual disk after the RPC parameter of the NFS client times out. By default the timeout value is 10 seconds. This fix provides the configuration option to tune the RPC timeout parameter using the <tt>esxcfg-advcfg -s &lt;Timeout&gt; /NFS/SetAttrRPCTimeout</tt> command.</li>
</ul>
<p>Although specific to users of NFS storage, this one was definitely a head scratcher. Possible scenarios where this problem could rear it’s ugly head include full VM restores and even VM replication. Add the possibility of dedicating a large .vmdk as the backup repository for your backup server VM.</p>
<p>Let me know if I missed any other resolved issues specific to VM backups.</p>
<p><strong><span style="text-decoration: underline;">The issue still unresolved</span></strong></p>
<p>Unfortunately, nothing in vSphere 4.1 U1 appears to address the <strong>loss of connectivity when committing snapshots for VMs using Change Block Tracking (CBT) while running on NFS storage</strong>.  This leaves VMware admins stuck between a rock and hard place – disable CBT or move VMs off of NFS. More about the problem can be found in VMware’s KB Article:</p>
<p><a href="http://kb.vmware.com/kb/1031106" >Virtual machine freezes temporarily during snapshot removal on an NFS datastore in a ESX/ESXi 4.1 host</a></p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://gestaltit.com/all/tech/virtualization/rich/pre-existing-snapshot-inconsistent-incrementals-vsphere-cbt/"  rel="bookmark" class="crp_title">Pre-existing Snapshot Could Cause Inconsistent Incrementals Using vSphere CBT</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/rich/consolidate-helper-snapshot-appears-vsphere-vm/"  rel="bookmark" class="crp_title">Consolidate Helper Snapshot Appears On vSphere VM</a></li><li><a href="http://gestaltit.com/all/tech/storage/rich/vsphere-pvscsi-performance-separate-drives/"  rel="bookmark" class="crp_title">Tap into vSphere PVSCSI Performance with Separate VM Boot and Data Drives</a></li><li><a href="http://gestaltit.com/all/tech/storage/rich/vaai-virtualization/"  rel="bookmark" class="crp_title">What Is VAAI And What Does It Mean For Virtualization?</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/do-i-upgrade-to-vmware-virtual-hardware-version-7/"  rel="bookmark" class="crp_title">Do I Upgrade to VMware Virtual Hardware Version 7?</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://gestaltit.com/all/tech/virtualization/rich/vsphere-41-u1-fixes-backup/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© Rich for <a href="http://gestaltit.com">Gestalt IT</a>, 2011. |
<a href="http://gestaltit.com/all/tech/virtualization/rich/vsphere-41-u1-fixes-backup/">vSphere 4.1 U1 Released. Fixes Specific For VM Backups</a>
<br/>
Read more posts categorized as <a href="http://gestaltit.com/category/all/" title="View all posts in All" rel="category tag">All</a>, <a href="http://gestaltit.com/category/all/tech/virtualization/" title="View all posts in Server Virtualization" rel="category tag">Server Virtualization</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://gestaltit.com/all/tech/virtualization/rich/vsphere-41-u1-fixes-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Auto Deploy – Stateless ESXi</title>
		<link>http://gestaltit.com/all/tech/virtualization/simon/vmware-auto-deploy-stateless-esxi/</link>
		<comments>http://gestaltit.com/all/tech/virtualization/simon/vmware-auto-deploy-stateless-esxi/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 18:00:22 +0000</pubDate>
		<dc:creator>Simon Long</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Server Virtualization]]></category>
		<category><![CDATA[Auto Deploy]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[General IT]]></category>
		<category><![CDATA[Gestalt IT]]></category>
		<category><![CDATA[stateless]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.simonlong.co.uk/blog/?p=2890</guid>
		<description><![CDATA[Over the past few days I've been looking into deployment tools to help me deploy a large amount of ESXi Host's in a short space of time. One of the tools I've been looking at is VMware Auto Deploy]]></description>
			<content:encoded><![CDATA[<p>Over the past few days I&#8217;ve been looking into deployment tools to help me deploy a large amount of ESXi Host&#8217;s in a short space of time. One of the tools I&#8217;ve been looking at is <a href="http://labs.vmware.com/flings/vmware-auto-deploy" >VMware Auto Deploy</a></p>
<p><a rel="nofollow" href="http://www.flickr.com/photos/36355998@N02/4994947159/" class="flickr-image alignright" title="VMware Auto Deploy" rel="flickr-mgr" ><img class="flickr-medium" style="border: 0px #000 solid;" src="http://farm5.static.flickr.com/4076/4994947159_31475e021a_m.jpg" alt="VMware Auto Deploy" /></a></p>
<h3><strong>VMware Auto Deploy</strong></h3>
<p>The auto deploy application which comes as an OVT template is basically just a jumped-up vMA, with the added extra&#8217;s of DHCP, TFTP, HTTP servers and a deploy-cmd CLi and Database.</p>
<p>Here is a brief overview of how VMware Auto Deploy works once configured:</p>
<ul>
<li>PXE boot the target server</li>
<li>ESXi is installed onto the target server from the auto deploy app</li>
<li>The ESXi host will then be added into your vCenter</li>
<li>The ESXi host will then have a Host Profile applied to it.</li>
</ul>
<p>This makes life pretty easy.</p>
<p>What I didn&#8217;t know and it didn&#8217;t mention on the labs site was that the ESXi install was <strong>Stateless</strong>. The ESXi install is only held in memory. So if you reboot the server you&#8217;d see a &#8220;No Operating System Found&#8221; message.</p>
<p>Before VMware Auto Deploy, I hadn&#8217;t ever given Stateless ESXi a second thought. The configuration of a host once ESXi was installed was a lot more detailed than the initial install itself and took time to complete. Now with the use of Host Profiles we are able to Install and Configure an ESXi host within a matter of minutes and 100% automatically. At this rate I&#8217;ll be doing myself out of a job! However, I also believe it&#8217;s the way most large deployments will head in the not so distant future. We are beginning to see an increase in the amount of diskless servers/blades coming onto the market, which is ushering us down the route of using Stateless installs.</p>
<p>I&#8217;m not going to go into the in&#8217;s and out&#8217;s of the application configuration as it&#8217;s all available in the <a href="http://labs.vmware.com/wp-content/uploads/2010/08/autodeploy_fling.pdf" >VMware Auto Deploy Administrator&#8217;s Guide</a>. It&#8217;s very simple.</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://gestaltit.com/all/tech/virtualization/bill/vmware-flingpxe-manager-vcenterhow-setup-installing/"  rel="bookmark" class="crp_title">VMware Fling–PXE Manager for vCenter–How To Setup And Get Installing</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/rich/cisco-ucs-dummies-managing-blades-ucs-manager/"  rel="bookmark" class="crp_title">Cisco UCS for Dummies – Managing Blades With UCS Manager</a></li><li><a href="http://gestaltit.com/featured/top/bill/vsphere-5pxe-installation-vcenter-virtual-appliance/"  rel="bookmark" class="crp_title">vSphere 5–PXE Installation Using vCenter Virtual Appliance</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/3par-management-plug-in-for-vmware-vcenter-17/"  rel="bookmark" class="crp_title">3PAR Management Plug-In For VMware vCenter</a></li><li><a href="http://gestaltit.com/all/tech/storage/stephen/thin-provisioning-playing-telephone-game/"  rel="bookmark" class="crp_title">Thin Provisioning: Playing the Telephone Game</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://gestaltit.com/all/tech/virtualization/simon/vmware-auto-deploy-stateless-esxi/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© Simon for <a href="http://gestaltit.com">Gestalt IT</a>, 2010. |
<a href="http://gestaltit.com/all/tech/virtualization/simon/vmware-auto-deploy-stateless-esxi/">VMware Auto Deploy – Stateless ESXi</a>
<br/>
Read more posts categorized as <a href="http://gestaltit.com/category/all/" title="View all posts in All" rel="category tag">All</a>, <a href="http://gestaltit.com/category/all/tech/virtualization/" title="View all posts in Server Virtualization" rel="category tag">Server Virtualization</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://gestaltit.com/all/tech/virtualization/simon/vmware-auto-deploy-stateless-esxi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using vMA As Your ESXi Syslog Server</title>
		<link>http://gestaltit.com/all/tech/virtualization/simon/vma-esxi-syslog-server/</link>
		<comments>http://gestaltit.com/all/tech/virtualization/simon/vma-esxi-syslog-server/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 20:30:13 +0000</pubDate>
		<dc:creator>Simon Long</dc:creator>
				<category><![CDATA[Server Virtualization]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[syslog]]></category>
		<category><![CDATA[vma]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.simonlong.co.uk/blog/?p=2549</guid>
		<description><![CDATA[Many people don't know that it's recommended to use a syslog server with ESXi. As an alternative, they can use an application built in to vMA called vilogger.]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" title="Vilogger" src="http://farm5.static.flickr.com/4050/4644254215_55b299e435_o.jpg" alt="" width="723" height="64" /></p>
<p>This is something I did a while ago, but it came to my attention that people didn&#8217;t; a) Know that it&#8217;s recommended to use a syslog server with ESXi b) You could use an application built in to <a href="http://www.vmware.com/support/developer/vima/" >vMA</a> called vilogger.</p>
<p>Although it is stated in <a href="http://www.vmware.com/files/pdf/vmware_esxi_architecture_wp.pdf" >The Architecture of VMware ESXi</a>…..</p>
<blockquote><p>Because the in-memory file system does not persist when the power is shut down, log files do not survive a reboot. ESXi has the ability to configure a remote syslog server, enabling you to save all log information on an external system.</p></blockquote>
<p>…..it is not a well known fact. So that is partly the reason for writing the post. The other reason is to introduce you to vilogger, which is part of the <a href="http://www.vmware.com/support/developer/vima/" >vMA</a>. Of course you can use which ever syslog server you wish,  if you plan to use your own, be sure to checkout <a href="http://www.vmware.com/pdf/vsphere4/r40/vsp_40_admin_guide.pdf" >Managing VMware ESXi</a> page #68 to view the configuration steps.</p>
<p>I&#8217;m not going to take you through the steps of installing vMA, nor am I going to tell you all about what the vMA (vSphere Manage Assistant) does. If you want to read more about that please find the relevant links in the Sources section at the bottom of the page. But I am going to take you through the steps I took to use vMA as my ESXi syslog server.</p>
<p><span id="more-2549"> </span></p>
<p>First of all, download the vMA from <a href="http://www.vmware.com/support/developer/vima/" >here</a>. Import and configure it using the steps in the <a href="http://www.vmware.com/support/developer/vima/vima40/doc/vma_40_guide.pdf" >vSphere Management Assistant Guide</a></p>
<p><span style="font-size: 14px;"><strong>Changing vMA localtime settings to avoid incorrect log timestamps</strong></span></p>
<p>When vMA collects the logs from your ESXi Host, sometimes the logs have the ESXi Host timestamp and sometimes they will have the vMA Localtime timestamp. I&#8217;m not exactly sure why this happens, but it does. (You may or may not know that ESXi uses UTC as its timezone when it timestamps the logs. You can read more about that <a href="http://www.gabesvirtualworld.com/setting-timezone-in-esxi-or-not/" >here</a>. VMware have told me this cannot be changed.)</p>
<p>So to get around the issue of differing timestamps in your collected logs we need to change the localtime on the vMA to UTC. This can be done using the following steps:</p>
<ul>
<li><strong>sudo rm /etc/localtime</strong></li>
<li><strong>sudo ln -s /usr/share/zoneinfo/UTC /etc/localtime</strong></li>
</ul>
<p><strong>If you use NTP to sync your environments time, it might be worth adding in your ntp servers onto the vMA.</strong></p>
<ul>
<li><strong>sudo nano /etc/ntp.conf</strong></li>
<li>Add in your ntp servers under the heading: <strong># Use public servers from the pool.ntp.org project.</strong></li>
<li>Configure ntpd to start on reboot: <strong>sudo /sbin/chkconfig ntpd on</strong></li>
<li>Restart ntpd: <strong>sudo /sbin/service ntpd restart</strong></li>
<li>Make sure your ntp servers are reachable: <strong>sudo ntpq -p </strong></li>
</ul>
<p><span id="cke_bm_145S" style="display: none;"> </span><strong>Whilst your at it you could change your keyboard for those of you outside the US.</strong><span id="cke_bm_145E" style="display: none;"> </span></p>
<ul>
<li><strong>sudo vi /etc/sysconfig/keyboard</strong>
<ul>
<li> change KEYTABLES=”us” to use the keyboard you have, for example: KEYTABLES=&#8221;en&#8221;</li>
</ul>
</li>
</ul>
<p><span style="font-size: 14px;"><strong>Adding a second Hard Disk to store your logs</strong></span></p>
<p>Because of the amount of ESXi Hosts I have to manage I decided that I would add a second Virtual Disk to house my logs.  You may not need to do this if you only have 1 or two Hosts.</p>
<ul>
<li>Add a second Hard Disk to the vMA VM</li>
<li>PowerOn vMA</li>
<li>Login using <strong>vi-admin</strong></li>
<li>Format the new Disk with the following command: <strong>fdisk /dev/sdb</strong>
<ul>
<li>Use the <strong>n</strong> command to create a new partition</li>
<li>Use the <strong>p</strong> command to make the new partition a primary partition</li>
<li>Press <strong>1</strong> to make it partition #1</li>
<li>Use the <strong>default</strong> for the First Cylinder</li>
<li>Use the <strong>default</strong> for the Last Cylinder</li>
<li>Use the <strong>p</strong> command to verify the partition table</li>
<li>Use the <strong>w</strong> command to write the partition table to the hard disk</li>
</ul>
</li>
<li>Press <strong>Enter</strong> a couple of times to confirm it&#8217;s finished and return to the command prompt</li>
<li>Now we need to format the partition using the follow command: <strong>mkfs -t ext3 /dev/sdb1</strong></li>
</ul>
<p><strong>Now we have our new disk ready, we now need to mount it.</strong></p>
<ul>
<li>Edit /etc/fstab using the following command: <strong>nano /etc/fstab</strong></li>
<li>Enter in the following line: <strong>/dev/sdb1               /var/log/syslog            ext3    defaults,auto        1 2</strong></li>
<li>Use <strong>Cntrl+X</strong> then <strong>Y</strong> to save the file</li>
<li>Next: <strong>cd /var/log/ </strong>then<strong> mkdir syslog </strong></li>
<li>finally <strong>mount /var/log/syslog </strong>to mount the disk</li>
</ul>
<p><strong>Ok, now our new Disk is mounted, we need to tell the vilogger application to store your logfiles there. </strong>The default location is /var/log/vmware so we need to change it.</p>
<ul>
<li>Edit the vilogger config file using:<strong> nano /etc/vmware/viconfig/vilogdefaults.xml</strong></li>
<li>Change the file to match this: <strong>&lt;location&gt;/var/log/syslog&lt;/location&gt;</strong> (This appears twice, change both)</li>
<li>Use <strong>Cntrl+X</strong> then <strong>Y</strong> to save the file</li>
<li>Restart vilogger by: <strong>vmware-vilogd restart</strong></li>
</ul>
<p><strong>Now vilogger is set to store your ESXi logfiles onto your new disk. </strong></p>
<p><strong><span style="font-size: 14px;">Configure vMA to collect your logs</span></strong></p>
<p>Next we configure vMA and vilogger to collect your ESXi logfiles.</p>
<ul>
<li>Connect your ESXi Host to vMA using the following command: <strong>sudo vifp addserver &lt;FQDN of ESXi Host&gt; </strong></li>
<li>Enter the <strong>Root Password </strong>for the Host</li>
<li>Once the Host has been added you can double check by running the following command: <strong>vifp listservers</strong></li>
<li>Now set vilogger to start collecting your logs: <strong>vilogger enable –server </strong><strong><span style="font-weight: normal;"><strong>&lt;FQDN of ESXi Host&gt; </strong></span> –numrotation 20 –maxfilesize 10 –collectionperiod 10</strong></li>
</ul>
<p><a rel="nofollow" href="http://www.flickr.com/photos/36355998@N02/4644631264/" class="flickr-image" title="vilogger" ><img src="http://farm4.static.flickr.com/3390/4644631264_d902b570f0.jpg" alt="vilogger" /></a></p>
<p><strong>You will see the above displayed, showing that vilogger is now collecting logs from your  Host.</strong></p>
<p>Values <strong>–numrotation 20 –maxfilesize 10 –collectionperiod 10 </strong>can be changed to suit your needs. If you just run the <strong>vilogger –help</strong> command you will see what options and values are available.</p>
<p><span style="font-size: 14px;"><strong>Viewing your logs</strong></span></p>
<p>Now your vMA is collecting your logs you can view them by: <strong>dir /var/log/syslog/&lt;FQDN of Host&gt; </strong>You can view your logs in real time if you wish, read more about there <a href="http://www.simonlong.co.uk/blog/2009/11/18/realtime-view-of-esx-logs-in-the-service-console/" >here</a>.</p>
<ul>
<li>An example:<strong> tail -f /var/log/syslog/&lt;FQDN of Host&gt;/vpxa.log</strong></li>
</ul>
<p><strong>Sources:</strong></p>
<ul>
<li><a href="http://www.gabesvirtualworld.com/setting-timezone-in-esxi-or-not/" >Setting timezone in ESXi or not</a></li>
<li><a href="http://www.vmware.com/files/pdf/vmware_esxi_architecture_wp.pdf" >The Architecture of VMware ESXi</a></li>
<li><a href="http://www.vmware.com/support/developer/vima/vima40/doc/vma_40_guide.pdf" >vSphere Management Assistant Guide</a></li>
<li><a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1007551" >VMware KB1007551</a></li>
</ul>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://gestaltit.com/all/tech/virtualization/simon/object-deleted-completely-created/"  rel="bookmark" class="crp_title">The object has already been deleted or has not been completely created</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/esxtop-vmware-esxi/"  rel="bookmark" class="crp_title">Using ESXTOP With VMware ESXi</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/unable-cast-object-type-logicalunitpolicy-type-fixedlogicalunitpolicy/"  rel="bookmark" class="crp_title">Unable to cast object of type ‘LogicalUnitPolicy’ to type ‘FixedLogicalUnitPolicy’</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/vmware-hot-add-memorycpu-support/"  rel="bookmark" class="crp_title">VMware Hot-Add Memory/CPU Support</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/vmware-view-45-rebalance/"  rel="bookmark" class="crp_title">VMware View 4.5: Rebalance</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://gestaltit.com/all/tech/virtualization/simon/vma-esxi-syslog-server/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© Simon for <a href="http://gestaltit.com">Gestalt IT</a>, 2010. |
<a href="http://gestaltit.com/all/tech/virtualization/simon/vma-esxi-syslog-server/">Using vMA As Your ESXi Syslog Server</a>
<br/>
Read more posts categorized as <a href="http://gestaltit.com/category/all/tech/virtualization/" title="View all posts in Server Virtualization" rel="category tag">Server Virtualization</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://gestaltit.com/all/tech/virtualization/simon/vma-esxi-syslog-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using ESXTOP With VMware ESXi</title>
		<link>http://gestaltit.com/all/tech/virtualization/simon/esxtop-vmware-esxi/</link>
		<comments>http://gestaltit.com/all/tech/virtualization/simon/esxtop-vmware-esxi/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 16:00:00 +0000</pubDate>
		<dc:creator>Simon Long</dc:creator>
				<category><![CDATA[Server Virtualization]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[esxtop]]></category>
		<category><![CDATA[Gestalt IT]]></category>
		<category><![CDATA[resxtop]]></category>
		<category><![CDATA[vma]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.simonlong.co.uk/blog/?p=2297</guid>
		<description><![CDATA[Just a quick post about using ESXTOP with VMware ESXi. Obviously in ESXi there is no Service Console so we have to use the vMA (vSphere Management Assistant) to help us.]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="RESXTOP" src="http://farm5.static.flickr.com/4071/4458956637_e632109708_o.jpg" alt="" width="722" height="97" /></p>
<p>Just a quick post about using <a href="http://www.yellow-bricks.com/esxtop/" >ESXTOP</a> with VMware ESXi. Obviously in ESXi there is no Service Console so we have to use the vMA (vSphere Management Assistant) to help us. If you haven&#8217;t installed the vMA on your infrastructure yet, you can download it here: <a href="http://www.vmware.com/support/developer/vima/" >http://www.vmware.com/support/developer/vima/</a></p>
<p>Once install and configured, login and run the following command: <strong>resxtop –server &lt;server name&gt;</strong></p>
<p>You will be prompted to login, use the <strong>root</strong> user/pass of the Host you want to run ESXTOP on (<strong>Note:</strong> Logging in as root will <span style="text-decoration: underline;">not</span> work if the Host is in &#8220;<a href="http://www.yellow-bricks.com/2010/03/23/esxi-lockdown-mode/" >Lockdown Mode</a>&#8220;.). You should then be presented with ESXTOP, I believe it has all of the same function as it did in the Service Console</p>
<p>Here you can see all avaliable options when connecting to a Host using RESXTOP</p>
<pre><span style="font-size: 12px;">usage: resxtop [-h] [-v] [-b] [-s] [-a] [-c config file] [-d delay] [-n iterations]
               [--server server-name [--vihost host-name]] [--portnumber socket-port] [--username user-name]
              -h prints this help menu.
              -v prints version.
              -b enables batch mode.
              -s enables secure mode.
              -a show all statistics.
              -c sets the esxtop configuration file, which by default is .esxtop4rc
              -d sets the delay between updates in seconds.
              -n runs resxtop for only n iterations.
              --server      remote server name.
              --vihost      esx host name, if --server specifies vc server.
              --portnumber  socket port, default is 443.
              --username    user name on the remote server.
       for more information on interactive and batch modes
       please see man page for resxtop.
</span></pre>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://gestaltit.com/all/tech/virtualization/simon/vma-esxi-syslog-server/"  rel="bookmark" class="crp_title">Using vMA As Your ESXi Syslog Server</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/unable-cast-object-type-logicalunitpolicy-type-fixedlogicalunitpolicy/"  rel="bookmark" class="crp_title">Unable to cast object of type ‘LogicalUnitPolicy’ to type ‘FixedLogicalUnitPolicy’</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/testing-network-throughput-between-vmware-esx-hosts/"  rel="bookmark" class="crp_title">Testing Network throughput between VMware ESX Hosts</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/installing-configuring-hp-snmp-agents-esx-4/"  rel="bookmark" class="crp_title">Installing and configuring HP SNMP agents on ESX 4.0</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/simon/object-deleted-completely-created/"  rel="bookmark" class="crp_title">The object has already been deleted or has not been completely created</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://gestaltit.com/all/tech/virtualization/simon/esxtop-vmware-esxi/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© Simon for <a href="http://gestaltit.com">Gestalt IT</a>, 2010. |
<a href="http://gestaltit.com/all/tech/virtualization/simon/esxtop-vmware-esxi/">Using ESXTOP With VMware ESXi</a>
<br/>
Read more posts categorized as <a href="http://gestaltit.com/category/all/tech/virtualization/" title="View all posts in Server Virtualization" rel="category tag">Server Virtualization</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://gestaltit.com/all/tech/virtualization/simon/esxtop-vmware-esxi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtualisation: Learning The Hard Way</title>
		<link>http://gestaltit.com/all/tech/storage/chris/virtualisation-learning-the-hard-way/</link>
		<comments>http://gestaltit.com/all/tech/storage/chris/virtualisation-learning-the-hard-way/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 10:37:55 +0000</pubDate>
		<dc:creator>Chris Evans</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Server Virtualization]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[gestaltit]]></category>
		<category><![CDATA[Iomega]]></category>
		<category><![CDATA[ix4-200d]]></category>
		<category><![CDATA[SAS]]></category>
		<category><![CDATA[Savvio]]></category>
		<category><![CDATA[Seagate]]></category>
		<category><![CDATA[virtualisation]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.thestoragearchitect.com/?p=1048</guid>
		<description><![CDATA[They say that you learn the most when you make mistakes and things go wrong.  Well, last night I certainly must have learned a lot.  What started as a simple physical re-organisation of my hardware turned into a rebuild of my production VMware ESXi server - finishing at 1am.]]></description>
			<content:encoded><![CDATA[<p>They say that you learn the most when you make <strong>mistakes</strong> and things go wrong.  Well, last night I certainly must have <strong>learned</strong> a lot.  What started as a simple physical re-organisation of my hardware turned into a rebuild of my production VMware ESXi server – finishing at 1am.  Here’s what happened.</p>
<h3>Failing Disk</h3>
<p>I started by shutting down and moving my production ESXi Server out and back into the standard rack it occupies.  On power up, the server failed to reboot, claiming the boot disk was no longer present.  A quick check inside showed that the SAS connector on the boot disk had come loose, so I plugged it back in and tried again (Oh, SAS specification guys – bad design, no retainers on the plugs).  Unfortunately, the boot disk had somehow become <strong>corrupted</strong> and the server wouldn’t come up.  No problem, I thought, just repair using the installation media.  This is where things started to get complicated.</p>
<p>My ESXi server runs off a Seagate <strong>Savvio 2.5″ 15K 73GB</strong> drive, one of four Seagate generously loaned me last year for long term testing.  More on that another day.  The server has two disks installed, one of which has VMs on it.  During the repair process I wasn’t sure which disk was the O/S and which was data.  ESXi doesn’t help much, only indicating that both disks contained data in partitions, <strong>data that would be lost</strong> if I reinstalled.</p>
<blockquote><p><strong>Lesson 1</strong> – Make sure you know <strong>exactly</strong> how your hardware is configured, down to the SAS ports each drive is plugged into.</p></blockquote>
<p>Actually having multiple drives of the same type is a pain.  So rather than risk data loss, I removed both drives and re-installed the ESXi O/S from a third Savvio drive.  All good.  Now I need to locate and import all my VMs, however some were on the removed Savvio disks.  This meant installing each disk independently and checking the contents to determine which contained VMs and which contained the broken O/S.</p>
<blockquote><p><strong>Lesson 2</strong> – Wherever possible, place your VMs on disks separate from the server itself.</p></blockquote>
<p>Yes, I do have <strong>most</strong> of my VMs on my Iomega ix4-200d, but, rather crucially, <strong>not</strong> my Windows 2008 AD Server, which needed to be moved from internal disk to the ix4 before I continued (schoolboy error there).  The AD server was rather important for accessing my, ahem, ix4, which is configured to validate logins using AD.  This creates a bit of a circular reference which could have been a <strong>disaster</strong>.</p>
<blockquote><p><strong>Lesson 3</strong> – Place your Windows domain controller on a physical server, or have another independent backup elsewhere.</p></blockquote>
<p>Having a physical server just for AD control isn’t part of my total virtualisation plan, so I’m looking at whether I can host a backup controller with <strong>Amazon AWS</strong> and use VPN to secure it into my private network.  This way, if I ever have an issue, I can still authenticate.  The issue of course is <strong>cost</strong>, which may make a dedicated server the cheaper option.</p>
<p>So, by <strong>1am</strong> everything was back up and running.  Did I learn anything else?  Well yes…</p>
<blockquote><p><strong>Lesson 4</strong> – after 22 years in IT, I should remember that adequate documentation and a DR plan are <strong>crucial</strong>.  In fact, in a virtualised environment, they are essential due to the concentration of risk placing all systems on a single server causes.</p></blockquote>
<p>So what next for my virtual infrastructure?  I have a few changes planned; I’ll create a backup ESXi server that can import and run the VMs in the event of a future server failure.  I will also be investigating AWS with Windows 2008 and VPN to create a backup domain controller and see if I can continue to work if both server’s hardware failed.</p>
<p>That leaves one Single Point of Failure… my ix4-200d.  Anyone want to donate me a spare one?</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://gestaltit.com/all/tech/storage/devang/emc-symmetrix-dmx4-components/"  rel="bookmark" class="crp_title">EMC Symmetrix DMX-4: Components</a></li><li><a href="http://gestaltit.com/all/tech/storage/devang/emc-symmetrix-dynamic-hot-spares/"  rel="bookmark" class="crp_title">EMC Symmetrix: Dynamic Hot Spares</a></li><li><a href="http://gestaltit.com/all/tech/storage/devang/emc-symmetrix-permanent-sparing/"  rel="bookmark" class="crp_title">EMC Symmetrix: Permanent Sparing</a></li><li><a href="http://gestaltit.com/all/tech/storage/devang/emc-clariion-systems-global-hot-spares-proactive-hot-spares/"  rel="bookmark" class="crp_title">EMC Clariion Systems: Global Hot Spares &amp; Proactive Hot Spares</a></li><li><a href="http://gestaltit.com/all/tech/storage/rich/vsphere-pvscsi-performance-separate-drives/"  rel="bookmark" class="crp_title">Tap into vSphere PVSCSI Performance with Separate VM Boot and Data Drives</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://gestaltit.com/all/tech/storage/chris/virtualisation-learning-the-hard-way/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© Chris for <a href="http://gestaltit.com">Gestalt IT</a>, 2010. |
<a href="http://gestaltit.com/all/tech/storage/chris/virtualisation-learning-the-hard-way/">Virtualisation: Learning The Hard Way</a>
<br/>
Read more posts categorized as <a href="http://gestaltit.com/category/featured/" title="View all posts in Featured" rel="category tag">Featured</a>, <a href="http://gestaltit.com/category/all/tech/virtualization/" title="View all posts in Server Virtualization" rel="category tag">Server Virtualization</a>, <a href="http://gestaltit.com/category/all/tech/storage/" title="View all posts in Storage" rel="category tag">Storage</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://gestaltit.com/all/tech/storage/chris/virtualisation-learning-the-hard-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Review: DroboPro – Part II</title>
		<link>http://gestaltit.com/all/tech/storage/chris/review-drobopro-%e2%80%93-part-ii/</link>
		<comments>http://gestaltit.com/all/tech/storage/chris/review-drobopro-%e2%80%93-part-ii/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 16:27:33 +0000</pubDate>
		<dc:creator>Chris Evans</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Server Virtualization]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Data Robotics]]></category>
		<category><![CDATA[Drobo]]></category>
		<category><![CDATA[DroboPro]]></category>
		<category><![CDATA[Enterprise Computing]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[gestaltit]]></category>
		<category><![CDATA[ix4-200d]]></category>
		<category><![CDATA[Personal Computing]]></category>

		<guid isPermaLink="false">http://thestoragearchitect.com/?p=927</guid>
		<description><![CDATA[This is the second in a series of posts looking at the DroboPro from Data Robotics Inc.  Previous post(s):
Review: DroboPro &#8211; Part I
Previously I discussed a few frustrations with connecting my new DroboPro to ESXi, the target environment for my new device.  I&#8217;ve now managed to get the &#8216;Pro connected and visible within ESXi.  See [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.thestoragearchitect.com%2F2009%2F12%2F07%2Freview-drobopro-part-ii%2F"  onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.thestoragearchitect.com_2F2009_2F12_2F07_2Freview-drobopro-part-ii_2F&amp;referer=');"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.thestoragearchitect.com%2F2009%2F12%2F07%2Freview-drobopro-part-ii%2F" height="61" width="51" /></a></div>
<p>This is the second in a series of posts looking at the DroboPro from Data Robotics Inc.  Previous post(s):</p>
<p><a href="http://thestoragearchitect.com/2009/12/01/review-drobopro-part-i/" >Review: DroboPro &#8211; Part I</a></p>
<p><a rel="nofollow" href="http://thestoragearchitect.files.wordpress.com/2009/12/droboesxiscsi.png"  onclick="pageTracker._trackPageview('/outgoing/thestoragearchitect.files.wordpress.com/2009/12/droboesxiscsi.png?referer=');"><img class="alignright size-medium wp-image-928" title="DroboESXISCSI" src="http://thestoragearchitect.files.wordpress.com/2009/12/droboesxiscsi.png?w=300" alt="" width="300" height="100" /></a>Previously I discussed a few frustrations with connecting my new DroboPro to ESXi, the target environment for my new device.  I&#8217;ve now managed to get the &#8216;Pro connected and visible within ESXi.  See the attached screenshot image taken from my production ESXi server.</p>
<p>So far, I&#8217;ve configured eight 2TB LUNs (although the DroboPro itself only has a capacity of 5TB, 2x 2TB and a single 1TB drive) which are numbered 0-7; the LUN column on the screenshot.  Compare this to the LUNs presented from my ix4-200d, which has three LUNs all numbered &#8216;0&#8242;.  The difference is in the way the DroboPro is choosing to present iSCSI devices and the Runtime Name column gives a clue.  In standard Controller/Target/LUN or CxTyLz/CxTyDz methodology, the ix4 disks are using separate targets to map out each iSCSI LUN, with the LUN number always &#8216;0&#8242;.  The Target setting is analagous to a storage port, typically a physical port on large fibre channel arrays.  The LUNs are then numbered on that port.  The DroboPro presents all its iSCSI LUNs on the same target (in this instance number 3) and so the LUNs are numbered from 0.</p>
<p>This method of presentation doesn&#8217;t necessarily cause a problem, but is just a different way of presenting the LUNs.  Presumably with the Drobo Elite the multi-user functionality is achieved by enabling multiple targets per Drobo, each mapped to a separate user.  In any case, I now have visibility of my DroboPro within ESXi.  Time, to write some data.</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://gestaltit.com/all/tech/storage/chris/review-drobopro-%e2%80%93-part-i/"  rel="bookmark" class="crp_title">Review: DroboPro – Part I</a></li><li><a href="http://gestaltit.com/all/tech/storage/chris/drobo-pro-hyper-v/"  rel="bookmark" class="crp_title">DroboPro – Hyper-V’s Best Friend!</a></li><li><a href="http://gestaltit.com/all/tech/storage/chris/virtualisation-how-to-%e2%80%93-accessing-drobopro-dashboard-with-iscsi/"  rel="bookmark" class="crp_title">How To Access DroboPro Dashboard With iSCSI</a></li><li><a href="http://gestaltit.com/all/tech/storage/chris/hardware-review-drobo-elite-1/"  rel="bookmark" class="crp_title">Hardware Review: Drobo Elite – Part I</a></li><li><a href="http://gestaltit.com/all/tech/storage/chris/enterprise-computing-thin-provisioning-and-the-cookie-monster/"  rel="bookmark" class="crp_title">Enterprise Computing: Thin Provisioning and The Cookie Monster!</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://gestaltit.com/all/tech/storage/chris/review-drobopro-%e2%80%93-part-ii/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© Chris for <a href="http://gestaltit.com">Gestalt IT</a>, 2009. |
<a href="http://gestaltit.com/all/tech/storage/chris/review-drobopro-%e2%80%93-part-ii/">Review: DroboPro – Part II</a>
<br/>
Read more posts categorized as <a href="http://gestaltit.com/category/featured/" title="View all posts in Featured" rel="category tag">Featured</a>, <a href="http://gestaltit.com/category/all/tech/virtualization/" title="View all posts in Server Virtualization" rel="category tag">Server Virtualization</a>, <a href="http://gestaltit.com/category/all/tech/storage/" title="View all posts in Storage" rel="category tag">Storage</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://gestaltit.com/all/tech/storage/chris/review-drobopro-%e2%80%93-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware vSphere vDS, VMkernel Ports, and Jumbo Frames</title>
		<link>http://gestaltit.com/all/tech/storage/scott/vmware-vsphere-vds-vmkernel-ports-jumbo-frames/</link>
		<comments>http://gestaltit.com/all/tech/storage/scott/vmware-vsphere-vds-vmkernel-ports-jumbo-frames/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 17:00:17 +0000</pubDate>
		<dc:creator>Scott Lowe</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Server Virtualization]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2009/05/21/vmware-vsphere-vds-vmkernel-ports-and-jumbo-frames/</guid>
		<description><![CDATA[You may recall that I wrote about how to enable jumbo frames on VMkernel ports used for IP-based storage early last year. Here are some updated instructions on how to do the same with vSphere, only this time using a vNetwork Distributed Switch (vDS).]]></description>
			<content:encoded><![CDATA[<p>In April 2008, I wrote an article on <a href="http://blog.scottlowe.org/2008/04/22/esx-server-ip-storage-and-jumbo-frames/" >how to use jumbo frames with VMware ESX and IP-based storage</a> (NFS or iSCSI). It’s been a pretty popular post, ranking right up there with the ever-popular article on <a href="http://blog.scottlowe.org/2006/12/04/esx-server-nic-teaming-and-vlan-trunking/" >VMware ESX, NIC teaming, and VLAN trunks</a>.</p>
<p>Since I started working with VMware vSphere (now <a href="http://blog.scottlowe.org/2008/04/22/esx-server-ip-storage-and-jumbo-frames/" >officially available</a> as of 5/21/2009), I have been evaluating how to replicate the same sort of setup using ESX/ESXi 4.0. For the most part, the configuration of VMkernel ports to use jumbo frames on ESX/ESXi 4.0 is much the same as with previous versions of ESX and ESXi, with one significant exception: the vNetwork Distributed Switch (vDS, what I’ll call a dvSwitch). After a fair amount of testing, I’m pleased to present some instructions on how to configure VMkernel ports for jumbo frames on a dvSwitch.</p>
<h3>How I Tested</h3>
<p>The lab configuration for this testing was pretty straightforward:</p>
<ul>
<li>For the physical server hardware, I used a group of HP ProLiant DL385 G2 servers with dual-core AMD Opteron processors and a quad-port PCIe Intel Gigabit Ethernet NIC.</li>
<li>All the HP ProLiant DL385 G2 servers were running the GA builds of ESX 4.0, managed by a separate physical server running the GA build of vCenter Server.</li>
<li>The ESX servers participated in a DRS/HA cluster and a single dvSwitch. The dvSwitch was configured for 4 uplinks. All other settings on the dvSwitch were left at the defaults.</li>
<li>For the physical switch infrastructure, I used a Cisco Catalyst 3560G running Cisco IOS version 12.2(25)SEB4.</li>
<li>For the storage system, I used an older NetApp FAS940. The FAS940 was  running Data ONTAP 7.2.4.</li>
</ul>
<p>Keep in mind that these procedures or commands may be different in your environment, so plan accordingly.</p>
<h3>Physical Network Configuration</h3>
<p>Refer back to my first <a href="http://blog.scottlowe.org/2008/04/22/esx-server-ip-storage-and-jumbo-frames/" >article on jumbo frames</a> to review the Cisco IOS commands for configuring the physical switch to support jumbo frames. Once the physical switch is ready to support jumbo frames, you can proceed with configuring the virtual environment.</p>
<h3>Virtual Network Configuration</h3>
<p>The virtual network configuration consists of several steps. First, you must configure the dvSwitch to support jumbo frames by increasing the MTU. Second, you must create a distributed virtual port group (dvPort group) on the dvSwitch. Finally, you must create the VMkernel ports with the correct MTU. Each of these steps is explained in more detail below.</p>
<h4>Setting the MTU on the dvSwitch</h4>
<p>Setting the MTU on the dvSwitch is pretty straightforward:</p>
<ol>
<li>In the vSphere Client, navigate to the Networking inventory view (select View &gt; Inventory &gt; Networking from the menu).</li>
<li>Right-click on the dvSwitch and select Edit Settings.</li>
<li>From the Properties tab, select Advanced.</li>
<li>Set the MTU to 9000.</li>
<li>Click OK.</li>
</ol>
<p>That’s it! Now, if only the rest of the process was this easy…</p>
<p>By the way, this same area is also where you can enable Cisco Discovery Protocol support for the dvSwitch, as I pointed out in <a href="http://blog.scottlowe.org/2009/03/13/next-gen-stuff-enabling-cdp-in-esxesxi/" >this recent article</a>.</p>
<h4>Creating the dvPort Group</h4>
<p>Like setting the MTU on the dvSwitch, this process is pretty straightforward and easily accomplished using the vSphere Client:</p>
<ol>
<li>In the vSphere Client, navigate to the Networking inventory view (select View &gt; Inventory &gt; Networking from the menu).</li>
<li>Right-click on the dvSwitch and select New Port Group.</li>
<li>Set the name of the new dvPort group.</li>
<li></li>
<li>Set the number of ports for the new dvPort group.</li>
<li>In the vast majority of instances, you’ll want to set VLAN Type to VLAN and then set the VLAN ID accordingly. (This is the same as setting the VLAN ID for a port group on a vSwitch.)</li>
<li>Click Next.</li>
<li>Click Finish.</li>
</ol>
<p>See? I told you it was pretty straightforward. Now on to the final step which, unfortunately, won’t be quite so straightforward or easy.</p>
<h4>Creating a VMkernel Port With Jumbo Frames</h4>
<p>Now things get a bit more interesting. As of the GA code, the vSphere Client UI still does not expose an MTU setting for VMkernel ports, so we are still relegated to using the esxcfg-vswitch command (or the vicfg-vswitch command in the vSphere Management Assistant—or vMA—if you are using ESXi). The wrinkle comes in the fact that we want to create a VMkernel port attached to a dvPort ID, which is a bit more complicated than simply creating a VMkernel port attached to a local vSwitch.</p>
<p><strong>Disclaimer:</strong> There may be an easier way than the process I describe here. If there is, please feel free to post it in the comments or shoot me an e-mail.</p>
<p>First, you’ll need to prepare yourself. Open the vSphere Client and navigate to the Hosts and Clusters inventory view. At the same time, open an SSH session to one of the hosts you’ll be configuring, and use “su -” to assume root privileges. (You’re not logging in remotely as root, are you?) If you are using ESXi, then obviously you’d want to open a session to your vMA and be prepared to run the commands there. I’ll assume you’re working with ESX.</p>
<p>This is a two-step process. You’ll need to repeat this process for each VMkernel port that you want to create with jumbo frame support.</p>
<p>Here are the steps to create a jumbo frames-enabled VMkernel port:</p>
<ol>
<li>Select the host and and go the Configuration tab.</li>
<li>Select Networking and change the view to Distributed Virtual Switch.</li>
<li>Click the Manage Virtual Adapters link.</li>
<li>In the Manage Virtual Adapters dialog box, click the Add link.</li>
<li>Select New Virtual Adapter, then click Next.</li>
<li>Select VMkernel, then click Next.</li>
<li>Select the appropriate port group, then click Next.</li>
<li>Provide the appropriate IP addressing information and click Next when you are finished.</li>
<li>Click Finish. This returns you to the Manage Virtual Adapters dialog box.</li>
</ol>
<p>From this point on you’ll go the rest of the way from the command line. However, leave the Manage Virtual Adapters dialog box open and the vSphere Client running.</p>
<p>To finish the process from the command line:</p>
<ol>
<li>Type the following command (that’s a lowercase L) to show the current virtual switching configuration:<br />
<code>esxcfg-vswitch -l</code><br />
At the bottom of the listing you will see the dvPort IDs listed. Make a note of the dvPort ID for the VMkernel port you just created using the vSphere Client. It will be a larger number, like 266 or 139.</li>
<li>Delete the VMkernel port you just created:<br />
<code>esxcfg-vmknic -d <em>&lt;dvPort ID&gt;</em></code></li>
<li>Recreate the VMkernel port and attach it to the very same dvPort ID:<br />
<code>esxcfg-vmknic -a -i <em>&lt;IP addr&gt;</em> -n <em>&lt;Mask&gt;</em> -m 9000 <em>&lt;dvPort ID&gt;</em></code></li>
<li>Use the esxcfg-vswitch command again to verify that a new VMkernel port has been created and attached to the same dvPort ID as the original VMkernel port.</li>
</ol>
<p>At this point, you can go back into the vSphere Client and enable the VMkernel port for VMotion or FT logging. I’ve tested jumbo frames using VMotion and everything is fine; I haven’t tested FT logging with jumbo frames as I don’t have FT-compatible CPUs. (Anyone care to donate some?)</p>
<p>As I mentioned in <a href="http://twitter.com/scott_lowe/status/1859891868" >yesterday’s Twitter post</a>, I haven’t conducted any objective performance tests yet, so don’t ask. I can say that NFS <em>feels</em> faster with jumbo frames than without, but that’s purely subjective.</p>
<p>Let me know if you have any questions or if anyone finds a faster or easier way to accomplish this task.</p>
<p>This article was originally posted on <a href="http://blog.scottlowe.org" >blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.</p>
<p><!-- Similar Posts took 8.017 ms --></p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://gestaltit.com/all/tech/networking/scott/users-guide-configuring-vmware-esx-networking-cli/"  rel="bookmark" class="crp_title">New User’s Guide to Configuring VMware ESX Networking via CLI</a></li><li><a href="http://gestaltit.com/all/tech/networking/scott/enabling-jumbo-frames-on-a-nexus-5000/"  rel="bookmark" class="crp_title">Enabling Jumbo Frames on a Nexus 5000</a></li><li><a href="http://gestaltit.com/featured/top/bill/vsphere%e2%80%93live-migration-vnetwork-distributed-switch-vds/"  rel="bookmark" class="crp_title">vSphere–Migration to vNetwork Distributed Switch (vDS)–LIVE!</a></li><li><a href="http://gestaltit.com/all/tech/virtualization/scott/vsphere-virtual-machine-upgrade-process/"  rel="bookmark" class="crp_title">vSphere Virtual Machine Upgrade Process</a></li><li><a href="http://gestaltit.com/all/tech/networking/rich/design-vcenter-vnetwork-distributed-switch/"  rel="bookmark" class="crp_title">Design Challenges Of Virtualized vCenter With A vNetwork Distributed Switch</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://gestaltit.com/all/tech/storage/scott/vmware-vsphere-vds-vmkernel-ports-jumbo-frames/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© Scott for <a href="http://gestaltit.com">Gestalt IT</a>, 2009. |
<a href="http://gestaltit.com/all/tech/storage/scott/vmware-vsphere-vds-vmkernel-ports-jumbo-frames/">VMware vSphere vDS, VMkernel Ports, and Jumbo Frames</a>
<br/>
Read more posts categorized as <a href="http://gestaltit.com/category/all/" title="View all posts in All" rel="category tag">All</a>, <a href="http://gestaltit.com/category/all/tech/networking/" title="View all posts in Networking" rel="category tag">Networking</a>, <a href="http://gestaltit.com/category/all/tech/virtualization/" title="View all posts in Server Virtualization" rel="category tag">Server Virtualization</a>, <a href="http://gestaltit.com/category/all/tech/storage/" title="View all posts in Storage" rel="category tag">Storage</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://gestaltit.com/all/tech/storage/scott/vmware-vsphere-vds-vmkernel-ports-jumbo-frames/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fishworks Simulator Hint and other VSA stuff</title>
		<link>http://gestaltit.com/all/tech/storage/martin/fishworks-simulator-hint-vsa-stuff/</link>
		<comments>http://gestaltit.com/all/tech/storage/martin/fishworks-simulator-hint-vsa-stuff/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 21:37:29 +0000</pubDate>
		<dc:creator>Martin Glassborow</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[EMC]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[FalconStor]]></category>
		<category><![CDATA[Fishworks]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[VSA]]></category>

		<guid isPermaLink="false">http://storagebod.typepad.com/storagebods_blog/2009/03/fishworks-simulator-hint-and-other-vsa-stuff.html</guid>
		<description><![CDATA[The Fishworks Simulator has been driving me a bit nuts; I couldn't get ESXi to reliably use a Fishwork's iSCSI LUN as a data-store; it would consistently hang whilst installing an Virtual Machine. I coudn't see anything wrong but it would just die.]]></description>
			<content:encoded><![CDATA[<p>The Fishworks Simulator has been driving me a bit nuts; I couldn&#8217;t get ESXi to reliably use a Fishwork&#8217;s iSCSI LUN as a data-store; it would consistently hang whilst installing an Virtual Machine. I coudn&#8217;t see anything wrong but it would just die. I tried moving things round, running two copies of the simulator, one providing the NFS share with the install files on and one providing the target iSCSI LUN and it was still dieing.</p>
<p>Fortunately the guys from the Fishworks team had made contact and I can ask them questions. They suggested reducing the number of virtual disks, so I&#8217;ve dropped down to two disks now. One for the Fishworks binaries and one to store data. This has made all the difference, it now works and doesn&#8217;t die.</p>
<p>So people, if you are actually trying to use the Fishworks simulator to do useful stuff, you might want to consider reducing the number of virtual disks; I might try increasing the number of virtual disks and putting them on discrete spindles but I don&#8217;t have 15 disks to play with; so I might try 3+1.</p>
<p>As per usual, I get all my VSAs built then both Nexenta and EMC release new versions. And someone has found me<a href="http://www.stormagic.com/SvSAN.php" > another</a> VSA to play with. Falconstor seem to be ignoring my attempts to register for their free version.</p>
<p>At moment, I&#8217;m ignoring the VSAs which provide features like backups, dedupe but VSAs seem to be really taking off. I do like the concept of providing discrete infrastructure capabilities as a bundled virtual appliance and at some point I shall branch out into looking at some of these as well.</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://gestaltit.com/all/tech/storage/chris/review-sun-storage-7000-unified-storage-system-part-iii/"  rel="bookmark" class="crp_title">Review: Sun Storage 7000 Unified Storage System – Part III</a></li><li><a href="http://gestaltit.com/all/tech/storage/chris/review-sun-storage-7000-unified-storage-system-%e2%80%93-part-iv/"  rel="bookmark" class="crp_title">Review: Sun Storage 7000 Unified Storage System – Part IV</a></li><li><a href="http://gestaltit.com/all/tech/storage/martin/sort-kind-wrong/"  rel="bookmark" class="crp_title">Sort of Right, Kind of Wrong!</a></li><li><a href="http://gestaltit.com/all/tech/storage/chris/virtualisation-learning-the-hard-way/"  rel="bookmark" class="crp_title">Virtualisation: Learning The Hard Way</a></li><li><a href="http://gestaltit.com/all/tech/storage/martin/questioning-weatherman/"  rel="bookmark" class="crp_title">Questioning the Weatherman&#8230;</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://gestaltit.com/all/tech/storage/martin/fishworks-simulator-hint-vsa-stuff/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© Martin for <a href="http://gestaltit.com">Gestalt IT</a>, 2009. |
<a href="http://gestaltit.com/all/tech/storage/martin/fishworks-simulator-hint-vsa-stuff/">Fishworks Simulator Hint and other VSA stuff</a>
<br/>
Read more posts categorized as <a href="http://gestaltit.com/category/all/" title="View all posts in All" rel="category tag">All</a>, <a href="http://gestaltit.com/category/all/tech/storage/" title="View all posts in Storage" rel="category tag">Storage</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://gestaltit.com/all/tech/storage/martin/fishworks-simulator-hint-vsa-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

