<?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>Tech Llama &#187; vSphere</title>
	<atom:link href="http://tech.lazyllama.com/tag/vsphere/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.lazyllama.com</link>
	<description>Lazyllama&#039;s Technology Pages</description>
	<lastBuildDate>Sat, 14 Jan 2012 21:12:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>vSphere PowerCLI: Moved your ISO datastore ? Reconnecting your CD-ROM drives</title>
		<link>http://tech.lazyllama.com/2011/07/28/vsphere-powercli-moved-your-iso-datastore-reconnecting-your-cd-rom-drives/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vsphere-powercli-moved-your-iso-datastore-reconnecting-your-cd-rom-drives</link>
		<comments>http://tech.lazyllama.com/2011/07/28/vsphere-powercli-moved-your-iso-datastore-reconnecting-your-cd-rom-drives/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 11:18:03 +0000</pubDate>
		<dc:creator>lazyllama</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://tech.lazyllama.com/?p=130</guid>
		<description><![CDATA[We recently moved our ISO store from a legacy NFS server to our main NFS filer. The first task was copying the actual files, which can be done via any machine that has both datastores mounted (with read-write access to the destination store). The more significant job is reconfiguring the VMs to use the copies [...]]]></description>
			<content:encoded><![CDATA[<p>We recently moved our ISO store from a legacy NFS server to our main NFS filer.</p>
<p>The first task was copying the actual files, which can be done via any machine that has both datastores mounted (with read-write access to the destination store).</p>
<p>The more significant job is reconfiguring the VMs to use the copies of the ISOs in the new datastore.</p>
<p>Here&#8217;s the PowerCLI script I used:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #008000;">#</span>
<span style="color: #008000;"># Disconnect all CD/DVD ISOs on a particular datastore and reconnect them to the new datastore</span>
<span style="color: #008000;">#</span>
<span style="color: #800080;">$myvcenter</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;myvcenter.host.net&quot;</span>
<span style="color: #800080;">$mydatacenter</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;BigDC1&quot;</span>
<span style="color: #800080;">$originalISOstore</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;MyFirstISOstore&quot;</span>
<span style="color: #800080;">$finalISOstore</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;MuchBetterISOstore&quot;</span>
&nbsp;
Connect<span style="color: pink;">-</span>VIServer <span style="color: #800080;">$myvcenter</span>
&nbsp;
<span style="color: #000000;">&#40;</span>Get<span style="color: pink;">-</span>VM <span style="color: pink;">-</span>Location: <span style="color: #000000;">&#40;</span>Get<span style="color: pink;">-</span>Datacenter <span style="color: #800080;">$mydatacenter</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">|</span> <span style="color: #0000FF;">ForEach</span> <span style="color: #000000;">&#40;</span> <span style="color: #000080;">$_</span> <span style="color: #000000;">&#41;</span> 
	<span style="color: #000000;">&#123;</span> 
	<span style="color: #800080;">$myDrive</span> <span style="color: pink;">=</span> Get<span style="color: pink;">-</span>CDDrive <span style="color: #000080;">$_</span>
	<span style="color: #0000FF;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$myDrive</span>.IsoPath <span style="color: #FF0000;">-match</span> <span style="color: #800000;">&quot;\[&quot;</span><span style="color: pink;">+</span><span style="color: #800080;">$originalISOstore</span><span style="color: pink;">+</span><span style="color: #800000;">&quot;\]&quot;</span><span style="color: #000000;">&#41;</span> 
		<span style="color: #000000;">&#123;</span>
		Set<span style="color: pink;">-</span>CDDrive <span style="color: pink;">-</span><span style="color: #008080; font-weight: bold;">CD</span> <span style="color: #800080;">$myDrive</span> <span style="color: pink;">-</span>IsoPath <span style="color: #000000;">&#40;</span><span style="color: #800080;">$myDrive</span>.IsoPath <span style="color: #FF0000;">-replace</span> <span style="color: #800080;">$originalISOstore</span><span style="color: pink;">,</span> <span style="color: #800080;">$finalISOstore</span><span style="color: #000000;">&#41;</span> <span style="color: #008080; font-style: italic;">-Confirm</span>:<span style="color: #800080;">$false</span>  
		<span style="color: #000000;">&#125;</span> 
	<span style="color: #000000;">&#125;</span>
Disconnect<span style="color: pink;">-</span>VIServer <span style="color: #800080;">$myvcenter</span> <span style="color: #008080; font-style: italic;">-confirm</span>:$false</pre></td></tr></table></div>

<p>It&#8217;s fairly self-explanatory. </p>
<p>The biggest caveat with this is that it assumes that the source and destination stores have the same structure, but it wouldn&#8217;t be difficult to amend it to change the destination path slightly.</p>
<div id="tweetbutton130" class="tw_button" style="float:left;margin-right:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Ftech.lazyllama.com%2F2011%2F07%2F28%2Fvsphere-powercli-moved-your-iso-datastore-reconnecting-your-cd-rom-drives%2F&amp;text=vSphere%20PowerCLI%3A%20Moved%20your%20ISO%20datastore%20%3F%20Reconnecting%20your%20CD-ROM%20drives&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftech.lazyllama.com%2F2011%2F07%2F28%2Fvsphere-powercli-moved-your-iso-datastore-reconnecting-your-cd-rom-drives%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tech.lazyllama.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://tech.lazyllama.com/2011/07/28/vsphere-powercli-moved-your-iso-datastore-reconnecting-your-cd-rom-drives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vSphere HA Slot Sizes</title>
		<link>http://tech.lazyllama.com/2011/02/15/vsphere-ha-slot-sizes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vsphere-ha-slot-sizes</link>
		<comments>http://tech.lazyllama.com/2011/02/15/vsphere-ha-slot-sizes/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 17:31:20 +0000</pubDate>
		<dc:creator>lazyllama</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ha]]></category>
		<category><![CDATA[slot size]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://tech.lazyllama.com/?p=92</guid>
		<description><![CDATA[vSphere HA slot sizes are used to calculate the number of VMs that can be powered on in an HA cluster with &#8220;Host failures cluster tolerates&#8221; selected. The slots size is calculated based on the size of reservations on the VMs in the cluster. HA Admission Control then prevents new VMs being powered on if [...]]]></description>
			<content:encoded><![CDATA[<p>vSphere HA <strong>slot sizes</strong> are used to calculate the number of VMs that can be powered on in an HA cluster with <strong>&#8220;Host failures cluster tolerates</strong>&#8221; selected. The slots size is calculated based on the size of reservations on the VMs in the cluster. HA Admission Control then prevents new VMs being powered on if it would not leave any slots available should a host fail.</p>
<p>The slot size for a cluster can be seen by going to the <strong>Summary Page</strong> for the cluster and clicking the &#8220;<em>Advanced Runtime Info</em>&#8221; link in the HA box.</p>
<p>If none of the VMs have CPU or RAM reservations, a <strong>default of 256MHz and 0GB</strong> is used.</p>
<p>The slots per host is derived by taking the total available CPU/RAM for the host and dividing by the slot size. Some CPU is reserved for the system so it will usually be a little lower than the full amount. So a host with 2xquad-core 2.4GHz CPUs (total 19.2GHz) and no VM CPU or RAM reservations has 73 slots and will only allow 73 VMs to be powered on if the cluster has two hosts and is set to protect against a single host failure.</p>
<p>Obviously this allows a very minimal amount of resource for each VM, so either reservations should be set for each VM, or slots size can be manually adjusted (see the <strong>VMware vSphere Availability Guide</strong> (<a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_availability.pdf">pdf</a>) for full details).</p>
<p>Note that the slot size is used for admission control calculations only. It has no direct effect on the resources available to VMs should an HA event occur.</p>
<p>There is a <strong>VMware Knowledgebase</strong> article (<a href="http://kb.vmware.com/kb/1010594">1010594</a>) which  has some details of the difference in VI3 and vSphere 4.x.</p>
<div id="tweetbutton92" class="tw_button" style="float:left;margin-right:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Ftech.lazyllama.com%2F2011%2F02%2F15%2Fvsphere-ha-slot-sizes%2F&amp;text=vSphere%20HA%20Slot%20Sizes&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftech.lazyllama.com%2F2011%2F02%2F15%2Fvsphere-ha-slot-sizes%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tech.lazyllama.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://tech.lazyllama.com/2011/02/15/vsphere-ha-slot-sizes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vSphere: Attempting to add NFS datastore &#8211; &#8220;Error performing operation: Unable to create object, volume Name not valid&#8221;</title>
		<link>http://tech.lazyllama.com/2010/09/29/vsphere-attempting-to-add-nfs-datastore-error-performing-operation-unable-to-create-object-volume-name-not-valid/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vsphere-attempting-to-add-nfs-datastore-error-performing-operation-unable-to-create-object-volume-name-not-valid</link>
		<comments>http://tech.lazyllama.com/2010/09/29/vsphere-attempting-to-add-nfs-datastore-error-performing-operation-unable-to-create-object-volume-name-not-valid/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 16:40:13 +0000</pubDate>
		<dc:creator>lazyllama</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[vifs.pl]]></category>
		<category><![CDATA[vMA]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://tech.lazyllama.com/?p=86</guid>
		<description><![CDATA[We&#8217;ve had this error on ESX 3.5 and 4.0 hosts, both ESX and ESXi. When trying to add a new NFS datastore we get the above error message, both in the vSphere Client and when using the command-line tools. Logging on to the Service Console on an affected host, &#8220;esxcfg-nas -l&#8221; also results in the [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve had this error on ESX 3.5 and 4.0 hosts, both ESX and ESXi.<br />
When trying to add a new NFS datastore we get the above error message, both in the vSphere Client and when using the command-line tools.</p>
<p>Logging on to the Service Console on an affected host, &#8220;esxcfg-nas -l&#8221; also results in the same error.</p>
<p>The cause is invalid entries in the /etc/vmware/esx.conf file. Fortunately, it seems to be possible to remove the bad entries and the host then starts working properly without a reboot.</p>
<p>In our case, the bad entries looked like:<br />
<code>/nas/./enabled = "false"<br />
/nas/./host = "1"<br />
/nas/./share = "0"</code><br />
whereas valid entries are recognisable:<br />
<code>/nas/vmdesktop/enabled = "true"<br />
/nas/vmdesktop/host = "10.0.0.100"<br />
/nas/vmdesktop/readOnly = "false"<br />
/nas/vmdesktop/share = "/vol/vmdesktop"</code></p>
<p>As I mention above, fixing it on ESX isn&#8217;t too hard, just edit /etc/vmware/esx.conf using nano or vi as root, being careful not to affect any other lines.</p>
<p>On ESXi, it&#8217;s a little more tricky as you can&#8217;t readily log on and edit files without enabling Technical Support mode.</p>
<p>It is, however, possible to edit esx.conf via the Remote CLI (Linux or Windows) or using the vMA.</p>
<p>Below are some example commands which grabs the esx.conf file, edit it using &#8216;sed&#8217;, and then put the altered file back on the host.</p>
<p><code>vifs -get /host/esx.conf work.conf<br />
cat work.conf | sed -e '/\/nas\/\./d' &gt; fixed.conf<br />
vifs.pl -put fixed.conf /host/esx.conf<br />
</code></p>
<p>The &#8216;sed&#8217; command will probably need to change for you, depending on what the invalid lines look like. You can just use nano or vi on Linux or the vMA to do the edit, but if you&#8217;re using Windows you may find that Notepad and Wordpad either don&#8217;t display the file clearly or convert the line endings from Unix format to DOS. Using the free VIM for Windows (http://www.vim.org/download.php) will let you keep the file in the same format.</p>
<p>After making those changes, it was possible to add NFS datastores as normal.</p>
<div id="tweetbutton86" class="tw_button" style="float:left;margin-right:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Ftech.lazyllama.com%2F2010%2F09%2F29%2Fvsphere-attempting-to-add-nfs-datastore-error-performing-operation-unable-to-create-object-volume-name-not-valid%2F&amp;text=vSphere%3A%20Attempting%20to%20add%20NFS%20datastore%20%26%238211%3B%20%26%238220%3BError%20performing%20operation%3A%20Unable%20to%20create%20object%2C...%20&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftech.lazyllama.com%2F2010%2F09%2F29%2Fvsphere-attempting-to-add-nfs-datastore-error-performing-operation-unable-to-create-object-volume-name-not-valid%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tech.lazyllama.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://tech.lazyllama.com/2010/09/29/vsphere-attempting-to-add-nfs-datastore-error-performing-operation-unable-to-create-object-volume-name-not-valid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add multiple datastores to multiple vSphere hosts</title>
		<link>http://tech.lazyllama.com/2010/09/17/add-multiple-datastores-to-multiple-vsphere-hosts/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=add-multiple-datastores-to-multiple-vsphere-hosts</link>
		<comments>http://tech.lazyllama.com/2010/09/17/add-multiple-datastores-to-multiple-vsphere-hosts/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 14:33:35 +0000</pubDate>
		<dc:creator>lazyllama</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://tech.lazyllama.com/?p=78</guid>
		<description><![CDATA[In large vSphere environments it can be very tedious to add multiple NFS datastores to lots of hosts. PowerCLI comes to the rescue as usual. I needed to add some datastores to all the clustered hosts in a single datacenter, but to skip our non-clustered standalone hosts which are used for backups. A bit of [...]]]></description>
			<content:encoded><![CDATA[<p>In large vSphere environments it can be very tedious to add multiple NFS datastores to lots of hosts.<br />
PowerCLI comes to the rescue as usual.</p>
<p>I needed to add some datastores to all the clustered hosts in a single datacenter, but to skip our non-clustered standalone hosts which are used for backups.</p>
<p>A bit of PowerCLI which should be fairly self-explanatory:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
</pre></td><td class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #008000;">#</span>
<span style="color: #008000;">#  Add Datastores to all hosts in all clusters in a specified datacenter</span>
<span style="color: #008000;">#  If a host isn't in a cluster it won't get the datastore</span>
<span style="color: #008000;">#  Easy enough to change to do all hosts in a datacenter, all in vCenter etc</span>
<span style="color: #008000;">#</span>
<span style="color: #008000;">#  Change the value below to point it to your own vCenter</span>
<span style="color: #800080;">$myvCenter</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;vcenter.example.com&quot;</span>
&nbsp;
<span style="color: #008000;"># Array of arrays below holds NFS-hostname, NFS-path and Datastore name, should be easy to add to</span>
<span style="color: #800080;">$nfsArray</span> <span style="color: pink;">=</span> <span style="color: pink;">@</span><span style="color: #000000;">&#40;</span>
			  <span style="color: pink;">@</span><span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot;nfsserver1&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;/vol/nfspath1&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;VMstore1&quot;</span><span style="color: #000000;">&#41;</span><span style="color: pink;">,</span>
			  <span style="color: pink;">@</span><span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot;nfsserver2&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;/vol/nfspath2&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;VMstore2&quot;</span><span style="color: #000000;">&#41;</span><span style="color: pink;">,</span>
			  <span style="color: pink;">@</span><span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot;nfsserver3&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;/vol/nfspath3&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;VMstore3&quot;</span><span style="color: #000000;">&#41;</span>
			 <span style="color: #000000;">&#41;</span>
&nbsp;
<span style="color: #800080;">$datacenter</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Read-Host</span> <span style="color: #008080; font-style: italic;">-Prompt</span> <span style="color: #800000;">&quot;Datacenter name&quot;</span>
&nbsp;
<span style="color: #008080; font-weight: bold;">Write-Host</span> <span style="color: #800000;">&quot;Datacenter is $datacenter&quot;</span>
&nbsp;
connect<span style="color: pink;">-</span>viserver <span style="color: pink;">-</span>server <span style="color: #800080;">$myvCenter</span>
&nbsp;
<span style="color: #008000;">#</span>
<span style="color: #008000;"># Get all hosts in all clusters in the named datacenter</span>
<span style="color: #800080;">$ObjAllHosts</span> <span style="color: pink;">=</span> get<span style="color: pink;">-</span>datacenter <span style="color: #008080; font-style: italic;">-name</span> <span style="color: #800080;">$datacenter</span> <span style="color: pink;">|</span> Get<span style="color: pink;">-</span>Cluster  <span style="color: pink;">|</span>  Get<span style="color: pink;">-</span>VMHost 
&nbsp;
<span style="color: #0000FF;">ForEach</span><span style="color: #000000;">&#40;</span><span style="color: #800080;">$objHost</span> <span style="color: #0000FF;">in</span> <span style="color: #800080;">$ObjAllHosts</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
	<span style="color: #0000FF;">ForEach</span><span style="color: #000000;">&#40;</span><span style="color: #800080;">$nfsItem</span> <span style="color: #0000FF;">in</span> <span style="color: #800080;">$nfsArray</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
&nbsp;
      <span style="color: #008080; font-weight: bold;">Write-Host</span> <span style="color: #800000;">&quot;Adding datastore&quot;</span> <span style="color: #800080;">$nfsItem</span><span style="color: #000000;">&#91;</span><span style="color: #804000;">2</span><span style="color: #000000;">&#93;</span> <span style="color: #800000;">&quot;with path&quot;</span> <span style="color: #800080;">$nfsItem</span><span style="color: #000000;">&#91;</span><span style="color: #804000;">0</span><span style="color: #000000;">&#93;</span><span style="color: #800000;">&quot;:&quot;</span><span style="color: #800080;">$nfsItem</span><span style="color: #000000;">&#91;</span><span style="color: #804000;">1</span><span style="color: #000000;">&#93;</span> <span style="color: #800000;">&quot;to&quot;</span> <span style="color: #800080;">$objHost</span>
      New<span style="color: pink;">-</span>Datastore <span style="color: pink;">-</span>Nfs <span style="color: pink;">-</span>NfsHost <span style="color: #800080;">$nfsItem</span><span style="color: #000000;">&#91;</span><span style="color: #804000;">0</span><span style="color: #000000;">&#93;</span> <span style="color: #008080; font-style: italic;">-Path</span> <span style="color: #800080;">$nfsItem</span><span style="color: #000000;">&#91;</span><span style="color: #804000;">1</span><span style="color: #000000;">&#93;</span> <span style="color: #008080; font-style: italic;">-Name</span> <span style="color: #800080;">$nfsItem</span><span style="color: #000000;">&#91;</span><span style="color: #804000;">2</span><span style="color: #000000;">&#93;</span> <span style="color: pink;">-</span>VMHost <span style="color: #000000;">&#40;</span>Get<span style="color: pink;">-</span>VMHost <span style="color: #800080;">$objHost</span><span style="color: #000000;">&#41;</span>
    <span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
disconnect<span style="color: pink;">-</span>viserver <span style="color: pink;">-</span>server <span style="color: #800080;">$myvCenter</span> <span style="color: #008080; font-style: italic;">-Confirm</span>:$false</pre></td></tr></table></div>

<div id="tweetbutton78" class="tw_button" style="float:left;margin-right:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Ftech.lazyllama.com%2F2010%2F09%2F17%2Fadd-multiple-datastores-to-multiple-vsphere-hosts%2F&amp;text=Add%20multiple%20datastores%20to%20multiple%20vSphere%20hosts&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftech.lazyllama.com%2F2010%2F09%2F17%2Fadd-multiple-datastores-to-multiple-vsphere-hosts%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tech.lazyllama.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://tech.lazyllama.com/2010/09/17/add-multiple-datastores-to-multiple-vsphere-hosts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vSphere 4.1 ESXi Installable on USB?</title>
		<link>http://tech.lazyllama.com/2010/07/15/vsphere-4-1-esxi-installable-on-usb/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vsphere-4-1-esxi-installable-on-usb</link>
		<comments>http://tech.lazyllama.com/2010/07/15/vsphere-4-1-esxi-installable-on-usb/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 10:18:33 +0000</pubDate>
		<dc:creator>lazyllama</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://tech.lazyllama.com/?p=71</guid>
		<description><![CDATA[Looking at the ESXi Installable Setup guides for 4.1 and 4.0 reveals a change. In 4.0 under System Requirements, a USB drive was listed as a possible boot device, as well as being usable for installation. So you could stick in your installation media and select USB as the destination. Under 4.1, USB is no [...]]]></description>
			<content:encoded><![CDATA[<p>Looking at the ESXi Installable Setup guides for 4.1 and 4.0 reveals a change. In 4.0 under System Requirements, a USB drive was listed as a possible boot device, as well as being usable for installation. So you could stick in your installation media and select USB as the destination.</p>
<p>Under 4.1, USB is no longer listed in the documentation as a bootable device, though boot from SAN devices via HBAs is now supported.</p>
<p>I&#8217;ve not checked whether you can actually install ESXi Installable 4.1 to a USB drive. It may well be possible, but I suspect it&#8217;s dropped off the &#8220;Supported&#8221; list of options.</p>
<p>The only reason I can see to drop support for putting Installable onto USB is to encourage people to purchase and use ESXi Embedded from their hardware supplier instead.</p>
<p><strong>**UPDATE 2nd March 2011**</strong></p>
<p>VMware have posted a clarification Knowledgebase article about the<a title="VMware support for booting ESXi from USB or SD" href="http://kb.vmware.com/kb/1010574"> support for USB and SD for booting ESXi</a>.</p>
<blockquote>
<div>You can install ESXi 4.x to a USB or SD flash storage device directly attached to the server. This option is intended to allow you to gain experience with deploying a virtualized server without relying on traditional hard disks. However, VMware supports this option only under these conditions:</div>
<ul>
<li>The server on which you want to install ESXi 4.x is on the ESXi 4.x <a href="http://www.vmware.com/resources/compatibility/search.php" target="_blank">Hardware Compatibility Guide</a>.
<p>AND</li>
<li>You have purchased a server with ESXi 4.x Embedded on the server from a certified vendor.
<p>OR</li>
<li>You have used a USB or SD flash device that is approved by the server vendor for the particular server model on which you want to install ESXi 4.x on a USB or SD flash storage device.</li>
</ul>
<p>If you intend to install ESXi 4.x on a USB or SD flash storage device while ensuring VMware support for it and you have not purchased a server with embedded ESXi 4.x, consult your server vendor for the appropriate choice of a USB or SD flash storage device.</p></blockquote>
<p>So as I suspected, it&#8217;s only supported if you install either using &#8220;Embedded&#8221; or on a device approved by the server vendor.</p>
<p>It does work absolutely fine on a normal USB stick, the host that this web server runs from boots from such an item in fact. It&#8217;s just not supported by VMware.</p>
<p>Worth noting that an approved 2GB USB stick from HP will cost you approx £75, about 15 times the going rate&#8230;</p>
<div id="tweetbutton71" class="tw_button" style="float:left;margin-right:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Ftech.lazyllama.com%2F2010%2F07%2F15%2Fvsphere-4-1-esxi-installable-on-usb%2F&amp;text=vSphere%204.1%20ESXi%20Installable%20on%20USB%3F&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftech.lazyllama.com%2F2010%2F07%2F15%2Fvsphere-4-1-esxi-installable-on-usb%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tech.lazyllama.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://tech.lazyllama.com/2010/07/15/vsphere-4-1-esxi-installable-on-usb/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>After vSphere 4.1 &#8211; what will be going</title>
		<link>http://tech.lazyllama.com/2010/07/15/after-vsphere-4-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=after-vsphere-4-1</link>
		<comments>http://tech.lazyllama.com/2010/07/15/after-vsphere-4-1/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 10:04:19 +0000</pubDate>
		<dc:creator>lazyllama</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://tech.lazyllama.com/?p=63</guid>
		<description><![CDATA[vSphere 4.1 has been out for a couple of days now. As well as the new features which have been covered extensively (see What&#8217;s New), the release notes list some future changes for the product range. They&#8217;re not really hidden but haven&#8217;t been given much publicity. ESX will be dropped in future releases, with ESXi [...]]]></description>
			<content:encoded><![CDATA[<p>vSphere 4.1 has been out for a couple of days now.</p>
<p>As well as the new features which have been covered extensively (see <a href="http://www.vmware.com/support/vsphere4/doc/vsp_41_new_feat.html">What&#8217;s New</a>), the <a href="http://www.vmware.com/support/vsphere4/doc/vsp_esx41_vc41_rel_notes.html">release notes</a> list some future changes for the product range. They&#8217;re not really hidden but haven&#8217;t been given much publicity.</p>
<ul>
<li>ESX will be dropped in future releases, with ESXi being the hypervisor product for vSphere.</li>
<li>Future versions of vCenter Update Manager will not scan or remediate guest OSes. I presume the cross-licensing costs of using Shavlik were outweighing any benefit. UM will continue to scan and update ESXi hosts. and presumably aid in conversion of ESX hosts to ESXi.</li>
<li>VMware vCenter Converter plugin and VMware vCenter Guided Consolidation are also going away in future versions. Converter will continue in a standalone format rather than a vCenter plugin.</li>
<li>Web Access isn&#8217;t available on ESXi so that&#8217;ll be going away when ESX is dropped too</li>
</ul>
<p>There are a few other items being dropped such as support for some versions of Linux  in guests, VMI paravirtualization support, and MSCS in Windows 2000 but they aren&#8217;t as widely used.</p>
<div id="tweetbutton63" class="tw_button" style="float:left;margin-right:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Ftech.lazyllama.com%2F2010%2F07%2F15%2Fafter-vsphere-4-1%2F&amp;text=After%20vSphere%204.1%20%26%238211%3B%20what%20will%20be%20going&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftech.lazyllama.com%2F2010%2F07%2F15%2Fafter-vsphere-4-1%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tech.lazyllama.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://tech.lazyllama.com/2010/07/15/after-vsphere-4-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

