<?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>v12n</title>
	<atom:link href="http://www.v12n.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.v12n.com</link>
	<description>a numeronym for virtualization</description>
	<lastBuildDate>Tue, 19 Feb 2013 10:15:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Who is clogging my router?</title>
		<link>http://www.v12n.com/?p=436</link>
		<comments>http://www.v12n.com/?p=436#comments</comments>
		<pubDate>Tue, 19 Feb 2013 10:15:41 +0000</pubDate>
		<dc:creator>jahansen</dc:creator>
				<category><![CDATA[Benchmark]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.v12n.com/?p=436</guid>
		<description><![CDATA[A little while ago we experienced really poor Internet performance at work. It is not the best  connection, but the experience indicated that something was wrong. In a simple Internet configuration with Cisco router; How to identify who is clogging the network? Here is a network diagram of the connection: The Cisco router is the [...]]]></description>
				<content:encoded><![CDATA[<p>A little while ago we experienced really poor Internet performance at work. It is not the best  connection, but the experience indicated that something was wrong. In a simple Internet configuration with Cisco router; How to identify who is clogging the network?</p>
<p>Here is a network diagram of the connection:</p>
<p><a href="http://www.v12n.com/?attachment_id=438" rel="attachment wp-att-438"><img class="aligncenter size-medium wp-image-438" title="Internet Connection" src="http://www.v12n.com/wordpress/wp-content/uploads/2013/02/Internet-connection-simple-300x77.png" alt="" width="300" height="77" /></a></p>
<p>The Cisco router is the only device we fully control in this configuration. The ADSL modem is configured and managed by our ISP. The Cisco router is a 2651XM running IOS 12.2 &#8211; not the latest and greates router, but it works &#8211; most of the time.</p>
<p>Today someone was clogging the network&#8230;</p>
<h2><span id="more-436"></span>Troubleshooting</h2>
<p>I tend to use Googles&#8217; DNS server, 8.8.8.8, to verify my Internet connection. I have yet to experience that this server is down. Running a ping to this server indicated a very high latency.</p>
<pre>jahansen@H720:~$ <strong>ping 8.8.8.8</strong>
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=2 ttl=47 time=820 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=47 time=974 ms
64 bytes from 8.8.8.8: icmp_req=4 ttl=47 time=1100 ms
64 bytes from 8.8.8.8: icmp_req=5 ttl=47 time=741 ms</pre>
<p>The latency is normally somewhere between 20-50ms. Which device is adding all this latency? A traceroute (tracepath/tracert) to the same server revealed the where:</p>
<pre>jahansen@H720:~$ tracepath -n 8.8.8.8
 1: 192.168.0.177     0.122ms   pmtu 1500
 1: 192.168.0.1       2.300ms 
 1: 192.168.0.1       2.363ms 
 2: 2x.1x.1x.x3       5.272ms 
 3: 2x.1x.1x.x3       3.521ms   pmtu 1492
 3: x0.x2.x3.1        854.072ms 
 4: x4.x8.x4.61       940.408ms   asymm 6 
 5: x4.x8.x3.18       942.447ms</pre>
<p>When looking at the latency of the traceroute, no significant (on this network) latency is added from my client to the Cisco router. The same goes for the Link network between our router and the ISP ADSL modem, but look at the next line. My data is having a really hard time getting from the modem to the next router adding &gt;850ms latency. No wonder the Internet connection appears to have an error.</p>
<p>The added latency can be a result of multiple issues, but in this case; Some technical issue in the network outside this building or someone inside is clogging the line making the queue to build up.</p>
<p>I did a quick Google search to find the commands and it appears to be really simple to &#8220;monitor&#8221; clients on the inside. It is done by enabling flow monitoring on the inside interface of the NAT. In this case, the FastEthernet 0/1 is the NAT inside.</p>
<pre>router#conf t
router(config)# <strong>interface FastEthernet 0/1</strong>   #Inside interface of the NAT
router(config-if)# <strong>ip route-cache flow </strong></pre>
<p>Once ip route-cache flow is enabled, give it 10 sec or something to get the counters running. Now, to list all clients and the number of packets they have transmitted/received</p>
<pre>router(config-if)# <strong>do show ip cache flow </strong></pre>
<p>The size of the list depends on who many connected clients. Pay attention to the last column; Pkts</p>
<pre>SrcIf  SrcIPaddress   DstIf   DstIPaddress  Pr  SrcP  DstP  <strong>Pkts</strong>
Fa0/1  192.168.0.217  Fa0/0   1x.16.1x8.1   11  FCD8  00A1  3 
Fa0/1  192.168.0.177  Fa0/0   4x.x9.x2.179  11  C542  1A26  <strong>197</strong> 
Fa0/1  192.168.0.226  Fa0/0   1x3.1x4.x32.7 06  E5D8  01BB  1 
Fa0/1  192.168.0.177  Fa0/0   1x.x8.11x.4   06  DF52  0050  <strong>15K</strong></pre>
<p>In this case, the number of packets the devices with the 177 IP address is increasing significantly faster than other devices &#8211; and 177 happens to be my IP address&#8230; Wooops. <img src='http://www.v12n.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The case with the 177 address being the sinner is just an example. In the real case someone was uploading a large file to Dropbox. The ADSL upload speed is somewhat limited and the result being very poor performance both ways.</p>
<p>Have a look at the <a href="http://www.v12n.com/mediawiki/index.php/Flow_Monitoring">Wiki pages</a> for the short version.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.v12n.com/?feed=rss2&#038;p=436</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reclaim thin provisioned disk &#8211; Windows</title>
		<link>http://www.v12n.com/?p=395</link>
		<comments>http://www.v12n.com/?p=395#comments</comments>
		<pubDate>Thu, 20 Dec 2012 16:47:58 +0000</pubDate>
		<dc:creator>jahansen</dc:creator>
				<category><![CDATA[R & D]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware vSphere]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[Thin Provisioning]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.v12n.com/?p=395</guid>
		<description><![CDATA[A couple of days back I wrote a post where I reclaimed wasted disk space on a Solaris JumpStart virtual appliance. I thought; &#8220;I do have a couple of Windows based virtual machine templates where this might work&#8221;. The background info is the same as the previous post so I&#8217;ll move straight to the &#8220;doer&#8221; [...]]]></description>
				<content:encoded><![CDATA[<p>A couple of days back I wrote a post where I reclaimed wasted disk space on a Solaris JumpStart virtual appliance. I thought; &#8220;I do have a couple of Windows based virtual machine templates where this might work&#8221;. The background info is the same as the previous post so I&#8217;ll move straight to the &#8220;doer&#8221; part.</p>
<p>For this post I preparing a Windows XP VM with 20GB c: drive and 10GB e: drive and I&#8217;m going to use the e: drive in this example. Before adding any data to the VM is using &lt;4GB disk even though it has 30GB provisioned. (The additional GB is the VM swap file).</p>
<p style="text-align: center;"><a href="http://www.v12n.com/?attachment_id=387" rel="attachment wp-att-387"><img class="aligncenter" title="reclaim-winxp-01" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/reclaim-winxp-01-200x159.png" alt="" width="200" height="159" /></a></p>
<p>Lets start adding data.</p>
<p><span id="more-395"></span></p>
<p>I have added two iso files to the e: drive. As we can see the used space has increased accordingly.</p>
<p><a href="http://www.v12n.com/?attachment_id=388" rel="attachment wp-att-388"><img class="aligncenter size-thumbnail wp-image-388" title="reclaim-winxp-02-added-two" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/reclaim-winxp-02-added-two-200x67.png" alt="" width="200" height="67" /></a></p>
<p>Lets delete one of the ISO files and see what happens.</p>
<p><a href="http://www.v12n.com/?attachment_id=390" rel="attachment wp-att-390"><img class="aligncenter size-thumbnail wp-image-390" title="reclaim-winxp-03-rm-one" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/reclaim-winxp-03-rm-one-200x67.png" alt="" width="200" height="67" /></a></p>
<p>Yeah, the e: drive got some more breathing space, but the <em>used storage </em>is still the exact same as the one about. Why is that? Well, the same applies here as with the Solaris JumpStart server; When a file is deleted from the file system, the blocks on the disk still contains data, but the pointer is removed. This is why it is possible to recover deleted files from a hard drive. To &#8220;free&#8221; the wasted blocks, we need to zeroize the blocks.</p>
<p>Many suggest using SDelete from Sysinternals (Microsoft) to do this. It is a command line tool that works perfectly, if you&#8217;re zeroizing the <strong>c: </strong>drive. In my case I&#8217;m trying to zeroize my <strong>e:</strong> drive and there is a bug in SDelete 1.6 that ignores the driver letter parameter. On one of my templates I did this using SDelete and it just works. I observed that a file was created directly on c:\ that got very large during run and got deleted at the end, pretty much the same as doing a dd from /dev/zero.</p>
<p>Due to the bug in SDelete, I decided to try <em>dd for Windows </em>from <a title="chrysocome.net" href="http://www.chrysocome.net" target="_blank">chrysocome.net</a> instead. It works just like dd on unix using virtual devices for <em>/dev/zero </em>since that device does not exist on Windows.</p>
<p>I decided to go with version 0.5. Downloaded, extracted to c:\ and executed the dd command to fill my e: drive with zeroes.</p>
<p style="text-align: center;"><a href="http://www.v12n.com/?attachment_id=391" rel="attachment wp-att-391"><img class="aligncenter" title="reclaim-winxp-04-dd-zero" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/reclaim-winxp-04-dd-zero-200x80.png" alt="" width="200" height="80" /></a></p>
<p>The e: drive contains a file full of zeroes and the operating system reports that the drive is full. Zeroes in a file is valid data as well, so to free the wasted space from the OS, delete the file.</p>
<pre>c:\dd-05\&gt;<strong>del e:\dd.file</strong></pre>
<p>The OS reports that there is available disk space on e: now, but on the datastore the VM is  still using the blocks.<strong> </strong>Use<strong> vmkfstools </strong>free the zeroized blocks on the datastore. Before executing vmkfstools the VM have to be shut down. Power off the the VM and open a shell on the ESXi host. I&#8217;m using ssh. I added an additional disk to show this procedure and I need to identify this disk.</p>
<p style="text-align: center;"><a href="http://www.v12n.com/?attachment_id=392" rel="attachment wp-att-392"><img class="aligncenter" title="reclaim-winxp-05-id-disk" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/reclaim-winxp-05-id-disk-200x69.png" alt="" width="200" height="69" /></a></p>
<p>The .vmdk file is the configuration file for the virtual disk and the -flat.vmdk is the actual file. Execute the vmkfstools command with the -K option and provide the full path to the .vmdk file as parameter.</p>
<pre>~# <strong>vmkfstools -K /vmfs/volumes/Local_SSD_Dell/xp-x86-relcaim/xp-x86-reclaim_1.vmdk</strong></pre>
<p>And voila, have a look at that! I&#8217;m down to approx 6GB again which is the c: drive and one .iso file on the e: drive.</p>
<p style="text-align: center;"><a href="http://www.v12n.com/?attachment_id=393" rel="attachment wp-att-393"><img class="aligncenter" title="reclaim-winxp-06-vmkfstools" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/reclaim-winxp-06-vmkfstools-200x39.png" alt="" width="200" height="39" /></a></p>
<p>This is how the wasted thin provisioned datastore usage can be reclaimed on a Windows based virtual machine. I have done this on both Windows XP and Windows 7 with the same result.</p>
<p>Good luck reclaiming disk space.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.v12n.com/?feed=rss2&#038;p=395</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Reclaim thin provisioned disk space</title>
		<link>http://www.v12n.com/?p=381</link>
		<comments>http://www.v12n.com/?p=381#comments</comments>
		<pubDate>Wed, 12 Dec 2012 00:23:02 +0000</pubDate>
		<dc:creator>jahansen</dc:creator>
				<category><![CDATA[R & D]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware vSphere]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.v12n.com/?p=381</guid>
		<description><![CDATA[In a VMware vSphere environment thin provisioning of disk space is a feature where the virtual machine disk file increase over time as files are added to the virtual machine. The idea is to avoid allocating disk space unnecessary on the datastore. When using thick provisioning all disk space is allocated up front. Create a new virtual machine with [...]]]></description>
				<content:encoded><![CDATA[<p>In a VMware vSphere environment <em>thin provisioning</em> of disk space is a feature where the virtual machine disk file increase over time as files are added to the virtual machine. The idea is to avoid allocating disk space unnecessary on the datastore. When using thick provisioning all disk space is allocated up front.</p>
<p>Create a new virtual machine with a single hard disk of 20GB. Independent of which disk type chosen, the OS will see a 20GB disk. A <em>thick </em>provisioned disk will use 20GB on the storage device, while a <em>thin</em> provisioned will increase over time. After installing the operating system and a few apps, the VM is using about 5GB on the datastore (Thin-25). Then copy a 5GB ISO file to the VM and it bumps up to 10GB datastore usage (Thin-50) and so on. This is where VMware distinguish between <em>provisioned</em> and <em>used</em> disk space when talking about resources.</p>
<p><img class="aligncenter size-thumbnail wp-image-382" title="vm-thick-vs-thin-disk" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/vm-thick-vs-thin-disk-200x96.png" alt="" width="200" height="96" /></p>
<p>I&#8217;m using thin provisioning all the time and I haven&#8217;t had any issues with it, but keep an eye on the free space on the datastore &#8211; you really don&#8217;t want to see 0kB there&#8230;</p>
<p>I said that thin provisioning is a feature where the disk file <em>increase </em>over time. When a file is deleted from the virtual machine OS the free space is available for the OS, but disk file on the datastore is not reduced and will keep using those blocks.</p>
<p>How can wasted and unused thin provisioned capacity be reclaimed? <span id="more-381"></span></p>
<p>For many of you this is old news and if you google it you&#8217;ll find this;</p>
<blockquote><p>Do a storage vMotion of the virtual machine to another datastore to reclaim unused blocks.</p></blockquote>
<p>This is the method I&#8217;ve been using the last few years as well and it works with vSphere 4.x, but it will not reclaim blocks for you on vSphere 5. The reason is that VMware introduced a new method when moving data. When doing a storage vMotion to a datastore with different block size the legacy datamover, <em>fsdm</em>, is used and blocks are reclaimed, but when moving to a datastore with the same block size the datamover introduced in vSphere 5, <em>fs3dm</em>, is used. Since VMFS5 is using only one block size, you might not have any datastores with different block size. As a result, the &#8220;work-around&#8221; to reclaim blocks using storage vMotion doesn&#8217;t work any more.</p>
<p>Thanks to Duncan Epping at <a title="yellow-bricks.com" href="http://www.yellow-bricks.com/2011/02/18/blocksize-impact/" target="_blank">yellow-bricks.com</a> for enlightening me on the block size impact and helping me understand why the storage vMotion work-around doesn&#8217;t work anymore.</p>
<h2>Solaris JumpStart Case</h2>
<p>Some say that reclaming disk space is a waste of time, but I had a case a couple of days back where I really wanted to. I have a Solaris JumpStart server VM that is running Solaris 10 on x86 and contains a <em>flar</em> image for a Sun SPARC servers. The JumpStart server is used to deploy Solaris operating system on physical hardware much like Windows Deployment Services is for Windows operating systems. This JumpStart server is exported to a Virtual Appliance and sent to multiple locations where the flar image is to be deployed. The VM has a single virtual disk of 100GB.</p>
<p>The Solaris operating system is using about 5GB (yes, a full install) and the flar image is about 7GB, plus some other stuff so when running <em>df -h </em>on the machine, it is using about 15GB. The virtual machine disk is thin provisioned and once exported I expected the size of the virtual appliance to be something similar. They are usually smaller due to compression, but the result was 24GB and I thought; &#8220;ahh, of course. At one point I did have 3 different flar images on the JumpStart server. I deleted two of them, so if I do a storage vMotion before exporting I&#8217;m all good&#8221;. Guess what, the appliance did not get any smaller.</p>
<p>In order to reclaim wasted disk space, the blocks available to the OS must be zeroized followed by some <em>vmkfstools</em> magic.</p>
<h2>Unix/Linux</h2>
<p>The jumpstart server virtual appliance is an ova file of about 24GB which contains the Solaris OS and a single flar image. <span style="color: #333333; font-style: normal; line-height: 24px;">When the appliance is deployed it is actually using approx 35GB.</span></p>
<p><a href="http://www.v12n.com/?attachment_id=397" rel="attachment wp-att-397"><img class="aligncenter size-thumbnail wp-image-397" title="reclaim-solaris-01-usage" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/reclaim-solaris-01-usage-200x159.png" alt="" width="200" height="159" /></a></p>
<p>Looking at the disk usage, the OS isn&#8217;t even aware that there are 24GB of used blocks, but the virtual machine disk file says otherwise. From the OS perspective, the partition where the flar image is stored, <em>/export, </em>is only using about 11GB. <a href="http://www.v12n.com/?attachment_id=398" rel="attachment wp-att-398"><img class="aligncenter size-thumbnail wp-image-398" title="reclaim-solaris-02-df-h" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/reclaim-solaris-02-df-h-200x97.png" alt="" width="200" height="97" /></a></p>
<p>I know this partition have been using much more at one point, so I&#8217;m gonna fill this partition with zeroes using dd. Since this VM has a 100GB disk, filling it with zeroes will take some time and be aware; the VM will require &lt;100GB of available storage on the datastore.</p>
<pre>root@jumpstart:/$<strong>dd if=/dev/zero of=/export/dd.file</strong>
write: No space left on device
166428705+0 records in
166428705+0 records out
root@jumpstart:/$</pre>
<p>The VM is now using almost all of the provisioned disk space, both from the vSphere and the OS perspective.</p>
<p><a href="http://www.v12n.com/?attachment_id=399" rel="attachment wp-att-399"><img class="aligncenter size-thumbnail wp-image-399" title="reclaim-solaris-03-dd-df-h" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/reclaim-solaris-03-dd-df-h-200x59.png" alt="" width="200" height="59" /></a></p>
<p>The /export partition contains a file full of zeroes and the operating system reports that the drive is full. A file containing only zeroes is a valid file as any other, so to free the wasted space from the OS, delete the file.</p>
<pre>root@jumpstart:/$<strong>rm /export/dd.file</strong>
root@jumpstart:/$<strong>df -h</strong>
Filesystem        size used avail capacity Mounted on
.
/dev/dsk/c1t0d0s7 90G  11G  78G   13%     /export
root@jumpstart:/$</pre>
<p>The OS reports that there is available disk space on /export, but the VM is still using the blocks on the datastore.<strong> </strong>Free the zeroized blocks on the datastore using <strong>vmkfstools </strong>available on the ESXi host. Before executing vmkfstools the VM have to be <strong>shut down</strong>. Power off the the VM and open a shell on the ESXi host. I&#8217;m using ssh. Execute the vmkfstools command with the -K option and provide the full path to the .vmdk file as parameter. (Sorry about the space in the path. My bad)</p>
<pre>vmkfstools -K /vmfs/volumes/Local_SSD_Dell/Jumpstart\ Server/Jumpstart\ Server.vmdk</pre>
<p>And voila, have a look at that! The VM is using approx 24GB on the datastore.</p>
<p><a href="http://www.v12n.com/?attachment_id=400" rel="attachment wp-att-400"><img class="aligncenter size-thumbnail wp-image-400" title="reclaim-solaris-04-vmkfstools" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/reclaim-solaris-04-vmkfstools-200x160.png" alt="" width="200" height="160" /></a></p>
<p>Exporting this &#8220;reclaimed&#8221; virtual machine to an .ova virtual appliance reduced the footprint of the appliance from approx 24GB to about 15GB! That&#8217;s more like it. In addition to reduction of the virtual appliance, the storage requirement when deploying has been reduced from 36GB to 25GB. <img src='http://www.v12n.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.v12n.com/?attachment_id=409" rel="attachment wp-att-409"><img class="aligncenter size-thumbnail wp-image-409" title="reclaim-solaris-05-ova-reduced" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/reclaim-solaris-05-ova-reduced-200x35.png" alt="" width="200" height="35" /></a></p>
<p>This is how the wasted thin provisioned datastore usage can be reclaimed on a Unix/Linux virtual machine and in this case it reduced the download size of the JumpStart server virtual appliance with almost 40%.</p>
<p>Maybe I&#8217;ll do one for Windows as well&#8230;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.v12n.com/?feed=rss2&#038;p=381</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Migrate vCenter to vCSA in VMware View environment–Part 2</title>
		<link>http://www.v12n.com/?p=337</link>
		<comments>http://www.v12n.com/?p=337#comments</comments>
		<pubDate>Tue, 04 Dec 2012 17:10:44 +0000</pubDate>
		<dc:creator>jahansen</dc:creator>
				<category><![CDATA[Desktop Virtualization]]></category>
		<category><![CDATA[Server virtualization]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware vCenter]]></category>
		<category><![CDATA[VMware vSphere]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vCSA]]></category>
		<category><![CDATA[View]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.v12n.com/?p=337</guid>
		<description><![CDATA[In the previous post I did a migration of my legacy vCenter server to the vCenter Server Appliance. I manually created the datacenter, cluster and folder structure with permission settings on the vCSA keeping the same layout as the legacy vCenter server. My three hosts where added to the cluster and all virtual machines moved [...]]]></description>
				<content:encoded><![CDATA[<p>In the previous post I did a migration of my legacy vCenter server to the vCenter Server Appliance. I manually created the datacenter, cluster and folder structure with permission settings on the vCSA keeping the same layout as the legacy vCenter server. My three hosts where added to the cluster and all virtual machines moved from the <em>Discovered virtual mahines</em> to their respective folders. I also did a manual upgrade of the ESXi hosts from 5.0 to 5.1 using the <em>esxcli software </em>command.</p>
<p>I tried to find a guide using google to do this, but without any luck. Lets have a look at how I changed the vCenter server managing the desktop pools.</p>
<p><span style="color: #ff0000;">Disclaimer:</span> The method described here are not confirmed or documented as a supported method by VMware and I take no responsibility for your actions. <img src='http://www.v12n.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-337"></span></p>
<h2>VMware View &#8211; Change vCenter server on Pools</h2>
<p>When deploying a virtual desktop pool, one of the initial settings or choices we have is which vCenter server we want to use. VMware View Manager can utilize multiple vCenter servers, but a desktop pool can only be pointing to a single vCenter server. The VMware View infrastructure running in this environment is VMware View 5.0 Permier, but non of the pools are linked clones. This is also one of the reasons we can migrate to the vCSA and eliminating the Windows server license.</p>
<p>Just a note; Previously the View Composer service had to be installed on the vCenter server &#8211; this does not apply any more. If you are using linked clone pools, you can still use the vCSA for the vCenter server service, but VMware View composer still have to be installed on a Windows server. I&#8217;m guessing that we&#8217;ll see the View composer service as a add-on to vCSA a few versions up the road.</p>
<p>In this environment, re-creating all virtual desktops weren&#8217;t really an option. Users were still logged in at their desktops, some of them with active/connected session and some with disconnected sessions. Reboot is also something the users dislike &#8211; bloody developers! Those demanding buggers&#8230;</p>
<p>Ok, so looking at the View Manager page, all pools seems to be ok even though the vCenter server defined on each pool was wrong. Clicking through the pools, no errors were listed at the pool or desktop lists. If I had tried to provision a new desktop by increasning one of the existing pools, it would fail because the defined vCenter server is not connected to any ESXi hosts, templates or even virtual machines.</p>
<p>We do want to add the vCSA to the View Manager to generate an ID for the vCSA in the View LDAP directory or &#8220;database&#8221;. This is done at the <em>View configuration -&gt; Servers -&gt; vCenter server </em>tab. Add the vCSA as any other vCenter server.</p>
<p>Luckily, the pool settings are defined in the View LDAP and these settings can be exported. The View LDAP is running on the connection server and can be exported by executing a vdmexport command on the server. Open a command promt or the VMware PowerCLI Powershell promt and execute the following;</p>
<pre>PS C:\Pro..\VMw..\..View\Server\bin&gt; <strong>vdmexport -f c:\ldap-export.ldif</strong></pre>
<p>Note: <em>On View 5.0 the export will not be sealed and fully readable. On View 5.1, the vmdexport default to a sealed, non-readable file. Execute the vdmexport command with the -v option to get a readable file.</em></p>
<p>This will create a ldif file on <em>c:</em> named <em>ldap-export.ldif</em> which contains all configuration data for the respective View connection server. This is the file I edited to modify the pointer to vCenter from the old vc01 to the new vcsa01.</p>
<p>I first had to identify the ID of the legacy vCenter server and the vCSA by opening the ldif file in <em>notepad++</em> and searching for the hostname. The IDs are fictious to make it easier to show the difference and modifications to be made.</p>
<p>The legacy vCenter server:</p>
<pre>dn: CN=<strong>abcd1234</strong>-49cb-4fce-ae39-5dbcba9120d1,OU=VirtualCenter,OU=Properties,DC=vdi,DC=vmware,DC=int
changetype: add
objectClass: pae-PropertyObject
objectClass: pae-VirtualCenter
cn: <strong>abcd1234</strong>-49cb-4fce-ae39-5dbcba9120d1
pae-VCCreateRampFactor: 20
pae-VCUserName: root
pae-SVIUserPassword: {SSO-AES:1}ir+/2x2x2x2x2x2x2xx2x2x2x
pae-VCURL: https://<strong>vc01</strong>.v12n.local:443/sdk</pre>
<p>This is the vCSA:</p>
<pre>dn: CN=<strong>efgh5678</strong>-49cb-4fce-ae39-5dbcba9120d1,OU=VirtualCenter,OU=Properties,DC=vdi,DC=vmware,DC=int
changetype: add
objectClass: pae-PropertyObject
objectClass: pae-VirtualCenter
cn: <strong>efgh5678</strong>-49cb-4fce-ae39-5dbcba9120d1
pae-VCCreateRampFactor: 20
pae-VCUserName: root
pae-SVIUserPassword: {SSO-AES:1}ir+/2x2x2x2x2x2x2xx2x2x2x
pae-VCURL: https://<strong>vcsa01</strong>.v12n.local:443/sdk</pre>
<p>The dn value is the ID of the vCenter server, in this case being the vc01.v12n.local and <em>vcsa01.v12n.local</em>.</p>
<p>Now, I had to find the pool definition and replace the defined vCenter server ID with the new one. By searching for the ID of the legacy vCenter server, I found a section looking something like this;</p>
<pre>dn: <strong>CN=win7-auto-full</strong>,OU=Server Groups,DC=vdi,DC=vmware,DC=int
changetype: <strong>modify</strong>
add: pae-VCDN
pae-VCDN: CN=<strong>abcd1234</strong>-49cb-4fce-ae39-5dbcba9120d1,OU=VirtualCenter,OU=Properties,DC=vdi,DC=vmware,DC=int
-</pre>
<p>The <em>pae-VCDN<strong> </strong></em>is the value I modified. I replaced this VCDN ID with the on for the vCSA listed above:</p>
<pre>dn: <strong>CN=win7-auto-full</strong>,OU=Server Groups,DC=vdi,DC=vmware,DC=int
changetype: modify
add: pae-VCDN
pae-VCDN: CN=<strong>efgh5678</strong>-49cb-4fce-ae39-5dbcba9120d1,OU=VirtualCenter,OU=Properties,DC=vdi,DC=vmware,DC=int
-</pre>
<p>I repeated this operation for all the desktop pools administrated by the connection server. Do <strong>not</strong> execute a <em>replace all</em> in this document! Doing so will break the ldif file and you do not want to import a broken ldif file, trust me. I tried and ended up re-installing the View Connection server and import the initial exported <em>ldap-export.ldif </em>file. This was my first complete restore of a View connection server and I&#8217;m quite impressed how easy it was.</p>
<p>Once all pae-VCDN for all pools have been changed, save the exported file as a<strong> new file</strong> in case something goes wrong and we need to revert our changes. I saved it as <em>ldap-export-modified.ldif</em>.</p>
<p>To load the changes on the View connection server, open a command prompt or execute the Power CLI shell again and execute the following:</p>
<pre>PS C:\Pro..\VMw..\..View\Server\bin&gt; <strong>vdmimport -f c:\ldap-export.ldif</strong></pre>
<p>The vdmimport command will only inject modified settings to the LDAP directory and leave the others as they are. In this case, the only modification made is the pae-VCDN on the pools. Looking at the pool list in View Manager now, all pools are now pointing to the vCSA.</p>
<p style="text-align: center;"><a href="http://www.v12n.com/?attachment_id=367" rel="attachment wp-att-367"><img class="aligncenter  wp-image-367" title="2012-11-30-vmware-view-pool-list" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/2012-11-30-vmware-view-pool-list-200x59.png" alt="" width="300" height="59" /></a></p>
<p>The View connection server service did not have to be restarted for the pool list to be updated &#8211; a simple refresh did the trick. I&#8217;m not sure if I restarted the View connection server service before increasing one of the pools. At first it failed due to missing <em>customization specification </em>defined in the pool settings, but a simple export &#8211; import of the specifications did the trick.</p>
<div id="attachment_373" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.v12n.com/?attachment_id=373" rel="attachment wp-att-373"><img class=" wp-image-373     " title="vsphere-client-export-guest-customization" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/11/vsphere-client-export-guest-customization-200x92.png" alt="" width="300" height="92" /></a><p class="wp-caption-text">Right click the specification to export and use the import button in the menu bar to import on another server.</p></div>
<p>The infrastructure has been upgraded from ESXi 5.0 and vCenter 5.0 to ESXi 5.1 and vCSA  5.1.0. The VMware View desktop pools have successfully been migrated from the legacy vCenter server to the brand new vCenter Server Appliance. Remember the demanding developers? Guess what; non of the virtual desktops had to be rebooted or re-provisioned during this upgrade. I do have to reboot when upgrading VMware tools though, but that&#8217;s another story&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.v12n.com/?feed=rss2&#038;p=337</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrate vCenter to vCSA in VMware View environment-Part 1</title>
		<link>http://www.v12n.com/?p=315</link>
		<comments>http://www.v12n.com/?p=315#comments</comments>
		<pubDate>Fri, 30 Nov 2012 17:42:37 +0000</pubDate>
		<dc:creator>jahansen</dc:creator>
				<category><![CDATA[Desktop Virtualization]]></category>
		<category><![CDATA[Server virtualization]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware vCenter]]></category>
		<category><![CDATA[VMware vSphere]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vCSA]]></category>
		<category><![CDATA[View]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.v12n.com/?p=315</guid>
		<description><![CDATA[In October, VMware released the vCenter Server Appliance 5.1.0a which is a virtual appliance alternative to the traditional Windows based vCenter server. I like the idea to have a virtual appliance that can be deployed and with a few clicks ready to run the vCenter server service, but I&#8217;ve been a bit skeptical to deploy [...]]]></description>
				<content:encoded><![CDATA[<p>In October, VMware released the vCenter Server Appliance 5.1.0a which is a virtual appliance alternative to the traditional Windows based vCenter server. I like the idea to have a virtual appliance that can be deployed and with a few clicks ready to run the vCenter server service, but I&#8217;ve been a bit skeptical to deploy it in a production environment. With the lates release and a upgrade of the ESXi hosts to vSphere 5.1.0 I decided to give it a shot.</p>
<p>This is a fairly easy transition in a virtual environment with servers only, but adding virtual desktops and VMware View to the same infrastructure complicates things. I tried googling and reading VMware documentation, but I could not find any supported method to migrate virtual desktops pools from one vCenter server to another, which in this case is the new vCenter Server Appliance.</p>
<p><span style="color: #ff0000;">Disclaimer:</span> I must emphazise that the method described here are not confirmed or documented as a supported method by VMware and I take no responsibility for your actions. <img src='http://www.v12n.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ll take you through my upgrade from start to end starting with the vCenter server &#8220;upgrade&#8221;</p>
<p><span id="more-315"></span></p>
<p>The enviroment we&#8217;re talking about here is rather small. It consists of a single vCenter server, three ESXi hosts, one VMware View Connection server and a combination of automated and manual desktop pools. <strong>Non</strong> of the pools are linked clones pools provisioned using VMware View Composer, only full cloned virtual desktops desktops, both manual and automated.</p>
<h2>Deploy vCenter server appliance</h2>
<p>The first step in the upgrade phase is to deploy the vCenter server appliance. Deploy as any other virtual appliance and define static IP adressing during deployment. Once deployed, power on and log in to the appliance management page at https://vcsa01:5480. You&#8217;ll meet a configuration wizard page. You want to cancel this one to configure hostname and regenerate certificates before running the wizard.</p>
<p style="text-align: center;"><a href="http://www.v12n.com/2012/11/30/migrate-vcenter-to-vcsa-in-vmware-view-environment-part-1/screenshot-20/" rel="attachment wp-att-323"><img class="size-thumbnail wp-image-323 aligncenter" title="vcsa-network-config" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/11/screenshot-20-250x149.png" alt="" width="200" height="119" /><img class="aligncenter size-thumbnail wp-image-324" title="vcsa-toggle-certificate" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/11/screenshot-21-250x78.png" alt="" width="200" height="62" /></a><a href="http://www.v12n.com/2012/11/30/migrate-vcenter-to-vcsa-in-vmware-view-environment-part-1/screenshot-22/" rel="attachment wp-att-325"><img class="aligncenter size-thumbnail wp-image-325" title="vcsa-wizard-launch" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/11/screenshot-22-250x116.png" alt="" width="200" height="92" /></a></p>
<p>In this case I chose to use the embedded database, which is based on Postgres in the latest vCSA release. VMware states that the supported number of hosts are 5 and only 50 virtual machines. Not sure why they&#8217;ve set the numbers this low though. Since the only external database supported in this release is Oracle and the current vCenter server is using MSSQL, I had to re-create the whole folder and permission structure before adding the ESXi hosts.</p>
<h2>Adding ESXi hosts</h2>
<p>The vCSA is configured with datacenter, cluster, folders and permissions. I consider vCenter to be a non-critical service and since disconnecting an ESXi host from vCenter doesn&#8217;t affect the running virtual machines, I don&#8217;t see any issues doing it. (I did this after the developers went home for the day). Before disconnecting, I disabled both VMware HA and DRS. When disconnecting ESXi hosts from vCenter, the list of virtual machines will not be pretty &#8211; they will be gray and with the status of <em>disconnected<strong>. </strong></em>Don&#8217;t worry, they are still running.<a href="http://www.v12n.com/2012/11/30/migrate-vcenter-to-vcsa-in-vmware-view-environment-part-1/vcenter-disconnected-vm/" rel="attachment wp-att-346"><img class="aligncenter size-thumbnail wp-image-346" title="vcenter-disconnected-vm" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/11/vcenter-disconnected-vm-100x200.png" alt="" width="100" height="200" /></a></p>
<p>On the vCSA, I added all three hosts to the new cluster using the FQHN. A reminder; the Datacenter name, cluster name and folder structure is identical between the vCenter and the vCSA server. All virtual machines will initially be added to the <em>Discovered Virtual Machines</em> folder so we&#8217;re looking at a drag and drop session here, putting all machines in their respective folder.</p>
<p>The Windows based vCenter server can be shut down and the vCSA is now managing all ESXi hosts and virtual machines in my environment.</p>
<h2>ESXi upgrade</h2>
<p>In this environment, running only 3 ESXi hosts, manual upgrade of the ESXi hosts are very easy. Starting with the first host, migrate all virtual machines using vMotion to any of the other two hosts in the cluster and put the host in maintenance mode. If DRS is enabled, it will vMotion machines for you when activating maintenance mode.</p>
<div id="attachment_353" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.v12n.com/?attachment_id=353" rel="attachment wp-att-353"><img class=" wp-image-353 " title="2012-11-29-10Gbe-vMotion" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/12/2012-11-29-10Gbe-vMotion-200x33.png" alt="" width="300" height="50" /></a><p class="wp-caption-text">It&#8217;s fun doing vMotion on 10GbE!</p></div>
<p>SSH shell access is enabled on all hosts and the ESXi upgrade zip file uploaded to one of the shared datastores. Log in to the first ESXi host and execute the following command to start the upgrade:</p>
<pre>~# esxcli software vib install -d /vmfs/volumes/iSCSI_01/updates/ESXi510-201210001.zip</pre>
<p>This will start the upgrade and once completed successfully, reboot the host to load the new VMkernel version. When the host is back online, exit maintenance mode and repeat the task for additional hosts.</p>
<pre>~ #<strong> esxcli system version get</strong>
 Product: VMware ESXi
 Version: 5.1.0
 Build: Releasebuild-838463
 Update: 0</pre>
<p>For some reason, in my case, vMotion was disabled on my vMotion VMkernel port. I&#8217;m not sure why, but I just enabled vMotion again on the VMkernel port and it was all good.</p>
<p>The virtual infrastucture is now running on vSphere 5.1.0 ESXi hosts and the vCenter server appliance, vCSA, is running version 5.1.0a.</p>
<div> This was the first post in a series of two. Stay tuned for more.</div>
<h2></h2>
]]></content:encoded>
			<wfw:commentRss>http://www.v12n.com/?feed=rss2&#038;p=315</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMworld 2012 &#8211; Final Day</title>
		<link>http://www.v12n.com/?p=298</link>
		<comments>http://www.v12n.com/?p=298#comments</comments>
		<pubDate>Fri, 31 Aug 2012 23:16:00 +0000</pubDate>
		<dc:creator>jahansen</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.v12n.com/?p=298</guid>
		<description><![CDATA[I&#8217;m gonna start this post by saying; &#8220;I suck at planning&#8221;. I&#8217;ll tell you why a little later. The morning after the VMworld Party, they got to have something exciting to present for people to get out of bed. The headline of keynote was Genius Machines. Kevin Slavin was talking about how algorithms shape our [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m gonna start this post by saying; &#8220;I suck at planning&#8221;. I&#8217;ll tell you why a little later.</p>
<p>The morning after the VMworld Party, they got to have something exciting to present for people to get out of bed. The headline of keynote was <strong>Genius Machines</strong>.</p>
<p>Kevin Slavin was talking about <em>how algorithms shape our world</em>. Kind of interesting to see how algorithms and computer systems affect how and where we build infrastructure. You can find the presentation on <a href="http://www.youtube.com/watch?v=TDaFwnOiKVE" target="_blank">youtube</a>.</p>
<p>The second speaker was Dr. Dennis Hong displayed some really impressive robots, Darwin and Charli. These are human like robots that walk. What? Is that all? Yes, more or less. They know how to walk. It appears to be really difficult to reproduce the human way of moving around into a machine. Have a look at <a href="http://www.romela.org" target="_blank">www.romela.org</a> for more info and videos.</p>
<p>The third speaker was Chris Urmson, the leader of Google Self-Driving car project. This is amazing stuff. Using all kinds of sensors; radar, laser, etc, Google has managed to get this car driving around without anyone operating the wheel. It uses its sensors to create a precise image of the topology around the car and make decisions based on that. Google it and you&#8217;ll find some videos on youtube.</p>
<p>Okay, now over to my lack of planning skills.</p>
<p><span id="more-298"></span></p>
<p>I&#8217;ve attended VMworld since the first VMworld Europe was hosted in Cannes in 2008. Back then I was new to virtualization so I went to a lot of sessions and talked to experts at the expert bar. The next year I spend more time with labs and the solutions exchange, which I think is one of the main reasons for being at VMworld. The breakout sessions will give you many hints and interesting hardware or software that you might want to check out. If the vendor is present at the solutions exchange, and they normally are, you can get first hand information about the product right away and get some contact info for later.</p>
<p><span style="color: #333333; font-size: 15.454545021057129px; font-style: normal; line-height: 21.81818199157715px;">Here is what I do; I spend a lot of time with breakout sessions the first days, mixed with labs to get the latest and greatest. This year I decided to spend day 4 in the solutions exchange. I left the keynote and went over to the solutions exchange. This is why I suck at planning.</span></p>
<p><a href="http://www.v12n.com/?attachment_id=299" rel="attachment wp-att-299"><img class="aligncenter size-thumbnail wp-image-299" title="Solutions Exchange - Kind of closed" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/08/20120830_121131-250x187.png" alt="" width="250" height="187" /></a></p>
<p>I thought; it might be that the doors don&#8217;t open until later. I checked the agenda, and guess what; <strong>no solutions exchange </strong>on thursday! WHAT?! I have a whole list of stuff I wanted to check out in threre. I cannot remember it being closed on thursdag before. So for all guys out there; <strong>have a look at the agenda at a glance</strong> if you are attending the Europe conference in October.</p>
<p><strong>VMware View and Storage: Thinking outside the box (of disks)</strong></p>
<p><strong></strong>The last few years I&#8217;ve been looking for the breakout session that <strong>Jeff Whitman</strong> and <strong>Jim Yanik </strong>(both VMware) are presenting. They always manage to give the little extra and it does not matter what other sessions are running in parallel. This year they talked about utilizing flash in a VMware View environment and the brought in Victor Backman from Fusion-IO to assist.</p>
<p>My notes from the session:</p>
<ul>
<li>View 5.1 storage features
<ul>
<li>Customize drive letter of disposable disk</li>
<li>support for 32 host cluster with nfs</li>
<li>View storage accelerator</li>
<li>In memory cache of common block reads</li>
<li>View Composer Array Integration</li>
<li>Utilize storage array in the same way as VAAI, but for composer.</li>
</ul>
</li>
<li>Test configuration
<ul>
<li>AMD processors, 256GB, FusionIO</li>
<li>View Planner</li>
<li>Allocate more memory to the host &#8211; might fail, not pretty</li>
</ul>
</li>
<li>Sizing the Storage
<ul>
<li>myvirtualcloud.net &#8211; storage planning tool</li>
<li>Replica &#8211; thing provisioning</li>
<li>Memory reservation to eliminate swap file, save space on the storage</li>
</ul>
</li>
<li>Benefits
<ul>
<li>Simplicity</li>
<li>Scaling, add another card or add another host</li>
<li>Only relevant for Floating Linked Clones</li>
</ul>
</li>
<li>Cost
<ul>
<li>17k USD for the whitebox server.</li>
<li>175 desktops pr setup</li>
<li>26k for a Dell with the same configuration</li>
</ul>
</li>
<li>Demo; Single box, 500desktops,
<ul>
<li>ioSphere &#8211; management of the card</li>
<li>Really cool demo &#8211; login view, open a document and save</li>
</ul>
</li>
</ul>
<p>This presentation concluded my VMworld 2012 in San Francisco. I have three things I&#8217;d like to point out.</p>
<ul>
<li>Make the hands on labs work. That&#8217;s one of the main reasons for me being here.</li>
<li>Figure out how to provide Internet to 40k+ devices</li>
<li>Leave the Solutions Exchange open on the last day as well (probably costly, but)</li>
</ul>
<p>It has still been a good show. I&#8217;ve learned about new products, upgrades and products that can help to succeed with getting to the 90+% goal that the (almost) CEO of VMware, Pat Gelsinger, stated in the keynote the first day.</p>
<p>Hope to be back in San Francisco next year! <img src='http://www.v12n.com/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.v12n.com/?feed=rss2&#038;p=298</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMworld 2012 &#8211; Day 3</title>
		<link>http://www.v12n.com/?p=290</link>
		<comments>http://www.v12n.com/?p=290#comments</comments>
		<pubDate>Thu, 30 Aug 2012 19:29:26 +0000</pubDate>
		<dc:creator>jahansen</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.v12n.com/?p=290</guid>
		<description><![CDATA[Welcome to day 3 of VMworld 2012 in San Francisco. I&#8217;ve posted one update each day now and I spend quite some time writing these each day and since I&#8217;m writing you have to spend a few minutes to read as well. I&#8217;ve decided to save both you and me for the &#8220;blah, blah&#8221; stuff [...]]]></description>
				<content:encoded><![CDATA[<p>Welcome to day 3 of VMworld 2012 in San Francisco. I&#8217;ve posted one update each day now and I spend quite some time writing these each day and since I&#8217;m writing you have to spend a few minutes to read as well. I&#8217;ve decided to save both you and me for the &#8220;blah, blah&#8221; stuff and get right to it.</p>
<p>Today I spent my time in labs and and a few sessions.</p>
<p><span id="more-290"></span></p>
<p><strong>Build and operate the business desktop (HOL-EUC-02)</strong></p>
<p>This lab presented some more details on how to administrate and configure the virtual desktop infrastructure using group policies. VMware provide ADM files that can be used in group policy objects to configure both the View agent and View client on a desktop. This simplifies management big time. I&#8217;m not going to list all here, but a &#8220;note to self&#8221; list:</p>
<ul>
<li>Disable time zone forwarding</li>
<li>USB authorization &#8211; look at linux-usb.org/usb.ids for (exactly) USB ids.</li>
<li>Clipboard configuration can be set to one way only securing data not being extracted from the virtual desktop.</li>
</ul>
<div>The biggest problem with this lab, was that half way through the hands on lab web server became unavailable and I was not able to continue. Come on VMware &#8211; I haven&#8217;t said anything about your lab problems until now, but this morning; enough! I&#8217;m not sure whose fault this is, but it is certainly not the attendees. I think the labs are one of the most important reasons for coming here. I can only imagine the complexity of this kind of setup, but if you&#8217;re going to continue having labs; make&#8217;em work! This is the  4th day and there have been some kind if problem every day.</div>
<div>I was not able to complete this lab in this sitting.</div>
<div></div>
<div><strong>VMware Horizon Deep Dive and Best Practies</strong></div>
<div>The Horizon suite consists of several services and a good thing about the suite is that each service has its own server. The vApp conists of about 6 virtual appliances and the first one to boot is the <strong>configurator</strong>. From this appliance you can choose which services you like and it will boot the correct virtual appliance. Here are my notes:</div>
<div>
<ul>
<li>The service appliance scale up to 100k users</li>
<li>The connector appliance scale up to 30k users</li>
<li>vApp of multiple VMs; one VM per service</li>
<li>Horizon suite dashboard; Great overview of the Horizon suite with warnings and alerts from each service. Mock up screen displaying 752 desktop pools. Who has 752 desktop pools?</li>
<li>Demo; Horizon data and app on iOS</li>
</ul>
<div><strong>VMware View 5.1 Security Deep Dive</strong></div>
<div>VMware has made a few security modifications in View 5.1 and most of them regarding certificates. Yet another thing to learn; how to install, configure and administrate a PKI infrastructure. Here are my notes;</div>
<div>
<ul>
<li>Utilizing vShield: Why should end user computers be able to communicate directly?</li>
<li>Certificate handling</li>
<ul>
<li>Clients are more interested in getting a CA signed certificate to avoid eavesdropping and tampering</li>
<li>View clients always communicate using HTTPS (SSL). HTTP is no longer supported.</li>
<li>The certificates must be issued to the hostname of the server and users have to connect to this hostname</li>
</ul>
<li>Certificates</li>
<ul>
<li>Traditional validation; A CA authority, cost money per CA.</li>
<li>Thumbprint: Hash, self signed, requires a server that validates the server from one side and client from the other</li>
</ul>
<li>Authentication</li>
<ul>
<li>Password using Active Directory</li>
<li>Smart Card (CAC) x.509 user certificates</li>
<li>RSA SecurID(2 factor)</li>
<li>Kiosk mode; Device authentication using the MAC address of the client. Real user authentication is handled by the virtual desktop guest OS.</li>
<li>RADIUS authentication: New in View 5.1</li>
</ul>
</ul>
<div>After a good day here at Moscone Center; VMworld Party and Jon Bon Jovi! I&#8217;ll update the post with some photos later.</div>
</div>
<div></div>
<div>Btw; I went back to finish the <em>Build and operate the business desktop </em>lab and I managed to finish the whole lab without any hickups.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.v12n.com/?feed=rss2&#038;p=290</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMworld 2012 &#8211; Day 2</title>
		<link>http://www.v12n.com/?p=265</link>
		<comments>http://www.v12n.com/?p=265#comments</comments>
		<pubDate>Wed, 29 Aug 2012 21:48:22 +0000</pubDate>
		<dc:creator>jahansen</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.v12n.com/?p=265</guid>
		<description><![CDATA[Welcome to day 2 of VMworld. The day started with a keynote with VMware CTO Steve Herrod and the focus was End User Computing. He was talking about how VMware is solving the challenges users today bring to the enterprise. Users aren&#8217;t pleased with just getting a pre-configured laptop and you cannot force them to [...]]]></description>
				<content:encoded><![CDATA[<p>Welcome to day 2 of VMworld. The day started with a keynote with VMware CTO Steve Herrod and the focus was End User Computing. He was talking about how VMware is solving the challenges users today bring to the enterprise. Users aren&#8217;t pleased with just getting a pre-configured laptop and you cannot force them to working in one way or another anymore. If there is an obstacle somewhere, people will always find a way to get around it. With the Horizon Suite many of these challenges are not present anymore. Dropbox is replaced with Horizon Data (formerly Project Octopus), desktop is replaced with VDI, apps are virtualized on Android devices and on iOS devices they are put into a secure container.</p>
<p>One thing that goes hand in hand with Steve Herrod and keynote; Demo. Horizon and VMware View, combined with Mirage technology, demonstrated how it is possible to get a user upgraded from Windows XP to Windows 7 and still keeping profile and data more or less live, getting the same data and apps on an iPad and on a Android device. It was a really good display of how powerful Horizon and View is combined. It think we&#8217;re going to see a significant increase in the use of these products in the next 6 months.</p>
<p>For me, day 2 was the great lab day. <img src='http://www.v12n.com/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><span id="more-265"></span></p>
<p><strong>Build and operate the Mobile Secure Desktop (HOL-EUC-01)</strong></p>
<p>This lab gave a brief introduction to some a few features in VMware View and vShield and how they can be utilized.</p>
<ul>
<li>Patch all your desktops and recompose pools to make sure all machines are patched.</li>
<li>Utilize vShield to prevent machines that are not suppose to communicate to communicate with each other. A very easy; Machine 1 should not be able to communicate with machine 2.</li>
<li>Add vShield Endpoint for additional security.</li>
</ul>
<p><strong>Deliver Optimal Performance with VMware vSphere 5.1</strong></p>
<p>This lab was more advanced, and performance tuning and optimization is often more advanced. A whole lot of reading in this lab and here are a few notes from the lab:</p>
<ul>
<li>Kernel latency above 2ms indicate storage problem</li>
<li>Use the paravirtualized drivers for better performance and reduced CPU usage.</li>
<li>RDMs and VMFS have the same performance so why to RDMs?</li>
<li>VMware vSphere 5 Memory Management and Monitoring diagram &#8211; KB2017642</li>
</ul>
<p>Java applications are a challenge in a virtualized environment, due to memory management. Java has its own memory management, garbage collector, and if the VM starts ballooning, the Java app might end up running really really slow. During the lab i was using the vSphere web client and while looking at Java memory management and how to solve issues regarding memory usage, this message pops up;</p>
<p><a href="http://www.v12n.com/?attachment_id=276" rel="attachment wp-att-276"><img class="aligncenter size-thumbnail wp-image-276" title="java-error-lab" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/08/ENIMAGE1346189534893-250x122.jpg" alt="" width="250" height="122" /></a></p>
<p>&nbsp;</p>
<p>That is just great! <img src='http://www.v12n.com/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>vCOPS manager for Enterprise (HOL-EUC-05)</strong></p>
<p><strong></strong>The vCenter Operations Manager is a monitoring tools that really helps you monitor your virtual environment and points out potential issues for you.</p>
<p>Have you ever seen this woman?</p>
<p><a href="http://www.v12n.com/?attachment_id=273" rel="attachment wp-att-273"><img class="aligncenter size-thumbnail wp-image-273" title="meet-the-developer" src="http://www.v12n.com/wordpress/wp-content/uploads/2012/08/ENIMAGE1346196903198-250x129.jpg" alt="" width="250" height="129" /></a></p>
<p>Well, I met her in the lab here. She complained about her newly p2v&#8217;ed developer machine and blamed the virtual infrastructure. Using vCOPS manager, the lab guided me through how to find the real issue and how to send the problem back to the developer. Isn&#8217;t that cool? A tool that helps you blame the one who complained in the first place?</p>
<p><strong>Horizon Application Manager (HOL-EUC-04)</strong></p>
<p>In the End user computing section, everyone is talking about Horizon and I must admit; I understand why. This is a very exciting product that, as I&#8217;ve said earlier, we&#8217;re going to see an increase in deployments very soon. We just need to get going with VDI first. <img src='http://www.v12n.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>About the lab.. Ehm.. I think I&#8217;ve seen this before? It is more or less the same lab i took last year and if I&#8217;m not totally wrong I said; This is a good introduction to Horizon. And it is.</p>
<p><strong>PCoIP &#8211; Performance deep dive for successfully optimize and customize VDI</strong></p>
<p>I did go to a session regarding PCoIP today. When I scheduled my VMworld, I select Advanced Technical sessions. I have to say, today was the first real Advanced Technical one. The guys on stage really put up a show, a technical one that is. Presenting and demonstrating what the different values of the PCoIP variables actually does and what you can achieve by tuning them. A really good presentation, so for you guys going to VMworld Europe; Look for Breakout Session EUC2620. I hope the guys get the chance to go to Europe as well. Kudos to Chuck Hirstius at VMware for the work presented and have a look at his blog at www.minfluxinc.net. There are a couple of great tools for PCoIP available there.</p>
<p>This was my second day on VMworld in San Francisco.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.v12n.com/?feed=rss2&#038;p=265</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMworld 2012 &#8211; Day 1</title>
		<link>http://www.v12n.com/?p=257</link>
		<comments>http://www.v12n.com/?p=257#comments</comments>
		<pubDate>Tue, 28 Aug 2012 18:42:21 +0000</pubDate>
		<dc:creator>jahansen</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.v12n.com/?p=257</guid>
		<description><![CDATA[After a rather slow start on day Zero with no labs completed and no sessions running, the &#8220;first&#8221; day of VMware startet with a bang. The general session today was, as usual, a keynote from the CEO and CTO of VMware. The last years this has been Paul Maritz(CEO) and Steve Herrod(CTO), but this year [...]]]></description>
				<content:encoded><![CDATA[<p>After a rather slow start on day Zero with no labs completed and no sessions running, the &#8220;first&#8221; day of VMware startet with a bang. The general session today was, as usual, a keynote from the CEO and CTO of VMware. The last years this has been Paul Maritz(CEO) and Steve Herrod(CTO), but this year Pat Gelsinger joined the stage. When Gelsinger was introduced, the slide said &#8220;Pat Gelsinger, (Almost) CEO&#8221;. After about 4 years in VMware, Maritz is moving to EMC and we can probably expect to see a few changes in EMC as well. Gelsinger, that have about 30 years experience from Intel, has a great task at hand. Trying to keep up with Martiz&#8217;s achievements the last 4 years is going to be hard, but definitely not impossible. He was neither shy or modest when he said &#8220;The last 4 years we have moved from 25% to 60% virtualized workloads. The next 4 we&#8217;re going to get to 90+%&#8221; That&#8217;s quite a goal!</p>
<p>He also announced that the beloved <strong>vRAM </strong>licensing model will be gone and that there will be no limitation on the CPU&#8217;s on each vSphere level. I&#8217;m really glad they are going to let vRAM go away, because I haven&#8217;t really leared it and now I don&#8217;t have to! <img src='http://www.v12n.com/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Steve Herrod, CTO, will hold the keynote tomorrow, so I&#8217;ll include him in tomorrow&#8217;s post.</p>
<p>Now for the more technical stuff. I attended a couple of advanced technical sessions regarding end user computing, basically VMware View and PCoIP.</p>
<p><span id="more-257"></span></p>
<p><strong>VMware View Reference Architecture</strong><br />
I attended this session last year as well and last year VMware was talking about building blocks for a VMware View environment. If you want 2000 desktops, you&#8217;ll need something like this. If you need another 2000, add a block. I find the American standards of small, medium and large kind of funny. 1000 desktops are a really small environment in the US. I haven&#8217;t seen a View environment even close to that back home.<br />
Luckily, this years&#8217; reference architecture session was focusing more on how to solve the primary challenge with desktop virtualization; storage. The message in the presentation; &#8220;Flash, flash and more flash&#8221;. Two flash based storage &#8220;devices&#8221; was presented to solve the IOps challenges; a PCIe card from Virident and a SAN from EMC. Both the FlashMAX from Virident and Project X from EMC was able to provide disk latency below 1ms and number of IOps of 125k-225k. I have to stop by and have a look in the Solutions Exchange one of these days. Some numbers on the Project X &#8220;brick&#8221; for you;</p>
<ul>
<li>1000 linked clones ready for use; 2h 25min</li>
<li>1000 linked clones recompose; 2h 6min</li>
<li>1000 full clones ready for use; 2h 45min</li>
</ul>
<p>This is amazing when you SAN is a 3U storage array. The numbers for the FlashMAX are crazy;</p>
<ul>
<li>500 linked clones ready for use; 61min</li>
<li>500 linked clones recompose: 58min</li>
</ul>
<p>A cool thing about this is that the SAN/card was not running at 100%. This means that you can actually do deployments or recompose during opening hours without worrying about poor user experience. Isn&#8217;t that impressive? I want one of those!</p>
<p><strong>VMware View Troubleshooting</strong><br />
VMware View installation is more or less a &#8220;next, next, finish&#8221; operation when the infrastructure is in place. It is very easy to install and very easy to manage as long as everything is working as it should. It is when it does not do what it is suppose to you&#8217;ll need troubleshooting skills.<br />
This presentation started out talking about the new enhanced security features introduced in View 5.1. The new SSL structure will bug you with a <strong>red</strong> status until the default certificates are changed with your own. Annoying &#8211; yes. Necessary &#8211; probably.<br />
A few links for you;<br />
* View Persona issues; KB2019502<br />
* PCoIP sizing; myvirtualcloud.net/?page_id=1562<br />
* PCoIP log viewer: mindfluxinc.net</p>
<p>Other typical errors in View configuration:</p>
<ul>
<li>View composer needs access to the ESX host on TCP port 902 to do its magic.</li>
<li>Black screen of Death: VMware tools have replaced the WDDM display adapter driver or firewall is blocking port 4172 used for PCoIP traffic.</li>
<li>Randomly disconnects of sessions: View Agent does not successfully &#8220;check in&#8221; with the connection server.</li>
</ul>
<div>The last session of the day was an <strong>inside look of what&#8217;s new with the PCoIP protocol and Products</strong>. As I wrote in the previous post, I will do a dedicated post on the PCoIP/Teradici stuff later.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.v12n.com/?feed=rss2&#038;p=257</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMworld 2012 &#8211; Day 0</title>
		<link>http://www.v12n.com/?p=249</link>
		<comments>http://www.v12n.com/?p=249#comments</comments>
		<pubDate>Mon, 27 Aug 2012 22:32:48 +0000</pubDate>
		<dc:creator>jahansen</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.v12n.com/?p=249</guid>
		<description><![CDATA[VMworld 2012 in San Francisco &#8211; I enjoy being back. It&#8217;s been three years since I last visited the US conference of VMworld and I&#8217;m excited to see if this year&#8217;s conference is as good as last time. I arrived in San Francisco last night after almost 14 hours of flying &#8211; pjuh that&#8217;s a long [...]]]></description>
				<content:encoded><![CDATA[<p>VMworld 2012 in San Francisco &#8211; I enjoy being back. It&#8217;s been three years since I last visited the US conference of VMworld and I&#8217;m excited to see if this year&#8217;s conference is as good as last time. I arrived in San Francisco last night after almost 14 hours of flying &#8211; pjuh that&#8217;s a long trip so the conference better be good.</p>
<p>For the first time, I decided to be here for the day 0 &#8220;lab show&#8221;. Day 0 is all about registration and labs. I went down to the Moscone Center around 9 to pick up my badge and materials &#8211; and have a look at that; A brand new VMworld backpack and drinking bottle.<br />
<img android-uri="content://media/external/images/media/12122" /> </p>
<p>I&#8217;ve chosen to give the first day number 0. The reason is simple; the only thing going on today is registration and hands on labs. This year there are a total of 36 different labs that include topics covering many of the VMware products; vSphere, vCloud Directoy, vFabric, VMware View, vCOps (vCenter Operations), Socialcast and Zimbra.</p>
<p>One of the new things VMware has introduced to the hands on labs this year, is the BYOD Entrance. The Bring-Your-Own-Device entrance allows you to; exactly, use your own device to do the labs. You&#8217;ll get some login credentials and a URL. After login, you get access to your lab environment using the VMware View client. Windows, Apple or Android devices can be used. I&#8217;m gonna have to use my Transformer Prime tab to enter the BYOD green room since I&#8217;m running Ubuntu on my laptop. Unfortunately, VMware does not have any supported View client for Ubuntu yet. Come on VMware! You have the client for Mac, where is it for Ubuntu?</p>
<p>The labs was opening at 11, so I went out for some breakfast. I should not have done that. By the time I got back, the queue was building up and had reached 2 hours. I thought; &#8220;weeell, I might stop by later&#8221;. I never did. It seems like they had some issues with the labs that hopefully is fixed for tomorrow. The Welcome reception was held at the Solutions Exchange, where all the exibitors are located. I stopped by the Teradici booth, which actually is bigger this year, and talked about new features and possibilities with the Tera 2 chip. I&#8217;ve decided to do a dedicated post on the Tera 2 later.</p>
<p>This is my first post in a very long time. There are several reasons, but the simple explanation; I&#8217;ve been busy. Some of the stuff I&#8217;ve been busy with will appear on this blog later on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.v12n.com/?feed=rss2&#038;p=249</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
