<?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>VMware Archives - Wiredwolf Canada</title>
	<atom:link href="https://catastrophe.wiredwolf.com/category/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>https://catastrophe.wiredwolf.com/category/vmware/</link>
	<description></description>
	<lastBuildDate>Fri, 15 Jun 2018 01:43:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.5</generator>
	<item>
		<title>VMware &#8211; Updating the ESXi host and VM&#8217;s</title>
		<link>https://catastrophe.wiredwolf.com/vmware-updating-the-esxi-host-and-vms/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 05 Feb 2018 21:14:53 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=14450</guid>

					<description><![CDATA[<p>I've done quite a few of these now and they're pretty simple.  VMware puts out new drivers and security patches on a regular basis for the ESXi platforms.  If you have vCenter Server (Appliance) you have full licensing and can use the confusing update manager built-in.  However, this doesn't automatically schedule updates of the servers.   [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-updating-the-esxi-host-and-vms/">VMware &#8211; Updating the ESXi host and VM&#8217;s</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve done quite a few of these now and they&#8217;re pretty simple.&nbsp; VMware puts out new drivers and security patches on a regular basis for the ESXi platforms.&nbsp;</p>
<p>If you have vCenter Server (Appliance) you have full licensing and can use the confusing update manager built-in.&nbsp; However, this doesn&#8217;t automatically schedule updates of the servers.&nbsp; To properly update the servers they should have each VM shut down and the host should be in maintenance mode.&nbsp; I haven&#8217;t investigated yet whether this can be automated.&nbsp; I just do it manually every so often.</p>
<p>The process:</p>
<ol>
<li>Log into your ESXi host using whatever your preferred method is</li>
<li>Gracefully shut down all your VM&#8217;s</li>
<li>Place the host server into the management mode</li>
<li>Connect to the host with SSH (you may need to turn this on as it&#8217;s off by default) and log in as root user</li>
<li>Open a web browser to:&nbsp;&nbsp;<a href="https://esxi-patches.v-front.de/" target="_blank" rel="noopener">VMware ESXi Patch Tracker</a></li>
</ol>
<p>At this point you need to determine which version you currently have in order to know what you&#8217;re updating to.</p>
<p>From the SSH command prompt:</p>
<blockquote><p>vmware -vl</p></blockquote>
<p>You should see a response like this:</p>
<p><a href="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIversion1.jpg"><img decoding="async" class="alignnone size-full wp-image-14452" src="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIversion1.jpg" alt="" width="274" height="65" srcset="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIversion1-200x47.jpg 200w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIversion1.jpg 274w" sizes="(max-width: 274px) 100vw, 274px" /></a></p>
<p>Obviously I have already updated my host to 6.5 but the command works on any ESXi host from version 4 and up.</p>
<p>In the past I have always gone from 5.x to 6.0 to 6.5 standard (GA release) then patched 6.5 to whatever the current level is.&nbsp; However, it turns out this extra step isn&#8217;t actually necessary &#8211; I jumped from 5.5 directly to 6.5 GA without incident.*</p>
<p>One other thing I have found is the SWAP memory settings are often lost in the conversion.&nbsp; I&#8217;ll detail how to update that below.</p>
<p>Ok &#8211; so now you are ready to update.&nbsp; From the SSH command prompt, enter the following:</p>
<blockquote>
<pre>esxcli network firewall ruleset set -e true -r httpClient
esxcli software profile update -p ESXi-6.5.0-4564106-standard \
-d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml</pre>
</blockquote>
<p>After a while it will seem like nothing is happening but in fact the ISO of the build you specified is being downloaded and installed.&nbsp; Eventually you&#8217;ll see this:</p>
<p><a href="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIupdate1.jpg"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-14451" src="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIupdate1.jpg" alt="" width="811" height="482" srcset="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIupdate1-200x119.jpg 200w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIupdate1-300x178.jpg 300w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIupdate1-400x238.jpg 400w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIupdate1-600x357.jpg 600w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIupdate1-768x456.jpg 768w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIupdate1-800x475.jpg 800w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIupdate1.jpg 811w" sizes="(max-width: 811px) 100vw, 811px" /></a></p>
<p>Update Result</p>
<p style="padding-left: 30px;"><strong>Message: The update completed successfully, but the system needs to be rebooted for the changes to take effect</strong><br />
<strong>Reboot Required:&nbsp; true</strong></p>
<p>Type &#8220;reboot&#8221; at the prompt and give the system a few minutes to reboot.</p>
<p>I always start with the GA initial release because as VMware updates the builds they insert new drivers and other code that may not be included with every build release.&nbsp; I review each build release on the patches page (link above) to see what exactly each build is updating.&nbsp; If I see a release where only the esx-base, vsan, vsanhealth is updated, I skip the build until I see things like ehci-ehci-hcd, esx-ui, esx-tboot, misc-drivers, etc&#8230;&nbsp; This ensures that I am getting everything included to the host server as I go along.&nbsp; This could mean several installs and reboots, but it&#8217;s better to be thorough than try to figure out why your host isn&#8217;t behaving as expected with a NIC driver, or RAID array management.</p>
<p>The syntax for the update is always the same:</p>
<blockquote><p>esxcli software profile update -p &lt;&lt;build goes here&gt;&gt; -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml</p></blockquote>
<p>When done you can optionally turn the firewall back on to restrict httpClient access from the host:</p>
<blockquote>
<pre>esxcli network firewall ruleset set -e false -r httpClient</pre>
</blockquote>
<p>When all updates are completed, log into the UI now provided by the host (https://esxihost/ui) and exit maintenance mode.&nbsp; I usually just reboot to stat up the VM&#8217;s but if you don&#8217;t have auto-start enabled you&#8217;ll have to start up each VM separately.</p>
<p>The fun doesn&#8217;t stop there.&nbsp; Once the host has been fully updated all of the VM&#8217;s will need their VMware Tools installs updated.&nbsp; If you edit the VM and set the Tools to upgrade automatically it *should* just work.&nbsp; The old Tools install should upgrade and force a reboot of the VM.&nbsp; This usually requires some patience on your part because it takes a while for each VM to upgrade.</p>
<p>I have found that the tools don&#8217;t always upgrade though, even if set to automatically upgrade.&nbsp; One common issue is no CD-DVD ROM virtual drive has been installed (or was removed for some reason).&nbsp; Without it, the ISO image of the VMware Tools software cannot mount and therefore cannot be run.&nbsp; Check each VM to ensure you have a working CD-DVD ROM set to connect on startup.&nbsp;&nbsp;</p>
<p>Another item to note is that the Virtual Machine Hardware Version doesn&#8217;t automatically update with each VM either.&nbsp; This also must be done manually and you should pay special care to ensure the VMware Virtual Machine Hardware Version is compatible with your VM.&nbsp; I haven&#8217;t yet found an instance where the version had to be kept back to a old version but do your homework.&nbsp; The version of the drivers (video, network, drives, audio, etc.) depends on it.</p>
<p>To update the Hardware Version log into the UI and click on the VM you want to update.&nbsp; Make sure it&#8217;s powered down, then click on Actions and click on Upgrade VM Compatibility.</p>
<p><a href="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIcompatibility1.jpg"><img decoding="async" class="alignnone size-full wp-image-14453" src="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIcompatibility1.jpg" alt="" width="498" height="227" srcset="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIcompatibility1-200x91.jpg 200w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIcompatibility1-300x137.jpg 300w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIcompatibility1-400x182.jpg 400w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/Capture-ESXIcompatibility1.jpg 498w" sizes="(max-width: 498px) 100vw, 498px" /></a></p>
<p>Select the appropriate version for your VM and click on Upgrade.</p>
<p>This will cause the VMware Tools to go through the process of upgrading again, which in turn will cause your VM to reboot again.&nbsp; If you know in advance what you want to set the compatibility to, do this while the host server is still in maintenance mode and before you power up each VM for the first time after the host updates are completed (which is also a good time to check the status of your CD-DVD ROM for each machine).</p>
<p>*<strong>NOTE</strong> &#8211; If you jump from 5.x to 6.x you <strong>MUST obtain a new license</strong>. If it&#8217;s a free license just register again. If not you will need to use the VMware license manager to upgrade your licensing to the current version (runs a conversion process).&nbsp; You need to log into https://my.vmware.com to do this.&nbsp; Don&#8217;t forget to update the license!</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-updating-the-esxi-host-and-vms/">VMware &#8211; Updating the ESXi host and VM&#8217;s</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>VMware ESXi 6.5 &#8211; Web Interface Woes</title>
		<link>https://catastrophe.wiredwolf.com/vmware-esxi-6-5-web-interface-woes/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 28 Aug 2017 23:20:00 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=13751</guid>

					<description><![CDATA[<p>As of ESXi 6.5 the vSphere Client is no longer supported.  This is a bit of a disappointment.  I was so used to the vSphere Client that when I started using the Web Interface I discovered very quickly that I couldn't easily find a lot of things where I was expecting to.  The interface is  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-esxi-6-5-web-interface-woes/">VMware ESXi 6.5 &#8211; Web Interface Woes</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>As of ESXi 6.5 the vSphere Client is no longer supported.&nbsp; This is a bit of a disappointment.&nbsp; I was so used to the vSphere Client that when I started using the Web Interface I discovered very quickly that I couldn&#8217;t easily find a lot of things where I was expecting to.&nbsp; The interface is nice and visually appealing, but some of it&#8217;s functionality still needs some work.</p>
<p>For example, I recently built a server with 6 NIC&#8217;s.&nbsp; The default configuration assigned all six physical network adapters to &#8220;VM Network&#8221; which included the Management interface.&nbsp; Well, I figured since I have this many NIC&#8217;s in a server, with a limited number of VM&#8217;s, I could afford to set two dedicated Management NIC&#8217;s and have four to service the VM&#8217;s.</p>
<p>After a lot of exploring I discovered that removing &#8220;uplinks&#8221; to the pre-existing virtual switch was simple enough.&nbsp; I created a new Port Group and Virtual Switch easily enough.&nbsp; But then adding those newly released NIC&#8217;s to the new Virtual Switch I created turned into a nightmare.&nbsp; Only through sheer perseverance did I determine that the &#8220;Add Uplink&#8221; button provided in the list view of the Virtual Switches is completely broken.&nbsp; You have to open the Virtual Switch itself, then edit it&#8217;s properties, whereupon you find another &#8220;Add Uplink&#8221; button.&nbsp; This button works.&nbsp;</p>
<p>Another issue I found was when creating a new VM, the default hardware model (Compatibility) is set to ESXi 6.5 in the menu drop-down, but the other two selection (Guest OS family and Guest OS version) remain blank.&nbsp; Until you switch Compatibility to something else, then back, you cannot select either of these values.&nbsp; And until you do select those values, you cannot create a VM.&nbsp;</p>
<p>Perhaps it&#8217;s just me, or my browser, because I tried to duplicate these issues on a client site and failed to do so.&nbsp;</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-esxi-6-5-web-interface-woes/">VMware ESXi 6.5 &#8211; Web Interface Woes</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>VMware ESXi &#8211; Network Interfaces</title>
		<link>https://catastrophe.wiredwolf.com/vmware-esxi-network-interfaces/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 28 Aug 2017 23:06:16 +0000</pubDate>
				<category><![CDATA[Microsoft Server]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[TCP]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=13749</guid>

					<description><![CDATA[<p>One issue I have fought with repeatedly is the selection of Virtual Network Interfaces (NICs) and configuring them properly for best throughput. For some reason, the ESXi host always wants to assign the Intel E1000 virtual NIC.  Yet if you do any reading on this, you'll quickly find that actually using this driver is frowned  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-esxi-network-interfaces/">VMware ESXi &#8211; Network Interfaces</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>One issue I have fought with repeatedly is the selection of Virtual Network Interfaces (NICs) and configuring them properly for best throughput.</p>
<p>For some reason, the ESXi host always wants to assign the Intel E1000 virtual NIC.&nbsp; Yet if you do any reading on this, you&#8217;ll quickly find that actually using this driver is frowned upon. Exactly why, I can&#8217;t remember.&nbsp; Just don&#8217;t use it.</p>
<p>Instead you are supposed to select the VMXNet 3 driver.&nbsp; This is a fully feature-packed driver and in my experience it does operate very well in Windows environments&#8230; but not without some tweaking.</p>
<p>The biggest issue seems to be related to some of the Offload features that are always on by default:</p>
<ul>
<li>IPv4 Checksum Offload &#8211; set to Disable</li>
<li>Large Send Offload V2 (IPv4) &#8211; set to Disable</li>
<li>Large Send Offload V2 (IPv6) &#8211; set to Disable</li>
<li>Receive Side Scaling &#8211; set to Disable</li>
<li>Recv Segment Coalescing (IPv4) &#8211; set to Disable</li>
<li>Recv Segment Coalescing (IPv6) &#8211; set to Disable</li>
<li>TCP Checksum Offload (IPv4) &#8211; set to Disable</li>
<li>TCP Checksum Offload (IPv6) &#8211; set to Disable</li>
<li>UPD Checksum Offload (IPv4) &#8211; set to Disable</li>
<li>UDP Checksum Offload (IPv4) &#8211; set to Disable</li>
</ul>
<p>The other item that can cause issues is the Receive Side Scaling.&nbsp; Based on what I read, Receive Side Scaling is for when you want to distribute your network connectivity CPU load across all CPU cores.&nbsp; In theory this should work great, but in practice I have found it doesn&#8217;t work very well.&nbsp; I always turn it off.</p>
<p>I have found not all features for the VMXNET3 adapter are present on older Windows Server installations.&nbsp; Server 2012 &#8211; 2016 have the Receive Side Scaling and Recv Segment Coalescing features where Server 2008 R2 doesn&#8217;t.</p>
<p>There are other Offload features that you shouldn&#8217;t touch or should ensure they are turned on:</p>
<ul>
<li>Offload IP Options</li>
<li>Offload Tagged traffic</li>
<li>Offload TCP Options</li>
</ul>
<p>Particularly with Active Directory, some of these features are actually required for the server to process correctly.</p>
<p>Hope this helps someone else out there who&#8217;s struggled constantly with ESXi network efficiency issues.&nbsp;</p>
<ul>
<li>edited Thursday June 14, 2018 (missing Recv Segment Coalescing and Receive Side Scaling) &#8211; encountered abysmal network connectivity on two separate host server VM&#8217;s because I missed this the first time around &#8211; cost me many hours of painful file copying until I resolved it (again)</li>
</ul>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-esxi-network-interfaces/">VMware ESXi &#8211; Network Interfaces</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>VMware ESXi &#8211; Web Console</title>
		<link>https://catastrophe.wiredwolf.com/vmware-esxi-web-console/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 29 Mar 2017 21:30:43 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=13279</guid>

					<description><![CDATA[<p>We use a lot of virtualization and we like the ESXi Hypervisor provided by VMware for free for setting up a simple shared virtual environment.  Yeah the free version is crippled but it allows for unlimited CPU sockets and unlimited memory.  This is already better than the out-of-the-box crippled Microsoft Hyper-V. When you pay for  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-esxi-web-console/">VMware ESXi &#8211; Web Console</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We use a lot of virtualization and we like the ESXi Hypervisor provided by VMware for free for setting up a simple shared virtual environment.&nbsp; Yeah the free version is crippled but it allows for unlimited CPU sockets and unlimited memory.&nbsp; This is already better than the out-of-the-box crippled Microsoft Hyper-V.</p>
<p>When you pay for VMware vCenter Server you automatically get a Web Console UI that appears to be replacing the older VMware vSphere Client.&nbsp; But when you use the free ESXi Host Hypervisor you don&#8217;t get the Web Console UI by default.</p>
<p>There is a very simple way to add the Web Console UI:</p>
<ul>
<li>SSH to the host (make sure SSH is enabled)</li>
<li>Log in as ROOT</li>
<li>run this simple command:</li>
</ul>
<blockquote>
<pre><span class="nc">esxcli</span><span class="kv"> software vib install -v http://download3.vmware.com/software/vmw-tools/esxui/esxui_signed.vib
</span></pre>
</blockquote>
<p>Wait for the install to complete and you are given the message:&nbsp; Operation finished successfully.</p>
<p>Reboot is not required.</p>
<p>Now using the IP of the host, navigate your favorite browser to:&nbsp; https://hostname_or_IP_of_host/ui</p>
<p>Log in as you would with the client.&nbsp; The interface is apparently somewhat crippled due to the free license but as near as I can tell you can still do pretty much everything you could with the client without having to actually install the client.&nbsp;</p>
<p>As a bonus, now that you have a Web Console UI, you can set up firewall rules for remote management.&nbsp; This isn&#8217;t recommended unless you know how to properly secure the connection but it is feasible.</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-esxi-web-console/">VMware ESXi &#8211; Web Console</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Installing Offline Bundles</title>
		<link>https://catastrophe.wiredwolf.com/installing-offline-bundles/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 23 Jan 2017 20:41:37 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=13109</guid>

					<description><![CDATA[<p>One common task I have when setting up an ESXi host is to get the LSI MegaRAID configuration to show up both on the host server and in the Windows (whatever flavor) OS - MegaRAID Storage Manager. VMware really could try to make this easier. The first steps is to download the software you need.  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/installing-offline-bundles/">Installing Offline Bundles</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>One common task I have when setting up an ESXi host is to get the LSI MegaRAID configuration to show up both on the host server and in the Windows (whatever flavor) OS &#8211; MegaRAID Storage Manager.</p>
<p>VMware really could try to make this easier.</p>
<p>The first steps is to download the software you need.<br />
1. MegaRAID Storage Manager &#8211; <a href="https://www.broadcom.com/support/download-search/?pg=Storage+Adapters,+Controllers,+and+ICs&amp;pf=Storage+Adapters,+Controllers,+and+ICs&amp;pn=All&amp;po=&amp;pa=Management+Software+and+Tools&amp;dk=">here</a><br />
2. Latest SMIS Provider (VMware 5.5 &amp; 6.0) &#8211; <a href="https://www.broadcom.com/support/download-search/?pg=Storage+Adapters,+Controllers,+and+ICs&amp;pf=Storage+Adapters,+Controllers,+and+ICs&amp;pn=All&amp;po=&amp;pa=Management+Software+and+Tools&amp;dk=" target="_blank" rel="noopener">here</a></p>
<p>Basically it&#8217;s the same place.&nbsp; When I did the search I got 527 results.&nbsp; You have to sift through to find what you&#8217;re looking for.</p>
<p>The install of the MegaRAID Storage Manager on Windows is standard.&nbsp; The only difference is you configure the discovery to pick out ESXi hosts specifically.</p>
<p>For the ESXi host to respond to requests this is where the SMIS Provider has to be installed.&nbsp; And this can be the tricky part.</p>
<p>I suggest creating a folder in your datastore that you can keep stuff like this.&nbsp; Call it whatever you like as long as you can identify this folder from among your VM&#8217;s.&nbsp; Such as &#8216;drivers&#8217;.</p>
<p>Upload the file you got from Broadcom to this folder using WinSCP then open an SSH session (I use Putty).&nbsp; Log in as root.</p>
<p>This is where I got a lot of push-back from ESXi.&nbsp; The command is pretty straightforward:</p>
<p>esxcli software vib install -d /path/to/filename.zip</p>
<p>However, I kept getting errors about the filename.zip?index.xml is missing.</p>
<ol>
<li>The path to the filename must be exact:&nbsp; /vmfs/volumes/datastore1/drivers//VMW-ESX-5.5.0<br />
-lsiprovider-500.04.V0.61-0007-offline_bundle-4555634.zip</li>
<li>Sometimes &#8216;esxcli&#8217; will fail no matter what you try &#8211; switch to &#8216;localcli&#8217;</li>
</ol>
<p>I actually unpacked the original ZIP file so I didn&#8217;t have to try to remember (or type out) these ridiculously long file names but you can skip unzipping the files by separating the target with a &#8216;/&#8217;.</p>
<blockquote><p>esxcli software vib install -d /vmfs/volumes/datastore1/VMW-ESX-5.5.0-lsiprovider-500.04.V0.61-0007-4<br />
555634.zip/VMW-ESX-5.5.0-lsiprovider-500.04.V0.61-0007-offline_bundle-4555634.zip</p></blockquote>
<p>You should put the ESXi host in maintenance mode prior to installing the SMIS Provider but I haven&#8217;t found that it&#8217;s strictly necessary.&nbsp; A reboot after the install is necessary though.</p>
<p>Once the VIB is installed you can then install the MegaRAID Storage Manager to your Windows Server.&nbsp; It should be a server on the ESXi host you want to link to the controller with but I found that&#8217;s not strictly necessary.</p>
<p>First update your hosts file:</p>
<p style="padding-left: 30px;">notepad c:\windows\system32\drivers\etc\hosts</p>
<p style="padding-left: 30px;">Add an entry that looks like this:&nbsp; 192.168.1.10 esxi-host.local esxi-host&nbsp; (obviously substitute with the IP and name of your ESXi host)</p>
<p>Open the MegaRAID Storage Manager and click on Configure Host<br />
Select &#8220;Display all the ESXi-CIMOM server in the network of local server.&#8221;<br />
Click on Save Settings</p>
<p>Click on Discover Host &#8211; your ESXi host server IP shold now show up showing an Unknown operating system and health status of &#8220;Needs Login&#8221;.<br />
Select your host server and use your VMware (root or equivalent) credentials to log in.</p>
<p>Be patient.&nbsp; I found this rarely loads in under a minute.&nbsp; A window will open and a big circle will swirl around for quite a while before the controller is contacted and all the relevant data is pumped back into the browser.</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/installing-offline-bundles/">Installing Offline Bundles</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>VMware ESXi &#8211; Shut Down Hung VM</title>
		<link>https://catastrophe.wiredwolf.com/vmware-esxi-shut-down-hung-vm/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 28 Dec 2016 23:27:12 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=12897</guid>

					<description><![CDATA[<p>Occasionally I come across a VM that's stuck.  Usually it's resources on the VM that have been exhausted.  For whatever reason I cannot connect to a system on the network with the vSphere Client installed so I cannot connect to the host to shut down the VM. Yes this happens.  Typically on networks where the  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-esxi-shut-down-hung-vm/">VMware ESXi &#8211; Shut Down Hung VM</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Occasionally I come across a VM that&#8217;s stuck.&nbsp; Usually it&#8217;s resources on the VM that have been exhausted.&nbsp; For whatever reason I cannot connect to a system on the network with the vSphere Client installed so I cannot connect to the host to shut down the VM.</p>
<p>Yes this happens.&nbsp; Typically on networks where the VM in question is the DC and the only DNS source.&nbsp; My agents drop offline because they cannot resolve anything and can no longer find my server.&nbsp; If they can&#8217;t connect to me &#8211; I can&#8217;t connect to them.</p>
<p>Anyway, as a back door I usually do enable SSH to the ESXi host (I know it&#8217;s not recommended) and connect that way to get done what I need.</p>
<p>Once connected to the ESXi host via SSH:</p>
<blockquote><p>esxcli vm process list</p></blockquote>
<p>This command lists all of the VM&#8217;s running.&nbsp; In particular I am interested in the World ID.</p>
<p>Once I have the World ID:</p>
<blockquote><p>esxcli vm process kill -t [soft|hard|force] -w WorldID</p></blockquote>
<p>Give it a few seconds then check the state of the VM by rerunning the process list command again. The VM should no longer be showing.</p>
<p>Now you may need to power up the VM.&nbsp; You&#8217;ll need the vmid to power on the system.</p>
<p>vim-cmd vmsvc/getallvms</p>
<p>The VM&#8217;s will all be listed and have a number such as &#8220;1&#8221; or &#8220;2&#8221;:</p>
<blockquote><p>Vmid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Guest OS&nb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sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Annotation<br />
<strong>1&nbsp;</strong>&nbsp;&nbsp;&nbsp;&nbsp; SERVER1-DC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [datastore2] SERVER1-DC/SERVER1-DC.vmx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; windows8Server64Guest&nbsp;&nbsp; vmx-08<br />
<strong>2&nbsp;&nbsp;</strong>&nbsp;&nbsp;&nbsp; SERVER2-SQL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [datastore2] SERVER2-SQL/SERVER2-SQL.vmx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; windows8Server64Guest&nbsp;&nbsp; vmx-08</p></blockquote>
<p>Now get the power state of the VM:</p>
<blockquote><p>vim-cmd vmsvc/power.getstate &lt;vmid&gt;</p></blockquote>
<p>You&#8217;ll see a response like this:</p>
<blockquote><p>~ # vim-cmd vmsvc/power.getstate 1<br />
Retrieved runtime info<br />
Powered off</p></blockquote>
<p>Power on the VM:</p>
<blockquote><p>vim-cmd vmsvc/power.on &lt;vmid&gt;</p></blockquote>
<p>Check the power state again.&nbsp; It should show as &#8220;Powered on&#8221;.</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-esxi-shut-down-hung-vm/">VMware ESXi &#8211; Shut Down Hung VM</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
