<?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>VMtoday &#187; VMware How To</title> <atom:link href="http://vmtoday.com/category/vmware/vmware-how-to/feed/" rel="self" type="application/rss+xml" /><link>http://vmtoday.com</link> <description>VMware News, Views, &#38; How-To&#039;s from vExpert Josh Townsend</description> <lastBuildDate>Mon, 06 Feb 2012 17:02:25 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>vSphere 5 Books &amp; Training Resources</title><link>http://vmtoday.com/2011/10/vsphere-5-books-training-resources/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vsphere-5-books-training-resources</link> <comments>http://vmtoday.com/2011/10/vsphere-5-books-training-resources/#comments</comments> <pubDate>Wed, 19 Oct 2011 18:55:33 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Community]]></category> <category><![CDATA[Documentation]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[books]]></category> <category><![CDATA[certification]]></category> <category><![CDATA[learning]]></category> <category><![CDATA[training]]></category> <category><![CDATA[VCAP]]></category> <category><![CDATA[vcp]]></category> <category><![CDATA[videos]]></category> <category><![CDATA[vsphere]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=806</guid> <description><![CDATA[I&#8217;ve been asked several times recently to recommend training resources for VMware, so I thought I might write my responses up in a blog post to help out folks in the community who are looking for the best resources to gain VMware knowledge, prepare for their VCP and other certifications, and continue on their journey [...]]]></description> <content:encoded><![CDATA[<p></p><p>I&#8217;ve been asked several times recently to recommend training resources for VMware, so I thought I might write my responses up in a blog post to help out folks in the community who are looking for the best resources to gain VMware knowledge, prepare for their VCP and other certifications, and continue on their journey to becoming a virtualization rockstar.</p><p>I&#8217;ve picked up a <a
title="About Josh Townsend &amp; Fun with Certification Logos" href="http://vmtoday.com/about/">bunch of certifications</a> over the past 10 years.  For me, certification is not the means to an end, but the end of some long, intensive studying and lab work, then doing some deep dive studying and doing.  By the time I get to the test, passing should be a forgone conclusion.  I&#8217;ll save details of my lab for a future post and focus on the books and other learning resources that I use.  When getting into a new or updated technology, I start out my studying with a good overall survey of the technology I want to learn.  I like a good book that hits all of the major components, provides background information to help explain why the technology, component, or module really matters and how it fits into the big picture.  Then I get into technology specific books &#8211; deep dives, command line references, and architecture books.</p><p><strong><span
style="font-size: medium;">Books</span></strong></p><div
class="wp-caption alignleft" style="width: 127px"> <a
href="http://www.amazon.com/gp/product/0470890800/ref=as_li_ss_il?ie=UTF8&amp;tag=vm09-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399373&amp;creativeASIN=0470890800"><img
style="border: 0pt none;" title="Mastering VMware vSphere 5, by Scott Lowe" src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&amp;Format=_SL160_&amp;ASIN=0470890800&amp;MarketPlace=US&amp;ID=AsinImage&amp;WS=1&amp;tag=vm09-20&amp;ServiceVersion=20070822" alt="Mastering VMware vSphere 5, by Scott Lowe" width="127" height="160" border="0" /></a><p
class="wp-caption-text">Mastering VMware vSphere 5, by Scott Lowe</p></div><p><img
style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=vm09-20&amp;l=as2&amp;o=1&amp;a=0470890800&amp;camp=217145&amp;creative=399373" alt="" width="1" height="1" border="0" />My go-to book for VMware vSphere has been <a
title="Scott Lowe's Blog" href="http://blog.scottlowe.org/" target="_blank">Scott Lowe&#8217;s</a> <a
href="http://www.amazon.com/gp/product/0470481382/ref=as_li_ss_tl?ie=UTF8&amp;tag=vm09-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399373&amp;creativeASIN=0470481382">Mastering VMware vSphere 4</a><img
style="border: medium none ! important; margin: 0px ! important;" src="http://www.assoc-amazon.com/e/ir?t=vm09-20&amp;l=as2&amp;o=1&amp;a=0470481382&amp;camp=217145&amp;creative=399373" alt="" width="1" height="1" border="0" />.  Scott&#8217;s updated book, <a
href="http://www.amazon.com/gp/product/0470890800/ref=as_li_ss_tl?ie=UTF8&amp;tag=vm09-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399373&amp;creativeASIN=0470890800">Mastering VMware vSphere 5</a><img
style="border: medium none ! important; margin: 0px ! important;" src="http://www.assoc-amazon.com/e/ir?t=vm09-20&amp;l=as2&amp;o=1&amp;a=0470890800&amp;camp=217145&amp;creative=399373" alt="" width="1" height="1" border="0" /> started shipping yesterday.  Scott covers everything from the basics of what a hypervisor is to VMware vSphere best practices.  This is a great book to accompany lab work as it includes licensing, planning and installation, setting up virtual networking, storage basics, security, resource allocation, HA, DRS, and even some automation with the CLI and PowerCLI (PowerShell).  The book is well written, taking you methodically through vSphere, while providing plenty of helpful hints along the way.  Do yourself a favor and click the picture to the left to order it from Amazon now (paperback or Kindle format).  This book is a great way to get started with studying for your VCP certification.</p><div
class="wp-caption alignright" style="width: 104px"> <a
href="http://www.amazon.com/gp/product/1463658133/ref=as_li_ss_il?ie=UTF8&amp;tag=vm09-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399373&amp;creativeASIN=1463658133"><img
style="border: 0pt none;" title="VMware vSphere 5 Clustering Technical Deepdive" src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&amp;Format=_SL160_&amp;ASIN=1463658133&amp;MarketPlace=US&amp;ID=AsinImage&amp;WS=1&amp;tag=vm09-20&amp;ServiceVersion=20070822" alt="VMware vSphere 5 Clustering Technical Deepdive" width="104" height="160" border="0" /></a><p
class="wp-caption-text">VMware vSphere 5 Clustering Technical Deepdive</p></div><p>Once I have the basics down, I get into the deep dive work. The first deep-dive book for VMware vSphere 5 is <a
href="http://www.amazon.com/gp/product/1463658133/ref=as_li_ss_tl?ie=UTF8&amp;tag=vm09-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399373&amp;creativeASIN=1463658133">VMware vSphere 5 Clustering Technical Deepdive</a><img
style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=vm09-20&amp;l=as2&amp;o=1&amp;a=1463658133&amp;camp=217145&amp;creative=399373" alt="" width="1" height="1" border="0" />, by <a
title="Yellow Bricks" href="http://www.yellow-bricks.com/" target="_blank">Duncan Epping</a> and <a
title="Frank Denneman" href="http://FrankDenneman.nl" target="_blank">Frank Denneman</a>.  This is Duncan and Frank&#8217;s second book that focuses on the clustering and high availability technologies available in VMware vSphere.  Readers of Duncan and Frank&#8217;s first book, <a
href="http://www.amazon.com/gp/product/1456301446/ref=as_li_ss_tl?ie=UTF8&amp;tag=vm09-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399369&amp;creativeASIN=1456301446">VMware vSphere 4.1 HA and DRS Technical deepdive (Volume 1)</a><img
style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=vm09-20&amp;l=as2&amp;o=1&amp;a=1456301446&amp;camp=217145&amp;creative=399369" alt="" width="1" height="1" border="0" />, got an incredibly deep look at how to configure VMware HA and DRS.  The new vSphere 5 Clustering Technical Deepdive includes Storage DRS as well.  I&#8217;ve talked to several readers of both these books and Duncan and Frank&#8217;s blogs who have remarked that 1.) I&#8217;ve been doing it wrong all along, 2.) I totally understand how HA and DRS work after reading this, and 3.) My environment really is resilient and reliable thanks to this book.</p><p>Pearson and VMware teamed up earlier this year to create VMware Press.  There are several books coming from VMware Press, as well as other authors/publishers that are now available for pre-order from Amazon.com.  These include:<br
/> <iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=0321799925" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=0321799933" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=0321799917" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=1118024435" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe></p><p><img
style="border: medium none ! important; margin: 0px ! important;" src="http://www.assoc-amazon.com/e/ir?t=vm09-20&amp;l=as2&amp;o=1&amp;a=1463658133&amp;camp=217145&amp;creative=399373" alt="" width="1" height="1" border="0" />There are not many vSphere 5 specific books out yet, but many of the vSphere 4 resources are still very useful.  My library includes these:</p><p><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=0470922028" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=0470890797" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=0137058977" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=1439263450" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=0071664521" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe></p><p><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=0557094518" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=0470520728" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=0137044747" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe><iframe
style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;nou=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=vm09-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=0971151083" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe></p><p><strong><span
style="font-size: medium;">Video Training</span></strong></p><p><img
class="alignleft" src="http://www.trainsignal.com/Assets/ProductImages/VMware_vSphere_5_Training.jpg" alt="Train Signal" width="231" height="197" />If you are not a big reader or you are looking for additional topics, check out <a
title="TrainSignal VMware Training" href="http://www.trainsignal.com/VMware-Training.aspx" target="_blank">TrainSignal&#8217;s VMware Training Videos</a>.  TrainSignal offers a whole slew of courses (many taught by VMware vExperts), including:</p><ul><li>vSphere 5 Training</li><li>VMware View Administration Training</li><li>vSphere Troubleshooting</li><li>vSphere Performance Monitoring</li><li>vSphere Security Design</li><li>vSphere PowerCLI.</li></ul><p>I have a couple of TrainSignal DVD&#8217;s and found them to be good quality with deep technical content.</p><p><span
style="font-size: medium;"><strong>Blogs and BrownBags</strong></span></p><p>Once you are comfortable with the material, you can start to study for your VCP.  Several bloggers have published collections of materials to help you prepare for the VCP, VCAP, and even the VCDX.  I recommend Simon Long&#8217;s collection here: <a
title="Simon Long's VCP Study Notes" href="http://www.simonlong.co.uk/blog/vcp-vsphere-upgrade-study-notes/" target="_blank">http://www.simonlong.co.uk/blog/vcp-vsphere-upgrade-study-notes/</a> and Cody Bunch&#8217;s <a
title="VCP4 Resource Page" href="http://professionalvmware.com/2009/07/vcp4-resource-page/" target="_blank">VCP4 Resource Page</a> and <a
title="ProfessionalVMware Brown Bags" href="http://professionalvmware.com/brownbags/" target="_blank">BrownBag</a> sessions.</p><p><strong><span
style="font-size: medium;">Instructor Led &amp; Certification</span></strong></p><p>Finally, once you are all read up, head to a <a
title="VMware Training" href="http://vmware.com/education" target="_blank">VMware Education</a> instructor led class.  You need to take a VMware Authorized Training course to qualify to sit for the VMware Certified Professional (VCP) <a
title="VMware Certification" href="http://mylearn.vmware.com/portals/certification/" target="_blank">certification </a>exam.  VMware also offers a nice catalog of eLearning courses.  If you want to get a discount on eLearning, Instructor-Led training, and certification exams from VMware, check out the <a
title="VMUG Advantage" href="http://www.myvmug.org/p/cm/ld/fid=10" target="_blank">VMUG Advantage program</a>.</p><p
style="text-align: center;"><img
class="aligncenter" style="vertical-align: middle;" src="http://www.myvmug.org/media/lfmlbsfr.jpg" alt="Subscribe to VMUG Advantage" width="200" height="50" /></p><div
class="shr-publisher-806"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2011%2F10%2Fvsphere-5-books-training-resources%2F' data-shr_title='vSphere+5+Books+%26+Training+Resources'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2011%2F10%2Fvsphere-5-books-training-resources%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2011%2F10%2Fvsphere-5-books-training-resources%2F' data-shr_title='vSphere+5+Books+%26+Training+Resources'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2011/10/vsphere-5-books-training-resources/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>vCenter Crashes After Applying ESXi Patch ESXi410-201010401-SG</title><link>http://vmtoday.com/2010/12/vcenter-crashes-after-applying-esxi-patch-esxi410-201010401-sg/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vcenter-crashes-after-applying-esxi-patch-esxi410-201010401-sg</link> <comments>http://vmtoday.com/2010/12/vcenter-crashes-after-applying-esxi-patch-esxi410-201010401-sg/#comments</comments> <pubDate>Fri, 10 Dec 2010 18:19:32 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[DPM]]></category> <category><![CDATA[DRS]]></category> <category><![CDATA[HA]]></category> <category><![CDATA[Patch]]></category> <category><![CDATA[vcenter]]></category> <category><![CDATA[vsphere]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=639</guid> <description><![CDATA[My last post described a problem I experienced with VMware HA after upgrading to vSphere 4.1.  Here is my experience with a similar issue after applying the ESXi410-201010401-SG patch to one of my test/dev ESXi clusters.  The patch, released on November 15th and weighing in at a hefty 212MB, fixes a number of issues from [...]]]></description> <content:encoded><![CDATA[<p></p><p>My <a
title="HA Errors after vSphere 4.1 Upgrade" href="http://vmtoday.com/2010/12/ha-errors-after-vsphere-4-1-upgrade/" target="_blank">last post</a> described a problem I experienced with VMware HA after upgrading to vSphere 4.1.  Here is my experience with a similar issue after applying the <a
title="VMware ESXi 4.1 Patch ESXi410-201010401-SG: Updates Firmware" href="http://kb.vmware.com/kb/1027021" target="_blank">ESXi410-201010401-SG</a> patch to one of my test/dev ESXi clusters.  The patch, released on November 15th and weighing in at a hefty 212MB, fixes a number of issues from Likewise authentication on ESXi hosts to allowing configurable NOOP timout and interval values for faster failover of certain iSCSI arrays (<a
title="IBM DS3300 iSCSI Write Performance Solved" href="http://vmtoday.com/2009/06/ibm-ds3300-iscsi-write-performance-solved/" target="_blank">like the DS3300 or MD3000i</a>).</p><p>The environment where this problem occured has a single vCenter server managing both a production cluster and the test/dev cluster.  After applying this particular update to the ESXi hosts in the cluster, the vCenter server began to crash every 5 minutes or so.  The crash was logged on the vCenter server with Event ID 7031: The VMware VirtualCenter Server service terminated unexpectedly.  My go-to troubleshooting question (&#8220;What changed?&#8221;) pointed at the ESXi patch, but a VMware KB search and a little <a
title="why vcenter no worky?" href="http://lmgtfy.com/?q=why+vcenter+no+worky%3F" target="_blank">Google</a> action yielded no results directly related to ESXi410-201010401-SG and the vCenter Server service terminating unexpectedly.  <a
title="Troubleshooting the VMware VirtualCenter Server service when it does not start or fails" href="http://kb.vmware.com/kb/1003926" target="_blank">VMware KB article 1003926</a> provides some basic troubleshooting steps for vCenter Server, such as checking for port conflicts, vCenter DB health &amp; availability, and log locations.  The environment was healthy until the patch was applied to a sub-set of my ESXi hosts so I could confidently eliminate credentials, port conflicts and the like as the cause of the problem, so I jumped right to the log files for vCenter.  The vpxd-*.log is found in &#8220;C:\ProgramData\VMware\VMware VirtualCenter\Logs&#8221; on Windows 2008 vCenter servers and &#8220;%ALLUSERSPROFILE%\VMware\VMware VirtualCenter\Logs\vpxd.log&#8221; on Windows 2003 servers.  I found a few lines of interest in the log file but decided I had better call VMware Support to further analyze the issue.</p><p>To make a long story short, what the logs revealed is a bug that is triggered whenever VMware Distributed Resource Scheduler (DRS) ran on the updated test/dev cluster.  Disabling DRS stopped the symptom of the vCenter Server Service terminating unexpectedly, but this was obviously not a long-term solution.  A bit more digging by my VMware support rep led to VMware Distributed Power Management (DPM) being enabled on the cluster as the root cause of the issue.  Disabling DPM but leaving DRS enabled on the cluster fixed the glitch.  I can live without DPM, but DRS is pretty darn handy.</p><p>At this point, VMware engineering knows about the issue, and a fix is planned for vCenter 4.1 Update 1.  Interesting that DPM was fingered in this case, as well as in <a
title="HA Errors after vSphere 4.1 Upgrade" href="http://vmtoday.com/2010/12/ha-errors-after-vsphere-4-1-upgrade/" target="_blank">the case I wrote about last week</a> where HA and DPM apparently do not always play well together.  It seems like DPM is not fully baked, even though it is now officially supported.  This is unfortunate as DPM is promising to me &#8211; I can imagine the technology behind DPM being used for intelligent load shedding during peak electrical cost hours, power outages, or cooling outages in datacenters with some good integration between a DPM API and environmental management and monitoring systems like APC&#8217;s NetBotz.  Anyone else using DPM without having problems?  Any ideas for extending DPM or leveraging it for other purposes in the datacenter &#8211; I&#8217;d love to hear ideas in the comments.</p><div
class="shr-publisher-639"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F12%2Fvcenter-crashes-after-applying-esxi-patch-esxi410-201010401-sg%2F' data-shr_title='vCenter+Crashes+After+Applying+ESXi+Patch+ESXi410-201010401-SG'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F12%2Fvcenter-crashes-after-applying-esxi-patch-esxi410-201010401-sg%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F12%2Fvcenter-crashes-after-applying-esxi-patch-esxi410-201010401-sg%2F' data-shr_title='vCenter+Crashes+After+Applying+ESXi+Patch+ESXi410-201010401-SG'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2010/12/vcenter-crashes-after-applying-esxi-patch-esxi410-201010401-sg/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>HA Errors after vSphere 4.1 Upgrade</title><link>http://vmtoday.com/2010/12/ha-errors-after-vsphere-4-1-upgrade/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ha-errors-after-vsphere-4-1-upgrade</link> <comments>http://vmtoday.com/2010/12/ha-errors-after-vsphere-4-1-upgrade/#comments</comments> <pubDate>Tue, 07 Dec 2010 18:11:32 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[DPM]]></category> <category><![CDATA[HA]]></category> <category><![CDATA[High Availability]]></category> <category><![CDATA[troubleshooting]]></category> <category><![CDATA[vsphere]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=632</guid> <description><![CDATA[Troubleshooting &#038; fixing VMware High Availability (HA) error 'Error &#60;date&#62; &#60;time&#62; HA agent on &#60;host&#62; in cluster &#60;clustername&#62; in &#60;datacenter&#62; has an error: Error while running health check script' on a vSphere 4.1 cluster.]]></description> <content:encoded><![CDATA[<p></p><p>I recently ran into an issue with one of my vSphere clusters after upgrading from vSphere 4.0 to vSphere 4.1 (with ESXi 4.1 and vCenter 4.1).  After the upgrade, I attempted to enable VMware High Availability (HA) on the upgraded cluster.  Each of the ESXi hosts in the cluster appeared to have been properly configured for HA (as observed in the &#8216;Recent Tasks&#8217; pane of the vSphere Client).  Despite having appeared to configure HA correctly, I found that each host in the cluster was displaying an error on the Summary tab of the vSphere Client that read &#8216;Error &lt;date&gt; &lt;time&gt; HA agent on &lt;host&gt; in cluster &lt;clustername&gt; in &lt;datacenter&gt; has an error: Error while running health check script&#8217;.</p><p>I&#8217;ve dealt with HA errors in the past, so I quickly jumped into my standard troubleshooting and quick-fixes proceedure:</p><ol><li>Verify host connectivity.</li><li>Right-click on each host and choose &#8216;Reconfigure for VMware HA&#8217;</li><li>Disable &amp; Re-enable HA on the cluster.</li><li>Disable HA, place hosts into Maintenance Mode &amp; Reboot (one at a time).  Re-enable HA.</li><li>Get frustrated that a quick fix is not probably not in my future&#8230;.</li><li>Verify host name resolution for each host in the cluster from the service console/tech support mode of each host.</li><li>Review log files on vCenter Server and each host for glaring issues.  All Greek to me in this case&#8230;.</li><li>Call VMware Support.</li></ol><p>VMware Support reviewed the log files I had attached to my Service Request (SR) when I opened the case and had me try a few different things to fix the issue.  First, we verified the steps I had taken and collected some fresh logs.  Next, the support rep had me verify that Distributed Power Management (DPM) was not enabled on the cluster as there apparently is a known issue (although a KB is not available at this time) with configuring HA when DPM is enabled under certain circumstances.  I did not have DPM enabled on this particular cluster so I didn&#8217;t spend time chasing down this particular bug.</p><p>Finally, the following proceedure, run on each ESXi server in the cluster, resolved the issue (Note &#8211; this procedure is safe to do during normal operations as it does not affect running VM&#8217;s):</p><ol><li>Verify SSH or Console access to the host (this requires enabling Remote SSH/Tech Support Mode on ESXi hosts on the Configuration tab | Security Profile node of the vSphere Client, or by pressing F2 to login to ESXi 4.1 | troubleshooting options | enable remote SSH.</li><li>Disable HA on the affected cluster.</li><li>Right-click | Disconnect each host in the cluster from the &#8216;Hosts &amp; Clusters&#8217; view of the vSphere Client.</li><li>SSH to the host and run the following commands:</li><blockquote><p>services.sh stop<br
/> /opt/vmware/uninstallers/VMware-vpxa-uninstall.sh<br
/> /opt/vmware/uninstallers/VMware-aam-ha-uninstall.sh<br
/> services.sh start</p></blockquote><li>In the vSphere Client, right-click on each host and Connect.</li><li>Enable HA on the cluster.</li></ol><p>This procedure cleanly removes the VMware vCenter agent and the VMware HA agent from the ESX or ESXi host.  Reconnecting the host to vCenter pushes the vCenter management agent back to the host and installs it cleanly.  Enabling HA on the cluster re-installs the HA agent.  After completing these steps I had no further issues with HA on the cluster &#8211; case closed.  I hope this is helpful for anyone else who might be experiencing HA errors after upgrading to vSphere 4.1.</p><p>For those wanting to learn HA best practices or go a bit deeper into the inner workings of VMware HA, I highly recommend Duncan Epping&#8217;s <a
title="HA Deepdive" href="http://www.yellow-bricks.com/vmware-high-availability-deepdiv/" target="_blank">VMware HA Deep Dive article</a> and/or <a
title="VMware vSphere 4.1 HA and DRS Technical deepdive (Volume 1)" href="http://www.amazon.com/gp/product/1456301446?ie=UTF8&amp;tag=vm09-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1456301446 " target="_blank">VMware vSphere 4.1 HA and DRS Technical Deepdive (Volume 1) book</a>.</p><div
class="shr-publisher-632"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F12%2Fha-errors-after-vsphere-4-1-upgrade%2F' data-shr_title='HA+Errors+after+vSphere+4.1+Upgrade'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F12%2Fha-errors-after-vsphere-4-1-upgrade%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F12%2Fha-errors-after-vsphere-4-1-upgrade%2F' data-shr_title='HA+Errors+after+vSphere+4.1+Upgrade'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2010/12/ha-errors-after-vsphere-4-1-upgrade/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>High CPU Ready, Poor Performance</title><link>http://vmtoday.com/2010/08/high-cpu-ready-poor-performance/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=high-cpu-ready-poor-performance</link> <comments>http://vmtoday.com/2010/08/high-cpu-ready-poor-performance/#comments</comments> <pubDate>Wed, 25 Aug 2010 19:52:07 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[best practices]]></category> <category><![CDATA[cpu ready]]></category> <category><![CDATA[esxtop]]></category> <category><![CDATA[performance]]></category> <category><![CDATA[troubleshooting]]></category> <category><![CDATA[vsphere]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=566</guid> <description><![CDATA[I ran into an issue with a customer today where a VM was performing terribly.  From within the guest OS (a Windows 2003 application server running .NET in IIS which I will call BigBadServer) things appeared sluggish and CPU time was high.  The amount of time being spent on the kernel was notably high.  The [...]]]></description> <content:encoded><![CDATA[<p></p><p>I ran into an issue with a customer today where a VM was performing terribly.  From within the guest OS (a Windows 2003 application server running .NET in IIS which I will call BigBadServer) things appeared sluggish and CPU time was high.  The amount of time being spent on the kernel was notably high.  The VM in question had 4 vCPU’s and a good helping of memory.</p><p><a
href="http://cloudfront.vmtoday.com/wp-content/uploads/2010/08/highkerneltime.png" rel="lightbox[566]"><img
class="aligncenter size-medium wp-image-589" title="high kernel time" src="http://cloudfront.vmtoday.com/wp-content/uploads/2010/08/highkerneltime-220x300.png" alt="high kernel time in perfmon" width="220" height="300" /></a></p><p>I don’t have access to the VMware client at this particular site – just some of the guests, so I was flying blind.  Gut feeling told me that I was dealing with a resource contention issue.  I had the VMstats provider running in the guest (<a
href="http://vpivot.com/2009/09/17/using-perfmon-for-accurate-esx-performance-counters/">http://vpivot.com/2009/09/17/using-perfmon-for-accurate-esx-performance-counters/</a>) showed me that there was no ballooning or swapping going on, and that the vCPU’s were not limited and the CPU share value seemed to be at the default.</p><p>I strongly suspected that the physical server running VMware ESX was oversubscribed on physical CPU (pCPU) resources.  Essentially, the guest VM’s that are sharing the resources of the physical machine are demanding more resources than the machine can handle.  To verify this theory, I had the client check the ‘CPU Ready’ metric on BigBadServer and bingo!</p><p>CPU Ready is a measure of the amount of time that the guest VM is ready to run against the pCPU, but the VMware CPU Scheduler cannot find time to run the VM because other VM’s are competing for the same resources.</p><p>From the stats the customer provided on our phone call, the CPU Ready for any one of the 4 vCPU’s on the BigBadServer was on average 3723ms (min: 1269ms, max:8491ms).  (Update 8/25/2010 to clarify summation stat) The summation for the entire VM was around 12,000ms on average and peaked around 35,000.  The stats came from the real-time performance  graph/table in the vSphere client. The real-time stats in the vSphere Client update every 20 seconds, so  the CPU Ready summation value  should be divided by 20,000 to get a  percentage of CPU ready for the 20 second time slice.  If I take the  worst case scenario of 8491ms per vCPU, this VM spent nearly 43%  (8491/20,000) of the 20 second time slice waiting for CPU resources.</p><p>The CPU Ready summation in milliseconds counter in the vCenter Client is not always the most accurate or easy to interpret stat – to better quantify the problem it might be best to go to the ESX command line and run ESXTOP.  CPU Ready over 5% could be a sign of trouble, over 10% and there is a problem.  Running ESXTOP in batch mode and then analyzing the output using Windows Perfmon or Excel might be a good way to go on this to get a view over several hours rather than the realtime stats we were looking at.  I wrote a post a while back with more info on ESXTOP batch mode: <a
href="../2009/09/esxtop-batch-mode-windows-perfmon/">http://vmtoday.com/2009/09/esxtop-batch-mode-windows-perfmon/</a></p><p>To help quantify the problem a bit more, the BigBadServer is on an ESX 4.0 server with about 10 other servers.  The physical blade has two dual-core CPU’s (AMD Opteron 2218HE’s which are not hyperthreaded).  The other VM’s on the blade have different vCPU and vMemory configurations.  3 VM’s (including BigBadServer) have 4 vCPU’s.  A couple have 2 vCPU’s, and the remainder are configured with 1 vCPU.  In ESX 4.x, the VMware console OS actually runs as a hidden VM, pegged to pCPU #1.</p><p>I generally recommend a pCPU:vCPU ration of 1:4 for mid-sized VMware deployments of single vCPU VM’s.  The blade we are running on is a 1:5 with several multi-vCPU VM’s.  The multi-vCPU’s start to skew the ratio recommendation and require some advanced design decisions.  VMware’s scheduler requires that all the vCPU’s on a VM run concurrently (even if the Guest OS is trying to execute a single thread).  Also, the VMware CPU Scheduler prefers to have all the vCPU’s from a VM run on the same pCPU.  As workloads are bounced around between pCPU’s, the benefits of CPU cache are lost.  This is one of those ‘<a
title="Balloon Driver Problems with SQL" href="http://vmtoday.com/2009/09/balloon-driver-problems-with-sql/">more-is-less</a>’ situations that you run into on virtualized environments.</p><p>What this CPU Scheduler nonsense means in this case is that the 4 vCPU’s on BigBadServer have to wait until all logical pCPU’s on the box are idle (including the one that runs ESX itself) before it can run.  If ESX can’t accomplish that (we are experiencing resource contention) it starts prioritizing workloads according to what it can best run.  It is much easier to schedule the smaller VM’s, so it tends to run those on pCPU more frequently.  The larger VM’s tend to suffer a bit more than the smaller ones.  We are competing with 2 other VM’s with 4 vCPU’s that use up all of the logical pCPU’s when they need to run, as well as with the smaller VM’s.</p><p>I suggested a few ways to fix this issue for the BigBadServer web server:</p><ol><li>Using Shares and/or Reservations on the VM.  This probably won’t work in our situation as the physical server is too over-subscribed.  We might see a slight improvement in BigBadServer (or we might not see any change), but possibly at the extreme expense of the other VM’s sharing the blade.</li><li>Reduce the number of vCPU’s on BigBadServer AND the other multi-vCPU VM’s on the same physical server.  This would reduce resource contention and open up a whole bunch of scheduling options for the VMware CPU Scheduler.  This is the quickest/cheapest fix, but will not work if the VM’s really do need 4 vCPU’s.  A little workload analysis should determine which can be made smaller (the vCenter server graphs/stats should be enough for this).  For what it’s worth, by our analysis BigBadServer seems to be happier with 4 vCPU assuming we can run with a low CPU Ready on those 4.</li><li>Move the BigBadServer VM to a physical ESX server with fewer multi-vCPU VM’s so there is less contention.</li><li>Move the BigBadServer VM to a physical ESX server with quad-core pCPU’s (ideally two quad-cores or bigger).  This would give a lot more flexibility to the VMware CPU Scheduler and allow it to run quad-vCPU VM’s on the same pCPU for greater efficiency.</li><li>Split BigBadServer into 2 smaller VM’s – The server currently runs a couple sites.  We could split them onto two servers &#8211; one for Project1 and one for Proejct2.  This configuration would take some design, testing, and time but could scale out better, give more flexibility and availability in the long run.</li></ol><p>I’m not sure which way the customer will go on this one yet, but I feel good having armed them with enough knowledge and options to make an informed decision.</p><p>To avoid problems like this in the future, I recommend these rules of thumb:</p><ul><li>Design your hosts for your guests.  Taking your Guest VM sizes into account when designing your environment and choosing physical hardware is crucial if you need bigger VM’s.</li><li>Don’t make your VM’s bigger than you have to.  It is always easier to add resources than take them away.  Hot Add of CPU and Memory in vSphere make adding incredibly easy.</li><li>Monitor your environment for CPU Ready, Swapping, and other metrics that can indicate an inefficient design.</li><li>Call for help when you can’t figure out what is going on (I’m happy to help!).  VMware is super powerful, but some things can be downright backwards when it comes to resource allocation on a fixed set of hardware.</li></ul><p>If you are looking for some resources to help explain CPU Scheduling a bit more, I recommend:</p><ul><li>VMware’s Official documentation of CPU Scheduler in      vSphere 4.1 &#8211; <a
href="http://www.vmware.com/files/pdf/techpaper/VMW_vSphere41_cpu_schedule_ESX.pdf">http://www.vmware.com/files/pdf/techpaper/VMW_vSphere41_cpu_schedule_ESX.pdf</a>.</li><li>A nice summary of co-scheduling from VMware’s      Performance Blog: <a
href="http://blogs.vmware.com/performance/2008/06/esx-scheduler-s.html">http://blogs.vmware.com/performance/2008/06/esx-scheduler-s.html</a></li><li>Description and stats on Ready Time metrics for VI3: <a
title="VMware Performance Study on Ready Time Observations" href="http://www.vmware.com/pdf/esx3_ready_time.pdf" target="_blank">http://www.vmware.com/pdf/esx3_ready_time.pdf</a></li><li>Understanding Virtual Center Performance Statistics: <a
title="Understanding Virtual Center Performance Statistics" href="http://communities.vmware.com/docs/DOC-5230.pdf" target="_blank">http://communities.vmware.com/docs/DOC-5230.pdf</a></li></ul><p>(Updated 8/25/2010 to include a few additional reference links and corrected summation divided by time slice to get accurate values)</p><div
class="shr-publisher-566"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F08%2Fhigh-cpu-ready-poor-performance%2F' data-shr_title='High+CPU+Ready%2C+Poor+Performance'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F08%2Fhigh-cpu-ready-poor-performance%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F08%2Fhigh-cpu-ready-poor-performance%2F' data-shr_title='High+CPU+Ready%2C+Poor+Performance'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2010/08/high-cpu-ready-poor-performance/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>Update: SVGA Drivers on Windows 2008 R2 and Windows 7</title><link>http://vmtoday.com/2010/03/update-svga-drivers-on-windows-2008-r2-and-windows-7/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=update-svga-drivers-on-windows-2008-r2-and-windows-7</link> <comments>http://vmtoday.com/2010/03/update-svga-drivers-on-windows-2008-r2-and-windows-7/#comments</comments> <pubDate>Mon, 29 Mar 2010 00:23:43 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[drivers]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[performance]]></category> <category><![CDATA[svga]]></category> <category><![CDATA[Update 1]]></category> <category><![CDATA[vmware tools]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=439</guid> <description><![CDATA[I posted an article in December on how the SVGA driver included with VMware Tools caused the guest VM to freeze.  I referenced VMware&#8217;s KB Article 1011709, which directed you to not use the SVGA drivers included with VMware Tools.  KB1011709 has since been updated (as of February 25, 2010) to indicate that the VMware [...]]]></description> <content:encoded><![CDATA[<p></p><p>I posted an <a
title="Windows Server 2008 R2 &amp; Windows 7 Freeze When Using SVGA Drivers" href="http://vmtoday.com/2009/12/windows-2008-r2-svga-drivers/">article </a>in December on how the SVGA driver included with VMware Tools caused the guest VM to freeze.  I referenced VMware&#8217;s <a
title="Disabling SVGA drivers installed with VMware Tools on Windows 7 and Windows 2008 R2 running on ESX 4.0" href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=1011709&amp;sliceId=1&amp;docTypeID=DT_KB_1_1&amp;dialogID=55160139&amp;stateId=1%200%2055162014" target="_blank">KB Article 1011709</a>, which directed you to not use the SVGA drivers included with VMware Tools.  KB1011709 has since been updated (as of February 25, 2010) to indicate that the VMware Tools package included with ESX 4.0 Update 1 includes a new WDDM driver that is fully supported.  If you have updated to Update 1, you should upgrade VMware Tools to take advantage of the new driver.</p><p>If you followed the KB1011709&#8242;s original advice and did a custom install of VMware Tools (leaving out the SVGA driver through a custom install), you may have to do a re-install of VMware Tools before the new driver is available.   Once you get VMware Tools upgraded, the new driver can be found in the guest VM at C:\Program Files\Common Files\VMware\Drivers\wddm_video.  These drivers are not automatically installed, so you&#8217;ll have to update your guest&#8217;s video adapter driver in Device Manager.</p><p>It&#8217;s a bummer that the WDDM SVGA drivers are not automatically installed.  You could  probably copy these drivers to other VM&#8217;s and use Windows Device Manager to replace the standard driver with the newer WDDM driver without having to do the uninstall, reboot, reinstall of VMware tools on all of your VM&#8217;s.</p><p>Just as I was about to publish this, I saw a TweetDeck pop-up from <a
title="Jason Boche on Twitter" href="http://www.twitter.com/jasonboche">@jasonboche</a> saying that he had published pretty much the same update here:<a
title="Windows 2008 R2 and Windows 7 on vSphere" href="http://www.boche.net/blog/index.php/2010/03/28/windows-2008-r2-and-windows-7-on-vsphere/" target="_blank"> http://www.boche.net/blog/index.php/2010/03/28/windows-2008-r2-and-windows-7-on-vsphere/</a>.  Not only does he have pretty pictures to go with his post, but also points out that VMware Tools installs/upgrades executed with VMware Update Manager (VUM) will not install the upgraded SVGA driver.  He also recommends updating templates to include the upgraded drivers.  Great points, Jason.</p><div
class="shr-publisher-439"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F03%2Fupdate-svga-drivers-on-windows-2008-r2-and-windows-7%2F' data-shr_title='Update%3A+SVGA+Drivers+on+Windows+2008+R2+and+Windows+7'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F03%2Fupdate-svga-drivers-on-windows-2008-r2-and-windows-7%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F03%2Fupdate-svga-drivers-on-windows-2008-r2-and-windows-7%2F' data-shr_title='Update%3A+SVGA+Drivers+on+Windows+2008+R2+and+Windows+7'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2010/03/update-svga-drivers-on-windows-2008-r2-and-windows-7/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Installing PowerPath/VE using VMware Update Manager</title><link>http://vmtoday.com/2010/02/installing-powerpathve-using-vmware-update-manager/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-powerpathve-using-vmware-update-manager</link> <comments>http://vmtoday.com/2010/02/installing-powerpathve-using-vmware-update-manager/#comments</comments> <pubDate>Fri, 05 Feb 2010 19:17:07 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Documentation]]></category> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[Storage]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[EMC]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[I/O]]></category> <category><![CDATA[multipathing]]></category> <category><![CDATA[performance]]></category> <category><![CDATA[powerpath]]></category> <category><![CDATA[vcenter]]></category> <category><![CDATA[vsphere]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=368</guid> <description><![CDATA[I am finishing up an installation of an EMC Clariion CX4 SAN. One of the final steps of the installation is to configure PowerPath/VE on the ESXi hosts. PowerPath/VE is EMC&#8217;s multipathing extension module for VMware (and Hyper-V), designed to replace the Native Multipathing Plugin (NMP) for increased I/O performance and failover management.  To simplify [...]]]></description> <content:encoded><![CDATA[<p></p><p>I am finishing up an installation of an EMC Clariion CX4 SAN.  One of the final steps of the installation is to configure PowerPath/VE on the ESXi hosts. <a
title="PowerPath/VE" href="http://www.emc.com/products/detail/software/powerpath-ve.htm" target="_blank">PowerPath/VE</a> is EMC&#8217;s multipathing extension module for VMware (and Hyper-V), designed to replace the Native Multipathing Plugin (NMP) for increased I/O performance and failover management.  To simplify and automate the installation of PowerPath/VE, I decided to use VMware Update Manager (VUM) to push the extension to the ESXi 4.x hosts in the environment.</p><p>The process of setting up an additional VUM patch repository to host PowerPath/VE (and other 3rd party extensions such as the Cisco Nexus 1000v) is pretty straight forward.  3rd party extensions are supported in VUM beginning with vSphere 4.0 Update 1.  <a
title="Chad Sakac - Virtual Geek blog" href="http://virtualgeek.typepad.com/virtual_geek/2009/11/vsphere-update-1-and-other-friday-goodies.html" target="_blank">Chad Sakac</a> has posted a great video guide on YouTube that covers the setup:</p><p
style="text-align: center;"><object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="allowFullScreen" value="true" /><param
name="allowScriptAccess" value="always" /><param
name="src" value="http://www.youtube.com/v/V5dtxqSJCyQ&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" /><param
name="allowfullscreen" value="true" /><embed
type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/V5dtxqSJCyQ&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" allowfullscreen="true" allowscriptaccess="always"></embed></object></p><p>I opted to use the tomcat installation on the environment&#8217;s vCenter server to host the PowerPath/VE repository.  To accomplish this, I simply created a new directory in the tomcat root directory.  The default path for the root directory on a vSphere vCenter Server is &#8220;C:\Program Files\VMware\Infrastructure\tomcat\webapps&#8221; (or C:\Program Files (x86)\VMware\Infrastructure\tomcat\webapps on a 64-bit installation).</p><p>I created a directory named &#8216;depot&#8217; and within that directory created a PowerPathVE folder.  I extracted the contents of the VUM folder from the PowerPath .zip file that I downloaded from <a
title="EMC PowerLink" href="http://powerlink.emc.com" target="_blank">http://powerlink.emc.com</a>.  A screenshot of the directory is below:</p><div
id="attachment_371" class="wp-caption aligncenter" style="width: 579px"> <a
href="http://cloudfront.vmtoday.com/wp-content/uploads/2010/02/PPVEDepot.jpg" rel="lightbox[368]"><img
class="size-full wp-image-371 " title="PowerPath/VE Depot Folder" src="http://cloudfront.vmtoday.com/wp-content/uploads/2010/02/PPVEDepot.jpg" alt="PowerPath/VE Depot Directory Tree" width="579" height="455" /></a><p
class="wp-caption-text">PowerPath/VE Depot Directory Tree</p></div><p>After creating the directory for the patch repository, I simply added an Extension Repository to VMware Update Manager as Chad shows in his <a
href="http://www.youtube.com/watch?v=V5dtxqSJCyQ&amp;feature=player_embedded" target="_blank">video</a>.  I would like to call out one caveat &#8211; Because vCenter may not listen on standard HTTP/HTTPS ports, I used <img
src="file:///C:/Users/JOSH%7E1.TOW/AppData/Local/Temp/moz-screenshot.png" alt="" />https://vcenter.domain.local:8443/depot/PowerPathVE/index.xml as the path to the source.</p><div
id="attachment_373" class="wp-caption aligncenter" style="width: 524px"> <a
href="http://cloudfront.vmtoday.com/wp-content/uploads/2010/02/patchsource.jpg" rel="lightbox[368]"><img
class="size-full wp-image-373 " title="VUM Patch Source" src="http://cloudfront.vmtoday.com/wp-content/uploads/2010/02/patchsource.jpg" alt="VUM Patch Source" width="524" height="201" /></a><p
class="wp-caption-text">VUM Patch Source</p></div><p>Once PowerPath was added to an Extension Baseline in VUM, I simply had to scan my hosts for updates and remediate.  Installation of PowerPath/VE requires the host to be in Maintenance Mode and concludes with a reboot.  Pretty simple.</p><p>Then all you have to do is fight through an overly-complex licensing setup (seriously, a 112 page <a
title="PowerPath/VE for VMware vSphere Licensing Guide" href="https://powerlink.emc.com/nsepn/webapps/btg548664833igtcuup4826/km/live1/en_US/Offering_Technical/Technical_Documentation/300-009-188.pdf" target="_blank">PDF</a> on how to install licenses???), a bit of configuration, and you are multi-pathing with the best of them.  If you are interested in learning more about PowerPath/VE, start with this whitepaper: <a
title="EMC PowerPath/VE for VMware vSphere Best Practices Planning" href="http://www.emc.com/collateral/software/white-papers/h6340-powerpath-ve-for-vmware-vsphere-wp.pdf" target="_blank">EMC PowerPath/VE for VMware vSphere Best Practices Planning</a>.  For a bit of real-world insight into the performance increase you might see with PowerPath/VE, check out this blog post from Eric Sloof: <a
rel="bookmark" href="http://www.ntpro.nl/blog/archives/1294-Massive-IO-power-increase-using-EMC-PowerPathVE.html">Massive I/O power increase using EMC PowerPath/VE</a>.</p><p>Update &#8211; 3/27/09: VMware published a Knowledge Base article on this procedure a few weeks after I wrote this post.  You can find it in  article <a
title="Install PowerPath/VE for VMware vSphere by using vCenter Update Manager" href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=1018740&amp;sliceId=1&amp;docTypeID=DT_KB_1_1&amp;dialogID=76207021&amp;stateId=0%200%2076203931" target="_blank">1018740</a>.</p><p>Update &#8211; 4/15/11: You may have to set the NTFS permissions on the &#8216;depot&#8217; folder to allow &#8216;anonymous&#8217; read access when running on a 2008 or 2008 R2 server before you can validate and download from the new repository.</p><div
class="shr-publisher-368"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F02%2Finstalling-powerpathve-using-vmware-update-manager%2F' data-shr_title='Installing+PowerPath%2FVE+using+VMware+Update+Manager'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F02%2Finstalling-powerpathve-using-vmware-update-manager%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2010%2F02%2Finstalling-powerpathve-using-vmware-update-manager%2F' data-shr_title='Installing+PowerPath%2FVE+using+VMware+Update+Manager'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2010/02/installing-powerpathve-using-vmware-update-manager/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Storage Basics &#8211; Part II: IOPS</title><link>http://vmtoday.com/2009/12/storage-basics-part-ii-iops/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=storage-basics-part-ii-iops</link> <comments>http://vmtoday.com/2009/12/storage-basics-part-ii-iops/#comments</comments> <pubDate>Tue, 29 Dec 2009 12:50:59 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[General IT]]></category> <category><![CDATA[Storage]]></category> <category><![CDATA[Storage Basics]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[IOPS]]></category> <category><![CDATA[performance]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=300</guid> <description><![CDATA[In Part I of this series, I discussed the important of storage performance in a virtual environment (really any environment, virtual or not, where you want acceptable performance), and introduced some of the basic measures of a storage environment.  In Part II, we will look more closely at what may be the most important storage [...]]]></description> <content:encoded><![CDATA[<p></p><p>In <a
title="Storage Basics – Part I: An Introduction" href="http://vmtoday.com/2009/12/storage-basics-part-i-intro/">Part I of this series</a>, I discussed the important of storage performance in a virtual environment (really any environment, virtual or not, where you want acceptable performance), and introduced some of the basic measures of a storage environment.  In Part II, we will look more closely at what may be the most important storage design consideration in a VMware server-consolidation enviornments, many SQL environments, and VDI environments to name a few: IOPS.</p><p>If we stick with a single-disk-centric approach as we did in Part I, IOPS is quite simply a measure of how many read and write commands a disk can complete in a second.  IOPS is an important measure of performance in a shared storage environment (such as VMware) and in high-transaction-rate workloads like SQL.  Because hard drives are forced to abide by the laws of physics, the IOPS capabilities of a disk are consistent and predictable given a specific configuration.  The formula for calculating IOPS for a given disk is pretty straight forward (please show your work):</p><blockquote><p>IOPS = 1000/(Seek Latency + Rotational Latency)</p></blockquote><p>Exact latencies vary by disk type, quality, number of platters, etc.  You can look up the tech specs for most drives on the market.  As an example, I have randomly chosen the <a
href="http://www.seagate.com/www/en-us/products/servers/cheetah/cheetah_15k.7/#tTabContentSpecifications" target="_blank">technical specifications of the Seagate Cheatah 15k.7</a> SAS drive.  This particular drive has the following performance characteristics:</p><p>- Average (rotational) latency: 2.0msec</p><p>- Average read seek (latency): 3.4msec</p><p>- Average write seek (latency): 3.9msec</p><p>Using the read latency number, the math works out like this:</p><blockquote><p>1000<br
/> &#8212;&#8212;&#8212;- = 185 maximum read IOPS<br
/> 2.0+3.4</p></blockquote><p>The maximum write IOPS will be a bit less (~169IOPS) because of the higher write seek latency.  Writing is more &#8216;expensive&#8217; than reading and therefore slower.</p><p>Fortunately, there are some widely accepted &#8216;working&#8217; numbers, so you do not have to use this formula for each and every disk you might consider using.  Because rotational latency is based on the rotational speed, we can use the published Rotations Per Minute (RPM) rating of the drive to guess-timate the IOPS capabilities.  Typical spindle speeds (measured in RPM) and their equivalent IOPS are in the table below.</p><blockquote><p>RPM&#8230;&#8230;&#8230;IOPS</p><p>7,200          80</p><p>10,000       130</p><p>15,000       180</p><p>SSD           2500 &#8211; 6000</p></blockquote><p>While not a traditional spinning disk, I have also included Solid State Disks (SSD&#8217;s) for reference as SSD&#8217;s are starting to see increased market adoption.  I have seen a wide range of sizing IOPS for SSD depending on the technology, type (SLC, MLC, etc.)  Check out <a
href="http://en.wikipedia.org/wiki/Solid-state_drive">http://en.wikipedia.org/wiki/Solid-state_drive</a> for an introduction, and ask your vendors for more in-depth technical information.</p><p>If you are brand-new to this (and you are still reading, congrats!), you can see how many IOPS your Windows computer is asking for by opening Performance Monitor and looking at the &#8216;Disk Transfers/sec&#8217; counter under Physical Disk.  This is a sum of the &#8216;Disk Reads/sec&#8217; and &#8216;Disk Writes/sec&#8217; counters as you can see in the screenshot below:</p><p><a
href="http://cloudfront.vmtoday.com/wp-content/uploads/2009/12/Perfmon1.jpg" rel="lightbox[300]"><img
class="alignnone size-full wp-image-289" title="Perfmon" src="http://cloudfront.vmtoday.com/wp-content/uploads/2009/12/Perfmon1.jpg" alt="" width="374" height="215" /></a></p><p>If you are after some stats for your VMware ESX environment, check out esxtop and looking for CMDS/s in the output.  I published a couple articles on using esxtop <a
href="http://vmtoday.com/2009/09/the-skinny-on-esxtop/">here </a>and <a
href="http://vmtoday.com/2009/09/esxtop-batch-mode-windows-perfmon/">here</a>.  The numbers from PerfMon and esxtop get you pretty close but can be skewed by a few things we&#8217;ll discuss in later posts.</p><p>Now that was fun and all, but let&#8217;s get real: Single-disk configurations are uncommon in servers.  As such, we&#8217;ll part ways with our Simple Jack single disk approach to storage and begin to look at more real-world multi-disk enterprise-class storage configurations.  A discussion of IOPS in a multi-disk array is a great way to start.  From a very elementary perspective, you can combine multiple hard drives together to aggregate their performance capabilities.  For example, two 15k RPM disks working together to server a workload could provide a theoretical 360 IOPS (180 + 180). This also  scales out so ten 15k RPM disks could provide 1800 IOPS, and 100 15k RPM disks could provide 18,000 IOPS.</p><p>Designing your environment so that your storage can deliver sufficient IOPS to the requesting workload is of utmost importance.  If you are working on a storage design, arm yourself with data from perfmon, top, iostat, esxtop, and vscsiStats.  I typically gather at least 24 hours of performance data from systems under normal conditions (a few days to a week may be good if you have varying business cycles) and take the 95th percentile as a starting point.  So from a very simple approach, if your data and calculations show a 1800 IOPS demand at the 95th percentile, you ought to have at least ten 15k RPM disks (or twenty-three 7.2k RPM SATA disks) to achieve performance goals.  It&#8217;s amazing how some simple data and a pretty little Excel spreadsheet can help you understand and justify the right hardware for the job.</p><p>Now before you go and start filling out that PO form for a nice new storage system based on these numbers there are a few more things we ought to discuss.  RAID, cache, and advanced storage technologies will skew these numbers and need to be understood.  Stay tuned to future articles in this series for more on those topics and more.</p><p>Finally, there has been a bunch of activity in the VMware ecosystem of vendors, bloggers, and twittering-type-folks around storage performance.  As this here post sat in my drafts folder, Duncan Epping posted this gem of an article that pretty much included all of the content of this article, as well as future ones in my series: <a
href="http://www.yellow-bricks.com/2009/12/23/iops/">http://www.yellow-bricks.com/2009/12/23/iops/</a>.  Do yourself a favor and read his post and the comments from his readers &#8211; both are filled with a ton of great information, including some vendor-specific implementations.<br
/> I was led to Duncan&#8217;s article by a post by Chad Sakac on his blog: <a
href="http://virtualgeek.typepad.com/virtual_geek/2009/12/whats-what-in-vmware-view-and-vdi-land.html">http://virtualgeek.typepad.com/virtual_geek/2009/12/whats-what-in-vmware-view-and-vdi-land.html</a>.  This is also a great read that covers some of the same information with a focus on VMware View/VDI and is also worth a few minutes of your time.  Also check out <a
href="http://vpivot.com/2009/09/18/storage-is-the-problem/">http://vpivot.com/2009/09/18/storage-is-the-problem/</a> for a rubber-meets-the-road post from Scott Drummonds on the importance of storage performance vis-a-vis IOPS in a VMware-virtualized SQL environment.</p><div
class="shr-publisher-300"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F12%2Fstorage-basics-part-ii-iops%2F' data-shr_title='Storage+Basics+-+Part+II%3A+IOPS'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F12%2Fstorage-basics-part-ii-iops%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F12%2Fstorage-basics-part-ii-iops%2F' data-shr_title='Storage+Basics+-+Part+II%3A+IOPS'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/12/storage-basics-part-ii-iops/feed/</wfw:commentRss> <slash:comments>13</slash:comments> </item> <item><title>Windows Server 2008 R2 &amp; Windows 7 Freeze When Using SVGA Drivers</title><link>http://vmtoday.com/2009/12/windows-2008-r2-svga-drivers/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-2008-r2-svga-drivers</link> <comments>http://vmtoday.com/2009/12/windows-2008-r2-svga-drivers/#comments</comments> <pubDate>Mon, 21 Dec 2009 21:16:27 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[driver]]></category> <category><![CDATA[tools]]></category> <category><![CDATA[VM]]></category> <category><![CDATA[windows]]></category> <category><![CDATA[windows 2008 R2]]></category> <category><![CDATA[windows 7]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=295</guid> <description><![CDATA[I recently ran into an issue when installing my first Windows Server 2008 R2 virtual machine.  The VM would hang/freeze randomly when used through the VMware vCenter Client&#8217;s console.  It turns out this is a known issue (see this VMware KB Article) with the SVGA driver that is installed as part of the default installation [...]]]></description> <content:encoded><![CDATA[<p></p><p>I recently ran into an issue when installing my first Windows Server 2008 R2 virtual machine.  The VM would hang/freeze randomly when used through the VMware vCenter Client&#8217;s console.  It turns out this is a known issue (see <a
title="Disable SVGA drivers installed with VMware Tools on Windows 7 and Windows 2008 R2" href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=1011709&amp;sliceId=1&amp;docTypeID=DT_KB_1_1&amp;dialogID=55160139&amp;stateId=1%200%2055162014" target="_blank">this VMware KB Article</a>) with the SVGA driver that is installed as part of the default installation of VMware Tools.  While the article does not explain why you should disable the SVGA driver, it&#8217;s advice is correct if you want to avoid problems in your guest VM.  To correct my problem, I removed the SVGA driver from the Windows Device Manager and rebooted.  If you are having problems removing the SVGA driver before the VM hangs, use Remote Desktop to access the guest machine to perform the driver uninstall.  I have not observed hanging/freezing in the VM since removing the SVGA driver from my Windows 2008 R2 guest.  Note that this same issue is present in Windows 7.</p><div
class="shr-publisher-295"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F12%2Fwindows-2008-r2-svga-drivers%2F' data-shr_title='Windows+Server+2008+R2+%26+Windows+7+Freeze+When+Using+SVGA+Drivers'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F12%2Fwindows-2008-r2-svga-drivers%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F12%2Fwindows-2008-r2-svga-drivers%2F' data-shr_title='Windows+Server+2008+R2+%26+Windows+7+Freeze+When+Using+SVGA+Drivers'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/12/windows-2008-r2-svga-drivers/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Upgrading Virtual Hardware in a VMware Virtual Machine May Cause Disks to go Offline</title><link>http://vmtoday.com/2009/11/upgrading-virtual-hardware-in-a-vmware-virtual-machine-may-cause-disks-to-go-offline/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=upgrading-virtual-hardware-in-a-vmware-virtual-machine-may-cause-disks-to-go-offline</link> <comments>http://vmtoday.com/2009/11/upgrading-virtual-hardware-in-a-vmware-virtual-machine-may-cause-disks-to-go-offline/#comments</comments> <pubDate>Mon, 23 Nov 2009 22:51:44 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[upgrade]]></category> <category><![CDATA[virtual hardware]]></category> <category><![CDATA[virtualization]]></category> <category><![CDATA[vsphere]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=273</guid> <description><![CDATA[I recently posted an article on how specific actions during the upgrade of a VMware Virtual Machine&#8217;s hardware from v4 to v7 can cause problems with certain services, including DNS, DHCP, and WINS. In that case, the problem was related to Microsoft Windows leaving non-present devices with networking configurations and  the failure of the VMware [...]]]></description> <content:encoded><![CDATA[<p></p><p>I recently posted an <a
title="vSphere Upgrade Breaks Active Directory" href="http://vmtoday.com/2009/11/vsphere-upgrade-breaks-active-directory/" target="_blank">article </a>on how specific actions during the upgrade of a VMware Virtual Machine&#8217;s hardware from v4 to v7 can cause problems with certain services, including DNS, DHCP, and WINS.  In that case, the problem was related to Microsoft Windows leaving non-present devices with networking configurations and  the failure of the VMware Upgrade Helper service to copy WINS settings when updating the NIC.  As my fellow blogger and VMUG leader, <a
href="http://boche.net/blog/" target="_blank">Jason Boche</a>, <a
href="http://twitter.com/jasonboche/" target="_blank">responded on Twitter</a>: &#8220;Same gotchas, different version.&#8221;  And right he is &#8211; anyone with experience in P2V or V2V, or who has been working with VMware long enough to have done a 2.5 to 3.0 upgrade experienced the same gotchas.</p><p>There are other issues with VMware virtual hardware upgrades, however, that you may not have experienced.  One such issue that I have experienced is highlighted in VMware Knowledge Base article <a
href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1013109" target="_blank">1013109</a>: <em>&#8220;Upgrading virtual hardware in ESX 4 may cause Windows 2008 disks to go offline</em>&#8220;.  The problems described in the article are unique to Windows 2008 Enterprise and Datacenter editions only.  The problem is pretty well described in the title of the article &#8211; Upgrading virtual hardware in ESX 4 may cause Windows 2008 disks to go offline.  In this case, like with the ghost NIC&#8217;s I <a
title="vSphere Upgrade Breaks Active Directory" href="http://vmtoday.com/2009/11/vsphere-upgrade-breaks-active-directory/" target="_blank">described </a>last week, is more of a Microsoft issue, but it will rear its head when a VMware Administrator least desires it.  With this particular problem, the Windows Virtual Disk Service (part of the native Storage Management suite) is set to not auto-mount newly discovered disks that do reside on a shared bus.  Microsoft has a MSDN article on the VDS SANS policy <a
title="VDS_SAN_POLICY Enumeration" href="http://msdn.microsoft.com/en-us/library/bb525577%28VS.85%29.aspx" target="_blank">here</a>.  Upgrading the virtual hardware version causes the disks to be re-discovered and not auto-mounted.  This can potentially impact all non-system disks on a VM.</p><p>You may also experience similar issues when upgrading the vSCSI adapter in a VM from a standard LSI Logic Parallel SCSI adapter to a (new in vSphere 4.0) paravirtualized SCSI (<a
title="Configuring disks to use VMware Paravirtual SCSI (PVSCSI) adapters" href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1010398" target="_blank">pvSCSI</a>) adapter, move virtual disks to new vSCSI adapters to increase the number of concurrent disk IO operations, or when you change the SCSI node ID of a virtual disk.  These may all trigger a re-discovery of the disks by the Windows Virtual Disk Service, leaving data disks offline on Windows 2008 Enterprise and Datacenter Edition guests.</p><p>In my opinion, these issues are not reasons to forgo upgrading your virtual hardware version.  However, when your upgrade/migration plans call for upgrading the virtual hardware version of your guests you should be prepared to resolve any issues caused by &#8216;ghost hardware&#8217;, offline disks, and the like.  Both the MSDN and VMware articles I cited above offer workarounds for the offline disk issue.  Here are the links again:</p><li>http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1013109</li><li>http://msdn.microsoft.com/en-us/library/bb525577%28VS.85%29.aspx</li><div
class="shr-publisher-273"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F11%2Fupgrading-virtual-hardware-in-a-vmware-virtual-machine-may-cause-disks-to-go-offline%2F' data-shr_title='Upgrading+Virtual+Hardware+in+a+VMware+Virtual+Machine+May+Cause+Disks+to+go+Offline'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F11%2Fupgrading-virtual-hardware-in-a-vmware-virtual-machine-may-cause-disks-to-go-offline%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F11%2Fupgrading-virtual-hardware-in-a-vmware-virtual-machine-may-cause-disks-to-go-offline%2F' data-shr_title='Upgrading+Virtual+Hardware+in+a+VMware+Virtual+Machine+May+Cause+Disks+to+go+Offline'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/11/upgrading-virtual-hardware-in-a-vmware-virtual-machine-may-cause-disks-to-go-offline/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>The Skinny on ESXTOP</title><link>http://vmtoday.com/2009/09/the-skinny-on-esxtop/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-skinny-on-esxtop</link> <comments>http://vmtoday.com/2009/09/the-skinny-on-esxtop/#comments</comments> <pubDate>Thu, 17 Sep 2009 22:39:01 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[analysis]]></category> <category><![CDATA[analyze]]></category> <category><![CDATA[batch mode]]></category> <category><![CDATA[cpu]]></category> <category><![CDATA[disk]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[esxtop]]></category> <category><![CDATA[memory]]></category> <category><![CDATA[network]]></category> <category><![CDATA[performances]]></category> <category><![CDATA[rCLI]]></category> <category><![CDATA[resxtop]]></category> <category><![CDATA[statistics]]></category> <category><![CDATA[vCLI]]></category> <category><![CDATA[vMA]]></category> <category><![CDATA[vsphere]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=244</guid> <description><![CDATA[A reader named Mark contacted me today and asked if there was a way to reduce the size of the batch output from an ESXTOP run.  And he asks for good reason: Depending on the number of VM&#8217;s on your host, the delay between ESXTOP samplings and the number of samples you collect, using the [...]]]></description> <content:encoded><![CDATA[<p></p><p>A reader named Mark contacted me today and asked if there was a way to reduce the size of the batch output from an ESXTOP run.  And he asks for good reason: Depending on the number of VM&#8217;s on your host, the delay between ESXTOP samplings and the number of samples you collect, using the All Stats option (-a) can yield a massive file in a short period of time.  If written to a partition on your ESX Service Console you run the risk of filling the partition, and forget about actually being able to analyze the data in PERFMON or Excel.  For example, on an ESX host running ~15 VM&#8217;s I produced 100MB worth of CSV using the -a switch, sampling every 15 seconds, for just under 2 hours.  ESXTOP uses 10-second intervals by default; I used <span
style="color: #993300;">-d 15</span> to change the sampling delay.  Had I went with the default my output would have been bigger.</p><p>To reduce the size of your output, you can change your sampling delay to something larger, say 30-seconds.  I suppose you could also capture statistics when the host is not busy so you get fewer characters in the results, but that&#8217;s just being goofy. <img
src='http://cloudfront.vmtoday.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p><p>A better way to reduce your ESXTOP output size is to selectively include only the statistics you are interested in, and is really what Mark was asking.  After all, all statistics from ESXTOP can be too many statistics, and chances are you already know what stats you are interested in.  Here&#8217;s how you can narrow down the collected stats for easier analysis and smaller output:</p><ol><li>Enter ESXTOP in interactive mode on the Service Console by simply typing <span
style="color: #993300;">esxtop</span> at the # prompt</li><li>Switch to a component you are NOT interested in capturing statistics on by pressing the corresponding menu option (<span
style="color: #993300;">c</span>: ESX cpu, <span
style="color: #993300;">m</span>: ESX memory, <span
style="color: #993300;">d</span>: ESX disk adapter, <span
style="color: #993300;">u</span>: ESX disk device, <span
style="color: #993300;">v</span>: ESX disk VM).</li><li>Press <span
style="color: #993300;">f</span> when viewing the component you do not want to capture.  A list of fields will be displayed.  You can toggle the fields on and off by pressing the letter corresponding to each field.  An * indicates that the field is on.  You want to turn off all of the fields you don&#8217;t want to collect.</li><li>Repeat steps 2 &amp; 3 for the remaining components, leaving only what you want to capture.</li><li>Switch to the component you want to capture in batch mode and repeat step #3, except you will now enable what you want to capture.</li><li>Press <span
style="color: #993300;">W</span> (capital W &#8211; case sensitive) to write out the ESXTOP configuration file.  You can accept the default or create new configuration files.  You may want to create a CPU-only config file, memory-only, and so forth.</li><li>Press <span
style="color: #993300;">CTRL+C</span> to stop ESXTOP.</li><li>Now, invoke ESXTOP in batch mode, calling your updated or new configuration file you created in step #6 using the -c switch.  Here&#8217;s an example:# <span
style="color: #993300;">esxtop -b -d 30 -n 480 -c .esxtopcpustats &gt; /tmp/esxtop_cpu_stats.cs</span><span
style="color: #993300;">v</span> where .esxtopcpustats is an ESXTOP config file with only CPU stats.  -d sets your capture interval to 30 seconds, and -n sets the number of samples to 480 (or 4 hours with a delay of 30 seconds).</li></ol><p>Once your capture is complete you can replay the sampling in ESXTOP using replay mode (-R), or you can copy the .csv to a Windows system and use PERFMON or Excel to analyze the stats.  If using PERFMON or Excel you will notice that the system summary information displayed at the top of an interactive ESXTOP session is included in the output (console memory, console cpu, etc.).  As far as I know, there is no way to disable this, nor would you want to as it includes the time stamp necessary to interpret your data.</p><p>It is possible to use the <a
title="vSphere CLI" href="http://communities.vmware.com/community/vmtn/vsphere/automationtools/vsphere_cli" target="_blank">vSphere CLI</a> or the <a
title="vSphere Management Assistant vMA" href="http://www.vmware.com/support/developer/vima/" target="_blank">vSphere Management Assistant (vMA)</a> to run RESXTOP, a version of ESXTOP designed for remote administration of ESXi or ESX.  You may note, however, RESXTOP from the vSphere CLI only works from a Linux client.  Using either of these tools will help you to automate ESXTOP statistics collection from multiple hosts using customized configuration files.</p><div
class="shr-publisher-244"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fthe-skinny-on-esxtop%2F' data-shr_title='The+Skinny+on+ESXTOP'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fthe-skinny-on-esxtop%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fthe-skinny-on-esxtop%2F' data-shr_title='The+Skinny+on+ESXTOP'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/09/the-skinny-on-esxtop/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>vCenter Database Stats Rollup Troubleshooting</title><link>http://vmtoday.com/2009/09/vcenter-database-stats-rollup-troubleshooting/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vcenter-database-stats-rollup-troubleshooting</link> <comments>http://vmtoday.com/2009/09/vcenter-database-stats-rollup-troubleshooting/#comments</comments> <pubDate>Thu, 17 Sep 2009 14:33:40 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[configuration]]></category> <category><![CDATA[database]]></category> <category><![CDATA[design]]></category> <category><![CDATA[performance]]></category> <category><![CDATA[sql]]></category> <category><![CDATA[statistics]]></category> <category><![CDATA[vcenter]]></category> <category><![CDATA[vi client]]></category> <category><![CDATA[viclient]]></category> <category><![CDATA[virtual center]]></category> <category><![CDATA[virtualcenter]]></category> <category><![CDATA[vsphere]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=240</guid> <description><![CDATA[VMware vCenter collects performance statistics, tasks and events for historical performance analysis and auditing.  The collection level and retention of performance statistics can be controlled through the vCenter GUI (see Administration &#124; vCenter Server Settings &#124; Statistics).   The level of statistics collection and retention periods can have a dramatic impact on your vCenter Server&#8217;s performance [...]]]></description> <content:encoded><![CDATA[<p></p><p>VMware vCenter collects performance statistics, tasks and events for historical performance analysis and auditing.  The collection level and retention of performance statistics can be controlled through the vCenter GUI (see Administration | vCenter Server Settings | Statistics).   <a
href="http://cloudfront.vmtoday.com/wp-content/uploads/2009/09/image2.png" rel="lightbox[240]"><img
style="border-bottom: 0px; border-left: 0px; margin: 10px 15px 10px 0px; display: inline; border-top: 0px; border-right: 0px" title="vCenter Statistics Settings" src="http://cloudfront.vmtoday.com/wp-content/uploads/2009/09/image_thumb2.png" border="0" alt="vCenter Statistics Settings" width="289" height="282" align="left" /></a>The level of statistics collection and retention periods can have a dramatic impact on your vCenter Server&#8217;s performance if not carefully planned and monitored.  In particular, the vCenter database can grow quite large and the database server required to support the increase in statistics increases in size and performance characteristics (increased disk IO capacity, CPU, and memory).  Fortunately, VMware has provided a vCenter database sizing tool within the vCenter client (see picture).  This is all well and good for initial sizing, and my experience shows that vCenter&#8217;s sizing estimates are fairly accurate assuming the environment remains healthy.</p><p>I recently migrated an environment from vCenter 2.5 to 4.0 and in the process switched from a Windows 2003 32-bit vCenter host and a SQL 2005 server (remote to vCenter) to a Windows 2008 64-bit vCenter server with a SQL 2008 server (again, a remote SQL server).  I experienced a few issues during the migration and thought I had worked through them all (I&#8217;ll post on those at a later date).  However, after a bit of time I found that performance statistics for objects in the vCenter were missing of not rendering at an acceptable pace.  Upon further investigation, I discovered warnings in the vCenter Service Status node indicating that performance rollups within the vCenter database were not taking place.</p><p><a
href="http://cloudfront.vmtoday.com/wp-content/uploads/2009/09/image3.png" rel="lightbox[240]"><img
style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="http://cloudfront.vmtoday.com/wp-content/uploads/2009/09/image_thumb3.png" border="0" alt="image" width="428" height="50" /></a></p><p>In a SQL-backed vCenter, statistics rollups are handled by the SQL Server Agent (note: if you are using SQL Server Express, statistics rollups are handled by vCenter itself as SQL Express does not offer SQL Server Agent jobs).  <a
title="Missing Performance Data in VirtualCenter 2.5" href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1003570" target="_blank">KB 1003570</a> describes this process (it applies to vCenter 2.5, but the principles in it can be applied to 4.0).  To troubleshoot and resolve the issue I opened SQL Server Management Studio and checked several items:</p><ol><li><span
style="color: #35383d;">Is the SQL Server Agent running?</span></li><li><span
style="color: #35383d;">Are there statistics rollup jobs defined for SQL server agent?</span></li><li><span
style="color: #35383d;">Are those jobs running?</span></li></ol><p>In my case, the SQL Server Agent was running (you are prompted to configure this during the vCenter install).  However, when I checked for the presence of rollup jobs, I discovered that only a Past Day job had migrated with the database to the new SQL server.  Upon investigating the job history for that job I discovered that the job had not run since the migration (note to self: add these checks to your standard vCenter migration checklist).</p><p>To remediate the problem I completed the following steps:</p><ol><li><span
style="color: #35383d;">Remove the bad &#8216;Past Day stats rollupVirtualCenter&#8217; job from the list of SQL Server Agent Jobs.</span></li><li><span
style="color: #35383d;">Recreate the three standard stats rollup jobs.  To recreate the jobs, find SQL scripts on your vCenter server in C:\Program Files (x86)\VMware\Infrastructure\VirtualCenter Server.  The .sql scripts you&#8217;ll need are stats_rollup1_proc_mssql.sql, stats_rollup2_proc_mssql.sql, and stats_rollup3_proc_mssql.sql.  Run these scripts in SQL Query Analyzer against your VirtualCenter Database in order from 1 to 3.  These scripts should create the rollup jobs and their associated stored procedures (this procedure is detailed at <a
title="http://communities.vmware.com/thread/123715?start=0&amp;tstart=0" href="http://communities.vmware.com/thread/123715">http://communities.vmware.com/thread/123715</a>).</span></li><li><span
style="color: #35383d;">After recreating the jobs I took a backup of the vCenter database.  The Past Day job soon kicked off to begin a stats rollup (this runs every 30 minutes by default).</span></li></ol><p>I checked the server several hours later and discovered that rather than completing successfully, the Past Day job was still running and the drive holding my vCenter database transaction log was full.  Back to the drawing board..</p><ol><li><span
style="color: #35383d;">I disabled the Past Week and Past Month rollup jobs to avoid job conflicts.</span></li><li><span
style="color: #35383d;">I backed up the vCenter database and then performed a shrink of the log file to get it back down to size.</span></li><li><span
style="color: #35383d;">The vCenter was running as a VM, so I was able to quickly increase its disk size and use diskpart from within the guest to extend the partition.  The space required to process weeks of performance statistics is not included in the vCenter Database Sizing tool as it is assumed that the rollup/purge jobs will run as designed.</span></li></ol><p>I wanted to see how bad the problem was before kicking off another job so I ran:</p><blockquote><p>select count(*) from vpx_hist_stat1</p></blockquote><p>against the vCenter database in SQL Query Analyzer.  The query ran for several hours (never a good sign) and eventually returned well over 20 million rows of performance statistics (thanks to <a
title="http://communities.vmware.com/message/1318736" href="http://communities.vmware.com/message/1318736">http://communities.vmware.com/message/1318736</a> for pointing me in this direction).  I investigated options to truncate the tables (see above link), and also looked at a script from VMware KB <a
href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1000125" target="_blank">1000125</a>: Purging old data from the database used by vCenter Server.  In the end, I decided to try to let the Past Day stats job run.</p><p>I stopped the vCenter  Server Service to prevent new statistics from being written to the database.  I also disabled the Past Week and Past Month SQL Agent jobs to prevent job conflicts and then manually started the Past Day job.  I had to stop the job several times as it filled the 100GB transaction log volume.  A backup &amp; shrink operation gave me back the space on the log volume.  I saw about 300GB of transaction logs written over the course of this process, but the Past Day job eventually completed.</p><p>Finally, I re-enabled the Past Week and Past Month jobs and manually ran both of them (Past Week first, then Past Month), followed by a backup and shrink of the vCenter database.  I was impressed with the performance increase I saw in the vCenter client.  Lists and performance graphs rendered much faster than when stats rollups were not taking place.</p><p>It would be a good idea to include checking stats rollup job status and a count of rows from the vpx_hist_stat tables in the vCenter database in your regular maintenance tasks.  For other vCenter Database best practices, check out breakout session PO2061 from VMworld 2008.  If you did not attend or subscribe to <a
title="VMworld" href="http://www.vmworld.com" target="_blank">VMworld</a>, Scott Lowe <a
title="PO2061: VMware VirtualCenter 2.5 Database Best Practices" href="http://blog.scottlowe.org/2008/09/18/po2061-vmware-virtualcenter-25-database-best-practices/" target="_blank">covered the session in this post</a>.  A VMworld 2009 &#8220;<a
title="Exclusive &quot;Online Only&quot; Sessions for VMworld 2009" href="http://www.vmworld.com/blogs/vmworld/2009/09/01/exclusive-online-only-sessions-for-vmworld-2009" target="_blank">online only</a>&#8221; session entitled <a
title="VM3237: vCenter Databases: Setup, Management and Best Practices" href="http://www.vmworld.com/docs/DOC-3763" target="_blank">VM3237 vCenter Databases: Setup, Management and Best Practices</a> was also offered (subscription required).  I have not viewed this session so I cannot comment on its content.</p><div
class="shr-publisher-240"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fvcenter-database-stats-rollup-troubleshooting%2F' data-shr_title='vCenter+Database+Stats+Rollup+Troubleshooting'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fvcenter-database-stats-rollup-troubleshooting%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fvcenter-database-stats-rollup-troubleshooting%2F' data-shr_title='vCenter+Database+Stats+Rollup+Troubleshooting'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/09/vcenter-database-stats-rollup-troubleshooting/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Microsoft and VMware Virtualization Documentation</title><link>http://vmtoday.com/2009/09/microsoft-and-vmware-virtualization-documentation/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=microsoft-and-vmware-virtualization-documentation</link> <comments>http://vmtoday.com/2009/09/microsoft-and-vmware-virtualization-documentation/#comments</comments> <pubDate>Mon, 14 Sep 2009 22:03:21 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Documentation]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[book]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[guide]]></category> <category><![CDATA[Hyper-V]]></category> <category><![CDATA[manual]]></category> <category><![CDATA[publication]]></category> <category><![CDATA[resources]]></category> <category><![CDATA[technical]]></category> <category><![CDATA[vmworld]]></category> <category><![CDATA[vsphere]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=209</guid> <description><![CDATA[Microsoft published a document named &#8220;Getting to Know Hyper-V: A Walkthrough from Initial Setup to Common Scenarios&#8221; last week.  According to Microsoft, &#8220;this guide provides detailed step-by-step walkthroughs for testing Hyper-V on a pre-production environment. You can use this guide to become familiar with Hyper-V and the process of creating and managing virtual machines. Also [...]]]></description> <content:encoded><![CDATA[<p></p><p>Microsoft published a document named &#8220;<a
title="Getting to Know Hyper-V: A Walkthrough from Initial Setup to Common Scenarios" href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=ef830f48-64ac-4a7d-8f1b-2808d016e77a#tm" target="_blank">Getting to Know Hyper-V: A Walkthrough from Initial Setup to Common Scenarios</a>&#8221; last week.  According to Microsoft, &#8220;this guide provides detailed step-by-step walkthroughs for testing Hyper-V on a pre-production environment. You can use this guide to become familiar with Hyper-V and the process of creating and managing virtual machines. Also included in this guide are useful scenarios that you can test to better understand how Hyper-V can address the business goals of your organization.&#8221;  The document serves as a sort of evaluators guide for Hyper-V, stepping the reader through everything from enabling VT in BIOS through virtual networking.  It also includes some sections on using snapshots, base virtual machine templates, and managing Hyper-V based virtual machines remotely with Hyper-V Manager.  If you want more in-depth documentation on Hyper-V you can go through <a
title="Microsoft TechNet" href="http://technet.microsoft.com" target="_blank">http://technet.microsoft.com</a>.</p><p>As a side note, Microsoft has published the <a
href="http://www.amazon.com/gp/product/0735617465?ie=UTF8&amp;tag=vm09-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0735617465">Microsoft Manual of Style for Technical Publications</a><img
style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=vm09-20&amp;l=as2&amp;o=1&amp;a=0735617465" border="0" alt="" width="1" height="1" /> to help standardize technical documentation.  I have long been a fan of Microsoft&#8217;s technical documentation for its easy to read style, although it sometimes lacks the depth that I desire.</p><p>While we&#8217;re on the topic of virtualization documentation, I have also been quite pleased with VMware&#8217;s technical documentation over the years, and have found it to be continually increasing in quality, providing very specific technical guidance and references to additional resources.  I have also been pleased to see that VMware has improved delivery options for documentation.  VMware offers several formats for documentation delivery, including web-based and  PDF&#8217;s.  Start with the <a
title="VMware vSphere Documentation Roadmap" href="http://www.vmware.com/pdf/vsphere4/r40/vsp_40_esx_roadmap.pdf" target="_blank">Documentation Roadmap</a> for a quick introduction to the available documentation, and where to find what you need.</p><p>You can find web-based vSphere documentation here: <a
title="vSphere Web Documentation Library" href="http://pubs.vmware.com/vsp40/" target="_blank">http://pubs.vmware.com/vsp40/</a>.   The web-based documentation is great for running searches on.  All vSphere documentation can be accessed through this page: <a
title="vSphere Documentation" href="http://www.vmware.com/support/pubs/vs_pages/vsp_pubs_esx40_vc40.html" target="_blank">http://www.vmware.com/support/pubs/vs_pages/vsp_pubs_esx40_vc40.html</a>.  If you want to do a full grab of all of VMware&#8217;s documentation for an in-house repository (e.g. SharePoint), check out xtravirt&#8217;s VMware Documentation Downloader <a
title="VMware Documentation Downloader" href="http://xtravirt.com/xd10109" target="_blank">script</a>.</p><p>If you are looking for quick and easy evaluator guide-type documentation from  VMware, check out these resources: <a
title="ESXi Installable and vCenter Server Setup Guide" href="http://www.vmware.com/pdf/vsphere4/r40/vsp_40_esxi_i_vc_setup_guide.pdf" target="_blank">ESXi Installable and vCenter Server Setup Guide</a> and the Virtualization Kit (registration required) at <a
title="Virtualization Kit" href="http://www.vmware.com/resources/wp/virtualization101_register.html" target="_blank">http://www.vmware.com/resources/wp/virtualization101_register.html</a>.</p><p>There is a ton of less formal VMware documentation in several places:</p><ul><li>Technical resources and case studies here: <a
title="VMware Technical Resources" href="http://www.vmware.com/resources/techresources/" target="_blank">http://www.vmware.com/resources/techresources/</a></li><li>Proven practices around Strategy, Applications, Security, Management, and Availability at <a
title="VIOPS" href="http://viops.vmware.com/home/index.jspa" target="_blank">VIOPS</a>.</li><li>Official VMware Blogs at <a
title="Planet VMware" href="http://www.vmware.com/vmtn/planet/vmware/" target="_blank">http://www.vmware.com/vmtn/planet/vmware/</a>.</li><li>Community blogs aggregated by VMware at Planet v12n: <a
title="Planet V12n" href="http://www.vmware.com/vmtn/planet/v12n/" target="_blank">http://www.vmware.com/vmtn/planet/v12n/</a></li><li>VMworld Recorded Sessions &amp; Labs (VMworld 2009 Sessions available as of today, September 14th) at <a
title="VMworld" href="http://vmworld.com" target="_blank">http://vmworld.com</a>.</li><li>The VMware Community Forums: <a
title="VMware Communities" href="http://communities.vmware.com/" target="_blank">http://communities.vmware.com/</a></li><li>And, 3rd party books like Scott Lowe&#8217;s <a
href="http://www.amazon.com/gp/product/0470481382?ie=UTF8&amp;tag=vm09-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0470481382">Mastering VMware vSphere 4</a><img
style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=vm09-20&amp;l=as2&amp;o=1&amp;a=0470481382" border="0" alt="" width="1" height="1" />.</li></ul><p>Do you have other sources of virtualization documentation or easy methods of searching documentation to find exactly what you need when you need it?  If so, leave a comment!</p><div
class="shr-publisher-209"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fmicrosoft-and-vmware-virtualization-documentation%2F' data-shr_title='Microsoft+and+VMware+Virtualization+Documentation'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fmicrosoft-and-vmware-virtualization-documentation%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fmicrosoft-and-vmware-virtualization-documentation%2F' data-shr_title='Microsoft+and+VMware+Virtualization+Documentation'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/09/microsoft-and-vmware-virtualization-documentation/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>ESXTOP Batch Mode &amp; Windows Perfmon</title><link>http://vmtoday.com/2009/09/esxtop-batch-mode-windows-perfmon/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=esxtop-batch-mode-windows-perfmon</link> <comments>http://vmtoday.com/2009/09/esxtop-batch-mode-windows-perfmon/#comments</comments> <pubDate>Thu, 10 Sep 2009 14:24:22 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[esxtop]]></category> <category><![CDATA[I/O]]></category> <category><![CDATA[perfmon]]></category> <category><![CDATA[performance]]></category> <category><![CDATA[sizing]]></category> <category><![CDATA[statistics]]></category> <category><![CDATA[Storage]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=192</guid> <description><![CDATA[I needed to grab some stats from my ESX hosts for off-line analysis so I fired up my trusty ESXTOP intent on using batch mode to capture a .csv formatted output.  I started to manually select the counters I was interested in while working in ESXTOP interactive mode (you can save your selected counters to [...]]]></description> <content:encoded><![CDATA[<p></p><p>I needed to grab some stats from my ESX hosts for off-line analysis so I fired up my trusty ESXTOP intent on using batch mode to capture a .csv formatted output.  I started to manually select the counters I was interested in while working in ESXTOP interactive mode (you can save your selected counters to the esxtop configuration file with the &#8216;w&#8217; command) and thought that there must be a better way.  I found that better way in the VMware Performance Community: <a
title="http://communities.vmware.com/docs/DOC-3930" href="http://communities.vmware.com/docs/DOC-3930">http://communities.vmware.com/docs/DOC-3930</a>.  There is now a -a switch that can be used to include ALL performance counters.  I&#8217;m sold.</p><p>I wanted detailed information, so I decided on a 15 second capture interval to run for a 2 hour window.  Here&#8217;s the command I used:</p><blockquote><p>esxtop -a -b -d 15 -n 480 &gt; /tmp/esxtopout.csv</p></blockquote><p>where -a is for ALL, -b is for batch mode, -d is for delay, and -n is for the number of iterations ((60/15)*60*2).  I wrote out the results to a .csv in /tmp.  The resulting CSV weighed in at a whopping 100MB after 2 hours.</p><p>The CSV can be analyzed in Excel (pivot tables work well for this) or in Windows Perfmon.  I opened the log in Perfmon as I was after basic Min/Average/Max counters and Perfmon makes those easy to see.  When adding the CSV log to Perfmon, you are prompted to select counters.  I added all instances of Commands/sec, Reads/sec, and Writes/sec from Physical Disk (I was gathering some IOPS counts for a new storage proposal). I got a bit more than I bargained for: a mostly unresponsive Perfmon window and the ugliest darn graph I&#8217;ve ever seen.</p><p><a
href="http://cloudfront.vmtoday.com/wp-content/uploads/2009/09/image.png" rel="lightbox[192]"><img
style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="http://cloudfront.vmtoday.com/wp-content/uploads/2009/09/image_thumb.png" border="0" alt="image" width="420" height="313" /></a></p><p>Switching from a graph view to the report view allows you to easily view and remove specific counters that you are not interested in, or open the Properties of the data set, switch to the data tab and bulk select counters that you want to remove.  I was not interested in vmhba1:x, specific VM&#8217;s or worlds, so I killed all of those, leaving just the base iSCSI device (vmhba32 in my case).</p><p>After some cleanup the graph looked a bit better and more importantly, I was able to easily read my Min/Average/Max stats:</p><p><a
href="http://cloudfront.vmtoday.com/wp-content/uploads/2009/09/image1.png" rel="lightbox[192]"><img
style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="http://cloudfront.vmtoday.com/wp-content/uploads/2009/09/image_thumb1.png" border="0" alt="image" width="416" height="327" /></a></p><p>Here are the takeaways -</p><ul><li><span
style="color: #35383d;">ESXTOP is a powerful utility for performance monitoring</span></li><li><span
style="color: #35383d;">All stats (-a) can result in a huge file &#8211; use it wisely in batch mode; else use interactive mode to select your counters and write them to the user-defined configuration file.  Invoke the config file with the -c option when running in batch mode.</span></li><li><span
style="color: #35383d;">Consider using vscsiStats for more granular reporting.</span></li><li><span
style="color: #35383d;">ESXTOP physical disk stats do not include NFS volumes.</span></li></ul><p>Do you use other tools or methods to collect basic disk IO counters for storage sizing purposes?  If so, leave a comment describing your approach!</p><div
class="shr-publisher-192"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fesxtop-batch-mode-windows-perfmon%2F' data-shr_title='ESXTOP+Batch+Mode+%26amp%3B+Windows+Perfmon'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fesxtop-batch-mode-windows-perfmon%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fesxtop-batch-mode-windows-perfmon%2F' data-shr_title='ESXTOP+Batch+Mode+%26amp%3B+Windows+Perfmon'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/09/esxtop-batch-mode-windows-perfmon/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Balloon Driver Problems with SQL</title><link>http://vmtoday.com/2009/09/balloon-driver-problems-with-sql/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=balloon-driver-problems-with-sql</link> <comments>http://vmtoday.com/2009/09/balloon-driver-problems-with-sql/#comments</comments> <pubDate>Thu, 10 Sep 2009 01:47:47 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[VMworld]]></category> <category><![CDATA[3.5]]></category> <category><![CDATA[AWE]]></category> <category><![CDATA[balloon]]></category> <category><![CDATA[balloon driver]]></category> <category><![CDATA[driver]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[I/O]]></category> <category><![CDATA[kernel]]></category> <category><![CDATA[memory]]></category> <category><![CDATA[memory contention]]></category> <category><![CDATA[optimization]]></category> <category><![CDATA[PAE]]></category> <category><![CDATA[performance]]></category> <category><![CDATA[sizing]]></category> <category><![CDATA[sql]]></category> <category><![CDATA[troubleshooting]]></category> <category><![CDATA[tuning]]></category> <category><![CDATA[vCPU]]></category> <category><![CDATA[VM]]></category> <category><![CDATA[vmworld]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=175</guid> <description><![CDATA[I have been meaning to write this up for a while; Scott Drummonds&#8217; &#8216;Love Your Balloon Driver&#8217; post today at his Virtual Performance blog gave me a nice reminder.  I actually caught a sneak peak at the graphs with an explanation from Scott at his instructor-led lab at VMworld 2009.  Scott calls out that the [...]]]></description> <content:encoded><![CDATA[<p></p><p>I have been meaning to write this up for a while; Scott Drummonds&#8217; <a
title="Love Your Balloon Driver" href="http://communities.vmware.com/blogs/drummonds/2009/09/09/love-your-balloon-driver">&#8216;Love Your Balloon Driver&#8217; post</a> today at his Virtual Performance blog gave me a nice reminder.  I actually caught a sneak peak at the graphs with an explanation from Scott at his instructor-led lab at VMworld 2009.  Scott calls out that the only workload they discovered suffers from balloon driver activity is Java.  The reason for Java&#8217;s problems with balloon driver activity is that Java itself runs in a VM and so the guest OS cannot properly determine which pages should be swapped out when the balloon driver calls for it.</p><p>My experiences causes me to agree with Scott and the whitepaper he cites &#8211; in a properly designed and equipped environment the balloon driver is not detrimental for most every workload to a point.   However, I recently discovered in a client site that the balloon driver can cause significant issues when the environment is poorly designed and under-sized.  Here the background:</p><p>I was called into an already established environment where the client was running on an older blade with VMware ESX 3.5.  The blade maxed out at 16GB RAM and had dual dual-core CPU&#8217;s with no hope for an upgrade.  On the blade was a single guest VM running Windows 2003 with SQL 2005, in it&#8217;s full 32-bit glory.  The VM was configured with 4 vCPU&#8217;s and 16GB of memory.  Some of you can probably already guess where this is going&#8230;.</p><p>The x86 Windows guest had <a
href="http://technet.microsoft.com/en-us/library/cc784574(WS.10).aspx">PAE </a>configured, and SQL took advantage of <a
href="http://technet.microsoft.com/en-us/library/ms190673.aspx" target="_blank">AWE </a>to use the additional memory beyond the 4GB limit of a 32-bit system.  Additionally, the Windows guest had the /3GB switch enabled in boot.ini.  Finally, as per SQL best practices, the &#8216;<a
href="http://technet.microsoft.com/en-us/library/ms190730.aspx" target="_blank">Lock Pages in Memory</a>&#8216; permission was granted to the SQL Server service account.  What the guest was left with was 1GB of kernel mode memory and 15GB of User Mode/Extended addressable memory.</p><p>And here&#8217;s the problem.  The client was using ESX, not ESX 3.5, so the Service Console required memory.  In this case, the service console had approximately 512MB allocated to it.  Futhermore, VM&#8217;s require some overhead on ESX to run.  The memory overhead consumed by a Windows guest on ESX 3.5 with 4 vCPU and 16GB of memory is a bit more than 512MB.  On a properly sized ESX server with multiple similar guests/workloads, you could probably gain much of the overhead back through transparent page sharing; but in this case I had a 1:1 P2V ratio.  If you are any good at math you see that the environment is running about 1GB short of memory.  A quick check of the balloon driver stat in vCenter show that the balloon driver was constantly active and demanding about 1GB back from the guest&#8230; constantly.</p><p>Under normal circumstances this might not be an issue, but in this case the Windows guest was being absolutely punished.  The guest CPU&#8217;s were pegged at 100% with an excessive amount of kernel time, often indicating IO issues.  And indeed I did experience terrible disk and network performance on the guest.  At the root of the problem is this &#8211; the Lock Pages in Memory permission allows SQL to get a firm grasp on the user mode memory available to it (15GB) and lock it up.  This left the already starved (because of the 3GB switch in the boot.ini) guest kernel with it&#8217;s 1GB the only thing the balloon driver could really swap out.</p><p>The client suggested a reservation of 16GB on the VM, knowing that memory reservations prevent balloon driver activity.  I calmly asked them to back away from the keyboard as I explained how if a starved guest was bad, how much worse a starved Service Console would be.  In the end the fix was quiet easy &#8211; I convinced the customer that they should reduce the amount of memory allocated to the guest by about 1GB, enough to let the 512MB SC and the 512MB of overhead run without contention.  I was able to show them the difference between allocated and active memory in vCenter &#8211; the 1GB being surrendered was not really being actively used, SQL just had it locked up.  In fact, surrendering the 1GB of memory back to ESX breathed new life into the guest VM, bringing its performance back in line with expectations.</p><p>Ideally, I would have brought in a bigger ESX server that could serve additional VM&#8217;s, driving greater levels of efficiency across the environment.  It just wasn&#8217;t an option for the client in this case.  In the end, the problem was fixed and I was reminded just how fun it can be to explain some of these backwards sounding virtualization concepts to customers &#8211; fewer vCPU&#8217;s can lead to better performance of guests, less guest memory can fix performance issues, and increasing the quantity of similar guests on a host can drive better performance to a point because of transparent page sharing.</p><p>Stay tuned over the next few weeks as I digest and write on my VMworld experience &#8211; from VMUG activities to Paul Maritz&#8217;s press conference announcing the vCloud Express, and plenty of great sessions in between.  Like many of you, I returned from VMworld with quite a backlog of work but I&#8217;ll do my best to squeeze in some posts and tweets.</p><div
class="shr-publisher-175"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fballoon-driver-problems-with-sql%2F' data-shr_title='Balloon+Driver+Problems+with+SQL'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fballoon-driver-problems-with-sql%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F09%2Fballoon-driver-problems-with-sql%2F' data-shr_title='Balloon+Driver+Problems+with+SQL'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/09/balloon-driver-problems-with-sql/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>IBM DS3300 iSCSI Write Performance Solved</title><link>http://vmtoday.com/2009/06/ibm-ds3300-iscsi-write-performance-solved/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ibm-ds3300-iscsi-write-performance-solved</link> <comments>http://vmtoday.com/2009/06/ibm-ds3300-iscsi-write-performance-solved/#comments</comments> <pubDate>Tue, 16 Jun 2009 22:53:57 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[Storage]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[Dell]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[IBM]]></category> <category><![CDATA[iscsi]]></category> <category><![CDATA[lun]]></category> <category><![CDATA[performance]]></category> <category><![CDATA[SAN]]></category> <category><![CDATA[VI3]]></category> <category><![CDATA[virtualization]]></category> <category><![CDATA[write caching]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=94</guid> <description><![CDATA[I have been pulling my hair out with a small VI3 implementation running against an IBM DS3300 iSCSI array.  Performance, for lack of a better term, sucked.  Granted, the DS3300 is not an enterprise level workhorse of a storage system, but it fit the budget.  Read performance was decent from the array, but write performance [...]]]></description> <content:encoded><![CDATA[<p></p><p>I have been pulling my hair out with a small VI3 implementation running against an IBM DS3300 iSCSI array.  Performance, for lack of a better term, sucked.  Granted, the DS3300 is not an enterprise level workhorse of a storage system, but it fit the budget.  Read performance was decent from the array, but write performance was terrible, maxing out at 10Mpbs throughput and insanely high latencies on long writes when the system was under load.  This led to some long P2V operations, poor guest performance, and some questions from the project sponsors on why I couldn&#8217;t make the environment sing.</p><p>The system was configured with a single controller with dual GigE NIC&#8217;s.  The controller had 512MB of battery backed cache (there is also a 1GB cache upgrade option available).  I wrote off some of the poor performance to a single controller with a less-than-optimal amount of cache; blamed the SAS controller to SATA disk command translation overhead; cringed at the 6 disk RAID5 configuration; and engaged in some self doubting.  I convinced the powers that be that we were IO constrained and got some funds to fill out the 3U chassis to a full 12 SATA disks, and reconfigured the array as a RAID10.  Performance gains were almost unnoticeable with these changes.  In addition, I did some basic troubleshooting of the network environment, verifying multiple paths to the storage, setting Flow Control on the switches to receive only, and double-checked my iSCSI initiator settings.  Note: The DS3300 is only supported with the ESX software initiator.  I found documentation on the DS3300 to be lacking, but did discover that the Dell MD3000i is based on the same LSI Engenio array.  Some Googling on the Dell solution led to to the &#8216;SMcli&#8217; command line interface for both arrays.   The commands are slighly different for the Dell and IBM.  The links to the IBM CLI documentation were broken, so I had to do a bit of trial and error to get the commands right.  I used the <a
href="http://support.dell.com/support/edocs/systems/md3000i/en/CLI/PDF/CLIMR2g.pdf" target="_blank">Dell documentation</a> as a starting point.  (Rant: Seriously, IBM?  Can you make your documentation any harder to get through &#8211; is it a Redbook, is it an Engineering Whitepaper, is it a support document, is it a case study &#8211; and why can I only find these with complex Google searches, not on your own product pages, and why can&#8217;t you name for documents intelligently, not with some random string of characters).</p><p><strong>Update</strong>:<strong> The IBM System Storage DS3000, DS4000, and DS5000Command Line Interface and Script Commands Programming Guide is here:</strong> <a
href="http://cloudfront.vmtoday.com/wp-content/uploads/2009/06/DS3k4k5kCLIreference.pdf">IBM System Storage DS3000, DS4000, and DS5000Command Line Interface and Script Commands Programming Guide &#8211; DS3k4k5kCLIreference, SMCLI</a></p><p>Moving on&#8230; I received an automated alert from the DS3300 about an incomplete battery learn cycle.  Using the IBM Storage Manager GUI I generated a  Storage Subsystem Profile&#8217; from the Support tab to check the battery status.  In the profile I discovered that while write cache was enabled, it had a status of &#8220;Enabled (Suspended)&#8221;.   Ah ha!  Now I&#8217;ve got some decent Google material that led me to this: http://communities.vmware.com/thread/195838.  Hot damn I love the VMware Community Forums!</p><p>It turns out that in a single-controller configuration the setting for cache mirroring remains enabled by default.  Because there is no 2nd controller to mirror to, the array suspends write caching.  This is probably a safety thing &#8211; loss of high availability on the controllers puts data in cache at risk should the only controller fail.  I weighed my options and decided that the poor performance I was experiencing beat HA concerns, so I enabled write cache on the array using this command:</p><p
style="padding-left: 30px;">c:\program files\ibm_ds4000\client&gt;smcli -n &lt;ARRAYNAME&gt; -c &#8220;set allLogicalDrives mirrorEnabled=false;&#8221;</p><p>And then followed with this for good measure:</p><p
style="padding-left: 30px;">c:\program files\ibm_ds4000\client&gt;smcli -n &lt;ARRAYNAME&gt; -p &lt;arraypassword&gt; -c &#8220;set allLogicalDrives writeCacheEnabled=true;&#8221;</p><p>The results were immediately noticeable:</p><div
id="attachment_98" class="wp-caption aligncenter" style="width: 430px"> <a
href="http://cloudfront.vmtoday.com/wp-content/uploads/2009/06/ds3300-performance-with-write-cache1.jpg" target="_blank" rel="lightbox[94]"><img
class="size-large wp-image-98" title="ds3300-performance-with-write-cache1" src="http://cloudfront.vmtoday.com/wp-content/uploads/2009/06/ds3300-performance-with-write-cache1-1023x392.jpg" alt="DS3300 Performance Improvement when Write Cache is Enabled" width="430" height="164" /></a><p
class="wp-caption-text">DS3300 Performance Improvement when Write Cache is Enabled - Click for a Larger View</p></div><p>The screen shot is from <a
href="http://www.veeam.com/esxi-monitoring-free.html" target="_blank">Veeam Monitor Free Edition</a>, taken during 4 concurrent V2V operations from Hyper-V to VMware.  With the write cache fully functional, disk usage peaked at 54MBps, latency dropped to about 6ms, and my blood pressure dropped a few notches.</p><p>While poking around the CLI I also found that you can dump performance stats from the array (performance is otherwise hard to find on the thing) using this command:</p><p
style="padding-left: 30px;">C:\Program Files\IBM_DS4000\client&gt;smcli -n &lt;ARRAYNAME&gt; -c &#8220;set session performanceMonitorInterval=5 performanceMonitorIterations=120;save storageSubsystem performanceStats file=\&#8221;c:<a
href="file://///ds3300perfstats.csv/">\\ds3300perfstats.csv\</a>&#8220;;&#8221;</p><p>This will give you a 10 minute record of performance from the array which you can analyze using Excel.  The Dell Enterprise Center TechCenter Wiki has a great write-up on how to efficiently analyze the data from this command here: <a
href="http://www.delltechcenter.com/page/MD3000i+Performance+Monitoring" target="_blank">http://www.delltechcenter.com/page/MD3000i+Performance+Monitoring</a>, complete with a YouTube video that walks you through the process:</p><p
style="text-align: center;"><object
width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="allowFullScreen" value="true" /><param
name="allowScriptAccess" value="always" /><param
name="src" value="http://www.youtube.com/v/SoRR1VVuETs&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded&amp;fs=1" /><param
name="allowfullscreen" value="true" /><embed
width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/SoRR1VVuETs&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded&amp;fs=1" allowFullScreen="true" allowScriptAccess="always" allowfullscreen="true" /></object></p><p
style="text-align: left;">I am beginning to think that the DS3300 (and MD3000i) may actually be a viable starter solution for SMB&#8217;s starting out on a virtualization project.  But I would recommend the cache upgrade, 2nd controller, SAS disks instead of SATA to eliminate the SAS-to-SATA translation overhead and more faster disks instead of fewer slower disks so you can drive throughput and IOPS to a higher level.</p><p
style="text-align: left;">Have any of you deployed the DS3300 or MD3000i (or the generic LSI solution)?  Do you have any performance tuning tips for these arrays?  If so, share in the comments!</p><div
class="shr-publisher-94"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F06%2Fibm-ds3300-iscsi-write-performance-solved%2F' data-shr_title='IBM+DS3300+iSCSI+Write+Performance+Solved'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F06%2Fibm-ds3300-iscsi-write-performance-solved%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F06%2Fibm-ds3300-iscsi-write-performance-solved%2F' data-shr_title='IBM+DS3300+iSCSI+Write+Performance+Solved'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/06/ibm-ds3300-iscsi-write-performance-solved/feed/</wfw:commentRss> <slash:comments>31</slash:comments> </item> <item><title>VMFS Volumes Missing!?!?!</title><link>http://vmtoday.com/2009/06/vmfs-volumes-missing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vmfs-volumes-missing</link> <comments>http://vmtoday.com/2009/06/vmfs-volumes-missing/#comments</comments> <pubDate>Wed, 03 Jun 2009 15:52:17 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[Issues & Troubleshooting]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[vi3 esx vmware storage iscsi vmfs lun fc fiber san]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=86</guid> <description><![CDATA[Here&#8217;s the scenario: After performing maintenance on an ESX server (patches, storage re-scan, reboot), VMFS volumes are no longer visible, even though the hosting LUN can be seen on the Storage Adapters page of the ESX Configuration tab.  Most VMware administrators will see this play out at some point; I saw it in one of [...]]]></description> <content:encoded><![CDATA[<p></p><p>Here&#8217;s the scenario:</p><p>After performing maintenance on an ESX server (patches, storage re-scan, reboot), VMFS volumes are no longer visible, even though the hosting LUN can be seen on the Storage Adapters page of the ESX Configuration tab.  Most VMware administrators will see this play out at some point; I saw it in one of my environments today and figured I should make a note of the steps required to correct the issue.</p><p>Typically, the root cause of the issue is a change on the storage array that causes the h(id) of the LUN(s) in question to change.  This change could be anything from an array firmware update, LUN removal/recreation, or RAID/LUN reconfiguration.  These changes could cause the h(id) of the LUN to be updated.  When a rescan takes place on the ESX storage adapters (through a manual instantiation, reboot, etc.), the new h(id) is observed.  Because it does not match the previously observed ID, the LUN is tagged as a snapshot LUN and access to that LUN is disabled.</p><p>Diagnosis of this problem is fairly easy.  In addition to the behavior I have described, as observed through the Virtual Center Client, the problem can also be confirmed through the ESX command line.</p><p><span
style="font-size: small;">To diagnosis this issue from the console, view the vmkernel log by issuing the following command: tail -f /var/log/vmkernel</span></p><p><span
style="font-size: small;">You will see messages in the log similar to the following:<br
/> </span></p><p>Jun  2 16:01:29 esx04 vmkernel: 0:00:31:14.543 cpu3:1039)ALERT: LVM: 4482: vml.0200020000600a0b80005add7800000a494a1d0be6313732362d33:1 may be snapshot: disabling access. See resignaturing section in SAN config guide.<br
/> Jun  2 16:01:29 esx04 vmkernel: 0:00:31:14.552 cpu3:1039)LVM: 5579: Device vml.0200010000600a0b80005add7800000a474a1d0bc8313732362d33:1 detected to be a snapshot:<br
/> Jun  2 16:01:29 tccesx04 vmkernel: 0:00:31:14.552 cpu3:1039)LVM: 5586:   queried disk ID: &lt;type 2, len 22, lun 1, devType 0, scsi 6, h(id) 5103533129706062046&gt;<br
/> Jun  2 16:01:29 esx04 vmkernel: 0:00:31:14.552 cpu3:1039)LVM: 5593:   on-disk disk ID: &lt;type 2, len 22, lun 1, devType 0, scsi 6, h(id) 2153359415130143165&gt;</p><p>After confirming that this is indeed the problem you are experiencing, stop and take a deep breath.  The fix is easy, but you need to take steps before fixing it to prevent further damage.  If you are lucky, the problem has only manifested itself on one ESX server (and hopefully that ESX was not hosting any VM&#8217;s because you put it into maintenance mode).  Prevent your other ESX servers from rescanning storage &#8211; don&#8217;t reboot them, don&#8217;t manually rescan, don&#8217;t update them.</p><p>If the affected ESX server was hosting running VM&#8217;s, HA (if licensed and properly configured) should have kicked in if applicable and restarted the VM&#8217;s on another node in the ESX cluster.</p><p>If multiple ESX servers (or all of them) are affected, your VM&#8217;s are likely all powered off after hard stops, so there is not much you can do but to get on with fixing the issue and trust your backups (you do have backups, right?).  This is where array-level snapshots come in handy.  In my experience, most if not all VM&#8217;s recover after a hard stop like this, but don&#8217;t let that keep you from having a robust DR plan.</p><p>To correct the issue you must not have any running VM&#8217;s on the affected VMFS volumes to alternate volumes.  Shut down the VM&#8217;s or use Storage VMotion to move running VM&#8217;s to alternate LUN&#8217;s.</p><p>In the VI Client, select the affected ESX host in the Hosts &amp; Clusters view.  Switch to the Configuration Tab.  Click &#8216;Advanced Settings&#8217; and then choose the LVM node.  Change the LVM.DisallowSnapshotLun from the default setting of &#8217;1&#8242; to &#8217;0&#8242; and click OK.  Next, rescan your storage from the &#8216;Configuration | Storage Adapters&#8217; pane.  Your missing VMFS volumes should re-appear.  You&#8217;re doing fine, but not done yet.</p><p>Even if the other hosts that use the affected VMFS volume appear to be fine, they will most likely lose access to the volume once a rescan/reboot takes place.  You need to perform the LVM.DisallowSnapshotLun = 0 setting change on all ESX servers connected to the volume, followed by a re-scan of your storage.</p><p>Once all affected ESX servers see the VMFS volumes, change the LVM.DisallowSnapshotLun setting back to the default of 1.  Migrate back and/or power up VM&#8217;s on the volume and see what the damage is.  If you are lucky, everything is good to go.  If not, it&#8217;s a great time to check out those backups.</p><p>If you do not know what caused the storage change, check your ESX logs to try to determine if the server was rebooted or if storage was rescanned. This will give you an idea of when the change occurred &#8211; a starting point to work back from to find the root cause.  Use this command to get started: less /var/log/vmksummary</p><p>Here are some suggestions on how to avoid this problem:</p><p>1.) Minimize changes to LUN&#8217;s once configured on an ESX.</p><p>2.) Coordinate Storage Maintenance with VMware maintenance windows.</p><p>3.) Have stand-by storage so you can Storage VMotion running VM&#8217;s off of the affected LUNS.</p><p>4.) Consider NFS, as NFS volumes are not impacted by resignaturing.</p><p>For more information on this problem, or to better understand the advanced settings changes involved, check out the VMware SAN Configuration Guide at <a
title="VMware VI3 SAN Configuration Guide" href="http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_3_server_config.pdf" target="_blank">http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_3_server_config.pdf</a>, page 114, or the VMware iSCSI SAN Configuration Guide at <a
title="VMware VI3 iSCSI SAN Configuration Guide" href="http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_iscsi_san_cfg.pdf" target="_blank">http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_iscsi_san_cfg.pdf</a>, page 117.</p><div
class="shr-publisher-86"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F06%2Fvmfs-volumes-missing%2F' data-shr_title='VMFS+Volumes+Missing%21%3F%21%3F%21'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F06%2Fvmfs-volumes-missing%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F06%2Fvmfs-volumes-missing%2F' data-shr_title='VMFS+Volumes+Missing%21%3F%21%3F%21'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/06/vmfs-volumes-missing/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>vCenter Client Passthrough Authentication</title><link>http://vmtoday.com/2009/03/vcenter-client-passthrough-authentication/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vcenter-client-passthrough-authentication</link> <comments>http://vmtoday.com/2009/03/vcenter-client-passthrough-authentication/#comments</comments> <pubDate>Tue, 31 Mar 2009 17:48:20 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[3.5]]></category> <category><![CDATA[authentication]]></category> <category><![CDATA[client]]></category> <category><![CDATA[kerberos]]></category> <category><![CDATA[vcenter]]></category> <category><![CDATA[VI3]]></category> <category><![CDATA[virtual center]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=82</guid> <description><![CDATA[I started this blog for a couple reasons: 1.) To help you, my readers, with your virtualization projects, and 2.) To help myself by: a.) raising my online profile as an expert in the community, and b.) To give myself somewhere to keep tidbits of knowledge that I find myself going back to look for [...]]]></description> <content:encoded><![CDATA[<p></p><p>I started this blog for a couple reasons: 1.) To help you, my readers, with your virtualization projects, and 2.) To help myself by: a.) raising my online profile as an expert in the community, and b.) To give myself somewhere to keep tidbits of knowledge that I find myself going back to look for over and over again.  This post is a 2b.</p><p>I just built up a new laptop and couldn&#8217;t remember how to set up pass-through authentication on my VI3 Client.  A quick Google search gave me the answer, courtesy of <a
title="vinternals" href="http://vinternals.com" target="_blank">Stu Radnidge</a>&#8216;s post on nothing other than <a
title="Virtual Center 2.5 Passthrough Authentication" href="http://vinternals.com/2008/02/virtualcenter-25-passthrough-authentication/" target="_blank">VirtualCenter 2.5 Passthrough Authentication</a>.  This little gem saves the terribly tedius work of having to manually enter your login credentials each time you launch the Virtual Infrastructure 3 Client by passing through your currently logged-in credentials to the VC server.  Thanks for the tip, Stu!</p><div
class="shr-publisher-82"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F03%2Fvcenter-client-passthrough-authentication%2F' data-shr_title='vCenter+Client+Passthrough+Authentication'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F03%2Fvcenter-client-passthrough-authentication%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F03%2Fvcenter-client-passthrough-authentication%2F' data-shr_title='vCenter+Client+Passthrough+Authentication'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/03/vcenter-client-passthrough-authentication/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>VMware Networking Demysified</title><link>http://vmtoday.com/2009/03/vmware-networking-demysified/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vmware-networking-demysified</link> <comments>http://vmtoday.com/2009/03/vmware-networking-demysified/#comments</comments> <pubDate>Fri, 20 Mar 2009 15:02:26 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[network]]></category> <category><![CDATA[networking]]></category> <category><![CDATA[pswitch]]></category> <category><![CDATA[switch]]></category> <category><![CDATA[virtual]]></category> <category><![CDATA[Virtual Machine]]></category> <category><![CDATA[virtualization]]></category> <category><![CDATA[vlan]]></category> <category><![CDATA[vswitch]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=76</guid> <description><![CDATA[VMware vExpert and fellow Northern Virginian, Ken Cline, has posted an excellent article on his Ken&#8217;s Virtual Reality blog that aims to demystify VMware networking.  The article, the first in a new series by Ken, provides an overview of networking in an ESX/ESXi environment and breaks down the intricacies of the vSwitch and VLANs.  The [...]]]></description> <content:encoded><![CDATA[<p></p><p>VMware vExpert and fellow Northern Virginian, Ken Cline, has posted an excellent <a
title="The Great vSwitch Debate – Part 1" href="http://kensvirtualreality.wordpress.com/2009/03/17/the-great-vswitch-debate-%E2%80%93-part-1/" target="_blank">article</a> on his <a
title="Ken's Virtual Reality Blog" href="http://kensvirtualreality.wordpress.com" target="_blank">Ken&#8217;s Virtual Reality</a> blog that aims to demystify VMware networking.  The article, the first in a new series by Ken, provides an overview of networking in an ESX/ESXi environment and breaks down the intricacies of the vSwitch and VLANs.  The article comes complete with some nifty diagrams to help make sense of the topic. The timing of this article is great for me as it helps to frame my thoughts as I delve into the design of my latest VMware project on an IBM BladeCenter with IP SAN storage.</p><p>Great article, Ken!  I look forward to reading the rest of the series.</p><div
class="shr-publisher-76"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F03%2Fvmware-networking-demysified%2F' data-shr_title='VMware+Networking+Demysified'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F03%2Fvmware-networking-demysified%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F03%2Fvmware-networking-demysified%2F' data-shr_title='VMware+Networking+Demysified'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/03/vmware-networking-demysified/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>VI Toolkit for Windows v1.5 Released Today</title><link>http://vmtoday.com/2009/01/vi-toolkit-for-windows-v15-released-today/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vi-toolkit-for-windows-v15-released-today</link> <comments>http://vmtoday.com/2009/01/vi-toolkit-for-windows-v15-released-today/#comments</comments> <pubDate>Wed, 28 Jan 2009 17:15:38 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[General IT]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[News]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[mangement]]></category> <category><![CDATA[powershell]]></category> <category><![CDATA[reporting]]></category> <category><![CDATA[virtual]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=53</guid> <description><![CDATA[VMware released version 1.5 of the VI Toolkit for Windows &#8211; the PowerShell management and reporting tool of choice for many VMware administrators. The new version carries build number 142961. You can download v1.5 here: http://blogs.vmware.com/vipowershell/. The update includes some 32 new cmdlets, including ones for getting/setting NTP settings on ESX, getting/setting Advanced configuration options [...]]]></description> <content:encoded><![CDATA[<p></p><p>VMware released version 1.5 of the VI Toolkit for Windows &#8211; the PowerShell management and reporting tool of choice for many VMware administrators.  The new version carries build number 142961.  You can download v1.5 here: <a
title="VI Toolkit for Windows v1.5 Download" href="http://blogs.vmware.com/vipowershell/" target="_blank">http://blogs.vmware.com/vipowershell/</a>.  The update includes some 32 new cmdlets, including ones for getting/setting NTP settings on ESX, getting/setting Advanced configuration options on ESX, getting/setting ESX Firewall settings, and the ability to modify DRS rules using PowerShell.  Existing cmdlets have also been updated with new parameters, and several fixes have been introduced.  Check out the release notes here: <a
title="VI Toolkit for Windows v1.5 Release Notes" href="http://www.vmware.com/support/developer/windowstoolkit/wintk15/windowstoolkit15-200901-releasenotes.html" target="_blank">http://www.vmware.com/support/developer/windowstoolkit/wintk15/windowstoolkit15-200901-releasenotes.html</a>.</p><p>There are plenty of examples on the Internet to get you started with the VI Toolkit for Windows.  Check out these sites to get started:</p><p>Start at the VMware Community site for the Windows Toolkit for great examples and a little help from some friends: <a
href="http://communities.vmware.com/community/developer/windows_toolkit/" target="_blank"> http://communities.vmware.com/community/developer/windows_toolkit/</a><br
/> There are also some good example scripts and resources floating around, such as:</p><p
style="padding-left: 30px;"> <a
href="http://vmetc.com/2008/08/27/powershell-scripting-examples-for-vmware-virtual-infrastructure/" target="_blank">http://vmetc.com/2008/08/27/powershell-scripting-examples-for-vmware-virtual-infrastructure/</a><br
/> <a
href="http://www.peetersonline.nl/" target="_blank">http://www.peetersonline.nl/</a><br
/> <a
href="http://www.ivobeerens.nl/?p=106" target="_blank">http://www.ivobeerens.nl/?p=106</a><br
/> <a
href="http://www.vmguru.com/" target="_blank">http://www.vmguru.com/</a></p><p>Not a hard-core scripter?  Grab this<a
title="PowerGUI.org" href="http://powergui.org/" target="_blank"> handy tool</a> for a little GUI on your PowerShell, and extend it with the <a
title="VMware Infrastrucutre PowerPack 2.0 for PowerGUI" href="http://poshoholic.com/2008/12/19/vmware-infrastructure-powerpack-20-is-now-available/" target="_blank">VMware Infrastructure PowerPack 2.0<br
/> </a></p><p>What tools or examples are you using to extend the power of PowerShell into your Virtual Infrasturucture?  Leave a comment to share!</p><div
class="shr-publisher-53"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F01%2Fvi-toolkit-for-windows-v15-released-today%2F' data-shr_title='VI+Toolkit+for+Windows+v1.5+Released+Today'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F01%2Fvi-toolkit-for-windows-v15-released-today%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F01%2Fvi-toolkit-for-windows-v15-released-today%2F' data-shr_title='VI+Toolkit+for+Windows+v1.5+Released+Today'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/01/vi-toolkit-for-windows-v15-released-today/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Securing Your Virtual Infrastructure</title><link>http://vmtoday.com/2009/01/securing-your-virtual-infrastructure/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=securing-your-virtual-infrastructure</link> <comments>http://vmtoday.com/2009/01/securing-your-virtual-infrastructure/#comments</comments> <pubDate>Tue, 27 Jan 2009 21:03:38 +0000</pubDate> <dc:creator>Joshua Townsend</dc:creator> <category><![CDATA[General IT]]></category> <category><![CDATA[VMware]]></category> <category><![CDATA[VMware How To]]></category> <category><![CDATA[best practices]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[hardening]]></category> <category><![CDATA[security]]></category> <category><![CDATA[virtual]]></category> <category><![CDATA[virtualization]]></category><guid
isPermaLink="false">http://vmtoday.com/?p=45</guid> <description><![CDATA[Between budget cuts and New Year&#8217;s resolutions, improving your security posture is probably near the top of your to-do list.  Much has been made of security concerns in a virtual environment, but it is always good to re-visit your configurations and make sure they are still on par with recommended best practices.  I began re-reviewing [...]]]></description> <content:encoded><![CDATA[<p></p><p>Between budget cuts and New Year&#8217;s resolutions, improving your security posture is probably near the top of your to-do list.  Much has been made of security concerns in a virtual environment, but it is always good to re-visit your configurations and make sure they are still on par with recommended best practices.  I began re-reviewing VI security best practices after reading at post by Bob Plankers at <a
title="The Lone SysAdmin: Why Would You Want a Second Superuser" href="http://lonesysadmin.net/2008/12/23/why-would-you-want-a-second-superuser/" target="_blank">The Lone SysAdmin</a> (Bob has been on my reading list for years &#8211; he has a great style and always brings fresh insights) on why you would want a second super-user account on your ESX servers.</p><p>We certainly all have our own opinions and operations procedures when it comes to configuring and hardening our environments, but I decided to take a look at what the experts had to say on this particular subject and other basic build and hardening recommendations.  Here is what I found:</p><p><a
title="VMware Security Resources" href="http://www.vmware.com/technology/security/resources.html" target="_blank">VMware Security Resources</a></p><p><a
title="VMware Security Utilities" href="http://www.vmware.com/technology/security/utilities.html" target="_blank">VMware Security Utilities</a></p><p><a
title="VMware Security Hardening Whitepaper" href="http://www.vmware.com/files/pdf/vi35_security_hardening_wp.pdf" target="_blank">VI3.5 Security Hardening Whitepaper</a></p><p><a
title="DISA STIG" href="http://iase.disa.mil/stigs/stig/esx_server_stig_v1r1_final.pdf" target="_blank">Defense Informaion Systems Agency (DISA) ESX Server Security Technical Implementation Guide</a></p><p><a
title="DISA ESX Server Checklist" href="http://iase.disa.mil/stigs/checklist/esx_server_checklist_v1_r1-2_03sep2008pdf.zip" target="_blank">DISA ESX Server Checklist</a></p><p>As a side note, DISA publishes many STIG&#8217;s at <a
title="DISA STIG Library" href="http://iase.disa.mil/stigs/" target="_blank">http://iase.disa.mil/stigs/</a>.  Your tax dollars paid for these, so you might as well check them out.</p><p><a
title="NSA ESX Configuration Guide" href="http://www.nsa.gov/snac/support/I733-009R-2008.pdf" target="_blank">NSA VMware ESX  Server 3 Configuration Guide</a></p><p>There are also numerous tips and scripts for locking down your virtual infrastructure in the VMware Community Forums (Start here: <a
title="ESX_SRRSecure - Script to allow ESX to pass a DISA Security Readiness Review" href="http://communities.vmware.com/message/941372" target="_blank">http://communities.vmware.com/message/941372</a>).</p><p>So back to the question of second super user accounts: It seems that best practices are to create a second user account with sufficient access to the console, granting that user SUDO privledges, and then disabling the default root account.</p><div
class="shr-publisher-45"></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div
class='shareaholic-like-buttonset' style='float:none;height:30px;'><a
class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F01%2Fsecuring-your-virtual-infrastructure%2F' data-shr_title='Securing+Your+Virtual+Infrastructure'></a><a
class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F01%2Fsecuring-your-virtual-infrastructure%2F'></a><a
class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fvmtoday.com%2F2009%2F01%2Fsecuring-your-virtual-infrastructure%2F' data-shr_title='Securing+Your+Virtual+Infrastructure'></a></div><div
style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>]]></content:encoded> <wfw:commentRss>http://vmtoday.com/2009/01/securing-your-virtual-infrastructure/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 79/202 queries in 0.678 seconds using disk: basic
Object Caching 4108/4277 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: cloudfront.vmtoday.com

Served from: vmtoday.com @ 2012-02-08 15:29:52 -->
