<?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>Thu, 24 May 2012 13:39:29 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>[APAC] vBrownBag Follow-Up &#8211; VCAP-DCD Host Design</title><link>http://professionalvmware.com/2012/03/apac-vbrownbag-follow-up-vcap-dcd-host-design/</link> <comments>http://professionalvmware.com/2012/03/apac-vbrownbag-follow-up-vcap-dcd-host-design/#comments</comments> <pubDate>Thu, 22 Mar 2012 12:29:17 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[BrownBag]]></category> <category><![CDATA[BrownBagRecording]]></category> <category><![CDATA[certification]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[VCAP]]></category> <category><![CDATA[design]]></category> <category><![CDATA[vcap-dcd]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2012/03/apac-vbrownbag-follow-up-vcap-dcd-host-design/</guid> <description><![CDATA[This week the APAC BrownBags covered VCAP-DCD and vSphere Host Design. Video Slides]]></description> <content:encoded><![CDATA[<p></p><p>This week the APAC BrownBags covered VCAP-DCD and vSphere Host Design.</p><h3>Video</h3><p><iframe
src="http://player.vimeo.com/video/38980290?title=0&amp;byline=0&amp;portrait=0" width="300" height="236" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p><h3>Slides</h3><p><iframe
src="http://app.sliderocket.com:80/app/fullplayer.aspx?id=69308ebb-390f-4e04-b0f4-87fcc4caf8d0" width="500" height="401" scrolling=no frameBorder="0"></iframe></p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2012/03/apac-vbrownbag-follow-up-vcap-dcd-host-design/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>[Orchestrator] Configure Host Time Settings</title><link>http://professionalvmware.com/2012/03/orchestrator-configure-host-time-settings/</link> <comments>http://professionalvmware.com/2012/03/orchestrator-configure-host-time-settings/#comments</comments> <pubDate>Thu, 22 Mar 2012 12:24:50 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[automation]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[orchestrator]]></category> <category><![CDATA[vCO]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2012/03/orchestrator-configure-host-time-settings/</guid> <description><![CDATA[In looking around vCO, at least in the default plug-in, there was not a good variety of workflows for configuring hosts. This workflow, will set the NTP server on a host. Schema Not a very creative schema, and for good reason. Also note, it is designed to work on a single host at a time. [...]]]></description> <content:encoded><![CDATA[<p></p><p>In looking around vCO, at least in the default plug-in, there was not a good variety of workflows for configuring hosts. This workflow, will set the NTP server on a host.</p><h3>Schema</h3><p>Not a very creative schema, and for good reason. Also note, it is designed to work on a single host at a time. If you want to do all hosts, you can include this workflow inside a larger one to process a number of hosts:</p><p><a
href="http://professionalvmware.com/wp-content/uploads/2012/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/2012/03/image_thumb4.png" width="160" height="177"></a></p><p>This workflow has only a single input of type Vc:HostSystem and a single attribute, a string, for the NTP server.</p><h3>Code</h3><p>This is where things get a bit interesting. Using Onyx I was able to capture the basics of the JavaScript. I then beat my head against the wall getting it translated. Thanks to Joerg Lew of <a
href="http://vcoportal.de">vcoportal.de</a> I got the last bits I needed to make it successful:</p><p><font
size="2" face="Courier New">// &#8212;&#8212;- UpdateDateTimeConfig &#8212;&#8212;-<br
/>var config = new VcHostDateTimeConfig();<br
/>config.timeZone = &#8220;UTC&#8221;;<br
/>config.ntpConfig = new VcHostNtpConfig();<br
/>var ntpServerArray = new Array()<br
/>ntpServerArray.push(ntpServer);<br
/>config.ntpConfig.server = ntpServerArray;<br
/>config.ntpConfig.server[0] = ntpServer;</font></p><p><font
size="2" face="Courier New">// &#8212;&#8212;- Update Config &#8212;&#8212;-<br
/>var dts = VMHost.configManager.dateTimeSystem;<br
/>dts.updateDateTimeConfig(config);</font></p><p><font
size="2" face="Courier New">// &#8212;&#8212;- EnableRuleset &#8212;&#8212;-<br
/>var ruleset = VMHost.configManager.firewallSystem;<br
/>ruleset.enableRuleset(&#8220;ntpClient&#8221;);</font></p><p><font
size="2" face="Courier New">// &#8212;&#8212;- UpdateServicePolicy &#8212;&#8212;-<br
/>var serviceSystem = VMHost.configManager.serviceSystem;<br
/>serviceSystem.updateServicePolicy(&#8220;ntpd&#8221;, &#8220;automatic&#8221;);&nbsp; // HostServiceSystem</font></p><p><font
size="2" face="Courier New">// &#8212;&#8212;- StartService &#8212;&#8212;-<br
/>serviceSystem.startService(&#8220;ntpd&#8221;);&nbsp; // HostServiceSystem</font></p><p>The first block builds the configuration that gets sent along to the host. The second block actually sends said configuration (also, it’s where I threw some derp on using nested managed objects… suffice it to say, it works now and JavaScript is not PowerCLI). The third set enables the NTP Client in the ESXi firewall. The fourth and fifth blocks handle setting NTP to start with the host and turning it on now.</p><h3>In Action</h3><p>There aren’t many exciting ways to show a workflow in action and using screenshots always feels like those cooking shows “baked at 450 for 3 hours” or so. But, here it goes:</p><h4>Running:</h4><p><a
href="http://professionalvmware.com/wp-content/uploads/2012/03/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/2012/03/image_thumb5.png" width="517" height="139"></a></p><h4>Host Before:</h4><p><a
href="http://professionalvmware.com/wp-content/uploads/2012/03/image6.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/2012/03/image_thumb6.png" width="392" height="159"></a></p><h4>Host After:</h4><p><a
href="http://professionalvmware.com/wp-content/uploads/2012/03/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/2012/03/image_thumb7.png" width="392" height="175"></a></p><h3>Download</h3><p>This workflow can be pulled down from <a
href="http://professionalvmware.com/workflows/ProfessionaVMware.com%20-%20Enable%20NTP.workflow">here</a>. If you have any questions, comments, enhancements, etc. Drop me a line.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2012/03/orchestrator-configure-host-time-settings/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <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> </channel> </rss>
