<?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>motogobi.com &#187; system administration</title>
	<atom:link href="http://www.motogobi.com/tag/system-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.motogobi.com</link>
	<description>fist-pump, push-up, chapstick</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:02:30 +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>Virtualization EcoShell is to be no more</title>
		<link>http://www.motogobi.com/2011/01/18/virtualization-ecoshell-is-to-be-no-more/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=virtualization-ecoshell-is-to-be-no-more</link>
		<comments>http://www.motogobi.com/2011/01/18/virtualization-ecoshell-is-to-be-no-more/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 21:32:21 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=1136</guid>
		<description><![CDATA[&#8230;but PowerGUI has the exact same functionality, with the ability to tie in all your other (Exchange, Active Directory, etc) PowerPacks. The VMware PowerPack has now come back under the PowerGUI installation wizard and is part of PowerGUI 2.3 which can be downloaded from the PowerGUI site here. Lest I start in again on how [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.motogobi.com/wp-content/uploads/2011/01/4TEZSQGL1AS8.png-70x70.png" rel="lightbox[1136]"><img class="alignright size-full wp-image-1137" title="4TEZSQGL1AS8.png-70x70" src="http://www.motogobi.com/wp-content/uploads/2011/01/4TEZSQGL1AS8.png-70x70.png" alt="" width="70" height="70" /></a>&#8230;but PowerGUI has the exact same functionality, with the ability to tie in all your other (Exchange, Active Directory, etc) PowerPacks.</p>
<blockquote><p>The VMware PowerPack has now come back under the PowerGUI installation wizard and is part of PowerGUI 2.3 which can be downloaded from the PowerGUI site <a href="http://www.powergui.org/index.jspa">here</a>.</p></blockquote>
<p>Lest I start in again on how much I love PowerGUI and PowerCLI for managing your VMware environment, let&#8217;s just revisit the topic <a href="http://www.motogobi.com/tag/powershell/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2011/01/18/virtualization-ecoshell-is-to-be-no-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Listing VMs and their .vmx location via PowerShell</title>
		<link>http://www.motogobi.com/2011/01/06/listing-vms-and-their-vmx-location-via-powershell/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=listing-vms-and-their-vmx-location-via-powershell</link>
		<comments>http://www.motogobi.com/2011/01/06/listing-vms-and-their-vmx-location-via-powershell/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 20:33:04 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=1130</guid>
		<description><![CDATA[Pre-migration PowerShell lifesaving tip of the day: get a listing of all your VMs and the datastores they&#8217;re living on (&#8217;cause we all know your VM names don&#8217;t match their storage names, right?) in case you need to re-register your VMs from storage. We&#8217;re heading into another datacenter move, and I&#8217;ve learned that it&#8217;s nice [...]]]></description>
			<content:encoded><![CDATA[<p>Pre-migration PowerShell lifesaving tip of the day: get a listing of all your VMs and the datastores they&#8217;re living on (&#8217;cause we all know <a href="http://www.motogobi.com/vm-folder-name-mismatch-query-using-powershell/">your VM names don&#8217;t match their storage names</a>, right?) in case you need to re-register your VMs from storage. We&#8217;re heading into another datacenter move, and I&#8217;ve learned that it&#8217;s nice to know exactly where everything lives rather than try to find it that day when all you might have is your storage available. <a href="http://www.vmworldz.com/2010/08/daily-powercli-primer-list-all-vms-and.html">Kudos to Scott March</a> for his script to do the heavy lifting:</p>
<p style="padding-left: 30px;"><code>Connect-VIServer YOURvCENTERNAME</code><br />
<code> </code><br />
<code>$Information = @()<br />
Foreach ($VM in (Get-VM  | Sort Name | Get-View)){<br />
$MyDetails = "" | Select-Object VMName,VMXLocation<br />
$MyDetails.VMName = $VM.Name<br />
$MyDetails.VMXLocation = $VM.Config.Files.VmPathName<br />
$Information += $MyDetails<br />
}<br />
$Information |Export-Csv -NoTypeInformation C:output.csv</code></p>
<p>This little report is a nice bit of insurance to have, let me tell you&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2011/01/06/listing-vms-and-their-vmx-location-via-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting multipath policy via PowerCLI</title>
		<link>http://www.motogobi.com/2010/12/17/setting-multipath-policy-via-powercli/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setting-multipath-policy-via-powercli</link>
		<comments>http://www.motogobi.com/2010/12/17/setting-multipath-policy-via-powercli/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 17:05:56 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[system administration]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=1114</guid>
		<description><![CDATA[This little tidbit saved me a ton of time and right-click pain today. We&#8217;re moving a datacenter overseas and I needed to add a ton of datastores to a bunch of hosts, as well as set their multipathing policy for each LUN. Trying to do this by hand? Teh suck. Trying to do this by [...]]]></description>
			<content:encoded><![CDATA[<p>This little tidbit saved me a ton of time and right-click pain today. We&#8217;re moving a datacenter overseas and I needed to add a ton of datastores to a bunch of hosts, as well as set their multipathing policy for each LUN. Trying to do this by hand? Teh suck. Trying to do this by host profiles? I banged my head against that wall for an hour before realizing that host profiles don&#8217;t handle this. But lo and behold, <a href="http://runningvm.wordpress.com/2010/08/31/vsphere-powercli-multipath-policy-script-examples/">it&#8217;s pretty simple</a> using my new best friend, the PowerCLI. Read on for the latest installing in how much I love admin&#8217;ing vSphere via PowerCLI&#8230;</p>
<p><span id="more-1114"></span></p>
<p>Connect to your vCenter server and specify a host (I&#8217;m going host-by-host here since I&#8217;m working on a cluster already in production, maintenance-mode&#8217;ing each host as I got):</p>
<p style="padding-left: 30px;"><code>&gt; Connect-VIServer <em>vcenterhostname</em></code></p>
<p>Then, to see which path is set to fixed, the default:</p>
<p style="padding-left: 30px;"><code>&gt; Get-VMHost <em>esxhostname</em> | Get-ScsiLun -LunType disk</code></p>
<p>Which nets me this:</p>
<p style="padding-left: 30px;"><code>CanonicalN ConsoleDeviceName              LunType    CapacityMB MultipathPolicy<br />
ame<br />
---------- -----------------              -------    ---------- ---------------<br />
naa.600... /vmfs/devices/disks/naa.600... disk           417792 RoundRobin<br />
naa.600... /vmfs/devices/disks/naa.600... disk            71680 Fixed<br />
naa.600... /vmfs/devices/disks/naa.600... disk           417792 RoundRobin<br />
naa.600... /vmfs/devices/disks/naa.600... disk           512000 Fixed<br />
....</code></p>
<p>So in this case, where I&#8217;ve got an active/active array and want RoundRobin everywhere, the fix is simple and a lot less painful than going through the GUI:</p>
<p style="padding-left: 30px;"><code>&gt; Get-VMHost <em>esxhostname</em> | Get-ScsiLun -CanonicalName “naa.6006*” | Set-ScsiLun -MultipathPolicy “roundrobin”</code></p>
<p>Which nets me this:</p>
<p style="padding-left: 30px;"><code>CanonicalN ConsoleDeviceName LunType CapacityMB MultipathPolicy<br />
ame<br />
---------- ----------------- ------- ---------- ---------------<br />
naa.600... /vmfs/devices/disks/naa.600... disk 417792 RoundRobin<br />
naa.600... /vmfs/devices/disks/naa.600... disk 71680 RoundRobin<br />
naa.600... /vmfs/devices/disks/naa.600... disk 417792 RoundRobin<br />
naa.600... /vmfs/devices/disks/naa.600... disk 512000 RoundRobin<br />
....</code></p>
<p>Specifying the canonical name keeps the scope of any changes we&#8217;re making here to my FC LUNs. Hats off to <a href="http://runningvm.wordpress.com/2010/08/31/vsphere-powercli-multipath-policy-script-examples/">Paul Woodward</a> for keeping my repetitive stress injury to a minimum this morning by keeping me out of the GUI. Thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/12/17/setting-multipath-policy-via-powercli/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hot damn free thing of the day: Veeam products for VCPs</title>
		<link>http://www.motogobi.com/2010/12/13/hot-damn-free-thing-of-the-day-veeam-products-for-vcps/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hot-damn-free-thing-of-the-day-veeam-products-for-vcps</link>
		<comments>http://www.motogobi.com/2010/12/13/hot-damn-free-thing-of-the-day-veeam-products-for-vcps/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 14:59:09 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[disaster recovery]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[Veeam]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=1109</guid>
		<description><![CDATA[Well, how&#8217;s that for a nice holiday gift? Veeam is offering a free 2-socket license of their products to VMware vExperts, VMware Certified Professionals and VMware Certified Instructors: the awesome Backup &#38; Replication 5 Monitor Plus and Business Reporter If you&#8217;re running a home lab, you kind of owe it to yourself to get a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.motogobi.com/wp-content/uploads/2010/12/nfr-head.png" rel="lightbox[1109]"><img class="aligncenter size-large wp-image-1110" title="nfr-head" src="http://www.motogobi.com/wp-content/uploads/2010/12/nfr-head-600x108.png" alt="" width="600" height="108" /></a>Well, how&#8217;s that for a nice holiday gift? <a href="http://www.veeam.com/nfr/free-nfr-license">Veeam is offering a free 2-socket license of their products to VMware vExperts, VMware Certified Professionals and VMware Certified Instructors</a>:</p>
<ul>
<li>the awesome Backup &amp; Replication 5</li>
<li>Monitor Plus and Business Reporter</li>
</ul>
<p>If you&#8217;re running a home lab, you kind of owe it to yourself to get a simple install of their products up and running. Diving more and more into their monitoring tools, as well as having Replication save my butt on a remote office move recently, I&#8217;ve got nothing but high regard for what Veeam offers to the virtualization community &#8211; and today? What it offers the virtualization community for <strong>free</strong>. Props to <a href="http://virtualization.info/en/news/2010/12/veeam-offers-free-licenses-for-vmware-vexperts-vcps-and-vcis.html">virtualization.info</a> for the heads up!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/12/13/hot-damn-free-thing-of-the-day-veeam-products-for-vcps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VM folder name mismatch query using PowerShell</title>
		<link>http://www.motogobi.com/2010/12/06/vm-folder-name-mismatch-query-using-powershell/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vm-folder-name-mismatch-query-using-powershell</link>
		<comments>http://www.motogobi.com/2010/12/06/vm-folder-name-mismatch-query-using-powershell/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 20:48:33 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=1104</guid>
		<description><![CDATA[Hats off to Luc at www.virtu-al.net for this incredibly useful PowerShell script to identify the display names of VMs and any that don&#8217;t match their folder structure. If you&#8217;ve ever unregistered a virtual machine in vCenter and sort of spaced where it lived on your datastores, trying to find a VM&#8217;s hostname in a bunch [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.motogobi.com/wp-content/uploads/2010/12/Frustration_Relief.gif" rel="lightbox[1104]"><img class="alignright size-thumbnail wp-image-1106" title="Frustration_Relief" src="http://www.motogobi.com/wp-content/uploads/2010/12/Frustration_Relief-150x150.gif" alt="" width="150" height="150" /></a>Hats off to <a href="http://www.virtu-al.net/2009/06/22/powercli-folder-name-mismatch/">Luc at www.virtu-al.net for this incredibly useful PowerShell script</a> to identify the display names of VMs and any that don&#8217;t match their folder structure. If you&#8217;ve ever unregistered a virtual machine in vCenter and sort of spaced where it lived on your datastores, trying to find a VM&#8217;s hostname in a bunch of folders that don&#8217;t match that display name can be an utter pain. Oftentimes, I&#8217;ve had to do this under pressure. Like during an outage. Fun.</p>
<p style="padding-left: 30px;"><code>Connect-VIServer vcenterhost</code></p>
<p style="padding-left: 30px;"><code> </code></p>
<p style="padding-left: 30px;"><code>$VMFolder = @()<br />
Foreach ($VM in (Get-VM |Get-View)){<br />
$Details = "" |Select-Object VM,Path<br />
$Folder = ((($VM.Summary.Config.VmPathName).Split(']')[1]).Split('/'))[0].TrimStart(' ')<br />
$Path = ($VM.Summary.Config.VmPathName).Split('/')[0]<br />
If ($VM.Name-ne $Folder){<br />
$Details.VM= $VM.Name<br />
$Details.Path= $Path<br />
$VMFolder += $Details<br />
}<br />
}<br />
$VMFolder |Export-Csv -NoTypeInformation C:Mismatch.csv</code></p>
<p>Simply replace <code>vcenterhost</code> with your vCenter&#8217;s name and go for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/12/06/vm-folder-name-mismatch-query-using-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESX(i) host monitoring &#8211; false alarms?</title>
		<link>http://www.motogobi.com/2010/12/06/esxi-host-monitoring-false-alarms/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=esxi-host-monitoring-false-alarms</link>
		<comments>http://www.motogobi.com/2010/12/06/esxi-host-monitoring-false-alarms/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 18:09:17 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[system administration]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=1095</guid>
		<description><![CDATA[In trying to tighten up some monitoring issues in the current environment I&#8217;m working in, I did what most people would think to do &#8211; I turned on some alarms in vCenter, specifically &#8220;Host connection and power state.&#8221; I kinda want to know when hosts just drop off the face of the planet, right? To [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.motogobi.com/wp-content/uploads/2010/12/host_alarm.png" rel="lightbox[1095]"><img class="aligncenter size-full wp-image-1096" title="host_alarm" src="http://www.motogobi.com/wp-content/uploads/2010/12/host_alarm.png" alt="" width="595" height="145" /></a></p>
<p>In trying to tighten up some monitoring issues in the current environment I&#8217;m working in, I did what most people would think to do &#8211; I turned on some alarms in vCenter, specifically &#8220;Host connection and power state.&#8221; I kinda want to know when hosts just drop off the face of the planet, right? To get a feel for how this environment is running, I had that alert send me an email when it detected a host disconnect &#8211; and started getting <em>20-30 alerts a day</em>. I then saw that all my hosts were <em>fine</em>. They weren&#8217;t dropping or disconnecting. Well, this is going to take some work, right? Read on&#8230;</p>
<p><span id="more-1095"></span></p>
<p>Turns out, there&#8217;s a <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1020210" target="_blank">VMware KB article</a> that speaks to these alerts that suggests increasing a SSL timeout value in the hostd config file at <code>/etc/vmware/hostd/config.xml</code>. This seems to helpful for us, having many hosts with varying states of WAN connectivity to vCenter. Adding that timeout is pretty simple &#8211; specifically, you find the <strong>first</strong> set of <code>&lt;ssl&gt;</code> tags, and add the following line:</p>
<p style="padding-left: 30px;"><code>&lt;handshakeTimeoutMs&gt; 120000 &lt;/handshakeTimeoutMs&gt;</code></p>
<p>Your config.xml file will end up looking like this:</p>
<p style="padding-left: 30px;"><code>&lt;ssl&gt;<br />
&lt;doVersionCheck&gt; false &lt;/doVersionCheck&gt;<br />
&lt;useCompression&gt;true&lt;/useCompression&gt;<br />
&lt;handshakeTimeoutMs&gt; 120000 &lt;/handshakeTimeoutMs&gt;<br />
&lt;/ssl&gt;</code></p>
<p>Once you save off your config.xml file, go ahead and restart hostd:</p>
<p style="padding-left: 30px;"><code>service mgmt-vmware restart<br />
service vmware-vpxa restart</code></p>
<p>If you want to make sure that this change has taken effect, tail the hostd log at <code>/var/log/vmware/hostd.log</code> and look for the following line:</p>
<p style="padding-left: 30px;"><code>[2010-12-06 08:48:48.489 F66D86D0 info 'App'] Vmacore::InitSSL: doVersionCheck = false, handshakeTimeoutUs = 120000000</code></p>
<p>Adding that timeout value of 120000 milliseconds (or 2 minutes) seems to have drastically reduced the number of false alarms I&#8217;m seeing. As for the effect of adding this timeout? According to VMware support, this simply gives an ESX host a little bit more time to respond before vCenter will alert you on it connection. You obviously don&#8217;t have to go to 2 minutes right off the bat - experiment with lower timeout thresholds to find the sweet spot for specific, problematic hosts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/12/06/esxi-host-monitoring-false-alarms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More love for PowerGUI and PowerShell</title>
		<link>http://www.motogobi.com/2010/12/01/more-love-for-powergui-and-powershell/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=more-love-for-powergui-and-powershell</link>
		<comments>http://www.motogobi.com/2010/12/01/more-love-for-powergui-and-powershell/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 20:19:53 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=1088</guid>
		<description><![CDATA[I suck at scripting. I have this big vSphere PowerCLI poster sitting next to my desk that I&#8217;m only now learning to reference. But PowerShell is quickly becoming my go-to tool of choice to quickly find out how my vSphere infrastructure is doing. To that end, Quest software released an awesome get-your-feet-wet-with-PowerShell tool called PowerGUI, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.motogobi.com/wp-content/uploads/2010/12/PowerGUIvmware.png" rel="lightbox[1088]"><img class="alignright size-thumbnail wp-image-1089" title="PowerGUIvmware" src="http://www.motogobi.com/wp-content/uploads/2010/12/PowerGUIvmware-150x150.png" alt="" width="150" height="150" /></a>I suck at scripting. I have this big vSphere PowerCLI poster sitting next to my desk that I&#8217;m only now learning to reference. But PowerShell is quickly becoming my go-to tool of choice to quickly find out how my vSphere infrastructure is doing. To that end, Quest software released an awesome get-your-feet-wet-with-<a href="http://www.powergui.org/index.jspa">PowerShell tool called PowerGUI</a>, and then <a href="http://www.powergui.org/entry.jspa?externalID=1802&amp;categoryID=290">Kirk Munro released what&#8217;s called a PowerPack</a> to allow super-quick management of VMware virtual infrastructure from within PowerGUI.</p>
<p>One of the best features of the latest PowerGUI / VMware Infrastructure Management release? An incredibly useful dropdown list of common vSphere gotchas to look for (click the thumbnail for a list of &#8216;em). As I come on board a new organization with a more diverse administration personnel model for vSphere, this list of queries has enabled me to very quickly identify some problems that could grow into larger issues &#8211; and to fix them almost as quickly.</p>
<p>Finding a <em>terabyte</em> of orphaned .vmdk files just made me a pretty valuable employee today&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/12/01/more-love-for-powergui-and-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pre-populating vSphere Client connection properties</title>
		<link>http://www.motogobi.com/2010/11/29/pre-populating-vsphere-client-connection-properties/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pre-populating-vsphere-client-connection-properties</link>
		<comments>http://www.motogobi.com/2010/11/29/pre-populating-vsphere-client-connection-properties/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 18:06:11 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=1083</guid>
		<description><![CDATA[Why didn&#8217;t I find this little trick sooner? On the heels of keeping your VI Client connection listing clean, you can also pre-populate your vSphere Client user name and (if you&#8217;re able to) password dialog boxes when launching the client. It&#8217;s wicked easy &#8211; get to the properties of your VI Client shortcut and modify [...]]]></description>
			<content:encoded><![CDATA[<p>Why didn&#8217;t I find <a href="http://vdestination.com/2010/07/29/vsphere-client-caching/">this little trick</a> sooner? On the heels of keeping your <a href="http://www.motogobi.com/clearing-the-vi-client-recent-connections-dialog/">VI Client connection listing clean</a>, you can also pre-populate your vSphere Client user name and (if you&#8217;re able to) password dialog boxes when launching the client. It&#8217;s wicked easy &#8211; get to the properties of your VI Client shortcut and modify the Target for the shortcut, adding -u <em>username</em> to the end without quotes. For example:</p>
<p style="padding-left: 30px;"><code>"C:Program Files (x86)VMwareInfrastructureVirtual Infrastructure ClientLauncherVpxClient.exe" -u domainusername</code></p>
<p>This will launch the client with the user name pre-populated with <em>domainusername</em>, which is super handy for me since I log into all of my vCenters using an admin account. Other switches:</p>
<p style="padding-left: 30px;"><code>-s <em>hostname</em> to specify a specific host or IP address</code></p>
<p style="padding-left: 30px;"><span style="font-family: monospace;">-p <em>password</em> to specific a password. Used with -u, ie: -u <em>username</em> -p <em>password</em></span></p>
<p>Much thanks to <a href="http://vdestination.com/2010/07/29/vsphere-client-caching/">Jason Boche&#8217;s original post on this</a>, which is now saving me some typing every day&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/11/29/pre-populating-vsphere-client-connection-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update on a “failed” HA, split-brain event</title>
		<link>http://www.motogobi.com/2010/06/04/update-on-a-failed-ha-split-brain-event/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=update-on-a-failed-ha-split-brain-event</link>
		<comments>http://www.motogobi.com/2010/06/04/update-on-a-failed-ha-split-brain-event/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 13:47:57 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=773</guid>
		<description><![CDATA[So some interesting stuff has fallen out of the investigation we&#8217;ve done regarding how VMware High Availability handled five of our hosts falling off the network last week. In speaking with VMware&#8217;s support staff I&#8217;ve learned a few things to keep in mind when planning architecture, as well as how to respond to something like [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-774" title="vmwareresourcepool2" src="http://www.motogobi.com/wp-content/uploads/2010/06/vmwareresourcepool2-150x150.gif" alt="" width="150" height="150" />So some interesting stuff has fallen out of the investigation we&#8217;ve done regarding how <a href="http://www.motogobi.com/vsphere-high-availability-and-the-split-brain-scenario/">VMware High Availability handled five of our hosts falling off the network last week</a>. In speaking with VMware&#8217;s support staff I&#8217;ve learned a few things to keep in mind when planning architecture, as well as how to respond to something like this in the future (hint: don&#8217;t panic). Turns out, ESX didn&#8217;t really fail as much as it politely gave up, opting to take the route that seems to be the least harmful to our guest VMs&#8217; operating systems. Admit it, we&#8217;ve all been there: you&#8217;re working on a Windows machine, it&#8217;s not responding, and you get to the point where you just hit the reset button. Well, VMware will let you &#8211; and only you &#8211; take that final step towards OS recovery during an event like this.<br />
<span id="more-773"></span><br />
So our HA event was a little more in-depth than what High Availability is normally set up to handle. We had five hosts experience this in total but the same thing happened on each &#8211; so I&#8217;ll focus on only a single host for this post. When the host found itself isolated from the network, unable to reach any of the other hosts in the cluster via the ServiceConsole network connection, it correctly understood that it was isolated and started to gracefully shut down each of it&#8217;s running VMs. Basically this was a &#8220;<a href="http://www.yellow-bricks.com/2009/04/15/the-basics-how-to-kill-a-vm-thats-stuck-during-shutdown/" target="_blank">stop trysoft</a>&#8221; command sent to the VM. However, we also had problems with the network connections for the NFS datastore connections &#8211; so the ESX host had a running VM process in memory but no disk or lockfiles to work with on the back end of that VM.</p>
<p>According to VMware support, ESX will not  go any further in trying to shut down your VM &#8211; it will not just kill the process of that VM running in memory. If ESX can&#8217;t perform a graceful shutdown of a VM it will stop trying to get that VM process shut down.</p>
<p>That&#8217;s an important thing to understand and remember and directly speaks to what we saw: when some of our ESX hosts regained network connectivity, we had the <a href="http://www.motogobi.com/vsphere-high-availability-and-the-split-brain-scenario/" target="_blank">classic split-brain scenario</a>. We would open the console to a VM, see a <a href="http://en.wikipedia.org/wiki/Blue_Screen_of_Death" target="_blank">BSOD</a>, and power off the VM &#8211; and then almost immediately see the running operating system in that same console window. What we were watching was the BSOD process on the formerly-isolated ESX host being stopped, replaced by the healthy process of the VM when it was brought up on one of the surviving hosts.</p>
<p>So some take-away from this event?</p>
<ul>
<li>Once we realized that we had lost both the Service Console connection <em>and</em> the NFS datastore connection, we simply should have taken note of what VMs were still running in memory by using esxtop and then powered off the ESX host until the network outage was resolved. The other surviving hosts were already booting up the VMs. The key here, obviously, is that this is a manual process &#8211; if this outage occurred and resolved itself before we could get to the isolated hosts we&#8217;d still end up with a split-brain problem.</li>
<li>We might want to reconsider our use of NFS and it&#8217;s dependence on network connectivity to the datastores. This major outage interrupted TCP/IP traffic at many different layers of the network, to the point where NIC redundancy and failover did not occur. It&#8217;s been my experience that FC SAN, while more expensive, also has been more robust and less prone to outages &#8211; the vast majority of our outages involving ESX have been Ethernet-related problems.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/06/04/update-on-a-failed-ha-split-brain-event/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox 3.2 – major update</title>
		<link>http://www.motogobi.com/2010/05/23/virtualbox-3-2-major-update/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=virtualbox-3-2-major-update</link>
		<comments>http://www.motogobi.com/2010/05/23/virtualbox-3-2-major-update/#comments</comments>
		<pubDate>Mon, 24 May 2010 00:43:08 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=745</guid>
		<description><![CDATA[My favorite hypervisor just received some much-needed updates that really bring it into striking range of VMware&#8217;s Workstation or Parallels. Among the most notable additions to the best-priced (free!) product in desktop/workstation virtualization are: Support for deleting snapshots while the VM is running Support for multi-monitor guest setups in the GUI for Windows guests RDP [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-746 alignright" style="margin: 5px;" title="vbox_logo2_gradient" src="http://www.motogobi.com/wp-content/uploads/2010/05/vbox_logo2_gradient.png" alt="" width="140" height="180" />My favorite hypervisor just received some much-needed updates that really bring it into striking range of VMware&#8217;s <a href="http://www.vmware.com/products/workstation/" target="_blank">Workstation</a> or <a href="http://www.parallels.com/" target="_blank">Parallels</a>. Among the <a href="http://www.virtualbox.org/wiki/Changelog" target="_blank">most notable additions</a> to the best-priced (free!) product in desktop/workstation virtualization are:</p>
<ul>
<li>Support for deleting snapshots while the VM is running</li>
<li>Support for multi-monitor guest setups in the GUI for Windows guests</li>
<li>RDP video acceleration</li>
<li>Memory ballooning to dynamically in- or decrease the amount of RAM used by a VM (64-bit hosts only)</li>
</ul>
<p>As you might already know, <a href="http://www.motogobi.com/useful-tools/editors-and-development-tools/">VirtualBox is my favorite virtualization product</a> for the desktop because of it&#8217;s rich feature set and support for both Windows and Mac. I recently scored over a 90% on my VCP exam in no small part to the ability to run a Windows VM on my Mac, allowing me to mobilize my study environment with ease. If you&#8217;re looking to simply get into virtualization with ease, and for free, <a href="http://www.virtualbox.org/" target="_blank">VirtualBox is definitely worth the download</a> and minimal install footprint.</p>
<p><a href="http://www.virtualbox.org/">http://www.virtualbox.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/05/23/virtualbox-3-2-major-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

