<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Professional VMware &#187; esxi</title> <atom:link href="http://professionalvmware.com/category/esxi/feed/" rel="self" type="application/rss+xml" /><link>http://professionalvmware.com</link> <description>How Many Turtles Can You Fit On A Rock?</description> <lastBuildDate>Fri, 10 Feb 2012 00:37:53 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>vSphere ESXi 5.x in VMware Fusion 4.x</title><link>http://professionalvmware.com/2011/09/vsphere-esxi-5-x-in-vmware-fusion-4-x/</link> <comments>http://professionalvmware.com/2011/09/vsphere-esxi-5-x-in-vmware-fusion-4-x/#comments</comments> <pubDate>Fri, 30 Sep 2011 16:00:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[esxi]]></category> <category><![CDATA[Fusion]]></category> <category><![CDATA[vSphere]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2011/09/vsphere-esxi-5-x-in-vmware-fusion-4-x/</guid> <description><![CDATA[This is a revisit of an older post on running ESX4.x in Fusion 3.x. This time updated for ESXi 5.x and Fusion 4.x. The steps this time around are nearly identical to the ones last time: Pull down the ISO New VM Point the installer at the ESXi ISO: Confirm the OS Type: Wait a [...]]]></description> <content:encoded><![CDATA[<p></p><p>This is a revisit of an <a
href="http://professionalvmware.com/2009/12/installing-esxi-4-in-vmware-fusion/">older post</a> on running ESX4.x in Fusion 3.x. This time updated for ESXi 5.x and Fusion 4.x. The steps this time around are nearly identical to the ones last time:</p><ol><li>Pull down the ISO<br
/><a
href="http://professionalvmware.com/wp-content/uploads/2011/09/image5.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/09/image_thumb4.png" width="409" height="284"></a></li><li>New VM<br
/><a
href="http://professionalvmware.com/wp-content/uploads/2011/09/image6.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/09/image_thumb5.png" width="228" height="114"></a></li><li>Point the installer at the ESXi ISO:<br
/><a
href="http://professionalvmware.com/wp-content/uploads/2011/09/image7.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/09/image_thumb6.png" width="408" height="309"></a></li><li>Confirm the OS Type:<br
/><a
href="http://professionalvmware.com/wp-content/uploads/2011/09/image8.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/09/image_thumb7.png" width="412" height="312"></a></li><li>Wait a bit… then awesome:<br
/><a
href="http://professionalvmware.com/wp-content/uploads/2011/09/image9.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/09/image_thumb8.png" width="415" height="340"></a></li></ol><p>There you go. If you liked this, then you should follow me on Twitter <a
href="http://twitter.com/cody_bunch">here</a>.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2011/09/vsphere-esxi-5-x-in-vmware-fusion-4-x/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>vCenter Orchestrator &#8211; Add NFS Datastore</title><link>http://professionalvmware.com/2011/08/vcenter-orchestrator-add-nfs-datastore/</link> <comments>http://professionalvmware.com/2011/08/vcenter-orchestrator-add-nfs-datastore/#comments</comments> <pubDate>Tue, 16 Aug 2011 19:46:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[automation]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[orchestrator]]></category> <category><![CDATA[vCO]]></category> <category><![CDATA[vSphere]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2011/08/vcenter-orchestrator-add-nfs-datastore/</guid> <description><![CDATA[Was surprised this wasn’t here by default, but alas, out of the box vCO does not ship with a workflow to manage an NFS datastore. Thanks to the VMware communities for a bit of scripting, I was able to put one together. First we’ll break out the components, then show you how it runs. Finally [...]]]></description> <content:encoded><![CDATA[<p></p><p>Was surprised this wasn’t here by default, but alas, out of the box vCO does not ship with a workflow to manage an NFS datastore.</p><p>Thanks to the VMware communities for a bit of scripting, I was able to put one together. First we’ll break out the components, then show you how it runs. Finally you’ll be able to pull it down.</p><h3>Inputs:</h3><p>So first we need to tell vCO where to find the NFS datastore as well as what host we are adding it to:<br
/><a
href="http://professionalvmware.com/wp-content/uploads/2011/08/image5.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/08/image_thumb5.png" width="479" height="109"></a></p><p>If you can’t read the above, no worries, I can’t either, so I’ve also got this handy table:<br
/> <br
/><table
border="0" cellspacing="0" cellpadding="2" width="527"><tbody><tr><td
valign="top" width="133">Name</td><td
valign="top" width="133">Type</td><td
valign="top" width="259">Description</td></tr><tr><td
valign="top" width="133">Host</td><td
valign="top" width="133">VC:HostSystem</td><td
valign="top" width="259">Host to connect datastore to</td></tr><tr><td
valign="top" width="133">DatastoreName</td><td
valign="top" width="133">string</td><td
valign="top" width="259">Name for Datastore</td></tr><tr><td
valign="top" width="133">remoteHost</td><td
valign="top" width="133">string</td><td
valign="top" width="259">Hostname or IP for NFS server</td></tr><tr><td
valign="top" width="133">remotePath</td><td
valign="top" width="133">string</td><td
valign="top" width="259">Path to Exports</td></tr></tbody></table><h3>Schema:</h3><p>Now that we have our inputs, let’s build out the actual flow-charty bits for the workflow:<br
/><a
href="http://professionalvmware.com/wp-content/uploads/2011/08/image6.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/08/image_thumb6.png" width="192" height="203"></a></p><p>Yeah, pretty much that simple. Start, scripting block, stop.</p><h3>Scripting!</h3><p>Now for the awesomesauce that makes this work:</p><p><font
size="2" face="Courier New">var datastore_mgr = Host.configManager.datastoreSystem;<br
/>&nbsp;<br
/>var new_spec = new VcHostNasVolumeSpec();<br
/>new_spec.accessMode=VcHostMountMode._readWrite;<br
/>new_spec.localPath=DatastoreName;<br
/>new_spec.remoteHost=remoteHost;<br
/>new_spec.remotePath=remotePath;<br
/>new_spec.type=&#8221;nfs&#8221;;</font></p><p><font
size="2" face="Courier New">try {<br
/>&nbsp;&nbsp;&nbsp; var newDatastore=datastore_mgr.createNasDatastore(new_spec);<br
/>}</font></p><p><font
size="2" face="Courier New">catch (ex) {<br
/>&nbsp;&nbsp;&nbsp; System.log ( ex + &#8221; creating datastore &#8221; + remoteHost + &#8220;:&#8221; + remotePath + &#8221; on &#8221; + Host.name + &#8221; as datastore &#8221; + DatastoreName );<br
/>}</font></p><p>Note: Parts of this script were borrowed from the VMware communities <a
href="http://communities.vmware.com/message/1548314?tstart=0">here</a>. Also found this <a
href="http://communities.vmware.com/message/1548314?tstart=0">here</a>.</p><h3>Running:</h3><p><a
href="http://professionalvmware.com/wp-content/uploads/2011/08/image7.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/08/image_thumb7.png" width="474" height="132"></a></p><h3>Results:</h3><p><a
href="http://professionalvmware.com/wp-content/uploads/2011/08/image8.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/08/image_thumb8.png" width="356" height="101"></a></p><p><a
href="http://professionalvmware.com/wp-content/uploads/2011/08/image9.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/08/image_thumb9.png" width="353" height="78"></a></p><h3>Summary</h3><p>So, the workflow itself is kinda useful for a single host, it becomes more powerful when you embed it within another workflow to do say all hosts in a cluster. However, that’s an activity for the reader.</p><h3>Download</h3><p>The workflow can be downloaded from <a
href="http://professionalvmware.com/workflows/Add NFS Datastore.workflow">here</a>!</p><h3>More Info</h3><p>We’ve talked about vCO extensively in the past… you can find some additional info <a
href="http://professionalvmware.com/?s=orchestrator">here</a>.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2011/08/vcenter-orchestrator-add-nfs-datastore/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>ESX is Dead. Long Live the King.</title><link>http://professionalvmware.com/2011/05/esx-is-dead-long-live-the-king/</link> <comments>http://professionalvmware.com/2011/05/esx-is-dead-long-live-the-king/#comments</comments> <pubDate>Tue, 10 May 2011 13:04:01 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[ESX]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[migration]]></category> <category><![CDATA[VMware]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2011/05/esx-is-dead-long-live-the-king/</guid> <description><![CDATA[So this happened. VMware has pulled the ESX Classic binaries from being available as a direct download: While they do provide a download link for ESX classic, it sends a pretty clear message… If you haven’t made migration plans, NOW is the time to do so. Thankfully, they’ve not left folks completely out to dry [...]]]></description> <content:encoded><![CDATA[<p></p><p>So <a
href="http://virtualization.info/en/news/2011/05/goodbye-esx.html">this</a> happened. VMware has pulled the ESX Classic binaries from being available as a direct download:</p><p><a
href="http://professionalvmware.com/wp-content/uploads/2011/05/image11.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/05/image_thumb11.png" width="459" height="116"></a></p><p>While they do provide a download link for ESX classic, it sends a pretty clear message… If you haven’t made migration plans, NOW is the time to do so.</p><p>Thankfully, they’ve not left folks completely out to dry and have provided some basic ESXi migration guidance <a
href="http://blogs.vmware.com/esxi/2011/05/migrating-to-esxi-part-1-are-you-ready-for-esxi.html">here</a>.</p><p>Additionally, I’d suggest as a first step, installing ESXi as a VM inside VMware Fusion or Workstation to become familiar with it before migrating your production hosts. Like using Fusion/Workstation for other test/dev workloads, this should be no different. Test your tools, agents, processes, etc against the VM image before blowing away a production host.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2011/05/esx-is-dead-long-live-the-king/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Book Reviews &#8211; ESXi in the Enterprise</title><link>http://professionalvmware.com/2011/04/book-reviews-esxi-in-the-enterprise/</link> <comments>http://professionalvmware.com/2011/04/book-reviews-esxi-in-the-enterprise/#comments</comments> <pubDate>Mon, 25 Apr 2011 17:53:58 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[books]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[reviews]]></category> <category><![CDATA[vSphere]]></category> <category><![CDATA[book]]></category> <category><![CDATA[review]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2011/04/book-reviews-esxi-in-the-enterprise/</guid> <description><![CDATA[Amazon posted my 4 star review of Ed Haletky’s (@Texiwill) updated VMware ESX and ESXi in the Enterprise. Let me start with saying I&#8217;ve read the first edition of this book and Ed&#8217;s Security book and found both to be excellent. As this book was a second edition, I focused my reading on those updated [...]]]></description> <content:encoded><![CDATA[<p></p><p>Amazon posted my 4 star review of Ed Haletky’s (@Texiwill) updated <a
href="http://amzn.to/gh7G26">VMware ESX and ESXi in the Enterprise.</a></p><blockquote><p>Let me start with saying I&#8217;ve read the first edition of this book and Ed&#8217;s Security book and found both to be excellent.</p><p>As this book was a second edition, I focused my reading on those updated areas and there were a few. As always Ed provided a good balance between detail and real world examples/implementations that carry the weight of his experience with VMware on the whole.</p><p>I&#8217;d recommend this book for those getting into their first few ESX/ESXi implementations, and to supplement the official VMware courseware with real world examples.</p></blockquote><p>All and all a good volume to get yourself going with some real world ESXi/vSphere implementation.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2011/04/book-reviews-esxi-in-the-enterprise/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>TIL &#8211; ESXi TSM Has Jobs Support</title><link>http://professionalvmware.com/2011/04/til-esxi-tsm-has-jobs-support/</link> <comments>http://professionalvmware.com/2011/04/til-esxi-tsm-has-jobs-support/#comments</comments> <pubDate>Fri, 08 Apr 2011 13:16:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[esxi]]></category> <category><![CDATA[TIL]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[vSphere]]></category> <category><![CDATA[til]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2011/04/til-esxi-tsm-has-jobs-support/</guid> <description><![CDATA[The TSM in ESXi is a Posix like environment and much of it resembles and behaves much as you would expect the old RHEL based service console to. That said, some of it is very different too. Today, I figured out that while it may not have all of the features I’m used to (screen), [...]]]></description> <content:encoded><![CDATA[<p></p><p><a
href="http://www.flickr.com/photos/michelhrv/"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" align="left" src="http://professionalvmware.com/wp-content/uploads/2011/04/image.png" width="244" height="184" /></a>The TSM in ESXi is a Posix like environment and much of it resembles and behaves much as you would expect the old RHEL based service console to. That said, some of it is very different too. Today, I figured out that while it may not have all of the features I’m used to (screen), it does have some useful multi-task from single console functions. That is, it has “Jobs” support.</p><h3>Jobs Support?</h3><p>Each task you execute on the CLI is a “job” for the system. Most times these will be fairly quick, ls, esxtop, esxcfg-something, and such. However, if like me you are attempting to move a relatively large set of files from the CLI, and still want to use the system for other things… that’s where jobs come in.</p><h3>Basic Job Management</h3><ul><li>Ctrl + Z &#8211; Suspend a task</li><li>bg &#8211; execute the last suspended task in the background</li><li>fg &#8211; bring the last task back to the foreground</li><li>jobs &#8211; lists running jobs &amp; job id</li><li>bg/fg $jobid &#8211; Same as above, $jobid is specified when you have multiple jobs going</li></ul><h3>Example</h3><p><font
face="Courier New">/vmfs/volumes/4cb08ee3-9aabb1c8-c722-002170bd4485 # mv ./* /vmfs/volumes/ix4-200d-nfs/ -f <br
/>[1] + Stopped (signal)&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mv ./* /vmfs/volumes/ix4-200d-nfs/ -f <br
/>/vmfs/volumes/4cb08ee3-9aabb1c8-c722-002170bd4485 # bg <br
/>[1] mv ./* /vmfs/volumes/ix4-200d-nfs/ -f <br
/></font></p><p><font
face="Courier New">/vmfs/volumes/4cb08ee3-9aabb1c8-c722-002170bd4485 # jobs <br
/>[1] + Running&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mv ./* /vmfs/volumes/ix4-200d-nfs/ -f</font></p><p>What you’re looking at in the above example, is my executing the move command, then suspending it (“Stopped”). Next I execute bg to get the task running again in the background. Finally you see where I launch “jobs” to get the status.</p><h3>Summary</h3><p>Normally you’d not be running day-to-day ops from the ESXi TSM, it’s nice to have jobs support handy when you need to do some heavy lifting.</p><p>As a side note… I wonder how much spam I’ll bring in by mentioning vSphere and Jobs in the same post. Photo by this <a
href="http://www.flickr.com/photos/michelhrv/">guy</a>.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2011/04/til-esxi-tsm-has-jobs-support/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>TIL &#8211; Some ESXi CLI-Fu (Start/Stop/List VMs)</title><link>http://professionalvmware.com/2011/04/til-some-esxi-cli-fu-startstoplist-vms/</link> <comments>http://professionalvmware.com/2011/04/til-some-esxi-cli-fu-startstoplist-vms/#comments</comments> <pubDate>Fri, 08 Apr 2011 00:05:46 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[esxi]]></category> <category><![CDATA[TIL]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[vSphere]]></category> <category><![CDATA[til]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2011/04/til-some-esxi-cli-fu-startstoplist-vms/</guid> <description><![CDATA[Following up on some of my other TIL posts and a really really bad “vMotion on a stick” experiment, I had to get down and dirty with the ESXi CLI. Without further adieu heres how to List, Start, and Stop VMs from the ESXi CLI (aka TSM): Note: You’ll need to have TSM (ssh) enabled [...]]]></description> <content:encoded><![CDATA[<p></p><p>Following up on some of my other TIL posts and a really really bad “vMotion on a stick” experiment, I had to get down and dirty with the ESXi CLI. Without further adieu heres how to List, Start, and Stop VMs from the ESXi CLI (aka TSM):</p><h4>Note:</h4><p>You’ll need to have TSM (ssh) enabled on your ESXi host for this to work.</p><h3>List ESXi VMs</h3><p><font
face="Courier New">~ # vim-cmd vmsvc/getallvms <br
/>Vmid&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; File&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Guest OS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Version&#160;&#160; Annotation <br
/>1&#160;&#160;&#160;&#160;&#160; dc01.provmware.com&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ix4-200-iscsi] dc01.provmware.com/dc01.provmware.com.vmx&#160;&#160;&#160;&#160;&#160;&#160;&#160; windows7Server64Guest&#160;&#160; vmx-07&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br
/>2&#160;&#160;&#160;&#160;&#160; vCenter01.provmware.com&#160;&#160; [ix4-200-iscsi] vCenter01.provmware.com/vcdb.provmware.com.vmx&#160;&#160; windows7Server64Guest&#160;&#160; vmx-07&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br
/>3&#160;&#160;&#160;&#160;&#160; vcdb.provmware.com&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ix4-200-iscsi] vcdb.provmware.com/vcdb.provmware.com.vmx&#160;&#160;&#160;&#160;&#160;&#160;&#160; windows7Server64Guest&#160;&#160; vmx-07</font></p><h3>Stop VMs</h3><p><font
face="Courier New">~ # vim-cmd vmsvc/power.off 3 <br
/>Powering off VM:</p><p>~ # vim-cmd vmsvc/power.getstate 3 <br
/>Retrieved runtime info <br
/></font>Powered off</p><h3>Start VMs</h3><p> <font
face="Courier New">~ # vim-cmd vmsvc/power.on 3 <br
/>Powering on VM: <br
/></font></p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2011/04/til-some-esxi-cli-fu-startstoplist-vms/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>TIL &#8211; VMware Driver Floppy Images Already Included</title><link>http://professionalvmware.com/2011/03/til-vmware-driver-floppy-images-already-included/</link> <comments>http://professionalvmware.com/2011/03/til-vmware-driver-floppy-images-already-included/#comments</comments> <pubDate>Tue, 22 Mar 2011 12:23:44 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[esxi]]></category> <category><![CDATA[vSphere]]></category> <category><![CDATA[floppy]]></category> <category><![CDATA[Troubleshooting]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2011/03/til-vmware-driver-floppy-images-already-included/</guid> <description><![CDATA[Perhaps it’s just been a while since I’ve needed said floppy image, but I recall a time when you had to search the VMware KB to get the XP LSI driver. Well, today while changing some of my lab VMs over to PVSCSI, I found that the needed floppy images are in “/vmimages/floppies/” (at least [...]]]></description> <content:encoded><![CDATA[<p></p><p>Perhaps it’s just been a while since I’ve needed said floppy image, but I recall a time when you had to search the VMware KB to get the XP LSI driver. Well, today while changing some of my lab VMs over to PVSCSI, I found that the needed floppy images are in “/vmimages/floppies/” (at least on my ESXi 4.1 test system).</p><p>Take a look:</p><p><a
href="http://professionalvmware.com/wp-content/uploads/2011/03/image1.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/03/image_thumb1.png" width="418" height="159" /></a></p><p><a
href="http://professionalvmware.com/wp-content/uploads/2011/03/image2.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/03/image_thumb2.png" width="417" height="121" /></a></p><p><a
href="http://professionalvmware.com/wp-content/uploads/2011/03/image3.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/03/image_thumb3.png" width="419" height="120" /></a></p><p><a
href="http://professionalvmware.com/wp-content/uploads/2011/03/image4.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2011/03/image_thumb4.png" width="423" height="175" /></a></p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2011/03/til-vmware-driver-floppy-images-already-included/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Revisiting Snapshots from ESXi (TSM) Tech Support Mode</title><link>http://professionalvmware.com/2011/01/revisiting-snapshots-from-esxi-tsm-tech-support-mode/</link> <comments>http://professionalvmware.com/2011/01/revisiting-snapshots-from-esxi-tsm-tech-support-mode/#comments</comments> <pubDate>Tue, 25 Jan 2011 16:42:24 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[esxi]]></category> <category><![CDATA[snapshots]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[ESX]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2011/01/revisiting-snapshots-from-esxi-tsm-tech-support-mode/</guid> <description><![CDATA[We’ve covered snapshots here a few separate times in past. However most of these were focused on ESX classic or preforming the work using one API or another. As VMware is making the shift to ESXi, it makes sense that you will need a way to deal with snapshots from the ESXi console (aka TSM/Tech [...]]]></description> <content:encoded><![CDATA[<p></p><p>We’ve covered <a
href="http://professionalvmware.com/tag/snapshots/">snapshots</a> here a few separate times in past. However most of these were focused on ESX classic or preforming the work using one API or another. As VMware is making the shift to ESXi, it makes sense that you will need a way to deal with snapshots from the ESXi console (aka TSM/Tech Support Mode).</p><h3>Process</h3><h4>List All VMs</h4><p>You’ll need this step to identify the Vmid of the VM you want to work with. Note in all commands that follow, 16 is the VMID. You’ll need to change that for your situation.</p><p><font
size="2" face="Courier New">~ # vim-cmd vmsvc/getallvms <br
/>Vmid&#160;&#160;&#160;&#160;&#160;&#160;&#160; Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; File&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Guest OS&#160;&#160;&#160;&#160; Version&#160;&#160; Annotation <br
/>16&#160;&#160;&#160;&#160; ProVMware Test&#160;&#160; [datastore1] New Virtual Machine/New Virtual Machine.vmx&#160;&#160; ubuntuGuest&#160;&#160; vmx-07&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></p><h4>Create a Snapshot</h4><p><font
size="2" face="Courier New">~ # vim-cmd vmsvc/snapshot.create 16 TestSnap <br
/>Create Snapshot:</font></p><h4>List all Snapshots</h4><p><font
size="2" face="Courier New">~ # vim-cmd vmsvc/snapshot.get 16 <br
/>Get Snapshot: <br
/>|-ROOT <br
/>&#8211;Snapshot Name&#160;&#160;&#160;&#160;&#160;&#160;&#160; : TestSnap <br
/>&#8211;Snapshot Desciption&#160; : <br
/>&#8211;Snapshot Created On&#160; : 1/25/2011 10:29:9 <br
/>&#8211;Snapshot State&#160;&#160;&#160;&#160;&#160;&#160; : powered off</font></p><h4>Remove the Snapshot</h4><p><font
size="2" face="Courier New">~ # vim-cmd vmsvc/snapshot.removeall 16 <br
/>Remove All Snapshots: <br
/></font></p><h3>Resources/References</h3><ul><li>vim-cmd (<a
title="http://www.yellow-bricks.com/2008/08/21/esxi-and-ssh-whats-next/" href="http://www.yellow-bricks.com/2008/08/21/esxi-and-ssh-whats-next/">http://www.yellow-bricks.com/2008/08/21/esxi-and-ssh-whats-next/</a>)</li><li>vi-toolkit (<a
title="http://www.vi-toolkit.com/wiki/index.php/Vmware-vim-cmd" href="http://www.vi-toolkit.com/wiki/index.php/Vmware-vim-cmd">http://www.vi-toolkit.com/wiki/index.php/Vmware-vim-cmd</a>)</li><li>VMware KB (<a
title="http://kb.vmware.com/kb/1026380" href="http://kb.vmware.com/kb/1026380">http://kb.vmware.com/kb/1026380</a>)</li></ul><h3>Summary</h3><p>The concepts behind snapshots still apply (deleting big ones sucks, etc), but now you know how to handle them from the ESXi TSM also.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2011/01/revisiting-snapshots-from-esxi-tsm-tech-support-mode/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Context Switching, Some Resources</title><link>http://professionalvmware.com/2010/11/context-switching-some-resources/</link> <comments>http://professionalvmware.com/2010/11/context-switching-some-resources/#comments</comments> <pubDate>Mon, 29 Nov 2010 17:21:56 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[Context Switching]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[vSphere]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2010/11/context-switching-some-resources/</guid> <description><![CDATA[While this isn’t as big a problem as it used to be, Context Switches in applications can still bring a VM to it’s knees. In this post I’m going to link you to some resources as to what context switching is, how to look for it, and why excessive context switches hurts performance. What Is [...]]]></description> <content:encoded><![CDATA[<p></p><p>While this isn’t as big a problem as it used to be, Context Switches in applications can still bring a VM to it’s knees. In this post I’m going to link you to some resources as to what context switching is, how to look for it, and why excessive context switches hurts performance.</p><h4>What Is Context Switching</h4><ul><li>Wikipedia’s answer <a
href="http://en.wikipedia.org/wiki/Context_switch">here</a>.</li><li>Linfo’s answer <a
href="http://www.linfo.org/context_switch.html">here</a>.</li><li>How they work on <a
href="http://msdn.microsoft.com/en-us/library/ms682105%28VS.85%29.aspx">Windows</a>.</li><li>Seemingly, <a
href="http://technet.microsoft.com/en-us/sysinternals/bb963901.aspx">“Windows Internals 5th Ed”</a> has some info in <a
href="http://download.sysinternals.com/Files/WindowsInternals-Ch05.pdf">Chapter 5: “Processes, Threads and Jobs.”</a></li></ul><h4>Monitoring Context Switching</h4><ul><li>On Windows &#8211; <a
href="http://professionalvmware.com/2009/03/windows-vm-performance-gone-to-heck-check-some-of-these-non-obvious-places/">here</a> and <a
href="http://professionalvmware.com/2008/11/context-switched-page-faults/">here</a>.</li><li>On Linux, you can use SAR:</li><ul><li>sar -w (more <a
href="http://linux.die.net/man/1/sar">here</a>)</li></ul><li>More on the Perfmon counters <a
href="http://technet.microsoft.com/en-us/library/cc938593.aspx">here</a>.</li><li>Page Faults (They cause context switches) on Windows <a
href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1687">here</a>.</li></ul><h4>Why Excessive Context Switching Sucks</h4><p><a
href="http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html">This</a>, is likely the best post I’ve read on the cost of a context switch. Tsuna (the fellow from the first post) links to an excellent paper on some of the indirect costs also (<a
href="http://www.cs.rochester.edu/u/cli/research/switch.pdf">here</a>).</p><blockquote><p>Virtualization <br
/>I was wondering how much overhead there is when using virtualization. I repeated the benchmarks for the dual E5440, once a normal Linux install, once while running the same install inside VMware ESX Server. The result is that, on average, it&#8217;s 2.5x to 3x more expensive to do a context switch when using virtualization. My guess is that this is due to the fact that the guest OS can&#8217;t update the page table itself, so when it attempts to change it, the hypervisor intervenes, which causes an extra 2 context switches (one to get inside the hypervisor, one to get out, back to the guest OS).</p><p>This probably explains why Intel added the EPT (Extended Page Table) on the Nehalem, since it enables the guest OS to modify its own page table without help of the hypervisor, and the CPU is able to do the end-to-end memory address translation on its own, entirely in hardware (virtual address to &quot;guest-physical&quot; address to physical address).</p></blockquote><p>This bit, is important to note… newer generation processors (those with NPT) should not suffer the 2-3x increase in cost. However, they’re still expensive.</p><p>As always, if you’ve additional questions, please drop a note in the comments, or hit me up on <a
href="http://twitter.com/cody_bunch">Twitter</a>.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/11/context-switching-some-resources/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>&#8220;Could not Format VMFS&#8221; &#8211; Nested ESX</title><link>http://professionalvmware.com/2010/10/could-not-format-vmfs-nested-esx/</link> <comments>http://professionalvmware.com/2010/10/could-not-format-vmfs-nested-esx/#comments</comments> <pubDate>Mon, 11 Oct 2010 15:11:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[4.1]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[vSphere]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2010/10/could-not-format-vmfs-nested-esx/</guid> <description><![CDATA[The Problem! Was doing some work with UDA and nested ESX &#38; ESXi installs this weekend and ran into an interesting hiccup: Or on ESXi: What? Can’t format what? But we’re working with nested ESX, it’s a VMDK, format it! I tried any number of things here: Different controller types, disk sizes, partitioning within the [...]]]></description> <content:encoded><![CDATA[<p></p><h3>The Problem!</h3><p>Was doing some work with UDA and nested ESX &amp; ESXi installs this weekend and ran into an interesting hiccup:</p><p><a
href="http://professionalvmware.com/wp-content/uploads/2010/10/image.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2010/10/image_thumb.png" width="532" height="202" /></a></p><p>Or on ESXi:</p><p><a
href="http://professionalvmware.com/wp-content/uploads/2010/10/image1.png"><img
style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2010/10/image_thumb1.png" width="510" height="101" /></a></p><p>What? Can’t format what? But we’re working with nested ESX, it’s a VMDK, format it! I tried any number of things here: Different controller types, disk sizes, partitioning within the kickstart file, etc. Nothing seemed to work. That is until I fired up Twitter and got a hint on the right direction from <a
href="http://twitter.com/hyperviz0r">@hyperviz0r</a> (<a
title="http://www.hypervisor.fr/" href="http://www.hypervisor.fr/">http://www.hypervisor.fr/</a>). He indicated that my problem may be related to NFS.</p><h3>The Answer!</h3><p>Sure enough, after some searching on the VMware forums, there are others out there with <a
href="http://communities.vmware.com/thread/258752">this problem</a>. All of it seemingly related to nested ESX on NFS. I changed the build over to local storage on the ESX host and the install finished. I was also able to test successfully using iSCSI. I don’t have much in the way of explanation however, just that using another storage medium seems to work well.</p><p>You should follow me on twitter <a
href="http://twitter.com/cody_bunch">here</a>. Or, leave a comment on the post!</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/10/could-not-format-vmfs-nested-esx/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
