<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Petri » Virtualization</title>
	
	<link>http://www.petri.co.il</link>
	<description>IT Knowledge Base</description>
	<lastBuildDate>Fri, 25 May 2012 19:59:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<image>
	<title>Petri</title>
	<url>http://www.petri.co.il/media/logo.gif</url>
	<link>http://www.petri.co.il/</link>
	<width>151</width>
	<height>74</height>
	</image>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/petrivirtualization" /><feedburner:info uri="petrivirtualization" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>vSphere Advanced Networking – Creating a New vDS</title>
		<link>http://feedproxy.google.com/~r/petrivirtualization/~3/9ZroF9Ddvxo/vsphere-vds-setup.htm</link>
		<comments>http://www.petri.co.il/vsphere-vds-setup.htm#comments</comments>
		<pubDate>Fri, 25 May 2012 19:58:38 +0000</pubDate>
		<dc:creator>Petri IT Knowledgebase Team</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=27429</guid>
		<description><![CDATA[In this video post, VCDX &#38; vExpert Jason Nash provides a walkthrough of the configurations you’ll need when creating a new vDS  - vNetwork Distributed Switch, including settings for the main switch, uplinks, and port groups.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>The vNetwork Distributed Switch (vDS) streamlines the process of setting up virtual machine networking by providing you with a centralized point of control for provisioning, administration and monitoring through vSphere's vCenter. In today's video and how-to article, vExpert Jason Nash walks you through the configurations required to setup a new vDS in your vSphere environment.  </p>
<p><center><em>(Instructional video below provides a walkthrough of the steps contained in this article.)</em><br />
<iframe width="420" height="236" src="http://www.youtube.com/embed/CWJz7PdE50Y" frameborder="0" allowfullscreen></iframe></center></p>
<p>Let's start by briefly reviewing the relevant information associated with the main switch and the uplinks group. First up is the main switch.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Hyper-V™ vs. vSphere™</strong></a><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow"><img src="/media/3037.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p><b>Problem:</b>  Microsoft’s planned enhancements for Hyper-V version 3 have more and more customers planning for a dual hypervisor environment.  Unfortunately, multiple management consoles are hard to use, clunky, and don’t provide the flexibility needed in measuring & managing virtual infrastructures. <br />
<br />
<b>Solution:</b>  SolarWinds Virtualization Manager now allows you to see both VMware and Hyper-V environments in a single pane of glass.  </p><a  href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="Hyper-V™ vs. vSphere™" style="clear: both;" rel="nofollow">FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0</a></div>
<h3>vCenter vDS - Summary Tab</h3>
<p>The Summary tab is where you’ll find information telling you the number of hosts, number of VMs, number of networks, total ports, available ports, and so on. As you start rolling out hosts and VMs, those numbers will go up.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/01-main-switch-summary.png"><img class="alignnone size-full wp-image-27432" title="vDS main switch summary" src="http://www.petri.co.il/wp-content/uploads/01-main-switch-summary.png" alt="vDS main switch summary" width="580" /></a></p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=2747&amp;host=blogs.technet.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2747', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px;"><p style=" padding:10px 10px 10px 10px; background-color:#ffffed; font-weight:bold">System Center Virtual Machine Manager 2012 as Private Cloud Enabler</p></div></span></a></div>
<h3>vCenter vDS - Networks Tab</h3>
<p>The Networks tab contains all your networks, which equate to port groups. Other information includes port binding, VLAN ID, number of VMs, number of ports used, and whether alarms are enabled.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/02-main-switch-networks-tab.png"><img class="alignnone size-full wp-image-27433" title="vDS main switch networks tab" src="http://www.petri.co.il/wp-content/uploads/02-main-switch-networks-tab.png" alt="vDS main switch networks tab" width="580" /></a></p>
<h3>vCenter vDS - Ports Tab</h3>
<p>This tab contains vital information related to Port Mirroring and Netflow. When you plug a VM into a vSwitch or a VMs NIC into a vSwitch (as a VM may have multiple NICs), it gets assigned a port. That is, a port ID on the distributed switch.</p>
<p>So, for example, MediaXP is assigned Port 11, while Media SAB is assigned Port 10. Domain Controller (DC) is Port 1 and ViewCon is Port 0.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/03-main-switch-ports-tab.png"><img class="alignnone size-full wp-image-27434" title="vDS main switch ports tab" src="http://www.petri.co.il/wp-content/uploads/03-main-switch-ports-tab.png" alt="vDS main switch ports tab" width="580" /></a></p>
<p>One scenario wherein these port IDs are going to come in handy is when you’re doing some troubleshooting concerning Port Mirroring and Netflow. That’s because those two reference these port IDs.</p>
<p>So, for instance, you notice that Port 11 is sending a whole lot of traffic. You can go in here and see what Port 11 is. Then you can check what its corresponding VM is, what its MAC is, and what its DirectPath I/O is.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/04-ports-tab-connectee.png"><img class="alignnone size-full wp-image-27435" title="vDS ports tab connectee" src="http://www.petri.co.il/wp-content/uploads/04-ports-tab-connectee.png" alt="vDS ports tab connectee" width="580" /></a></p>
<p>You can also see whether the link is up and which VLAN it corresponds to.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/05-ports-tab-link-up.png"><img class="alignnone size-full wp-image-27436" title="vDS ports tab link up" src="http://www.petri.co.il/wp-content/uploads/05-ports-tab-link-up.png" alt="vDS ports tab link up" width="580" /></a></p>
<h3>vCenter vDS - Resource Allocation Tab</h3>
<p>This is where you configure Network I/O Control and other related stuff.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/06-main-switch-resource-allocation.png"><img class="alignnone size-full wp-image-27437" title="vDS main switch resource allocation" src="http://www.petri.co.il/wp-content/uploads/06-main-switch-resource-allocation.png" alt="vDS main switch resource allocation" width="580" /></a></p>
<h3>vCenter vDS - Configuration Tab</h3>
<p>The Configuration tab features a GUI showing your current configuration. On the left are your port groups and any VMs you’ve got plugged into them.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/07-main-switch-configurations-tab-port-groups.png"><img class="alignnone size-full wp-image-27438" title="vDS main switch configurations tab port groups" src="http://www.petri.co.il/wp-content/uploads/07-main-switch-configurations-tab-port-groups.png" alt="vDS main switch configurations tab port groups" width="580" /></a></p>
<p>Then on the right are your physical uplinks, which vmnic is plugged in, and which servers they are.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/08-main-switch-configurations-tab-physical-nics.png"><img class="alignnone size-full wp-image-27439" title="vDS main switch configurations tab physical nics" src="http://www.petri.co.il/wp-content/uploads/08-main-switch-configurations-tab-physical-nics.png" alt="vDS main switch configurations tab physical nics" width="580" /></a></p>
<p>Now, if you click on a port group (e.g. FT), it will show you which physical uplinks are being used.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/09-main-switch-configurations-tab-physical-nics-being-used.png"><img class="alignnone size-full wp-image-27447" title="main switch configurations tab physical nics being used" src="http://www.petri.co.il/wp-content/uploads/09-main-switch-configurations-tab-physical-nics-being-used.png" alt="main switch configurations tab physical nics being used" width="580" /></a></p>
<p>Also, if you click on an “i” icon (enclosed by a blue circle) on the right side, you’ll be able to pull up say CDP for Cisco or LLDP for non-Cisco.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/10-cisco-discovery-protocol.png"><img class="alignnone size-full wp-image-27448" title="cisco discovery protocol" src="http://www.petri.co.il/wp-content/uploads/10-cisco-discovery-protocol.png" alt="cisco discovery protocol" width="580" /></a></p>
<p>On the other hand, if you click on a similar “i” icon on the left side, you’ll get basic information about the port group in question.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/11-port-group-information.png"><img class="alignnone size-full wp-image-27449" title="port group information" src="http://www.petri.co.il/wp-content/uploads/11-port-group-information.png" alt="port group information" width="580" /></a></p>
<h3>vCenter vDS - Virtual Machines Tab</h3>
<p>This tab will just show you all the VMs that are using your distributed switch.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/12-main-switch-virtual-machines-tab.png"><img class="alignnone size-full wp-image-27450" title="main switch virtual machines tab" src="http://www.petri.co.il/wp-content/uploads/12-main-switch-virtual-machines-tab.png" alt="main switch virtual machines tab" width="580" /></a></p>
<h3>vCenter vDS - Hosts Tab</h3>
<p>Similarly, this will show you all the hosts using your distributed switch.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/13-main-switch-hosts-tab.png"><img class="alignnone size-full wp-image-27451" title="main switch hosts tab" src="http://www.petri.co.il/wp-content/uploads/13-main-switch-hosts-tab.png" alt="main switch hosts tab" width="580" /></a></p>
<p>The rest of the tabs include Tasks &amp; Events, Alarms, and Permissions.</p>
<p>Now let’s look at the main options for the main switch. We right-click on the main switch and select <strong>Edit Settings</strong> from the context menu.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/14-edit-settings-of-main-switch.png"><img class="alignnone size-full wp-image-27452" title="edit settings of main switch" src="http://www.petri.co.il/wp-content/uploads/14-edit-settings-of-main-switch.png" alt="edit settings of main switch" width="580" /></a></p>
<h3>vDS Settings - Properties Tab</h3>
<p>In the <strong>General</strong> section of the <strong>Properties</strong> tab, you can set the <strong>number of uplink ports</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/15-number-of-uplink-ports.png"><img class="alignnone size-full wp-image-27453" title="number of uplink ports" src="http://www.petri.co.il/wp-content/uploads/15-number-of-uplink-ports.png" alt="number of uplink ports" width="556" height="434" /></a></p>
<p>You can also edit the uplink names by clicking on the <strong>Edit uplink names</strong> button and then changing the uplink names you find in the window that pops up. Notice that there are 4 boxes in our screenshot. That’s because we have 4 uplink ports. The number of boxes will always be equal to the number of uplink ports.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/16-edit-uplink-names.png"><img class="alignnone size-full wp-image-27454" title="edit uplink names" src="http://www.petri.co.il/wp-content/uploads/16-edit-uplink-names.png" alt="edit uplink names" width="554" height="434" /></a></p>
<p>In the <strong>Advanced</strong> section, one thing you can set there is the Maximum MTU. If you want to do Jumbo Frames (9000-byte frames), you can set it right here.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/17-maximum-mtu.png"><img class="alignnone size-full wp-image-27455" title="maximum mtu" src="http://www.petri.co.il/wp-content/uploads/17-maximum-mtu.png" alt="maximum mtu" width="558" height="435" /></a></p>
<p>You can also enable the <strong>Discovery Protocol</strong> and then set the type to either CDP (<strong>Cisco Discovery Protocol</strong>) or LLDP (<strong>Link Layer Discovery Protocol</strong>). In addition to that, you can set its Operation to <strong>Listen</strong>, <strong>Advertise</strong>, or <strong>Both</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/18-discovery-protocol.png"><img class="alignnone size-full wp-image-27456" title="discovery protocol" src="http://www.petri.co.il/wp-content/uploads/18-discovery-protocol.png" alt="discovery protocol" width="556" height="433" /></a></p>
<p>Finally, you can enter some <strong>Administrator contact information</strong>, such as the Name and other details like email address, phone number, etc. This can show up in CDP or other similar protocols.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/19-administrator-contact-information.png"><img class="alignnone size-full wp-image-27457" title="administrator contact information" src="http://www.petri.co.il/wp-content/uploads/19-administrator-contact-information.png" alt="administrator contact information" width="558" height="436" /></a></p>
<h3>vDS Settings - Network Adapters Tab</h3>
<p>Here, if you select a host on the left, it will show you vmnics on the right and how they match up with the uplink numbers.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/20-network-adapters.png"><img class="alignnone size-full wp-image-27458" title="network adapters" src="http://www.petri.co.il/wp-content/uploads/20-network-adapters.png" alt="network adapters" width="557" height="436" /></a></p>
<h3>vDS Settings - Private VLAN Tab</h3>
<p>This is where you configure stuff like Layer-2 Segmentation or VLANs within VLANs.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/21-private-vlan.png"><img class="alignnone size-full wp-image-27462" title="private vlan" src="http://www.petri.co.il/wp-content/uploads/21-private-vlan.png" alt="private vlan" width="556" height="434" /></a></p>
<h3>vDS Settings - Netflow Tab</h3>
<p>This is where you configure the system to send IP statistics to what’s known as a NetFlow collector.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/22-netflow.png"><img class="alignnone size-full wp-image-27463" title="netflow" src="http://www.petri.co.il/wp-content/uploads/22-netflow.png" alt="netflow" width="556" height="434" /></a></p>
<h3>vDS Settings - Port Mirroring Tab</h3>
<p>These settings allow you to do traffic sniffing.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/23-port-mirroring.png"><img class="alignnone size-full wp-image-27464" title="port mirroring" src="http://www.petri.co.il/wp-content/uploads/23-port-mirroring.png" alt="port mirroring" width="557" height="434" /></a></p>
<p>Those are your main switch settings.</p>
<h3>vDS Uplink Port Group Settings</h3>
<p>Then you have what are called <strong>Uplinks</strong>. For the distributed switch, you only have one set of uplinks. This is in contrast to, say, the Cisco Nexus 1000V, which does allow you to have multiple uplink groups. You may have one uplink group connected to a DMZ network and a second one connected to the production network.</p>
<p>The DMZ uplink group cares about all the VLANs in the DMZ. The one for the production network cares about the VLANs found there. You can’t do that with the vSphere Distributed Switch. If you have a DMZ network and a separate physical production network, you’ll need to segment that, but you only have one uplink group in each vDS.</p>
<p>Let’s now see what we can set for uplinks. You can get to those settings by clicking the <strong>Manage this uplink port group</strong> link.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/24-manage-this-uplink-port-group.png"><img class="alignnone size-full wp-image-27465" title="manage this uplink port group" src="http://www.petri.co.il/wp-content/uploads/24-manage-this-uplink-port-group.png" alt="manage this uplink port group" width="580" /></a></p>
<h3>vDS Uplinks - General Section</h3>
<p>The General section is where you set the uplink’s name. It’s also where you put in a Description, Number of ports, and the Port binding option.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/25-dvuplink-general.png"><img class="alignnone size-full wp-image-27466" title="dvuplink general" src="http://www.petri.co.il/wp-content/uploads/25-dvuplink-general.png" alt="dvuplink general" width="548" height="412" /></a></p>
<h3>vDS Uplinks - Policies Section</h3>
<p>This is where you’ll see a whole bunch of policy settings, including: Security, Traffic Shaping, VLAN, Teaming and Failover, Resource Allocation, Monitoring, and Miscellaneous. The items in the subsections (e.g. Security, Traffic Shaping, etc.) are exactly the same items you’ll see in the main Policies section, except that they’re just grouped accordingly.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/26-policies.png"><img class="alignnone size-full wp-image-27468" title="policies section" src="http://www.petri.co.il/wp-content/uploads/26-policies.png" alt="policies section" width="550" height="411" /></a></p>
<p>One thing to take note of is that most of the items are going to be uneditable. That’s because they’re mainly going to be set at the port group level.</p>
<p>There are still a couple of things you can set. One of them is the VLAN trunk range. The default for that setting is 0 - 4094, meaning, everything. That includes tagged and untagged VLANs. If you follow your security best practices, you should only be configuring this for VLANs that the switch should actually expect to see on the physical world.</p>
<p>Most people leave the setting to the default (0 - 4094), but you can actually set it as shown in the screenshot.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/27-VLAN-trunk-range.png"><img class="alignnone size-full wp-image-27469" title="VLAN trunk range" src="http://www.petri.co.il/wp-content/uploads/27-VLAN-trunk-range.png" alt="VLAN trunk range" width="549" height="412" /></a></p>
<h3>vDS Uplinks - Advanced Section</em></p>
<p>In the Advanced section, you can allow the system to override certain port policies. You specify which policies can be overridden by clicking the <strong>Edit Override Settings</strong> link.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/28-override-port-policies.png"><img class="alignnone size-full wp-image-27472" title="override port policies" src="http://www.petri.co.il/wp-content/uploads/28-override-port-policies.png" alt="override port policies" width="548" height="412" /></a></p>
<p>Then as you can see, you simply choose either <strong>Yes</strong> or <strong>No</strong> if you want to allow or disallow overrides for a particular item.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/29-port-group-override-settings.png"><img class="alignnone size-full wp-image-27473" title="port group override settings" src="http://www.petri.co.il/wp-content/uploads/29-port-group-override-settings.png" alt="port group override settings" width="399" height="290" /></a></p>
<p>Basically, there are a lot of things under the uplink settings. But really, the only thing you’ll ever set there is the one concerning VLANs.</p>
<h3>Creating a New Distributed Port Group</h3>
<p>Let me show you now how to create a new Distributed Port Group.</p>
<p>Just select the main switch and then click <strong>New Port Group</strong> under the <strong>Summary</strong> tab.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/30-new-port-group.png"><img class="alignnone size-full wp-image-27474" title="new port group" src="http://www.petri.co.il/wp-content/uploads/30-new-port-group.png" alt="new port group" width="580" /></a></p>
<p>Give that port group a <strong>name</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/31-distributed-port-group-name.png"><img class="alignnone size-full wp-image-27475" title="distributed port group name" src="http://www.petri.co.il/wp-content/uploads/31-distributed-port-group-name.png" alt="distributed port group name" width="580" /></a></p>
<p>Next, assign a number for the <strong>Number of ports</strong>. Remember that when you plug in a VM's NIC, a VM kernel, or something like that, and then you attach it into one of these port groups, it uses a port.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/32-number-of-ports.png"><img class="alignnone size-full wp-image-27476" title="number of ports" src="http://www.petri.co.il/wp-content/uploads/32-number-of-ports.png" alt="number of ports" width="580" /></a></p>
<p>Make sure you set that number to something reasonable. For instance, vMotion might only need 1 port per server. So for that, you can probably set 10 or even 5 and still be OK. If you’re setting for production VM traffic and that particular VM had a /24-network, you might have to put 256 in there.</p>
<p>Just don’t go crazy. Don’t set it to some wacky number like 1024 when all you’ve got is a /24 network. You’re going to use up more ports as you go, and you don’t want to get to that 30,000-limit right away.</p>
<p>For the <strong>VLAN type</strong>, the choices are None, VLAN, VLAN Trunking, and Private VLAN. None means un-tagged.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/33-vlan-type.png"><img class="alignnone size-full wp-image-27477" title="vlan type" src="http://www.petri.co.il/wp-content/uploads/33-vlan-type.png" alt="vlan type" width="580" /></a></p>
<p>VLAN means that as a frame leaves this distributed switch, it’s going to stick a tag unto it for the VLAN number, and the uplink switch is gonna expect those frames to be tagged.</p>
<p>So for instance, in my case, I would set the VLAN ID to 110.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/34-vlan-id.png"><img class="alignnone size-full wp-image-27479" title="vlan id" src="http://www.petri.co.il/wp-content/uploads/34-vlan-id.png" alt="vlan id" width="580" /></a></p>
<p>Another option is VLAN Trunking. So if I want to do a trunk, I set VLANs up to my VMs. My VMs are going to expect to see tagged frames. They can have that special guest tagging driver installed.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/35-vlan-trunking.png"><img class="alignnone size-full wp-image-27480" title="vlan trunking" src="http://www.petri.co.il/wp-content/uploads/35-vlan-trunking.png" alt="vlan trunking" width="580" /></a></p>
<p>Finally, there’s Private VLAN. If you see a notice saying Private VLAN is not configured, you then have to configure it in the main switch. Once you’re done with that, you go back here and set the relevant options.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/36-private-vlan.png"><img class="alignnone size-full wp-image-27481" title="private vlan" src="http://www.petri.co.il/wp-content/uploads/36-private-vlan.png" alt="private vlan" width="580" /></a></p>
<p>After you click <strong>Next</strong>, you’ll be shown a summary of the things you just set. Click <strong>Finish</strong> to proceed with creating the port group.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/37-port-group-will-be-created.png"><img class="alignnone size-full wp-image-27482" title="port group will be created" src="http://www.petri.co.il/wp-content/uploads/37-port-group-will-be-created.png" alt="port group will be created" width="580" /></a></p>
<h3>Configuring a New Distributed Port Group</h3>
<p>Now, let’s say you want to configure some settings. Select that newly created port group and then click <strong>Manage this distributed port group</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/38-manage-this-distributed-port-group.png"><img class="alignnone size-full wp-image-27483" title="manage this distributed port group" src="http://www.petri.co.il/wp-content/uploads/38-manage-this-distributed-port-group.png" alt="manage this distributed port group" width="580" /></a></p>
<p>The first settings you can specify, which are found in the General section, are the Name, Description, Number of ports, and Port binding type. Port binding type can be set to either Static, Dynamic, or Ephemeral. This has to do with how it assigns those port numbers that we just talked about. Mostly, you’re going to leave that on Static.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/39-port-binding.png"><img class="alignnone size-full wp-image-27484" title="port binding" src="http://www.petri.co.il/wp-content/uploads/39-port-binding.png" alt="port binding" width="547" height="410" /></a></p>
<p>When you proceed to the Policies section, you’ll notice a lot of familiar settings. You’ll see the policy settings for Security, Traffic Shaping, VLAN, and so on.</p>
<p>Here’s where you change your VLAN tagging information and number.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/40-vlan-type.png"><img class="alignnone size-full wp-image-27485" title="vlan type" src="http://www.petri.co.il/wp-content/uploads/40-vlan-type.png" alt="vlan type" width="549" height="412" /></a></p>
<p>Here’s your Teaming and Failover, set at the port group level. This kind of confuses people because they think you set this at the uplink level. The answer to that is, No. You don’t, because you may do different hashing types and things like that. This depends on the type of traffic and the port group.</p>
<p>By default, it’s just going to be set like a standard vSwitch, and that is <strong>Route based on originating virtual port ID</strong>. There are actually several options, like:</p>
<ul>
<li>Route based on IP hash;</li>
<li>Route based on source MAC hash;</li>
<li>Route based on physical NIC load; and</li>
<li>Use explicit failover order</li>
</ul>
<p><a href="http://www.petri.co.il/wp-content/uploads/41-teaming-and-failover.png"><img class="alignnone size-full wp-image-27487" title="teaming and failover" src="http://www.petri.co.il/wp-content/uploads/41-teaming-and-failover.png" alt="teaming and failover" width="543" height="407" /></a></p>
<p><strong>Route based on physical NIC load</strong> is what is known as Load-based Teaming, which is the coolest one because it really looks at the NICs’ load.</p>
<p>All the rest, including Network Failover Detection, Notify Switches, Failback, and others, are standard VMware vSwitch settings.</p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2939&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2939', 'Click']);" title="" rel="nofollow"><img src="/media/2939.gif"  alt=" " /> </a></div></center>
<p>In the Failover Order list, you can do things relevant to Traffic Separation. For example, if we just want to just use dvUplink4 for vMotion traffic, we can select dvUplink1, 2, and 3 and then click the <strong>Move Down</strong> button until they’re under the Unused Uplinks.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/42-move-down-uplinks.png"><img class="alignnone size-full wp-image-27488" title="move down uplinks" src="http://www.petri.co.il/wp-content/uploads/42-move-down-uplinks.png" alt="move down uplinks" width="549" height="410" /></a></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/43-uplinks-moved-down.png"><img class="alignnone size-full wp-image-27489" title="uplinks moved down" src="http://www.petri.co.il/wp-content/uploads/43-uplinks-moved-down.png" alt="uplinks moved down" width="548" height="412" /></a></p>
<p>Or we can select dvUplink3 and move it to <strong>Standby Uplinks</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/44-move-up-uplink.png"><img class="alignnone size-full wp-image-27490" title="move up uplink" src="http://www.petri.co.il/wp-content/uploads/44-move-up-uplink.png" alt="move up uplink" width="550" height="409" /></a></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/45-uplink-moved-up.png"><img class="alignnone size-full wp-image-27491" title="uplink moved up" src="http://www.petri.co.il/wp-content/uploads/45-uplink-moved-up.png" alt="uplink moved up" width="549" height="411" /></a></p>
<p>Once you’re done, you just click <strong>OK</strong> and the changes you made will be automatically saved.</p>
<p>The tabs you see for that port group are basically just the same ones you saw in the main switch, except that they’re specific to the port group for certain things.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/46-tabs-for-port-group.png"><img class="alignnone size-full wp-image-27492" title="tabs for port group" src="http://www.petri.co.il/wp-content/uploads/46-tabs-for-port-group.png" alt="tabs for port group" width="580" /></a></p>
<h2>Conclusion</h2>
<p>Well, that’s it. We’ve gone through nearly all the settings for the main switch, uplinks, and port groups, and so we’re done. See you again next time.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/73_KoNsZ2NVsAc_dVlq5RWQblGs/0/da"><img src="http://feedads.g.doubleclick.net/~a/73_KoNsZ2NVsAc_dVlq5RWQblGs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/73_KoNsZ2NVsAc_dVlq5RWQblGs/1/da"><img src="http://feedads.g.doubleclick.net/~a/73_KoNsZ2NVsAc_dVlq5RWQblGs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/petrivirtualization/~4/9ZroF9Ddvxo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/vsphere-vds-setup.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/vsphere-vds-setup.htm</feedburner:origLink></item>
		<item>
		<title>VMware vCloud Director Essentials – Managing vCloud Director</title>
		<link>http://feedproxy.google.com/~r/petrivirtualization/~3/GUDAHBdB7xA/managing-vmware-vcloud-director.htm</link>
		<comments>http://www.petri.co.il/managing-vmware-vcloud-director.htm#comments</comments>
		<pubDate>Fri, 04 May 2012 19:02:14 +0000</pubDate>
		<dc:creator>David Davis, vExpert, VCP, CCIE 9369</dc:creator>
				<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=26889</guid>
		<description><![CDATA[In this video post, vExpert David Davis talks about vCloud Director Tasks and Events, and shows how to monitor Blocking Tasks, view Provider and Org vDC usage, and check vCD Logs. ]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>In this post, we’ll talk about vCloud Director Task and Events. We’ll also show you how to monitor Blocking Tasks, view Provider and Org vDC usage, and check vCD Logs. </p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=245&amp;host=www.manageengine.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 21', '245', 'Click']);" title="Start monitoring VMs in minutes! Download 30-day trial here »" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Monitoring Both Physical & Virtual Servers from One Console</strong></a><a href="http://www.petri.co.il/uri/?id=245&amp;host=www.manageengine.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 21', '245', 'Click']);" title="Start monitoring VMs in minutes! Download 30-day trial here »" rel="nofollow"><img src="/media/245.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p>Are you able to identify precisely which processes are sucking up resources and slowing down your servers? Can you do this equally well over VM guests that VMotion?<br />
<br />
OpManager also allows admins to remotely shut down problem-causing processes. With over 500 built-in monitors & 70 deep VMware metrics reported on, OpManager is one of the most comprehensive fault & performance management solutions available today for entire server infrastructure - both physical and virtual.<br />
<br />
</p><a  href="http://www.petri.co.il/uri/?id=245&amp;host=www.manageengine.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 21', '245', 'Click']);" title="Monitoring Both Physical & Virtual Servers from One Console" style="clear: both;" rel="nofollow">Start monitoring VMs in minutes! Download 30-day trial here »</a></div>
<p><center><em>(Instructional video below provides a walkthrough of the steps contained in this article.)</em><iframe width="420" height="315" src="http://www.youtube.com/embed/vHY8BTXewCY" frameborder="0" allowfullscreen></iframe></center></p>
<h2>Tasks and Events</h2>
<p>Just like in the VMware vSphere Client, you also have Tasks and Events inside the vCloud Director. Tasks are things that you requested vCloud Director to do, while events can be either the results of those tasks, or just system events that have happened inside vCloud Director. </p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=2748&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '2748', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px; background:url(http://www.petri.co.il/media/download.jpg) no-repeat left center; padding-top:5px"><p style="font-weight:bold; margin-left:30px; margin-top:3px; padding:6px 0px 6px 10px; ">Get 3 New FREE Windows 7 Certified Tools for Active Directory Administration</p></div></span></a></div>
<p>As a vCloud Director admin, you need to be monitoring vCloud Director tasks and events just like you do in the vSphere Client. Let’s now go over to an actual vCloud Director client and check out where and how you would do that. </p>
<p>If you start in the Home screen, there a couple of different places to go to when you want to monitor tasks and events. The first one is down at the bottom-left corner: in the <strong>Running</strong> and <strong>Failed</strong> statuses.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/01-running-and-failed-statuses.png"><img src="http://www.petri.co.il/wp-content/uploads/01-running-and-failed-statuses.png" alt="vCloud Director running and failed statuses" title="vCloud Director running and failed statuses" width="580" class="alignnone size-full wp-image-26903" /></a></p>
<p>If you click on either <strong>Running</strong> or <strong>Failed</strong>, you’ll be shown exactly the same interface. Of course, one will show you running (or recently ran) tasks, while the other will prioritize recently failed tasks. You can filter results by selecting an item from that drop-down list at the top. You can also conduct searches using the search box beside that list. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/02-recent-tasks.png"><img src="http://www.petri.co.il/wp-content/uploads/02-recent-tasks.png" alt="vCloud Director recent tasks" title="vCloud Director recent tasks" width="580" class="alignnone size-full wp-image-26904" /></a></p>
<p>Double-clicking on a task will reveal certain details about that particular task. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/03-activity-task-detail.png"><img src="http://www.petri.co.il/wp-content/uploads/03-activity-task-detail.png" alt="vCloud Director activity task detail" title="vCloud Director activity task detail" width="580" class="alignnone size-full wp-image-26905" /></a></p>
<p>Another place where you can monitor your tasks and events is in the <strong>Manage &#038; Monitor</strong> tab. If you go down and select the <strong>Logs</strong> section, you’ll see a much longer list of tasks and events, not just recent ones, like what was shown earlier.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/04-more-tasks-and-events-in-logs.png"><img src="http://www.petri.co.il/wp-content/uploads/04-more-tasks-and-events-in-logs.png" alt="vCloud Director more tasks and events in logs" title="vCloud Director more tasks and events in logs" width="580" class="alignnone size-full wp-image-26906" /></a></p>
<p>You can sort columns by clicking on their headings. In the screenshot, we’re seeing all failed tasks first.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/05-sort-tasks.png"><img src="http://www.petri.co.il/wp-content/uploads/05-sort-tasks.png" alt="vCloud Director sort tasks" title="vCloud Director sort tasks" width="580" class="alignnone size-full wp-image-26907" /></a></p>
<p>You can also filter and conduct searches, like in the previous section.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/06-search-and-filter-in-logs.png"><img src="http://www.petri.co.il/wp-content/uploads/06-search-and-filter-in-logs.png" alt="vCloud Director search and filter in logs" title="vCloud Director search and filter in logs" width="580" class="alignnone size-full wp-image-26908" /></a></p>
<p>To view events instead of tasks, click on the <strong>Events</strong> tab.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/07-events-tab.png"><img src="http://www.petri.co.il/wp-content/uploads/07-events-tab.png" alt="vCloud Director events tab" title="vCloud Director events tab" width="580" class="alignnone size-full wp-image-26909" /></a></p>
<p>If you’re an organizational admin, you can navigate to the <strong>Organizations</strong> section and click on an organization to monitor tasks and events for that particular organization.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/08-organizations.png"><img src="http://www.petri.co.il/wp-content/uploads/08-organizations.png" alt="vCloud Director organizations" title="vCloud Director organizations" width="580" class="alignnone size-full wp-image-26910" /></a></p>
<p>Once inside the organization, you can navigate to the <strong>My Cloud</strong> tab > <strong>Logs</strong> and then click either the <strong>Tasks</strong> or <strong>Events</strong> tab to, again, check on tasks and events.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/09-my-cloud-logs.png"><img src="http://www.petri.co.il/wp-content/uploads/09-my-cloud-logs.png" alt="vCloud Director my cloud logs" title="vCloud Director my cloud logs" width="580" class="alignnone size-full wp-image-26911" /></a></p>
<p>Depending on who you’re logging in as, you may have different views of tasks and events. </p>
<p>Those are the places where you can monitor tasks and events in vCloud Director. Let’s now proceed to the next section, where we’ll briefly talk about Blocking Tasks and where you can monitor them.</p>
<h2>Monitoring Blocking Tasks</h2>
<p>Blocking tasks are only used when you have integrated vCloud Director with other management tools in your organization. That also means you would have installed an Advanced Message Queuing Protocol Broker, or AMQP Broker. </p>
<p>An example of such a broker is VMware’s RabbitMQ. You would install RabbitMQ and then you would use that and integrate vCloud Director with other enterprise management applications (e.g. CMDBs) in your company. </p>
<p>When someone requests a vApp, that vApp has to be approved before it can actually be created in vCloud Director. These blocking tasks are really the status of these messages that flow back and forth between your other enterprise applications and vCloud Director.</p>
<p>Why exactly would you need to monitor blocking tasks? Well, for example, something you expect to happen in vCloud Director may not be happening because a blocking task has yet to complete. For example, a new vApp has yet to be approved by another management application in your infrastructure.</p>
<p>By monitoring blocking tasks, you would know what’s taking something so long to take place.</p>
<p>If you’re logged in as a vCloud Director admin, you can navigate to <strong>System</strong> > <strong>Manage &#038; Monitor</strong> > <strong>Blocking Tasks</strong>. Here, you will see the <strong>Status</strong> and <strong>Timeout</strong> of whatever it is you’re waiting for. You will also know who (through the User column) is responsible for these other applications, as well as figure out what vCloud Director is waiting on. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/10-vcloud-director-blocking-tasks.png"><img src="http://www.petri.co.il/wp-content/uploads/10-vcloud-director-blocking-tasks.png" alt="vCloud Director blocking tasks" title="vCloud Director blocking tasks" width="580" class="alignnone size-full wp-image-26912" /></a></p>
<h2>Provider and Org vDC usage</h2>
<p>Whenever you’re managing clusters and resource pools in vSphere, you normally want to monitor the resource utilization/capacity-over-time of those clusters and resource pools. You would want to do the same thing inside vCloud Director. </p>
<p>In fact, once you have vCloud Director, you wouldn’t want to stop monitoring those resource pools and clusters inside vSphere Client. However, in addition to those, you would also want to monitor your provider and organizational datacenter usage. </p>
<p>If you go over to the vCloud Director <strong>System</strong> > <strong>Home</strong> > <strong>Tasks</strong> section, you’ll see that under <strong>System</strong>, you have a link to <strong>Manage Provider vDCs</strong>. Then under <strong>Organizations</strong>, you also have a link to <strong>Manage organization vDCs</strong>. Inside each of these “management” screens, you’ll also find “monitoring” screens.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/11-manage-provider-and-organizational-vdcs.png"><img src="http://www.petri.co.il/wp-content/uploads/11-manage-provider-and-organizational-vdcs.png" alt="vCloud Director manage provider and organizational vdcs" title="vCloud Director manage provider and organizational vdcs" width="580" class="alignnone size-full wp-image-26913" /></a></p>
<p>Let’s follow the <strong>Manage Provider vDCs</strong> link first. In most cases, you’ll initially be brought to the <strong>Manage</strong>. However, right beside that tab is a <strong>Monitor</strong> tab. That’s where you’ll want to go if you want to view resource utilization information.</p>
<p>Notice how this provider virtual datacenter is really nearing the maximum limit for <strong>Memory</strong> and <strong>Storage Allocation</strong>. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/12-monitor-provider-vdcs.png"><img src="http://www.petri.co.il/wp-content/uploads/12-monitor-provider-vdcs.png" alt="vCloud Director monitor provider vdcs" title="vCloud Director monitor provider vdcs" width="580" class="alignnone size-full wp-image-26914" /></a></p>
<p>If you double-click on those percentage bars, you’ll be brought to a lower level where you can monitor resource utilization of specific organization vDCs under that particular provider vDC.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/13-organization-vdcs.png"><img src="http://www.petri.co.il/wp-content/uploads/13-organization-vdcs.png" alt="vCloud Director organization vdcs" title="vCloud Director organization vdcs" width="580" class="alignnone size-full wp-image-26915" /></a></p>
<p>As you can see from the screenshot above, one organization vDC is about to reach its limit in <strong>Storage</strong>, while the other organization vDC is about to reach its limit in <strong>Memory</strong>. Both organization vDCs are pulling resources from the WBC-Gold provider vDC. So, there may still be more resources in the provider vDCs, but not enough resources are allocated to certain organization vDCs.</p>
<p>From here, you can go to the <strong>Resource Pools</strong> tab and get more utilization information there. Apparently, the amount of <strong>Memory</strong> used by this resource pool is really hitting the maximum. That’s something you really want to be aware of.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/14-resource-pools.png"><img src="http://www.petri.co.il/wp-content/uploads/14-resource-pools.png" alt="vCloud Director resource pools" title="vCloud Director resource pools" width="580" class="alignnone size-full wp-image-26916" /></a></p>
<p>You can confirm that information if you go over to your <strong>vSphere Client</strong>, navigate to the resource pool in question, and then select the <strong>Resource Allocation</strong> tab. Notice how there is very little <strong>available capacity</strong> for <strong>Memory</strong>.</p>
<p>Thus, what you’re seeing in vCloud Director for the provider virtual data center that’s mapped to this resource pool in the vSphere Client is really matching up. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/15-resource-allocation.png"><img src="http://www.petri.co.il/wp-content/uploads/15-resource-allocation.png" alt="vCloud Director resource allocation" title="vCloud Director resource allocation" width="580" class="alignnone size-full wp-image-26917" /></a></p>
<p>Now, if you go in as an organizational admin and then navigate to <strong>Administration</strong> > <strong>Virtual Datacenters</strong> > <strong>Monitor</strong>, you’ll see the same information regarding the organization vDCs in question. </p>
<p>It’s not just the vCloud Director system admin who is going to see those organization vDCs pushing their resource limits. Organizational admins can go in and see those as well. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/16-virtual-datacenters.png"><img src="http://www.petri.co.il/wp-content/uploads/16-virtual-datacenters.png" alt="vCloud Director virtual datacenters" title="vCloud Director virtual datacenters" width="580" class="alignnone size-full wp-image-26918" /></a></p>
<h2>vCD Logs</h2>
<p>The last section in this post is about vCloud Director log files. It’s important for any admin to go in and look at the text-based log files, or at least know where they are. That way, if VMware Support asks you to send the log files or look into the log files, you’ll know where they are.</p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2965&amp;host=go.appassure.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 37', '2965', 'Click']);" title="" rel="nofollow"><img src="/media/2965.gif"  alt=" " /> </a></div></center>
<p>When it comes to vCloud Director, if you connect to the console of the vCloud Director virtual machine, you can go to:</p>
<p><strong>/opt/vmware/vcloud-director/logs</strong> </p>
<p>to view the log files.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/17-vcd-log-files.png"><img src="http://www.petri.co.il/wp-content/uploads/17-vcd-log-files.png" alt="vCloud Director vcd log files" title="vCloud Director vcd log files" width="580" class="alignnone size-full wp-image-26919" /></a></p>
<p>Let’s take a look at the contents of one of these logs. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/18-cat-cell_log.png"><img src="http://www.petri.co.il/wp-content/uploads/18-cat-cell_log.png" alt="vCloud Director cat cell_log" title="vCloud Director cat cell_log" width="580" class="alignnone size-full wp-image-26920" /></a></p>
<h2>Conclusion</h2>
<p>Basically, there’s a lot of information in there. At least you now know where to find the logs and how to view the information they have inside. The vCloud Director Web Interface doesn’t always give you the information you need in relation to something that doesn’t go as planned. If you hit a blank wall there, you know where to do further investigation. </p>
<p>That brings us to the end of this post. I hope you learned a lot and look forward to having you here again next time. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/JogxjupOP3JZZDlGYzRaxZCnPoA/0/da"><img src="http://feedads.g.doubleclick.net/~a/JogxjupOP3JZZDlGYzRaxZCnPoA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/JogxjupOP3JZZDlGYzRaxZCnPoA/1/da"><img src="http://feedads.g.doubleclick.net/~a/JogxjupOP3JZZDlGYzRaxZCnPoA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/petrivirtualization/~4/GUDAHBdB7xA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/managing-vmware-vcloud-director.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/managing-vmware-vcloud-director.htm</feedburner:origLink></item>
		<item>
		<title>VMware vCloud Director Essentials – Setting up vCloud Director – Part 2</title>
		<link>http://feedproxy.google.com/~r/petrivirtualization/~3/SPDxjcHI2dI/setting-up-vmware-vcloud-director-essentials-part-2.htm</link>
		<comments>http://www.petri.co.il/setting-up-vmware-vcloud-director-essentials-part-2.htm#comments</comments>
		<pubDate>Fri, 27 Apr 2012 14:50:40 +0000</pubDate>
		<dc:creator>David Davis, vExpert, VCP, CCIE 9369</dc:creator>
				<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=26717</guid>
		<description><![CDATA[In Part 1 of this two-part series, David Davis gave an overview of the vCloud Director web interface and demonstrated how to connect to vCenter and vShield. In the conclusion of this series, Davis talks about creating two important entities: a Provider Virtual Datacenter and a VM Deployment Template. ]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>In Part 1 of this post, we showed you around the vCloud Director web interface and then proceeded to demonstrate how you could connect to vCenter and vShield [<a href="http://www.petri.co.il/setting-up-vmware-vcloud-director-part-1.htm" title="VMware vCloud Director Essentials - Setting up vCloud Director - Part 1">VMware vCloud Director Essentials - Setting up vCloud Director - Part 1</a>]. Now, we’re ready to talk about creating two important entities: a <strong>Provider Virtual Datacenter</strong> and a <strong>VM Deployment Template</strong>. </p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3018&amp;host=www.trainsignal.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 10', '3018', 'Click']);" title="VMware vCloud Director Essentials - Available at TrainSignal!!" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">VMware vCloud Director Essentials Training</strong></a><a href="http://www.petri.co.il/uri/?id=3018&amp;host=www.trainsignal.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 10', '3018', 'Click']);" title="VMware vCloud Director Essentials - Available at TrainSignal!!" rel="nofollow"><img src="/media/3018.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p>This course teaches cloud computing basics and shows how to use VMware vCloud Director to create a hybrid cloud that can deploy IT resources on-demand. Learn VMware vCD and evolve your datacenter into a model that saves time & money while providing flexibility to users and your business.</p><a  href="http://www.petri.co.il/uri/?id=3018&amp;host=www.trainsignal.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 10', '3018', 'Click']);" title="VMware vCloud Director Essentials Training" style="clear: both;" rel="nofollow">VMware vCloud Director Essentials - Available at TrainSignal!!</a></div>
<p><center><em>(Instructional video below provides a walkthrough of the steps contained in this article.)</em><br />
<iframe width="420" height="315" src="http://www.youtube.com/embed/925k9nWFsu4" frameborder="0" allowfullscreen></iframe></center></p>
<h2>Creating a Provider Virtual Datacenter</h2>
<p>According to the VMware knowledgebase, a provider virtual datacenter (provider vDC) “combines the compute and memory resources of a single vCenter Server resource pool with the storage resources of one or more datastores connected to that resource pool,” and that it is the “source for organization vDCs.”</p>
<p>First, you need to create a provider vDC, which is going to serve as the source for all organizational vDCs underneath. </p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=2726&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '2726', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px; background:url(http://www.petri.co.il/media/download.jpg) no-repeat left center; padding-top:5px"><p style="font-weight:bold; margin-left:30px; margin-top:3px; padding:6px 0px 6px 10px; ">Download FREE Tool >>  SolarWinds WMI Monitor</p></div></span></a></div>
<p>Think of it like this. Assuming you were a private cloud provider and you have three different tiers of service: Gold, Silver, and Bronze. You could, for example, create provider vDCs called “Gold,” “Silver,” and “Bronze,” and then you could create customer organization virtual datacenters inside each one. </p>
<p>As a result, the organizations could have those three different tiers of service. Alternatively, they could subscribe to just one tier of service, e.g. they just have an organizational vDC inside of the Bronze provider vDC.  </p>
<p>You need to first create at least one provider vDC, which is going to link to a single resource pool from a single vCenter server. In other words, you’ve got this resource pool, which is part of DRS cluster. </p>
<p>In that Distributed Resource Scheduler (DRS) cluster, you typically will have at least two hosts so you can take advantage of High Availability (HA) and DRS. The provider vDC would connect to that resource pool inside the DRS cluster. That’s typically how it’s done. </p>
<p>Let’s say you have one management DRS cluster where you run DNS, vCenter, and the vShield Manager. Then you’ve got these other resource DRS clusters, and each of those resource clusters may have different qualities of servers. </p>
<p>You might have some really powerful servers in the Gold resource pool or the Gold DRS cluster. And then down the line to the Bronze DRS cluster, you might have some older servers with some local SAS storage.</p>
<p>You can create a new provider vDC in the <strong>VMware vCloud Director</strong> by going to the <strong>Manage &#038; Monitor tab</strong>, click <strong>Provider vDC</strong>, and then <strong>New Provider vDC</strong>. Alternatively, you can go to <strong>Quick Start</strong> and then click on <strong>Create a Provider vDC</strong>. That’s what is being shown in the screenshot below:</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/33-create-provider-vDC.png"><img src="http://www.petri.co.il/wp-content/uploads/33-create-provider-vDC.png" alt="create provider vDC" title="create provider vDC" width="580" class="alignnone size-full wp-image-26725" /></a></p>
<p>You need to give that new Provider vDC a <strong>Name</strong> and a short <strong>Description</strong>. You might want to <strong>Enable</strong> it by default. If you have brand new ESXi 5 servers, then you can select <strong>Hardware Version 8</strong> from the drop-down list. When you’re done with that, click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/34-name-this-provider-vDC.png"><img src="http://www.petri.co.il/wp-content/uploads/34-name-this-provider-vDC.png" alt="name this provider vDC" title="name this provider vDC" width="580" class="alignnone size-full wp-image-26726" /></a></p>
<p>Your next task would be to select a resource pool. You start by selecting a vCenter server. After that, you select a resource pool that you created earlier in the vSphere virtual infrastructure. Click <strong>Next</strong> when you’re done.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/35-select-resource-pool.png"><img src="http://www.petri.co.il/wp-content/uploads/35-select-resource-pool.png" alt="select resource pool" title="select resource pool" width="580" class="alignnone size-full wp-image-26727" /></a></p>
<p>Next, you need to add some storage. From the top panel, select a bunch of datastores that you want to be responsible for supplying storage to the new provider vDC. In our screenshot below, we opted not to select the local storage option. Instead, we went with the available shared SAN storage. </p>
<p>After selecting datastores, click the <strong>Add</strong> button. That will populate the lower panel with the names and details of the datastores you selected. Once you’re done, click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/36-add-datastores.png"><img src="http://www.petri.co.il/wp-content/uploads/36-add-datastores.png" alt="add datastores" title="add datastores" width="580" class="alignnone size-full wp-image-26728" /></a></p>
<p>At this point, you need to have the ESXi hosts in that DRS Cluster prepared for vCloud Director. That means the vCloud Director agent needs to be loaded on them. To do that, just enter the root <strong>username</strong> and <strong>password</strong> into the boxes provided for them and then click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/37-prepare-hosts.png"><img src="http://www.petri.co.il/wp-content/uploads/37-prepare-hosts.png" alt="prepare hosts" title="prepare hosts" width="580" class="alignnone size-full wp-image-26729" /></a></p>
<p>After reviewing the settings and finding everything alright, you can go ahead and click <strong>Finish</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/38-ready-to-complete.png"><img src="http://www.petri.co.il/wp-content/uploads/38-ready-to-complete.png" alt="ready to complete" title="ready to complete" width="580" class="alignnone size-full wp-image-26730" /></a></p>
<p>You’ll then notice that, under the Quick Start menu, step number two will already be entitled <strong>“Create another Provider vDC”</strong> instead of <strong>“Create a Provider vDC,”</strong> which indicates that a provider vDC already exists.  </p>
<p>You can check out your newly created provider vDC by going to <strong>Manage &#038; Monitor</strong> and then to <strong>Provider vDCs</strong>. If the system is not yet done creating the provider vDC, you’ll see the provider vDC’s <strong>Status</strong> marked as <strong>“Creating Provider vDC.”</strong></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/39-provider-vDCs-in-Manage-and-Monitor.png"><img src="http://www.petri.co.il/wp-content/uploads/39-provider-vDCs-in-Manage-and-Monitor.png" alt="provider vDCs in Manage and Monitor" title="provider vDCs in Manage and Monitor" width="580" class="alignnone size-full wp-image-26732" /></a></p>
<p>Now, if you go down and click <strong>Resource Pools</strong>, you’ll be able to see your resource pools as well as be able to access them from there. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/40-resource-pools.png"><img src="http://www.petri.co.il/wp-content/uploads/40-resource-pools.png" alt="resource pools" title="resource pools" width="580" class="alignnone size-full wp-image-26733" /></a></p>
<p>Similarly, if you click on <strong>Hosts</strong>, you’ll see your hosts. In the screenshot, they’re shown with <strong>Status</strong> “Installing.” That’s because, at this stage, the Agent is still being installed on these hosts, an activity which could take a couple of minutes.  </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/41-hosts.png"><img src="http://www.petri.co.il/wp-content/uploads/41-hosts.png" alt="hosts" title="hosts" width="580" class="alignnone size-full wp-image-26734" /></a></p>
<p>You can verify that by clicking on the status themselves (i.e. “Installing”). </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/42-activity-status-detail.png"><img src="http://www.petri.co.il/wp-content/uploads/42-activity-status-detail.png" alt="activity status detail" title="activity status detail" width="551" height="415" class="alignnone size-full wp-image-26735" /></a></p>
<p>After a few minutes, the Agent installation should complete. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/43-agent-failed-to-load.png"><img src="http://www.petri.co.il/wp-content/uploads/43-agent-failed-to-load.png" alt="agent failed to load" title="agent failed to load" width="580" class="alignnone size-full wp-image-26736" /></a></p>
<p>Now, in case your vCloud Director Agent fails to load, like in the scenario shown above, one of the things you can check when troubleshooting is whether the hosts could be placed into maintenance mode. That way, the Agent can be loaded.  </p>
<p>You can go to your vSphere Client and check on the status of those hosts; see what virtual machines are running on them. If they can’t be moved to another host in the cluster using VMotion, then the host can’t be put into maintenance mode, and the agent won’t be able to be loaded. </p>
<p>Looking at the two hosts in our setup, this host has two virtual machines running. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/44-esx-server.png"><img src="http://www.petri.co.il/wp-content/uploads/44-esx-server.png" alt="esx server" title="esx server" width="580" class="alignnone size-full wp-image-26737" /></a></p>
<p>This host, on the other hand, has no virtual machine running on it, so we decide to check back on the agent on this host first. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/45-another-esx-server.png"><img src="http://www.petri.co.il/wp-content/uploads/45-another-esx-server.png" alt="another esx server" title="another esx server" width="580" class="alignnone size-full wp-image-26738" /></a></p>
<p>After inspecting the status of your hosts on the vSphere Client, you can go back to the vCloud Director and continue your troubleshooting there. To proceed installing the Cloud Agent on a host, select that host and then click the little gear at the top of the panel.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/46-select-host.png"><img src="http://www.petri.co.il/wp-content/uploads/46-select-host.png" alt="select host" title="select host" width="580" class="alignnone size-full wp-image-26739" /></a></p>
<p>When the context menu appears, click <strong>Prepare Host</strong>...</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/47-prepare-host.png"><img src="http://www.petri.co.il/wp-content/uploads/47-prepare-host.png" alt="prepare host" title="prepare host" width="580" class="alignnone size-full wp-image-26740" /></a></p>
<p>Enter your root username and password, and then click <strong>OK</strong>. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/48-enter-root-username-and-password.png"><img src="http://www.petri.co.il/wp-content/uploads/48-enter-root-username-and-password.png" alt="enter root username and password" title="enter root username and password" width="554" height="449" class="alignnone size-full wp-image-26742" /></a></p>
<p>The agent should start installing on your host. Wait until the agent installs successfully on that host before proceeding to the next problematic host. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/49-host-installing.png"><img src="http://www.petri.co.il/wp-content/uploads/49-host-installing.png" alt="host installing" title="host installing" width="580" class="alignnone size-full wp-image-26743" /></a></p>
<p>If you go back to your vSphere Client with installation going on, you will see that the host has entered maintenance mode. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/50-host-entering-maintenance-mode.png"><img src="http://www.petri.co.il/wp-content/uploads/50-host-entering-maintenance-mode.png" alt="host entering maintenance mode" title="host entering maintenance mode" width="580" class="alignnone size-full wp-image-26744" /></a></p>
<p>Once the agent is finished installing, the host will automatically get out of maintenance mode. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/51-host-exiting-maintenance-mode.png"><img src="http://www.petri.co.il/wp-content/uploads/51-host-exiting-maintenance-mode.png" alt="host exiting maintenance mode" title="host exiting maintenance mode" width="580" class="alignnone size-full wp-image-26745" /></a></p>
<p>After that, you can shift back to your vCloud Director. </p>
<p>Assuming you encounter yet another problem, you can simply click the Status to view what the problem is all about. One thing I’d like to point out is that, once you have green check marks on all three columns: Enabled, Ready, and Available, that’s usually a good sign and means the remaining issues can be resolved easily.  </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/52-cannot-prepare-host.png"><img src="http://www.petri.co.il/wp-content/uploads/52-cannot-prepare-host.png" alt="cannot prepare host" title="cannot prepare host" width="580" class="alignnone size-full wp-image-26746" /></a></p>
<p>The reason why the system wasn’t able to prepare the host in our case was because Host Spanning on our host failed to enable. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/53-activity-task-detail.png"><img src="http://www.petri.co.il/wp-content/uploads/53-activity-task-detail.png" alt="activity task detail" title="activity task detail" width="509" height="414" class="alignnone size-full wp-image-26747" /></a></p>
<p>The recommended solution was to select “<strong>Repair</strong>” from the host menu, so we did just that. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/54-repair-host.png"><img src="http://www.petri.co.il/wp-content/uploads/54-repair-host.png" alt="repair host" title="repair host" width="580" class="alignnone size-full wp-image-26748" /></a></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/55-host-repairing.png"><img src="http://www.petri.co.il/wp-content/uploads/55-host-repairing.png" alt="host repairing" title="host repairing" width="580" class="alignnone size-full wp-image-26749" /></a></p>
<p>Now, even after repairing, you might still receive a couple of system alerts. They’re mostly stuff that can be remedied, so don’t freak out. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/56-system-alerts.png"><img src="http://www.petri.co.il/wp-content/uploads/56-system-alerts.png" alt="system alerts" title="system alerts" width="580" class="alignnone size-full wp-image-26750" /></a></p>
<p>For instance, when we clicked on that particular system alert in the screenshot above, we were told that the Host Spanning configuration on our host was not up to date. After reading the FAQs, we learned that the issue normally clears out after a few minutes. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/57-details.png"><img src="http://www.petri.co.il/wp-content/uploads/57-details.png" alt="details" title="details" width="477" height="447" class="alignnone size-full wp-image-26751" /></a></p>
<p>Here’s what we got after also repairing the second host. Like the first host, it displayed a System Alert simply because its Host Spanning configuration was not yet up to date. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/58-all-hosts-enabled-ready-available.png"><img src="http://www.petri.co.il/wp-content/uploads/58-all-hosts-enabled-ready-available.png" alt="all hosts enabled ready available" title="all hosts enabled ready available" width="580" class="alignnone size-full wp-image-26752" /></a></p>
<p>If you’re a service provider, you can go in and add more Provider VDCs by navigating to the Provider VDCs menu and clicking the green (+) button.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/59-add-provider-VDCs.png"><img src="http://www.petri.co.il/wp-content/uploads/59-add-provider-VDCs.png" alt="add provider VDCs" title="add provider VDCs" width="580" class="alignnone size-full wp-image-26753" /></a></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/60-name-this-provider-VDC.png"><img src="http://www.petri.co.il/wp-content/uploads/60-name-this-provider-VDC.png" alt="name this provider VDC" title="name this provider VDC" width="580" class="alignnone size-full wp-image-26754" /></a></p>
<p>The reason you might want to do that is because you might want to add other tiers of service like Silver and Bronze. If you have different clusters, you can add a cluster for Human Resources, another one for Finance, and still another for Development. If your company has different divisions, like East, West, European, or Asian divisions, you can create clusters for those and manage them as different Provider Virtual DataCenters. </p>
<h2>Creating a VM Deployment Template</h2>
<p>Before we wrap up this post, let’s talk about creating a virtual machine deployment template. </p>
<p>Just like with vCenter and vSphere, when you want vCloud Director to perform guest customizations on virtual machines of older Windows guest operating systems like Windows Server 2000, 2003, or Windows XP, you must create Microsoft system deployment templates or Sysprep deployment packages on each cloud cell in your installation.  </p>
<p>Now, if all you’re running in your vCloud infrastructure are Windows Server 2008 and Windows 7, then you don’t have to read this part anymore. Just remember that if you ever have to deal with older versions of Windows in the future, you know where to find the information you need.</p>
<p>To begin, you will have to download, extract, and copy the sysprep binary files into a location of your choosing on your vCloud Director server host. That location is usually known as the SysprepBinariesDirectory. </p>
<p>For more information about where you can obtain the binary files and how you’re going to copy them to your server host, refer to <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&#038;cmd=displayKC&#038;externalId=1005593">VMware KB 1005593</a>. Actually, the information you’ll find in that knowledgebase article pertains to VCenter, but they’re practically the same. </p>
<p>If you scroll down that article, you’ll see a table that shows you where exactly you need to place the sysprep files. Files for different Windows versions should be placed in different folders.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/61-KB-1005593.png"><img src="http://www.petri.co.il/wp-content/uploads/61-KB-1005593.png" alt="KB 1005593" title="KB 1005593" width="580" class="alignnone size-full wp-image-26755" /></a></p>
<p>Another good source of information is Duncan Epping’s article at <a href="http://www.yellow-bricks.com/">yellow-bricks.com</a>, where you’ll find links to the sysprep files for specific operating systems/service packs of Windows. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/62-sysprep-packages.png"><img src="http://www.petri.co.il/wp-content/uploads/62-sysprep-packages.png" alt="sysprep packages" title="sysprep packages" width="580" class="alignnone size-full wp-image-26756" /></a></p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2965&amp;host=go.appassure.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 37', '2965', 'Click']);" title="" rel="nofollow"><img src="/media/2965.gif"  alt=" " /> </a></div></center>
<p>Those are actually .exe files, which, when opened, will allow you to extract a bunch of files. Just copy those files to the SysprepBinariesDirectory folder we talked about earlier, i.e., in your vCloud Director server. </p>
<p>During installation, vCloud Director is going to place some files in the sysprep folder on the vCloud Director server host. More specifically, those files are going to be placed in:</p>
<p><strong>/opt/vmware/cloud-director/deploymentPackageCreator</strong> for vCloud Director v.1<br />
or<br />
<strong>/opt/vmware/vcloud-director/deploymentPackageCreator</strong> for vCloud Director v.1.5</p>
<p>In there, you’ll find a script named <strong>createSysprepPackage.sh</strong>. Run that file in the SysprepBinariesDirectory. If your SysprepBinariesDirectory is /root/yoursysprep, then you would run it this way in vCloud Director v1.5:</p>
<p><strong>/opt/vmware/vcloud-director/deploymentPackageCreator/createSysprepPackage.sh /root/yoursysprep</strong></p>
<p>Lastly, run <strong>vmware-vcd restart</strong>. You would need to run this on each cloud cell on which you copied the files to.</p>
<h2>Conclusion</h2>
<p>That ends our 2-part article. We hope what you’ve learned here will help you in setting up your installation of vCloud Director.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/OXtzgNLyqU9DWetMRcyFpU58YmE/0/da"><img src="http://feedads.g.doubleclick.net/~a/OXtzgNLyqU9DWetMRcyFpU58YmE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/OXtzgNLyqU9DWetMRcyFpU58YmE/1/da"><img src="http://feedads.g.doubleclick.net/~a/OXtzgNLyqU9DWetMRcyFpU58YmE/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/petrivirtualization/~4/SPDxjcHI2dI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/setting-up-vmware-vcloud-director-essentials-part-2.htm/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/setting-up-vmware-vcloud-director-essentials-part-2.htm</feedburner:origLink></item>
		<item>
		<title>Converting VMware VMDK Files to Microsoft’s VHD Format and VHD to VMDK</title>
		<link>http://feedproxy.google.com/~r/petrivirtualization/~3/t_4sRf568Mw/converting-vmware-files.htm</link>
		<comments>http://www.petri.co.il/converting-vmware-files.htm#comments</comments>
		<pubDate>Tue, 24 Apr 2012 14:37:30 +0000</pubDate>
		<dc:creator>Tom Finnis</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[v2v]]></category>
		<category><![CDATA[vhd]]></category>
		<category><![CDATA[virtual disk]]></category>
		<category><![CDATA[virtualize]]></category>
		<category><![CDATA[vmdk]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=22098</guid>
		<description><![CDATA[There are two popular and mutually incompatible virtual disk file formats in common use today: VMware's VMDK format and Microsoft's VHD format. In order to attach a VHD disk to a VMware virtual machine, or vice-versa, you have to convert it first. This guide by virtualization and storage expert Tom Finnis explains how to use Starwind's V2V Converter utility to do just that, with a detailed example explaining how to convert a VMDK virtual disk to VHD format and then mount it in a Windows system in order to edit the files it contains. ]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>VMware's virtualization products, such as ESXi and Workstation, all use versions of the VMDK file format for their virtual hard disk files - essentially an entire hard disk in a .vmdk file. In contrast, Microsoft has standardized on the VHD file format for the same purpose, used by Virtual PC and Hyper-V, as well as being natively supported by the Windows 2008/7 file system. You can mount a vmdk file within Windows but you need to have the VMware Disk Mount utility installed, whilst if you have Windows 2008 or 7 then you can "attach" a VHD file and give it its own drive letter.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Hyper-V™ vs. vSphere™</strong></a><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow"><img src="/media/3037.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p><b>Problem:</b>  Microsoft’s planned enhancements for Hyper-V version 3 have more and more customers planning for a dual hypervisor environment.  Unfortunately, multiple management consoles are hard to use, clunky, and don’t provide the flexibility needed in measuring & managing virtual infrastructures. <br />
<br />
<b>Solution:</b>  SolarWinds Virtualization Manager now allows you to see both VMware and Hyper-V environments in a single pane of glass.  </p><a  href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="Hyper-V™ vs. vSphere™" style="clear: both;" rel="nofollow">FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0</a></div>
<h2>When Should You Use This Guide?</h2>
<p>Don't use this guide if you are looking to convert an operating system boot drive, e.g. to migrate a Virtual PC VM to an ESXi server, as there are several additional steps you would need to carry out to make the virtual disk bootable. Instead, use a dedicated conversion utility such as the VMware Converter Standalone, or the Converter plug-in for vSphere as explained in this Petri article: "<a href="http://www.petri.co.il/import-vm-hyper-v-to-vsphere.htm" title="Importing Hyper-V VMs Into vSphere">Importing Hyper-V VMs Into vSphere</a>."</p>
<p>However, if it's just the data files you need to access, then this is a quick and easy way to do it - for example, if you have a corrupted Windows 2008 ESXi VM that no longer boots and you want to access the system disk in order to replace some dll files. Alternatively, you might have a data drive on a Hyper-V VM that you want to copy to an ESXi VM, but for security or speed reasons a network copy is not an option. In both scenarios, the ability to convert from VMDK to VHD or vice-versa can be a real time saver.</p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=2986&amp;host=www.windowsazure.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2986', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px; background:url(http://www.petri.co.il/media/download.jpg) no-repeat left center; padding-top:5px"><p style="font-weight:bold; margin-left:30px; margin-top:3px; padding:6px 0px 6px 10px; ">Explore what you can build with Windows Azure</p></div></span></a></div>
<h2>The Starwind V2V virtual disk conversion utility</h2>
<p>For this task, we will be using the Starwind V2V Image Converter, which is a free utility available from the <a href="http://www.starwindsoftware.com/converter" title="Starwind V2V Image Converter" target="_blank">Starwind website</a>. If you haven't encountered them before, Starwind is best known for their software iSCSI SAN solution, which allows you to present storage space on a Windows system as a shared iSCSI target - essential for advanced virtualization features such as VM High Availability. Apart from anything else, it means that they have an in-depth knowledge of storage systems and virtual disks, enabling them to produce this handy tool.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/StarwindV2V.jpg"><img src="http://www.petri.co.il/wp-content/uploads/StarwindV2V.jpg" alt="StarwindV2V" title="StarwindV2V" width="535" height="430" class="alignnone size-full wp-image-22099" /></a></p>
<p>It's only a small file so it shouldn't take you long to download. When it's completed, run it to launch the installer and follow the installation wizard; you should be fine with all the default options. Once it is installed, launch the program and you should see a window like the image above. For this example, we will take a drive from an ESXi hosted Windows 7 VM, convert it to a Microsoft VHD file, and then attach it as a new drive on a Windows 2008 Server.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/BrowseDatastore.jpg"><img src="http://www.petri.co.il/wp-content/uploads/BrowseDatastore.jpg" alt="Browse Datastore" title="Browse Datastore" width="357" height="238" class="alignnone size-full wp-image-22100" /></a></p>
<p>To start the process, you need to download the virtual disk vmdk file from the ESXi server to the computer you installed the V2V Converter on. Connect to the ESXi Server with your vSphere Client, select the VM, and make sure you are on the "Summary" tab in the right-hand pane; then in the "Resources" box, right-click on the datastore and select "Browse Datastore."</p>
<p>This will open a new file browser type window showing the contents of the datastore, with separate folders for each VM stored in it, so browse to the one you want to work on. Depending on the number of virtual disks attached to your VM there may be several VMDK files listed, but you can often spot the correct one by just checking the size, unless they are identical. If this is the case, you can confirm the file name by selecting "Edit Settings" on the VM, and then selecting the drive from the hardware list; it will then show the file path and name. When you are happy you have found the correct file, click to highlight it and left-click the "download file" icon in the toolbar above. You will then be asked to choose where you want to download it to; select a suitable location, but make sure you check that there is enough free space first, as the downloader won't do it for you. It's annoying to have a large download fail after 30 minutes because the drive is full!</p>
<p>Now that you have downloaded your VMDK file, close the datastore browser and return to the Starwind V2V Converter, click "Next" to move onto the "Select Source File" window, and use the file browser to select the file you just downloaded. You may find that there are two VMDK files in the location, one of which has "_flat" appended to its name and is the right size for the drive you downloaded, but you need to select the other file with the unaltered file name (if you choose the wrong one then the utility will tell you it can't read the file anyway). Now the utility should show the VMDK file you have selected with a brief description including the total size for the virtual disk it represents:</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/select-source.jpg"><img src="http://www.petri.co.il/wp-content/uploads/select-source.jpg" alt="select source" title="select source" width="530" height="253" class="alignnone size-full wp-image-22101" /></a></p>
<p>Now click "Next," and in the next window you will be asked to select what format you want to convert your virtual disk into. The first part should be obvious - "MS Virtual PC," but you also have to choose between "growable" and "pre-allocated," which are Starwind's terms for thin and thick provisioning respectively. If you're not that familiar with virtual disk terms, "thin" provisioning means that the disk file only uses enough storage space to contain the actual data in the virtual disk, whereas "thick" automatically creates a file that is the size of the virtual disk, even if 95% of it is empty space. Thick provisioned disks have better write performance and you don't have to worry about them not working if the host disk runs out of space, but for this operation it will be much easier to keep the file as small as possible, so select the "growable" option. Click "Next" to start the conversion process and wait until it completes. You should see a window like this:</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/conversion.jpg"><img src="http://www.petri.co.il/wp-content/uploads/conversion.jpg" alt="conversion" title="conversion" width="518" height="260" class="alignnone size-full wp-image-22102" /></a></p>
<p>Now you can click "Finish" and the V2V utility will close; browse to the location you selected for the converted file and you should see the .vhd file there. Now for the final step to gain access to the files: If you wish, you can attach the VHD virtual disk to a Microsoft VM, but for this example, we want to mount it as another drive on our computer. Note that this procedure will only work in Windows 2008 or Windows 7; if you have an older version, you will need to use a utility called VHDmount.</p>
<p>To mount the VHD file as a drive, you need to open the Disk Management snap-in; you can either get to this via the Server/Computer Management console, or just click "Start" and enter <strong>diskmgmt.msc</strong> to open it. You should then see the list of volumes and disks attached to your computer in the console; click the "Action" menu and select "Attach VHD," and you will then be prompted to select the file:</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/attachVHD.jpg"><img src="http://www.petri.co.il/wp-content/uploads/attachVHD.jpg" alt="attach VHD" title="attach VHD" width="386" height="180" class="alignnone size-full wp-image-22103" /></a></p>
<p>Note that you also have the option to mount the virtual disk as Read-only; this may be useful in some situations, but we will leave it unchecked this time and just click "OK." After a brief pause, you should then be able to see that your virtual disk has appeared in both the list of disks and volumes, and if you open Windows Explorer, you will be able to use it like any other drive. Since we selected the "growable" (thin provisioned) format, you will also find that if you save any new files to this drive, then the .vhd will correspondingly grow in size.</p>
<p>What has actually happened when we attached the VHD, is that Windows has first just mounted it as a drive, and then it inspects the partition table to see if it can recognize the data. Since this VHD started off as a Windows drive originally, the current OS recognizes it as a valid volume and mounts the file system, assigning the next available drive letter (you can easily change the drive letter if you want by right-clicking on the volume). In comparison, if this VHD came from a Linux virtual disk originally, then it might well be formatted using the ext3 file system which Windows cannot read; then it does not assign a drive letter and shows the partition as "unknown." For some foreign filesystems, you can download third party extensions for Windows, which allow it to recognize the volume and assign a drive letter, so you can then access like a normal volume.</p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2939&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2939', 'Click']);" title="" rel="nofollow"><img src="/media/2939.gif"  alt=" " /> </a></div></center>
<p>When attached like this, Windows treats the virtual disk just like any other physical disk that you might have installed in the PC; you can, in fact, format and partition it from scratch if you feel like it!</p>
<h2>Conclusion</h2>
<p>You might be thinking at this point that the whole procedure is over-complicated; after all, you could achieve the same result by copying all the files to an external USB drive and plugging that into your computer. However there are many situations, especially with virtualization, where various factors may prevent that from being an option. The single file virtual disk format, whether VMDK or VHD, is flexible and portable, especially when moving from virtual to physical platforms. Being able to easily convert from one format to the other with this V2V utility means that it doesn't matter whether the virtual platform is Microsoft or VMware.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/O_37ABjFBvqqQ2Ausc7AYySokVQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/O_37ABjFBvqqQ2Ausc7AYySokVQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/O_37ABjFBvqqQ2Ausc7AYySokVQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/O_37ABjFBvqqQ2Ausc7AYySokVQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/petrivirtualization/~4/t_4sRf568Mw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/converting-vmware-files.htm/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/converting-vmware-files.htm</feedburner:origLink></item>
		<item>
		<title>3 Free April Webinars for IT Pros</title>
		<link>http://feedproxy.google.com/~r/petrivirtualization/~3/nIjwLxmNXpI/it-webinars-april-2012.htm</link>
		<comments>http://www.petri.co.il/it-webinars-april-2012.htm#comments</comments>
		<pubDate>Tue, 24 Apr 2012 13:57:49 +0000</pubDate>
		<dc:creator>Kasia Lorenc</dc:creator>
				<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=26596</guid>
		<description><![CDATA[Webinars are a great way to learn without spending much time or money. They give you a chance to ask questions and interact with the top industry experts. Learn about 3 free webinars geared specifically for IT Pors happening this week.]]></description>
			<content:encoded><![CDATA[<p>Webinars are a great way to learn. They're mostly free, usually take no longer than an hour and allow you to interact with the top industry experts. Today I'd like to share three upcoming webinars that you can take advantage of this week.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Hyper-V™ vs. vSphere™</strong></a><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow"><img src="/media/3037.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p><b>Problem:</b>  Microsoft’s planned enhancements for Hyper-V version 3 have more and more customers planning for a dual hypervisor environment.  Unfortunately, multiple management consoles are hard to use, clunky, and don’t provide the flexibility needed in measuring & managing virtual infrastructures. <br />
<br />
<b>Solution:</b>  SolarWinds Virtualization Manager now allows you to see both VMware and Hyper-V environments in a single pane of glass.  </p><a  href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="Hyper-V™ vs. vSphere™" style="clear: both;" rel="nofollow">FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0</a></div>
<h3>Wednesday, April 25th, 2012: What Every Growing Business Must Know About Desktop Virtualization</h3>
<p>Desktop virtualization isn't new, which means that Desktop Virtualization Solutions (DVS) have had a chance to mature. They are more affordable and more available than ever, and they're easier to implement than you might think. And as more businesses are relying on remote workers, desktop virtualization is becoming more important. </p>
<p>In this live webinar, David Davis, David Reoch and Dan Reis will cover the benefits and different types of Desktop Virtualization Solutions, security concerns associated with utilizing these solutions and much more.</p>
<p>Learn more and register for this free webinar: <a href="http://www.dellwebcastregistration.com/"><strong>What Every Growing Business Must Know About Desktop Virtualization</strong></a></p>
<h3>Thursday April 26th, 2012: Near-Continuous Data Protection for Hyper-V</h3>
<p>Data protection is on every system administrator's mind, and Continuous Data Protection (CDP), also known as continuous backup or real-time backup, is usually the best solution for a virtualized environment. The main advantage of CDP is that you no longer need to specify the recovery time until you do your restore. The downside of CDP is the cost.</p>
<p>In this live webinar, Chris Henley from Veeam will explain Continuous Data Protection and how you can achieve near-continuous data protection at a fraction of cost of CDP with Veaam's Backup and Replication.</p>
<p>Learn more and register for this free webinar: <a href="http://www.veeam.com/webinars/building-a-near-cdp-solution-for-hyper-v-virtual-machines.html"><strong>Near-Continuous Data Protection for Hyper-V</strong></a></p>
<h3>Friday, April 27th, 2012: 10 Backup &amp; Recovery Questions Every Windows Administrator Must Ask</h3>
<p>In recent years, backup and recovery techniques and technologies have undergone major changes, along with the rest of the IT world. What IT administrators knew about data protection ten or even five years ago has markedly changed. </p>
<p>In this live webinar, Greg Shields and Joe Hand will answer the 10 questions that every Windows Administrator must ask in order to achieve the best backup, replication and recovery while minimizing costs and server load.</p>
<p>Learn more and register for this free webinar: <a href="https://www1.gotomeeting.com/register/819755737"><strong>10 Backup &amp; Recovery Questions Every Windows Administrator Must Ask</strong></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/lykN-278ykSLGAMyr_TGTdW-eZs/0/da"><img src="http://feedads.g.doubleclick.net/~a/lykN-278ykSLGAMyr_TGTdW-eZs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/lykN-278ykSLGAMyr_TGTdW-eZs/1/da"><img src="http://feedads.g.doubleclick.net/~a/lykN-278ykSLGAMyr_TGTdW-eZs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/petrivirtualization/~4/nIjwLxmNXpI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/it-webinars-april-2012.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/it-webinars-april-2012.htm</feedburner:origLink></item>
		<item>
		<title>VMware vCloud Director Essentials – Setting up vCloud Director – Part 1</title>
		<link>http://feedproxy.google.com/~r/petrivirtualization/~3/UhXNn9lLuPQ/setting-up-vmware-vcloud-director-part-1.htm</link>
		<comments>http://www.petri.co.il/setting-up-vmware-vcloud-director-part-1.htm#comments</comments>
		<pubDate>Fri, 20 Apr 2012 10:11:19 +0000</pubDate>
		<dc:creator>David Davis, vExpert, VCP, CCIE 9369</dc:creator>
				<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=26359</guid>
		<description><![CDATA[Interested in learning more about VMware vCloud Director? In the first of this two-part series, we’ll show you how to set up vCloud Director from the Web interface, as well as how to create your first Provider Virtual Datacenter and VM Deployment Template.  ]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>In this post, we’ll show you how to set up vCloud Director. We’ll start off by giving you an overview of vCloud Director administration. We’ll go into the Web Interface that vCloud Director admins would spend their time in, and then we’ll go through the different tabs and options and other things you might typically see when administering vCloud Director.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3018&amp;host=www.trainsignal.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 10', '3018', 'Click']);" title="VMware vCloud Director Essentials - Available at TrainSignal!!" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">VMware vCloud Director Essentials Training</strong></a><a href="http://www.petri.co.il/uri/?id=3018&amp;host=www.trainsignal.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 10', '3018', 'Click']);" title="VMware vCloud Director Essentials - Available at TrainSignal!!" rel="nofollow"><img src="/media/3018.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p>This course teaches cloud computing basics and shows how to use VMware vCloud Director to create a hybrid cloud that can deploy IT resources on-demand. Learn VMware vCD and evolve your datacenter into a model that saves time & money while providing flexibility to users and your business.</p><a  href="http://www.petri.co.il/uri/?id=3018&amp;host=www.trainsignal.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 10', '3018', 'Click']);" title="VMware vCloud Director Essentials Training" style="clear: both;" rel="nofollow">VMware vCloud Director Essentials - Available at TrainSignal!!</a></div>
<p>From there, we’ll move on and perform the first step in setting up vCloud Director from the Web Interface, which is to connect it to a vCenter Server and a vShield Manager virtual appliance. After that, we’ll show you how to create your first Provider Virtual Datacenter and VM Deployment Template. </p>
<p><center><em>(Instructional video below provides a walkthrough of the steps contained in this article.)</em><br />
<iframe width="420" height="315" src="http://www.youtube.com/embed/8IwvhsOb6-E" frameborder="0" allowfullscreen></iframe></center></p>
<h2>vCloud Director Administration Overview</h2>
<p>When it comes to administering VMware vCloud Director, things are primarily done at the Web Interface. The Web Interface is rich and it really has everything that you’ll need to administer vCloud Director. Whether you’re an administrator or an end user, you’ll spend most of your time with vCloud Director’s Web Interface. </p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=1003&amp;host=msevents.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '1003', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px;"><p style=" padding:10px 10px 10px 10px; background-color:#ffffed; font-weight:bold">Also see » End-User Experience, Administration, and Migration</p></div></span></a></div>
<p>To access the Web Interface, you can just type in the IP address or the domain name of your vCloud Director virtual machine or physical server (if you chose that route) into your Web browser. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/01-ip-address-to-vmware-vcloud-director.png"><img src="http://www.petri.co.il/wp-content/uploads/01-ip-address-to-vmware-vcloud-director.png" alt="ip address to vmware vcloud director" title="ip address to vmware vcloud director" width="580" class="alignnone size-full wp-image-26360" /></a></p>
<p>That’s most likely going to redirect you to:</p>
<p><center><strong>https://name-of-your-server/cloud</strong></center></p>
<p>where name-of-your-server is just the IP address/name of your vCloud Director server. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/02-ip-address-to-vmware-vcloud-director-redirected.png"><img src="http://www.petri.co.il/wp-content/uploads/02-ip-address-to-vmware-vcloud-director-redirected.png" alt="ip address to vmware vcloud director redirected" title="ip address to vmware vcloud director redirected" width="580" class="alignnone size-full wp-image-26361" /></a></p>
<p>If you created a static DNS entry or alias for the IP address, then you can enter that into your browser instead and you’ll still be redirected to the same login screen. </p>
<p>If you log in using an administrator account, you will be brought to the administration homepage. On the upper-left corner of the screen, you should see the tabs: <strong>System</strong>, <strong>Home</strong>, <strong>Manage &#038; Monitor</strong>, and <strong>Administration</strong>. On the other hand, if you log in as an end user, you will see a tab named <strong>My Cloud</strong> instead of Manage &#038; Monitor and Administration.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/03-vcloud-director-home-page.png"><img src="http://www.petri.co.il/wp-content/uploads/03-vcloud-director-home-page.png" alt="vcloud director home page" title="vcloud director home page" width="580" class="alignnone size-full wp-image-26362" /></a></p>
<p>You can navigate to the home screen, to Manage &#038; Monitor (if you’re an administrator), or to My Cloud (if you’re an end user). From there, you can administer the VMWare vCloud virtual infrastructure, roll out new virtual machines, create new organizations, create virtual data centers, create new vApps, access virtual machine consoles, and so on. </p>
<p>A little lower on the same page is the <strong>Quick Start</strong> section, which you’ll be using to get vCloud Director up and configured with a connection to vCenter/vShield, a Provider virtual DataCenter, as well as other network and organizational stuff. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/04-vcloud-director-home-page-quick-start.png"><img src="http://www.petri.co.il/wp-content/uploads/04-vcloud-director-home-page-quick-start.png" alt="vcloud director home page - quick start" title="vcloud director home page - quick start" width="580" class="alignnone size-full wp-image-26364" /></a></p>
<p>The items on the right-hand side, which consist of a nice <strong>Getting Started Guide</strong>, <strong>Help</strong>, <strong>VMware Support</strong>, <strong>Feature Request</strong>, and <strong>About</strong>, can also be accessed by clicking on the <strong>Help</strong> drop-down menu at the top.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/05-help.png"><img src="http://www.petri.co.il/wp-content/uploads/05-help.png" alt="help dropdown menu" title="help dropdown menu" width="580" class="alignnone size-full wp-image-26365" /></a></p>
<p>Inside <strong>Preferences</strong>, you can set preferences for whatever account you’re logged in to.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/06-preferences.png"><img src="http://www.petri.co.il/wp-content/uploads/06-preferences.png" alt="preferences" title="preferences" width="580" class="alignnone size-full wp-image-26366" /></a></p>
<p>There you can do things like:</p>
<p>Specify where you’d like to be brought the moment you log in;</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/07-preferences-start-page.png"><img src="http://www.petri.co.il/wp-content/uploads/07-preferences-start-page.png" alt="preferences - start page" title="preferences - start page" width="364" height="232" class="alignnone size-full wp-image-26368" /></a></p>
<p>Configure alerts related to leases; or</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/08-configure-alerts.png"><img src="http://www.petri.co.il/wp-content/uploads/08-configure-alerts.png" alt="configure alerts" title="configure alerts" width="364" height="230" class="alignnone size-full wp-image-26369" /></a></p>
<p>Change your password.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/09-change-password.png"><img src="http://www.petri.co.il/wp-content/uploads/09-change-password.png" alt="change password" title="change password" width="365" height="233" class="alignnone size-full wp-image-26370" /></a></p>
<p>But if you’re an administrator, the tab where you would really spend most of your time would be in the <strong>Manage &#038; Monitor</strong> tab. This is where you’ll be creating new organizations and provider data centers; managing networks; creating connections to vCenters, Resource Pools, Datastores, Switches and Port Groups; access Log files; and administer Blocking Tasks. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/10-manage-and-monitor.png"><img src="http://www.petri.co.il/wp-content/uploads/10-manage-and-monitor.png" alt="manage and monitor" title="manage and monitor" width="580" class="alignnone size-full wp-image-26371" /></a></p>
<p>The <strong>Administration</strong> tab, on the other hand, is where you would administer Users, Roles, as well as System Settings like Email, LDAP, Password Policies, Cloud Branding, Public Addresses, and Blocking Tasks. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/11-administration.png"><img src="http://www.petri.co.il/wp-content/uploads/11-administration.png" alt="administration" title="administration" width="580" class="alignnone size-full wp-image-26372" /></a></p>
<p>When you click on each of those menus, you’ll notice a little gear at the top of the center panel. If you click on that gear, you’ll be presented with a set of actions which you can perform in the context of that particular menu. For example, you can create a new user or issue a notification.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/12-submenus-in-gear.png"><img src="http://www.petri.co.il/wp-content/uploads/12-submenus-in-gear.png" alt="submenus in gear" title="submenus in gear" width="580" class="alignnone size-full wp-image-26373" /></a></p>
<p>The (+) icon on that same row is also for adding a new user. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/13-create-a-new-user.png"><img src="http://www.petri.co.il/wp-content/uploads/13-create-a-new-user.png" alt="create a new user" title="create a new user" width="580" class="alignnone size-full wp-image-26374" /></a></p>
<p>Down at the bottom-left corner are links to access running and failed tasks. You can click on them to find out the status of your tasks, which is very similar to what you would find in your vSphere Client. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/14-running-and-failed-tasks.png"><img src="http://www.petri.co.il/wp-content/uploads/14-running-and-failed-tasks.png" alt="running and failed tasks" title="running and failed tasks" width="580" class="alignnone size-full wp-image-26375" /></a></p>
<p>If you’re used to using the vSphere Client, you’ll find many similarities with it and this Web interface. It has even more similarities with the new vSphere Web Client.</p>
<p>Before we proceed to the next section, I’d like to talk about those two left and right arrows you see at the upper-left corner of the screen. Those function just like the backward and forward buttons of your Web browser. They can come in handy when you put your Web Interface in full-screen view because that’s when your browser’s back and forward buttons become hidden.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/15-back-and-forward-buttons.png"><img src="http://www.petri.co.il/wp-content/uploads/15-back-and-forward-buttons.png" alt="back and forward buttons" title="back and forward buttons" width="580" class="alignnone size-full wp-image-26376" /></a></p>
<p>In the succeeding sections, we’ll be spending most of our time going through the Quick Start menu. Going through those 8 different tasks under Quick Start is really the best way to get started. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/16-quick-start.png"><img src="http://www.petri.co.il/wp-content/uploads/16-quick-start.png" alt="quick start" title="quick start" width="580" class="alignnone size-full wp-image-26377" /></a></p>
<p>Once those steps are completed, the section called <strong>Tasks</strong>, located underneath <strong>Quick Start</strong>, will become accessible. You can then jump straight from the Home screen into managing provider virtual data centers, networks, network pools, organizations, organization vDCs, and so forth.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/17-tasks.png"><img src="http://www.petri.co.il/wp-content/uploads/17-tasks.png" alt="tasks" title="tasks" width="580" class="alignnone size-full wp-image-26378" /></a></p>
<h2>Connecting to vCenter and vShield</h2>
<p>Now let’s talk about connecting VMware vCloud Director to vCenter and vShield. This is really the first thing you need to do once you go through that Initial Setup wizard. That’s why it’s the first task they will have you perform under the Quick Start menu. </p>
<p>Actually, you won’t be able to do anything with vCloud Director until you connect it to vCenter and vShield. There are two ways to do that. The first one is through the Quick Start menu. The other one is through the <strong>Attach a New vCenter Wizard</strong> under <strong>Manage &#038; Monitor</strong>.</p>
<p>Typically, what admins do is use the Quick Start menu first to attach a new vCenter for their very first vCenter. Then later, when they already have other vCenters, they would do it under <strong>Manage &#038; Monitor</strong>. </p>
<p>Make sure you have a vShield license key in vCenter. Don’t worry, we’ll cover that particular issue here as well. </p>
<p>To connect to vCenter and vShield, you start by logging in as administrator into the vCloud Director interface. You then go to the <strong>Home</strong> tab and click the <strong>Attach a vCenter</strong> link.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/18-attach-a-vCenter.png"><img src="http://www.petri.co.il/wp-content/uploads/18-attach-a-vCenter.png" alt="attach a vCenter" title="attach a vCenter" width="580" class="alignnone size-full wp-image-26379" /></a></p>
<p>Once the <strong>Attach New vCenter</strong> dialog box appears, fill up the required fields. Enter the following information:</p>
<ul>
<li><strong>vCenter host name or IP address</strong> (you may have to use the corresponding FQDN),</li>
<li><strong>Port number</strong> - you may take the default value,</li>
<li><strong>User name</strong> - your administrator user name,</li>
<li><strong>Password</strong> - your user name’s password,</li>
<li><strong>vCenter</strong> - a name you make up, which will be shown in vCloud Director, and not the host name of the vCenter server,</li>
<li><strong>Description</strong> - a brief description of this particular vCenter</li>
</ul>
<p>After you’re done entering all that, click the <strong>Next</strong> button.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/19-attach-new-vCenter.png"><img src="http://www.petri.co.il/wp-content/uploads/19-attach-new-vCenter.png" alt="attach new vCenter" title="attach new vCenter" width="532" height="369" class="alignnone size-full wp-image-26382" /></a></p>
<p>On the next screen, enter the host name or IP address of your <strong>vShield Manager</strong> as well as the administrative credentials for it, and then click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/20-connect-to-vShield-Manager.png"><img src="http://www.petri.co.il/wp-content/uploads/20-connect-to-vShield-Manager.png" alt="connect to vShield Manager" title="connect to vShield Manager" width="534" height="370" class="alignnone size-full wp-image-26383" /></a></p>
<p>The system will then show you the information you entered earlier. See whether you want to change any of those configurations. If you don’t see any, click <strong>Finish</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/21-ready-to-complete.png"><img src="http://www.petri.co.il/wp-content/uploads/21-ready-to-complete.png" alt="ready to complete" title="ready to complete" width="533" height="369" class="alignnone size-full wp-image-26384" /></a></p>
<p>Wait while the system attaches you to vCenter. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/22-attaching-to-vcenter.png"><img src="http://www.petri.co.il/wp-content/uploads/22-attaching-to-vcenter.png" alt="attaching to vcenter" title="attaching to vcenter" width="580" class="alignnone size-full wp-image-26385" /></a></p>
<p>Once it’s done attaching, you should see a number of those disabled links under <strong>Quick Start</strong> (e.g. Create a Provider vDC and Create an external network) and <strong>Tasks</strong> (e.g. Manage Provider vDCs and Manage external networks) enable. Meaning, you’re now allowed to use them.  </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/23-enable-links.png"><img src="http://www.petri.co.il/wp-content/uploads/23-enable-links.png" alt="enable links" title="enable links" width="580" class="alignnone size-full wp-image-26386" /></a></p>
<p>Now, if you go over to the <strong>Manage &#038; Monitor</strong> tab and click on <strong>vCenters</strong> under <strong>vSphere Resources</strong>, you’ll see the vCenter you just configured. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/24-configured-vCenter.png"><img src="http://www.petri.co.il/wp-content/uploads/24-configured-vCenter.png" alt="configured vCenter" title="configured vCenter" width="580" class="alignnone size-full wp-image-26387" /></a></p>
<p>That means you successfully connected to vCenter. The entry shown under the <strong>vShield Manager</strong> column should also indicate that a connection has also been made to vShield Manager, but remember that vShield license key we mentioned earlier? That could cause a problem if you don’t go to the vSphere Client and enter it. </p>
<p>Launch your <strong>vSphere Client</strong> and navigate to <strong>Home</strong>. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/25-home-in-vSphere-Client.png"><img src="http://www.petri.co.il/wp-content/uploads/25-home-in-vSphere-Client.png" alt="home in vSphere Client" title="home in vSphere Client" width="580" class="alignnone size-full wp-image-26388" /></a></p>
<p>Go to <strong>Licensing</strong>.  </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/26-licensing-in-vSphere-Client.png"><img src="http://www.petri.co.il/wp-content/uploads/26-licensing-in-vSphere-Client.png" alt="licensing in vSphere Client" title="licensing in vSphere Client" width="580" class="alignnone size-full wp-image-26390" /></a></p>
<p>You should see a couple of items there that don’t have a license key yet. To add license keys, click on the <strong>Manage vSphere Licenses</strong> link.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/27-manage-vSphere-licenses.png"><img src="http://www.petri.co.il/wp-content/uploads/27-manage-vSphere-licenses.png" alt="manage vSphere licenses" title="manage vSphere licenses" width="580" class="alignnone size-full wp-image-26391" /></a></p>
<p>Paste the needed license keys into the top box. </p>
<p><a href="http://www.petri.co.il/wp-content/uploads/28-enter-new-vSphere-license-keys.png"><img src="http://www.petri.co.il/wp-content/uploads/28-enter-new-vSphere-license-keys.png" alt="enter new vSphere license keys" title="enter new vSphere license keys" width="580" class="alignnone size-full wp-image-26392" /></a></p>
<p>After you’ve added the license keys, you should be able to see the details for those new license keys in the lower box. Review them to see whether you’ve got everything you wanted in there. If they are there, click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/29-new-license-keys.png"><img src="http://www.petri.co.il/wp-content/uploads/29-new-license-keys.png" alt="new license keys" title="new license keys" width="580" class="alignnone size-full wp-image-26393" /></a></p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2939&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2939', 'Click']);" title="" rel="nofollow"><img src="/media/2939.gif"  alt=" " /> </a></div></center>
<p>The next step would be to assign those licenses. Just go into their respective tabs, select the assets to license, and then choose the appropriate licenses for those assets. Finally, click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/30-assign-license-to-asset.png"><img src="http://www.petri.co.il/wp-content/uploads/30-assign-license-to-asset.png" alt="assign license to asset" title="assign license to asset" width="580" class="alignnone size-full wp-image-26394" /></a></p>
<p>Verify that the changes to your licensing configuration are correct and then click <strong>Finish</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/31-confirm-changes-to-licensing-configuration.png"><img src="http://www.petri.co.il/wp-content/uploads/31-confirm-changes-to-licensing-configuration.png" alt="confirm changes to licensing configuration" title="confirm changes to licensing configuration" width="580" class="alignnone size-full wp-image-26395" /></a></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/32-manage-vSphere-licenses.png"><img src="http://www.petri.co.il/wp-content/uploads/32-manage-vSphere-licenses.png" alt="manage vSphere licenses" title="manage vSphere licenses" width="580" class="alignnone size-full wp-image-26396" /></a></p>
<h2>Conclusion</h2>
<p>With those licensing issues already out of the way, you should now be ready to proceed to the remaining steps, which we will go over in Part 2 of this post. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/3yl0fKAjPqlWzEnOf4AM-rbq1h4/0/da"><img src="http://feedads.g.doubleclick.net/~a/3yl0fKAjPqlWzEnOf4AM-rbq1h4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3yl0fKAjPqlWzEnOf4AM-rbq1h4/1/da"><img src="http://feedads.g.doubleclick.net/~a/3yl0fKAjPqlWzEnOf4AM-rbq1h4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/petrivirtualization/~4/UhXNn9lLuPQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/setting-up-vmware-vcloud-director-part-1.htm/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/setting-up-vmware-vcloud-director-part-1.htm</feedburner:origLink></item>
		<item>
		<title>Top 5 Benefits of Server Virtualization</title>
		<link>http://feedproxy.google.com/~r/petrivirtualization/~3/DHJh0C_QR8s/server-virtualization-benefits.htm</link>
		<comments>http://www.petri.co.il/server-virtualization-benefits.htm#comments</comments>
		<pubDate>Fri, 23 Mar 2012 13:37:55 +0000</pubDate>
		<dc:creator>Greg Ferro</dc:creator>
				<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=25355</guid>
		<description><![CDATA[Why is server virtualization beneficial? Greg Ferro lists in detail the top 5 benefits of server virtualization for IT departments, which includes cost control, better operation with automation, ability to reduce risks with snapshots, storage management, and granular scaling.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>The surge of server virtualization has produced many benefits for IT departments because it allows for better operational control, lowering of existing cost, and better scaling than we’ve ever had before. Let’s look at the top 5 benefits that server virtualization brings to IT operations, as well as the infrastructure improvements that we also gain by virtualizing our networking, storage, and server platforms.</p>

<h2>5. Cost Control</h2>
<p>The last few years have seen a shift in the computer industry from deploying new applications, new services and new opportunities, to a focus on managing the infrastructure that we already have. The level of innovation of new software and capabilities has now slowed because our operational practices have not managed to keep up.</p>
<p>Therefore, many organizations are looking to virtualization to find ways to dramatically simplify the ownership and administration of their existing IT servers. The operational overhead of staffing, powering, backup, hardware, and software maintenance has now become overly significant in IT budgets, and businesses are looking to reduce their costs through virtualization. <a href="http://www.solarwinds.com/products/virtualization-manager/virtualization-management-software.aspx?CMP=BIZ-TAD-PETRI-VM-PPI-VIRT_ART- HYPR_LINK">Learn More About SolarWinds Virtualization Manager.</a></p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=2834&amp;host=info.eminentware.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '2834', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px; background:url(http://www.petri.co.il/media/download.jpg) no-repeat left center; padding-top:5px"><p style="font-weight:bold; margin-left:30px; margin-top:3px; padding:6px 0px 6px 10px; ">Download FREE Trial >> Patching Your 3rd Party Apps Has Never Been Easier</p></div></span></a></div>
<h2>4. Better Operation with Automation</h2>
<p>Reducing the operational cost is a difficult issue. On one hand, it’s about using less people and fewer resources to achieve more work. Alternately, automation of simple, repetitive tasks can mean no more tedious drudgery of minor works. Virtualization provides options for all of these problems.</p>
<p>VMware is proud of their PowerCLI scripting environment that provides for extensive customization and automation of VMware vSphere. There are also dozens of APIs that have been published to create opportunities for third parties to develop management software that provides better visibility, planning, and reporting than has ever been possible.</p>
<h2>3. Reduce Risks with Snapshots</h2>
<p>Because the server operating system becomes encapsulated in a Hypervisor, we can now take a snapshot of the current configurations and then perform upgrades. In the event that the upgrade fails, we can use the snapshot to return to the original working condition. This dramatically reduces risk level of making the wrong changes to your infrastructure because the rollback process is now so much simpler. <a href="http://www.solarwinds.com/register/registrationb.aspx?program=1461&#038;c=70150000000P84F&#038;CMP=BIZ-TAD-PRF_TCHPDIA-VM-DL-VIRT_ART- HYPR_LINK ">Download a FREE 30-Day Trial of SolarWinds Virtualization Manager.</a></p>
<h2>2. Storage Management</h2>
<p>The use of external storage has created new solutions to old problems in the disk drive and backup strategy of the Data Center. Storage arrays provide new forms of backup by performing block level copies of the hard disk drive. Because the storage is centrally arranged, de-duplication of data is now a mainstream technology, either in-line for all data or in backup for reduced backup sizes.</p>
<p>Recent innovations in storage include the development of storage APIs, where the virtualization server can programmatically manage elements of the storage arrays. For example, VAAI (vStorage APIs for Array Integration) from VMware allows the offload of storage processing from the VMware server to the Storage Array, in addition to allowing scripting of the storage subsystem to create and monitor the storage from a single administration console.</p>
<p>Virtualization has created a stimulus for the storage vendors to develop new products and features that has led to significant changes and advances. This change has led the vendors to develop APIs and interfaces that provide better administration and management than ever before.</p>
<h2>1. Granular Scaling</h2>
<p>The ability to load multiple operating system instances onto a single physical server has many operational benefits. Perhaps the most significant but misunderstood is the ability to scale your Data Center with many more servers than you have physical space.</p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2939&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2939', 'Click']);" title="" rel="nofollow"><img src="/media/2939.gif"  alt=" " /> </a></div></center>
<p>Today one physical server contains one operating system, and we have advanced the physical manufacture of servers to 1 RU size to minimize the physical footprint. Using virtualization, we are now able to put 20, 30, and even many more operating system instances in a single box.</p>
<p>The current state of silicon production is such that CPU and memory has more capacity and performance than we need for most processing loads of today. Most of us have a number of servers in a Data Center perform small but vital tasks, and Virtualization allows us to collapse these into a very high density cluster that uses much less space and ultimately allows for better scaling of your Data Center.</p>
<p>Where once your Data Center might have held 300 physical servers, it’s not uncommon for people to plan to hold 3,000 servers in the same space. This scaling capability comes with progressively smooth costs that are so important for project budgets.</p>
<h2>Conclusion</h2>
<p>Those are the top 5 benefits that server virtualization brings to IT operations - cost control, better operation with automation, ability to reduce risks with snapshots, storage management, and granular scaling.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/r_YCeBvXJlqdndCRqcFU8DqJmrk/0/da"><img src="http://feedads.g.doubleclick.net/~a/r_YCeBvXJlqdndCRqcFU8DqJmrk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/r_YCeBvXJlqdndCRqcFU8DqJmrk/1/da"><img src="http://feedads.g.doubleclick.net/~a/r_YCeBvXJlqdndCRqcFU8DqJmrk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/petrivirtualization/~4/DHJh0C_QR8s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/server-virtualization-benefits.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/server-virtualization-benefits.htm</feedburner:origLink></item>
		<item>
		<title>Installing and Testing Citrix VDI-in-a-Box</title>
		<link>http://feedproxy.google.com/~r/petrivirtualization/~3/Eewa-vtwGjE/install-citrix-vdi-in-a-box.htm</link>
		<comments>http://www.petri.co.il/install-citrix-vdi-in-a-box.htm#comments</comments>
		<pubDate>Mon, 19 Mar 2012 19:33:30 +0000</pubDate>
		<dc:creator>David Davis, vExpert, VCP, CCIE 9369</dc:creator>
				<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=21639</guid>
		<description><![CDATA[In this video post, vExpert David Davis shares his experience with Citrix VDI-in-a-box, and shows how to install, configure, and test this affordable and easy to use product. Learn how to get started with VDI-in-a-box, as well as how virtual desktops are deployed and how end users can connect to and actually use them. ]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>As part of a new free video training on desktop virtualization I am creating for <a title="TrainSignal Computer Training Videos" href="http://trainsignal.com" target="_blank">TrainSignal</a>, I finally had the chance to check out a product I have been interested in for some time - <strong>VDI-in-a-Box</strong>. Citrix recently bought Kaviza whose product they renamed "VDI-in-a-Box". I have been interested in Kaviza since VMworld 2010 when they won the <a title="Kaviza Wins Best of VMworld Awards" href="http://www.youtube.com/watch?v=mEkYoErkTn8" target="_blank">Best of VMworld awards</a> but I hadn't had a chance to try the solution until now. I was told that VDI-in-a-Box made implementing VDI / desktop virtualization so easy that anyone could do it. Plus, implementing VDI could be done using free VMware ESXi or free Hyper-V Server AND you didn't even need a storage area network (although high availability is included). The thought of making desktop virtualization EASY and "the norm" for small and medium size companies around the world really intrigues me so I was excited to try VDI-in-a-Box.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Hyper-V™ vs. vSphere™</strong></a><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow"><img src="/media/3037.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p><b>Problem:</b>  Microsoft’s planned enhancements for Hyper-V version 3 have more and more customers planning for a dual hypervisor environment.  Unfortunately, multiple management consoles are hard to use, clunky, and don’t provide the flexibility needed in measuring & managing virtual infrastructures. <br />
<br />
<b>Solution:</b>  SolarWinds Virtualization Manager now allows you to see both VMware and Hyper-V environments in a single pane of glass.  </p><a  href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="Hyper-V™ vs. vSphere™" style="clear: both;" rel="nofollow">FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0</a></div>
<p>I recorded my complete installation, initial configuration, and testing of VDI-in-a-Box. I used a single vSphere ESXi server and the Windows AD option for authentication (although AD isn't required). I happen to have a small NAS (Iomega IX4) in my lab and vCenter but those things aren't required. Here's the video:</p>
<p><center><br />
<em>(Instructional video below provides a walkthrough of the steps contained in this article.)</em><iframe src="http://www.youtube.com/embed/4BpqipHCX8c" frameborder="0" width="600" height="407"></iframe></center>Not all companies can afford enterprise-grade desktop virtualization solutions, but that shouldn’t stop small and medium-sized businesses from experiencing desktop virtualization altogether. Citrix Systems has an affordable and easy to use product named VDI-in-a-Box that already has many of the benefits that desktop virtualization has to offer.</p>
<p>In this article, I'll show you how to get started with Citrix VDI-in-a-Box. We'll talk about the installation and configuration procedures and I'll show you how virtual desktops are deployed and how end users can connect to them and actually use them.</p>
<h2>VDI-in-a-Box Installation and Configuration</h2>
<p>The first thing to do of course, is to download the installation file. Go to <a title="Citrix" href="www.citrix.com">Citrix.com</a> &gt; <strong>Products and Solutions</strong> &gt; <strong>Desktop Virtualization</strong> &gt; <strong>VDI-in-a-Box</strong>, and then click the <strong>Try it</strong> button.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/01-Getting-started-with-Citrix-VDI-in-a-box.png"><img class="alignnone size-full wp-image-24921" title="Getting started with Citrix VDI-in-a-box" src="http://www.petri.co.il/wp-content/uploads/01-Getting-started-with-Citrix-VDI-in-a-box.png" alt="Getting started with Citrix VDI-in-a-box" width="580" height="432" /></a></p>
<p>Next, you'll be asked to fill out a form.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/02-vdi-in-a-box-download-form.png"><img class="alignnone size-full wp-image-24922" title="VDI-in-a-box download form" src="http://www.petri.co.il/wp-content/uploads/02-vdi-in-a-box-download-form.png" alt="VDI-in-a-box download form" width="580" height="388" /></a></p>
<p>You'll then receive an email which will allow you to start downloading one of three versions of the product. Basically, there's one version for each of the supported hypervisors:</p>
<ul>
<li>Microsoft Hyper-V</li>
<li>VMware vSphere</li>
<li>Citrix XenServer</li>
</ul>
<p>When we tried this out, we downloaded the appropriate zip file for VMware vSphere because we had prepared a VMware ESXi hypervisor for this activity. Therefore, the interface you'll be seeing in the succeeding discussion will be from the vSphere environment.</p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=1003&amp;host=msevents.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '1003', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px;"><p style=" padding:10px 10px 10px 10px; background-color:#ffffed; font-weight:bold">Also see » End-User Experience, Administration, and Migration</p></div></span></a></div>
<p>After extracting, you'll end up with an OVF (open virtualization format) virtual appliance which you can import into VMware vSphere.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/03-OVF.png"><img class="alignnone size-full wp-image-24925" title="OVF" src="http://www.petri.co.il/wp-content/uploads/03-OVF.png" alt="OVF" width="568" height="227" /></a></p>
<p>To import, go to your <strong>vSphere Client</strong> and navigate to <strong>File</strong> &gt; <strong>Deploy OVF Template</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/04-deploy-ovf-template.png"><img class="alignnone size-full wp-image-24926" title="Deploy OVF template" src="http://www.petri.co.il/wp-content/uploads/04-deploy-ovf-template.png" alt="Deploy OVF template" width="580" height="306" /></a></p>
<p>When the next window launches and you're asked to select the source location, browse to the folder where you stored the OVF file, select the file, and click <strong>Open</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/05-select-source-location.png"><img class="alignnone size-full wp-image-24927" title="Select source location" src="http://www.petri.co.il/wp-content/uploads/05-select-source-location.png" alt="Select source location" width="521" height="509" /></a></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/06-open-OVF.png"><img class="alignnone size-full wp-image-24928" title="Open OVF" src="http://www.petri.co.il/wp-content/uploads/06-open-OVF.png" alt="Open OVF" width="580" height="408" /></a></p>
<p>When that window closes, click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/07-next.png"><img class="alignnone size-full wp-image-24929" title="Next" src="http://www.petri.co.il/wp-content/uploads/07-next.png" alt="Next" width="580" height="553" /></a></p>
<p>The system should then display the VDI Manager for ESX. Click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/08-vdimanager-esx.png"><img class="alignnone size-full wp-image-24930" title="VDI manager esx" src="http://www.petri.co.il/wp-content/uploads/08-vdimanager-esx.png" alt="VDI manager esx" width="580" height="555" /></a></p>
<p>Specify a name for the deployed template. Also, select the datacenter where you would like to place it on.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/09-name-and-location-for-deployed-template.png"><img class="alignnone size-full wp-image-24931" title="Name and location for deployed template" src="http://www.petri.co.il/wp-content/uploads/09-name-and-location-for-deployed-template.png" alt="Name and location for deployed template" width="580" height="552" /></a></p>
<p>Next, select the specific host or cluster on which you would like the deployed template to run on.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/10-host-on-which-to-deploy-template.png"><img class="alignnone size-full wp-image-24934" title="Host on which to deploy template" src="http://www.petri.co.il/wp-content/uploads/10-host-on-which-to-deploy-template.png" alt="Host on which to deploy template" width="580" height="551" /></a></p>
<p>Select a resource pool.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/11-resource-pool.png"><img class="alignnone size-full wp-image-24935" title="Resource pool" src="http://www.petri.co.il/wp-content/uploads/11-resource-pool.png" alt="Resource pool" width="580" height="551" /></a></p>
<p>Select a destination storage.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/12-destination-storage.png"><img class="alignnone size-full wp-image-24936" title="Destination storage" src="http://www.petri.co.il/wp-content/uploads/12-destination-storage.png" alt="Destination storage" width="580" height="550" /></a></p>
<p>Select which type of format you would like to store the virtual machine disks in.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/13-disk-format.png"><img class="alignnone size-full wp-image-24937" title="Disk format" src="http://www.petri.co.il/wp-content/uploads/13-disk-format.png" alt="Disk format" width="580" height="550" /></a></p>
<p>Click <strong>Next</strong> to allow it to connect to the default network.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/14-network-mapping.png"><img class="alignnone size-full wp-image-24939" title="Network mapping" src="http://www.petri.co.il/wp-content/uploads/14-network-mapping.png" alt="Network mapping" width="580" height="552" /></a></p>
<p>Review the deployment settings. If you see that everything's alright, click the <strong>Power on after deployment</strong> check box, and then click <strong>Finish</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/15-complete-deployment-of-ovf-template.png"><img class="alignnone size-full wp-image-24940" title="Complete deployment of OVF template" src="http://www.petri.co.il/wp-content/uploads/15-complete-deployment-of-ovf-template.png" alt="Complete deployment of OVF template" width="580" height="550" /></a></p>
<p>The deployment process might take a few minutes. Once it's done, just click the <strong>Close</strong> button.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/16-deployment-completed-successfully.png"><img class="alignnone size-full wp-image-24941" title="Deployment completed successfully" src="http://www.petri.co.il/wp-content/uploads/16-deployment-completed-successfully.png" alt="Deployment completed successfully" width="288" height="205" /></a></p>
<p>You'll then see your newly added virtual appliance. Select it to view all of its settings. In the <strong>General</strong> panel of the <strong>Summary</strong> tab, you'll find an IP address. Take note of that.</p>
<p>Now, go to the <strong>Commands</strong> panel and click <strong>Open Console</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/17-vdi-in-a-box.png"><img class="alignnone size-full wp-image-24942" title="VDI in a box" src="http://www.petri.co.il/wp-content/uploads/17-vdi-in-a-box.png" alt="VDI in a box" width="580" height="434" /></a></p>
<p>There you'll find instructions on how to access the console. Notice that it has the same IP address I asked you to take note of earlier.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/18-instructions-to-access-the-console.png"><img class="alignnone size-full wp-image-24943" title="Instructions to access the console" src="http://www.petri.co.il/wp-content/uploads/18-instructions-to-access-the-console.png" alt="Instructions to access the console" width="580" height="408" /></a></p>
<p>Open your Web browser and enter the URL shown on that last screenshot. You should then be prompted to enter some login credentials. The default login credentials are <strong>vdiadmin</strong> for the username and <strong>kaviza</strong> for the password.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/19-access-console.png"><img class="alignnone size-full wp-image-24946" title="Access console" src="http://www.petri.co.il/wp-content/uploads/19-access-console.png" alt="Access console" width="580" height="312" /></a></p>
<p>If you're able to log in successfully, the first thing you'll see is the Welcome screen. It will show you a brief overview of the set up process. After reading the steps, click <strong>Get Started</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/20-welcome-screen.png"><img class="alignnone size-full wp-image-24948" title="Welcome screen" src="http://www.petri.co.il/wp-content/uploads/20-welcome-screen.png" alt="Welcome screen" width="580" height="415" /></a></p>
<p>There are four general steps involved in the setup process:</p>
<ul>
<li>Setting up your hypervisor and VDI-in-a-box grid</li>
<li>Generating a base desktop image</li>
<li>Creating desktop templates from the base image</li>
<li>Assigning users to desktops</li>
</ul>
<h2>Setting up a Hypervisor and VDI-in-a-Box Grid</h2>
<p>As shown from the screenshot below, this step requires the following:</p>
<ul>
<li>Hypervisor credentials</li>
<li>Credentials for an existing Active Directory (if you're using AD)</li>
<li>A reserved IP address for VDI-in-a-Box Manager</li>
</ul>
<p>Click <strong>Continue</strong> to proceed.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/21-set-up-hypervisor-and-vdi-in-a-box-grid.png"><img class="alignnone size-full wp-image-24949" title="Set up hypervisor and VDI-in-a-box grid" src="http://www.petri.co.il/wp-content/uploads/21-set-up-hypervisor-and-vdi-in-a-box-grid.png" alt="Set up hypervisor and VDI-in-a-box grid" width="580" height="415" /></a></p>
<p>Enter the IP address and root login credentials for the host that the VDI-in-a-Box virtual machine is running on. Click <strong>Next</strong> when done.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/22-vdi-in-a-box-initial-setup-hypervisor.png"><img class="alignnone size-full wp-image-24950" title="VDI-in-a-box initial setup - hypervisor" src="http://www.petri.co.il/wp-content/uploads/22-vdi-in-a-box-initial-setup-hypervisor.png" alt="VDI-in-a-box initial setup - hypervisor" width="580" height="426" /></a></p>
<p>Once you connect successfully, select a <strong>Datastore</strong> and a <strong>Network Label</strong> from the two drop-down lists, then click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/23-select-datastore.png"><img class="alignnone size-full wp-image-24951" title="Select datastore" src="http://www.petri.co.il/wp-content/uploads/23-select-datastore.png" alt="Select datastore" width="580" height="423" /></a></p>
<p>In the next screen, you'll be asked to choose whether you want to <strong>create a new VDI-in-a-Box</strong> grid or to <strong>join this VDI-in-a-Box server to an existing grid</strong>. Since what we have is a fresh install, we will choose the first option and then click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/24-create-a-new-vdi-in-a-box-grid.png"><img class="alignnone size-full wp-image-24952" title="Create a new VDI-in-a-box grid" src="http://www.petri.co.il/wp-content/uploads/24-create-a-new-vdi-in-a-box-grid.png" alt="Create a new VDI-in-a-box grid" width="580" height="421" /></a></p>
<p>Give that new grid a name and then select a user database. There are two options for that user database: <strong>VDI-in-a-Box workgroup</strong> or <strong>Microsoft Active Directory</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/25-grid-configuration-01.png"><img class="alignnone size-full wp-image-24953" title="Grid configuration 01" src="http://www.petri.co.il/wp-content/uploads/25-grid-configuration-01.png" alt="Grid configuration 01" width="580" height="421" /></a></p>
<p>Additional fields will have to be filled out if you choose Microsoft Active Directory. You'll need to enter the IP address of your Domain Controller/DNS Server, the domain name, and the corresponding administrative login credentials.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/26-grid-configuration-02.png"><img class="alignnone size-full wp-image-24954" title="Grid configuration 02" src="http://www.petri.co.il/wp-content/uploads/26-grid-configuration-02.png" alt="Grid configuration 02" width="580" height="425" /></a></p>
<p>If you have vCenter, click the check box labeled <strong>vCenter manages servers in this grid</strong> and then fill in the additional fields as well. When you're done filling everything in, click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/27-grid-configuration-03.png"><img class="alignnone size-full wp-image-24955" title="Grid configuration 03" src="http://www.petri.co.il/wp-content/uploads/27-grid-configuration-03.png" alt="Grid configuration 03" width="580" height="423" /></a></p>
<p>You're almost done. At this point, the system will ask if you have reserved a dedicated IP address for <strong>VDI-in-a-Box Manager</strong>. Basically, it just wants to know if you are going to use a static IP or a dynamic IP. Choose the appropriate option and click <strong>Done</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/28-dedicated-ip-address.png"><img class="alignnone size-full wp-image-24961" title="Dedicated IP address" src="http://www.petri.co.il/wp-content/uploads/28-dedicated-ip-address.png" alt="Dedicated IP address" width="580" height="414" /></a></p>
<h2>Generating a Base Desktop Image</h2>
<p>The next step is to generate a base desktop image. The base desktop image is the brand new virtual machine you're going to create and on which you're going to install an operating system, applications, and so forth.</p>
<p>Later on, the virtual machines of all other virtual desktops that connect will be cloned from that base image. Basically, a new template will be created from that, and then every time a user connects, he'll get his own virtual machine based on that image.</p>
<p>To complete this step, you will need to verify whether the DHCP set up has:</p>
<ul>
<li>Only one DHCP server within range</li>
<li>Sufficient DHCP addresses available</li>
<li>A DHCP lease time that is adjusted for short release cycles</li>
</ul>
<p>You will also need a running Windows XP or Windows 7 VM on the hypervisor to copy as a base desktop image.</p>
<p>Finally, if you are connecting to a Windows AD domain, you will need credentials for an existing domain controller.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/29-generate-base-desktop-image.png"><img class="alignnone size-full wp-image-24964" title="Generate base desktop image" src="http://www.petri.co.il/wp-content/uploads/29-generate-base-desktop-image.png" alt="Generate base desktop image" width="580" height="417" /></a></p>
<p>Click <strong>Continue</strong> to proceed.</p>
<p>Assuming you already have an existing virtual machine which you can import as a base desktop image, you should be able to see it on the list on that screen. Select it, give it a name, and put in a description. When you're done, click the <strong>Import</strong> button.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/30-import-image.png"><img class="alignnone size-full wp-image-24967" title="Import image" src="http://www.petri.co.il/wp-content/uploads/30-import-image.png" alt="Import image" width="580" height="417" /></a></p>
<p>The creation process of your new VDI-in-a-box virtual will then begin.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/31-creating-draft-image.png"><img class="alignnone size-full wp-image-24970" title="Creating draft image" src="http://www.petri.co.il/wp-content/uploads/31-creating-draft-image.png" alt="Creating draft image" width="580" height="471" /></a></p>
<p>After a few minutes, your virtual machine will have been cloned, and you will then be ready to install the desktop agent on the virtual machine. The desktop agent is just a little application that runs on every virtual machine in the desktop virtual infrastructure. It allows the virtual machines to communicate their statuses back to the connection broker.</p>
<p>To install, you should connect to the image by clicking on the <strong>Connect</strong> button. Once you're there, you're supposed to paste a specified URL into that image's browser. The URL should be visible from the current screen, so copy it first into the clipboard before connecting.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/32-install-agent.png"><img class="alignnone size-full wp-image-24974" title="Install agent" src="http://www.petri.co.il/wp-content/uploads/32-install-agent.png" alt="Install agent" width="580" height="417" /></a></p>
<p>After you click the Connect button, you'll find yourself in the virtual machine desktop. Launch the Web browser and paste the URL you copied earlier.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/33-paste-url.png"><img class="alignnone size-full wp-image-24975" title="Paste URL" src="http://www.petri.co.il/wp-content/uploads/33-paste-url.png" alt="Paste URL" width="580" height="437" /></a></p>
<p>You're then supposed to verify the following before proceeding:</p>
<ul>
<li>The image is a member of the correct domain or workgroup. If it isn't, you need to add the image to the correct domain/workgroup. Once you do that, you will be asked to reboot the image before proceeding, so save the URL of this page.</li>
<li>Windows firewall or an anti-virus is not blocking TCP ports 1494, 2598, 3389, and 8080.</li>
<li>Remote desktop access is enabled for the desktop users. This can be achieved by adding the desktop users to the Remote Desktop Users' group.</li>
<li>No other versions of Citrix VDI-in-a-Box Desktop Agent, Citrix Virtual Desktop Agent, or Citrix Port ICA are currently installed on the image.</li>
</ul>
<p>After verifying all that, click the <strong>Install</strong> button and follow the instructions on the screen.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/34-install-desktop-agent.png"><img class="alignnone size-full wp-image-24976" title="Install desktop agent" src="http://www.petri.co.il/wp-content/uploads/34-install-desktop-agent.png" alt="Install desktop agent" width="580" height="350" /></a></p>
<p>As soon as the installation process completes, click the checkbox that says <strong>Launch Citrix VDI-in-a-Box Desktop Agent</strong> and then click <strong>Finish</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/35-complete-desktop-agent-setup-wizard.png"><img class="alignnone size-full wp-image-24977" title="Complete desktop agent setup wizard" src="http://www.petri.co.il/wp-content/uploads/35-complete-desktop-agent-setup-wizard.png" alt="Complete desktop agent setup wizard" width="580" height="451" /></a></p>
<p>You will then be automatically logged out of the Remote Desktop connection and brought back to the administrative console. A connection to the newly created virtual desktop will then be initiated.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/36-connecting.png"><img class="alignnone size-full wp-image-24978" title="Connecting" src="http://www.petri.co.il/wp-content/uploads/36-connecting.png" alt="Connecting" width="580" height="439" /></a></p>
<p>With your agent successfully installed, the next step would be to download and install the Citrix Receiver. You will need it in testing the desktop you just created. Click the link for downloading the Citrix Receiver.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/37-download-citrix-receiver.png"><img class="alignnone size-full wp-image-24979" title="Download Citrix Receiver" src="http://www.petri.co.il/wp-content/uploads/37-download-citrix-receiver.png" alt="Download Citrix Receiver" width="580" height="418" /></a></p>
<p>Once you're on the Citrix website, select the platform you'll be working on.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/38-select-platform.png"><img class="alignnone size-full wp-image-24980" title="Select platform" src="http://www.petri.co.il/wp-content/uploads/38-select-platform.png" alt="Select platform" width="580" height="385" /></a></p>
<p>For example, since we selected Windows, we're brought to its corresponding download page. Click the <strong>Download</strong> link for the Receiver for Web Access.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/39-download-for-web-access.png"><img class="alignnone size-full wp-image-24981" title="Download for web access" src="http://www.petri.co.il/wp-content/uploads/39-download-for-web-access.png" alt="Download for web access" width="580" height="436" /></a></p>
<p>That will launch the Citrix Download Manager. Click the <strong>Download Now</strong> button.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/40-Citrix-download-manager.png"><img class="alignnone size-full wp-image-24982" title="Citrix download manager" src="http://www.petri.co.il/wp-content/uploads/40-Citrix-download-manager.png" alt="Citrix download manager" width="580" height="603" /></a></p>
<p>Specify a location for the downloaded .exe file (or simply accept the default) and then click <strong>Save</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/41-save-exe.png"><img class="alignnone size-full wp-image-24986" title="Save exe" src="http://www.petri.co.il/wp-content/uploads/41-save-exe.png" alt="Save exe" width="580" height="427" /></a></p>
<p>The Download Manager will then take care of downloading and installing the file.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/42-Citrix-download-manager-at-work.png"><img class="alignnone size-full wp-image-24987" title="Citrix download manager at work" src="http://www.petri.co.il/wp-content/uploads/42-Citrix-download-manager-at-work.png" alt="Citrix download manager at work" width="580" height="212" /></a></p>
<p>When the installation completes, click <strong>OK</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/43-installation-complete.png"><img class="alignnone size-full wp-image-24988" title="Installation complete" src="http://www.petri.co.il/wp-content/uploads/43-installation-complete.png" alt="Installation complete" width="580" height="290" /></a></p>
<p>That's all there is to it for this part. You can now go back to the window you were on earlier. Click <strong>Test port</strong> to test the HDX port. If you get a notice saying the test succeeded, you may proceed to the next step by clicking the <strong>Next</strong> button.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/44-test-HDX-port.png"><img class="alignnone size-full wp-image-24990" title="Test HDX port" src="http://www.petri.co.il/wp-content/uploads/44-test-HDX-port.png" alt="Test HDX port" width="580" height="416" /></a></p>
<p>Now that you have a working virtual machine, you can make that the golden image for all your end users to connect to. In other words, your end users' desktops will be cloned off of this image. So, not only will you want the operating system to be ready to go, you'll also want applications installed on the image as well.</p>
<p>Although adding applications is marked as an optional step, it no longer will be once you start working in a production environment. In such an environment, you will want to install commonly used apps like MS Office, QuickBooks, and all the other applications your end users use on a regular basis.</p>
<p>One thing that you really need to do in this step is to verify the accuracy of certain information. To view all the information that requires your verification, click the <strong>View</strong> button.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/45-edit-image.png"><img class="alignnone size-full wp-image-25000" title="Edit image" src="http://www.petri.co.il/wp-content/uploads/45-edit-image.png" alt="Edit image" width="580" height="421" /></a></p>
<p>In a real world production environment, you would like to make sure the answer to all those questions outlined below is <strong>Yes</strong>. Assuming you've already verified each of the items mentioned above, click <strong>Done</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/46-view-and-verify-information.png"><img class="alignnone size-full wp-image-25001" title="View and verify information" src="http://www.petri.co.il/wp-content/uploads/46-view-and-verify-information.png" alt="View and verify information" width="580" height="446" /></a></p>
<p>Once you're back to the Edit Image screen, click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/47-edit-image.png"><img class="alignnone size-full wp-image-25002" title="Edit image" src="http://www.petri.co.il/wp-content/uploads/47-edit-image.png" alt="Edit image" width="580" height="418" /></a></p>
<p>Preparing the image simply entails filling up the form shown on this screen. You'll need to enter information such as: the domain name, domain administrator name, domain admin password, the Organization Unit (optional), the time zone, a computer name prefix, and so on (scroll down to see the other items).</p>
<p>When you're done filling that up, click the <strong>Prepare</strong> button.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/48-prepare-image.png"><img class="alignnone size-full wp-image-25003" title="Prepare image" src="http://www.petri.co.il/wp-content/uploads/48-prepare-image.png" alt="Prepare image" width="580" height="416" /></a></p>
<p>Click <strong>Confirm</strong>.<br />
<a href="http://www.petri.co.il/wp-content/uploads/49-confirm.png"><img class="alignnone size-full wp-image-25004" title="Confirm" src="http://www.petri.co.il/wp-content/uploads/49-confirm.png" alt="Confirm" width="580" height="219" /></a></p>
<p>The image preparation process will then begin.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/50-image-preparation.png"><img class="alignnone size-full wp-image-25005" title="Image preparation" src="http://www.petri.co.il/wp-content/uploads/50-image-preparation.png" alt="Image preparation" width="580" height="439" /></a></p>
<p>Once the desktop image is already prepared, the next step is to test it and see whether it is functioning correctly. Click <strong>Connect</strong> to connect to the desktop and start testing.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/51-test-image-connect.png"><img class="alignnone size-full wp-image-25008" title="Test image connect" src="http://www.petri.co.il/wp-content/uploads/51-test-image-connect.png" alt="Test image connect" width="580" height="417" /></a></p>
<p>Select a suitable connection method. For example, in our case, we chose Citrix HDX. Click <strong>Connect</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/52-connect-using-citrix-hdx.png"><img class="alignnone size-full wp-image-25009" title="Connect using Citrix HDX" src="http://www.petri.co.il/wp-content/uploads/52-connect-using-citrix-hdx.png" alt="Connect using Citrix HDX" width="580" height="272" /></a></p>
<p>Put in your login credentials and click <strong>Log in</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/53-login-credentials-for-hdx.png"><img class="alignnone size-full wp-image-25010" title="Login credentials for HDX" src="http://www.petri.co.il/wp-content/uploads/53-login-credentials-for-hdx.png" alt="Login credentials for HDX" width="580" height="307" /></a></p>
<p>Once inside the virtual desktop, you might want to check out some basic information. For instance, you might want to check out the desktop's CPU, RAM, OS version, and so on. You can go to the <strong>Start</strong> menu button, right-click <strong>Computer</strong>, and then select <strong>Properties</strong> to view those.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/54-computer-properties.png"><img class="alignnone size-full wp-image-25011" title="Computer properties" src="http://www.petri.co.il/wp-content/uploads/54-computer-properties.png" alt="Computer properties" width="580" height="389" /></a></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/55-basic-information-about-the-virtual-desktop.png"><img class="alignnone size-full wp-image-25014" title="Basic information about the virtual desktop" src="http://www.petri.co.il/wp-content/uploads/55-basic-information-about-the-virtual-desktop.png" alt="Basic information about the virtual desktop" width="580" height="438" /></a></p>
<p>Another place to look at is the <strong>Start</strong> &gt; <strong>Programs</strong> menu. See whether the applications you wanted installed are actually there.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/56-checking-existing-apps.png"><img class="alignnone size-full wp-image-25018" title="Checking existing apps" src="http://www.petri.co.il/wp-content/uploads/56-checking-existing-apps.png" alt="Checking existing apps" width="580" height="391" /></a></p>
<p>Basically, you want to inspect and try out everything that has to do with the end user experience. Make sure everything that you'd like your end users to do on their desktop can actually be done.</p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2939&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2939', 'Click']);" title="" rel="nofollow"><img src="/media/2939.gif"  alt=" " /> </a></div></center>
<p>If you see no problems, you can go back to the VDI-in-a-Box administrative console and click the <strong>Save</strong> button.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/57-save-image.png"><img class="alignnone size-full wp-image-25020" title="Save image" src="http://www.petri.co.il/wp-content/uploads/57-save-image.png" alt="Save image" width="580" height="418" /></a></p>
<p>Click the <strong>Confirm</strong> button. Note that if you have more than one server in your grid (e.g. for high availability and scalability) this image will be distributed to all those servers.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/58-distribute-saved-image.png"><img class="alignnone size-full wp-image-25021" title="Distribute saved image" src="http://www.petri.co.il/wp-content/uploads/58-distribute-saved-image.png" alt="Distribute saved image" width="580" height="261" /></a></p>
<p>At this juncture, the system will start shutting down the VM and then get it ready for end users to connect.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/59-shutting-down-VM.png"><img class="alignnone size-full wp-image-25025" title="Shutting down VM" src="http://www.petri.co.il/wp-content/uploads/59-shutting-down-VM.png" alt="Shutting down VM" width="580" height="484" /></a></p>
<p>With that, you will have completed all the steps for generating a base desktop image. You're now ready to create desktop templates from it.</p>
<h2>Creating Desktop Templates from the Base Image</h2>
<p>This step entails coming up with names and descriptions for the desktop templates you create, specifying the number of user desktops you want for each template, and refreshing policies for user desktops. Click <strong>Continue</strong> to proceed.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/60-create-desktop-templates.png"><img class="alignnone size-full wp-image-25026" title="Create desktop templates" src="http://www.petri.co.il/wp-content/uploads/60-create-desktop-templates.png" alt="Create desktop templates" width="580" height="416" /></a></p>
<p>In the succeeding screen, enter the name you want this template to have. Next, select the image you created earlier from the drop-down list. Enter an appropriate description and then leave everything else to their defaults. Click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/61-template-information.png"><img class="alignnone size-full wp-image-25029" title="Template information" src="http://www.petri.co.il/wp-content/uploads/61-template-information.png" alt="Template information" width="580" height="420" /></a></p>
<p>Specify the maximum number of desktops you want for this template. Also specify the number of pre-started desktops before clicking <strong>Save</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/62-template-policies.png"><img class="alignnone size-full wp-image-25030" title="Template policies" src="http://www.petri.co.il/wp-content/uploads/62-template-policies.png" alt="Template policies" width="580" height="423" /></a></p>
<p>Assuming everything goes smoothly, you should receive a notification declaring that the template was saved successfully. Click <strong>Close</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/63-template-saved-successfully.png"><img class="alignnone size-full wp-image-25033" title="Template saved successfully" src="http://www.petri.co.il/wp-content/uploads/63-template-saved-successfully.png" alt="Template saved successfully" width="580" height="183" /></a></p>
<p>That now brings us to our last set of steps, and that is to assign users to the desktops. Click <strong>Continue</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/64-assign-users-to-desktops.png"><img class="alignnone size-full wp-image-25035" title="Assign users to desktops" src="http://www.petri.co.il/wp-content/uploads/64-assign-users-to-desktops.png" alt="Assign users to desktops" width="580" height="413" /></a></p>
<p>Here, you can define users, user groups, or IP addresses that can access specific templates of a base image. To define a user, user group, or IP address, just click their respective <strong>Add</strong> link.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/65-add-users.png"><img class="alignnone size-full wp-image-25036" title="Add users" src="http://www.petri.co.il/wp-content/uploads/65-add-users.png" alt="Add users" width="580" height="434" /></a></p>
<p>You’ll then be asked to enter an Active Directory ID and then select a specific template that it can access.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/66-user-ID.png"><img class="alignnone size-full wp-image-25037" title="User ID" src="http://www.petri.co.il/wp-content/uploads/66-user-ID.png" alt="User ID" width="580" height="238" /></a></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/67-select-template.png"><img class="alignnone size-full wp-image-25038" title="Select template" src="http://www.petri.co.il/wp-content/uploads/67-select-template.png" alt="Select template" width="580" height="218" /></a></p>
<p>Here’s a newly added user.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/68-newly-added-user.png"><img class="alignnone size-full wp-image-25039" title="Newly added user" src="http://www.petri.co.il/wp-content/uploads/68-newly-added-user.png" alt="Newly added user" width="580" height="356" /></a></p>
<p>After defining users, user groups, and/or IP addresses, go to the <strong>Desktops</strong> tab to see whether you’re all set to test this out on a real end user using your newly cloned template.</p>
<p>At the top of that page, you’ll see some relevant information regarding the <strong>Capacity</strong> of the grid. Here’s what the colored bars mean:</p>
<ul>
<li>Green bars (not visible on the screenshot) - capacity of desktops in use and on hold</li>
<li>Yellow bars - desktops that are still new, starting, or on-hold</li>
<li>Dark gray bars - potential consumption of the grid resources by the maximum configured desktops</li>
<li>Light gray bars - unused capacity of the entire grid</li>
</ul>
<p><a href="http://www.petri.co.il/wp-content/uploads/69-capacity-bar.png"><img class="alignnone size-full wp-image-25040" title="Capacity bar" src="http://www.petri.co.il/wp-content/uploads/69-capacity-bar.png" alt="Capacity bar" width="580" height="165" /></a></p>
<p>Below that, in the section named <strong>Desktops</strong>, you’ll find information regarding the default template such as the maximum number of desktops to be generated (<strong>Max</strong>), the number of desktops that will be pre-started and ready for connection at any point in time (<strong>Prestart</strong>), the number currently being used (<strong>In Use</strong>), the number preserved for subsequent use (<strong>On Hold</strong>), and so on.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/70-desktops.png"><img class="alignnone size-full wp-image-25041" title="Desktops" src="http://www.petri.co.il/wp-content/uploads/70-desktops.png" alt="Desktops" width="580" height="241" /></a></p>
<p>At this point, you should be able to test things out. There are multiple ways of doing this, but here’s one way.</p>
<p>If you’re an end user who wants to connect to your designated VDI-in-a-Box virtual desktop, you can point your Web browser to the IP address of the VDI-in-a-Box server, enter your login credentials and log on.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/71-log-in-vdi-in-a-box.png"><img class="alignnone size-full wp-image-25044" title="Log in VDI-in-a-box" src="http://www.petri.co.il/wp-content/uploads/71-log-in-vdi-in-a-box.png" alt="Log in VDI-in-a-box" width="580" height="377" /></a></p>
<p>Your designated desktop will then load and you’ll be automatically logged in using your Active Directory username and password.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/72-logged-in-to-Windows.png"><img class="alignnone size-full wp-image-25045" title="Logged in to Windows" src="http://www.petri.co.il/wp-content/uploads/72-logged-in-to-Windows.png" alt="Logged in to Windows" width="580" height="388" /></a></p>
<p>You can then go on and do what you normally do on a regular desktop.</p>
<p>Before we end, let’s go to the vSphere Client and see the virtual machines that were created courtesy of VDI-in-a-Box. In our screenshot below, you can see the original VDI-in-a-Box virtual machine as well as the Windows 7 virtual machines that were created off of it.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/73-vCenter.png"><img class="alignnone size-full wp-image-25046" title="vCenter" src="http://www.petri.co.il/wp-content/uploads/73-vCenter.png" alt="vCenter" width="580" height="431" /></a></p>
<h2>Conclusion</h2>
<p>The connection to my virtual desktop and the performance was fast, wasn't it? I was impressed with VDI-in-a-Box. I am awaiting a price quote now. My only recommendation for Citrix is to put pricing online instead of making you request a quote.</p>
<p>I suggest that you <a title="VDI-in-a-box Free Trial" href="http://www.citrix.com/English/ps2/products/product.asp?contentID=2316437&amp;ntref=prod_cat_dv" target="_blank">try out VDI-in-a-Box</a> for yourself using the free 30 day eval. I think you'll see that it can make desktop virtualization super-easy!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/d9Fnp-k4Dn-8JtQnH4u8E97FlkU/0/da"><img src="http://feedads.g.doubleclick.net/~a/d9Fnp-k4Dn-8JtQnH4u8E97FlkU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/d9Fnp-k4Dn-8JtQnH4u8E97FlkU/1/da"><img src="http://feedads.g.doubleclick.net/~a/d9Fnp-k4Dn-8JtQnH4u8E97FlkU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/petrivirtualization/~4/Eewa-vtwGjE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/install-citrix-vdi-in-a-box.htm/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/install-citrix-vdi-in-a-box.htm</feedburner:origLink></item>
		<item>
		<title>Auto Deploy In VMware vSphere 5</title>
		<link>http://feedproxy.google.com/~r/petrivirtualization/~3/a2FXV6ddz1w/auto-deploy-using-vsphere-5.htm</link>
		<comments>http://www.petri.co.il/auto-deploy-using-vsphere-5.htm#comments</comments>
		<pubDate>Fri, 16 Mar 2012 15:26:44 +0000</pubDate>
		<dc:creator>David Davis, vExpert, VCP, CCIE 9369</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=21654</guid>
		<description><![CDATA[In this tutorial, vExpert David Davis partners with Elias Khnaser to show you how to use Auto Deploy, one of the coolest features that comes with  vSphere 5. Auto Deploy enables admins to significantly cut down time they usually spend in provisioning vSphere servers, and Davis and Khnaser take you through the step-by-step process.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>One of the great new features of vSphere 5 allows you to roll out pre-configured VMware ESXi hosts, "en masse." This is the absolute fastest way to have a large vSphere infrastructure up and running, in no time. As part of the <a title="VMware vSphere 5 Training" href="http://www.trainsignal.com/VMware-vSphere-5-Training.aspx?utm_source=Site%20Promo&amp;utm_medium=Homepage%20Banner&amp;utm_campaign=vSphere%205%20Training">VMware vSphere 5 Training</a> I created with Elias Khnaser, Elias created a one hour video on Auto Deploy (yes, there is a lot to know). By the way, if you are preparing for your VCP5, then learning Auto Deploy is on the blueprint and something to be studied.<br />
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=2604&amp;host=www.trainsignal.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 10', '2604', 'Click']);" title="VMware vSphere 5 Training - Available Now at TrainSignal!!" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">VMware vSphere 5 Video Training</strong></a><a href="http://www.petri.co.il/uri/?id=2604&amp;host=www.trainsignal.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 10', '2604', 'Click']);" title="VMware vSphere 5 Training - Available Now at TrainSignal!!" rel="nofollow"><img src="/media/2604.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p>Get the First vSphere 5 Video Training Course!<br />
<br />
Instructed by vExperts David Davis and Elias Khnaser, this course will help to prepare you for your VCP5 certification. <b>Learn more at <br />
TrainSignal.</b></p><a  href="http://www.petri.co.il/uri/?id=2604&amp;host=www.trainsignal.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 10', '2604', 'Click']);" title="VMware vSphere 5 Video Training" style="clear: both;" rel="nofollow">VMware vSphere 5 Training - Available Now at TrainSignal!!</a></div><br />
In the 8 minute video sample below, taken from the full course, Elias shows us how to:</p>
<ul>
<li>use PowerCLI to create a deployment rule</li>
<li>boot host via PXE to install ESXi</li>
<li>view that newly installed host in a vCenter staging profile</li>
<li>create a cluster &amp; add the host to a cluster</li>
<li>attach a host profile to the host to configure it</li>
<li>move a host from a staging folder to the production cluster with PowerCLI</li>
</ul>
<p><center><br />
<em>(Instructional video below provides a walkthrough of the steps contained in this article.)</em><br />
<iframe src="http://www.youtube.com/embed/oQ8eAxcTMMs" frameborder="0" width="600" height="407"></iframe></center></p>
<h2>What is Auto Deploy?</h2>
<p>Auto Deploy is one of the coolest features that comes with VMWare vSphere 5. It enables admins to significantly cut down time they usually spend in provisioning vSphere servers. It makes a very substantial impact when you need to provision hundreds or thousands of physical hosts with ESXi.</p>
<p>To use Auto Deploy, you will need:</p>
<ul>
<li>A PXE Boot Infrastructure comprised of DHCP and TFTP servers for network booting</li>
<li>An ESXi image profile created using Image Builder, which is a new vSphere 5 tool for creating and maintaining custom ESXi images</li>
<li>vCenter Server to configure hosts using vCenter host profiles. Host configuration is usually done after ESXi has been installed, the host has been added to vCenter, and the host profile has been applied.</li>
<li>Auto Deploy Server to install ESXi on the hosts after the PXE boot. It is also used in adding hosts to vCenter, and applying host profiles.</li>
</ul>
<p>In this post, we'll jump into the portion wherein you'll actually get to see Auto Deploy in action. To get into the details of the preceding steps, watch our videos!</p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=1065&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '1065', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px;"><p style=" padding:10px 10px 10px 10px; background-color:#ffffed; font-weight:bold">See Also >> Case Study ... Kelly Blue & Windows Azure</p></div></span></a></div>
<p><strong>Step 1: Use PowerCLI to Create a Deployment Rule</strong></p>
<p>Ok, let's assume you've created a new rule. You now have to add that new rule to the Active Set Rules. Otherwise, it won't take effect. To do that, you go to the vSphere PowerCLI and execute this command:</p>
<pre>Add-DeployRule -DeployRule "Staging"</pre>
<p>wherein "Staging" is the name of the rule you just created.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/01-add-deployrule" rel="attachment wp-att-24776"><img class="alignnone size-full wp-image-24776" title="Add Deploy Rule" src="http://www.petri.co.il/wp-content/uploads/01-add-deployrule.png" alt="Add Deploy Rule" width="580" /></a></p>
<p><strong>Step 2: Boot Host via PXE to Install ESXi</strong></p>
<p>Once you're done with that, the next step would be to reset your host. If everything goes well, it should PXE-boot right into ESXi and start the installation. During the PXE boot process, Auto Deploy will obtain an IP address via DHCP and then redirect the host to a TFTP server. In turn, the TFTP server will stream an ESXi image into the physical host's memory.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/02-installing-esxi" rel="attachment wp-att-24785"><img class="alignnone size-full wp-image-24785" title="Installing ESXi" src="http://www.petri.co.il/wp-content/uploads/02-installing-ESXi.png" alt="Installing ESXi" width="580" /></a></p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/03-installing-esxi2" rel="attachment wp-att-24790"><img class="alignnone size-full wp-image-24790" title="Installing ESXi 2" src="http://www.petri.co.il/wp-content/uploads/03-installing-ESXi2.png" alt="Installing ESXi 2" width="580" /></a></p>
<p>Remember, this is all done over your network.</p>
<p><strong>Step 3: View that Newly Installed Host in a vCenter Staging Profile</strong></p>
<p>After that, the ESXi host will reboot and make itself available in vCenter inside a folder you should have created earlier.</p>
<p>In our case, the folder we created was named "Staging”. That folder serves as the staging location of the ESXi host before it is moved into a production cluster. Inside the panel at the bottom of the screen, you can monitor the progress as the ESXi host is added into the folder.</p>
<p>All other processes that you'll be doing inside vCenter can be monitored inside that panel as well.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/04-add-esxi-host-into-staging-folder" rel="attachment wp-att-24795"><img class="alignnone size-full wp-image-24795" title="Add ESXi host into staging folder" src="http://www.petri.co.il/wp-content/uploads/04-add-ESXi-host-into-staging-folder.png" alt="Add ESXi host into staging folder" width="580" /></a></p>
<p><strong>Step 4: Create a Cluster and Add the Host to a Cluster</strong></p>
<p>After having added the ESXi host into the Staging folder, the next step would be to create a profile from that particular host. Let's assume of course you already made all the necessary configuration changes and the server is already exactly the way you want it.</p>
<p>To proceed with creating a host profile from that host, right-click on the host and, in the context menu, navigate to <strong>Host Profile &gt; Create Profile from Host.</strong></p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/05-create-profile-from-host" rel="attachment wp-att-24800"><img class="alignnone size-full wp-image-24800" title="Create profile from host" src="http://www.petri.co.il/wp-content/uploads/05-create-profile-from-host.png" alt="Create profile from host" width="580" /></a></p>
<p>Give the profile a <strong>Name</strong> and a <strong>Description</strong> and click <strong>Next</strong>.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/06-name-and-description-of-profile" rel="attachment wp-att-24801"><img class="alignnone size-full wp-image-24801" title="Name and description of profile" src="http://www.petri.co.il/wp-content/uploads/06-name-and-description-of-profile.png" alt="Name and description of profile" width="580" /></a></p>
<p>Click <strong>Finish</strong>.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/07-finish-creating-profile" rel="attachment wp-att-24802"><img class="alignnone size-full wp-image-24802" title="Finish creating profile" src="http://www.petri.co.il/wp-content/uploads/07-finish-creating-profile.png" alt="Finish creating profile" width="580" /></a></p>
<p><strong>Step 5: Attach a Host Profile to the Host to Configure it</strong></p>
<p>You also need to attach that particular host profile to this server. To do that, you have to put the server to maintenance mode first. Again, right-click on the host and then click <strong>Enter Maintenance Mode</strong>.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/08-enter-maintenance-mode" rel="attachment wp-att-24805"><img class="alignnone size-full wp-image-24805" title="Enter maintenance mode" src="http://www.petri.co.il/wp-content/uploads/08-enter-maintenance-mode.png" alt="Enter maintenance mode" width="580" /></a></p>
<p>Confirm that you want to enter maintenance mode by clicking <strong>Yes</strong>.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/09-confirm-maintenance-mode" rel="attachment wp-att-24806"><img class="alignnone size-full wp-image-24806" title="Confirm maintenance mode" src="http://www.petri.co.il/wp-content/uploads/09-confirm-maintenance-mode.png" alt="" width="580" /></a></p>
<p>The moment the server enters maintenance mode, right-click on it and navigate to <strong>Host Profile &gt; Apply Profile</strong>.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/10-apply-profile" rel="attachment wp-att-24807"><img class="alignnone size-full wp-image-24807" title="Apply profile" src="http://www.petri.co.il/wp-content/uploads/10-apply-profile.png" alt="Apply profile" width="580" /></a></p>
<p>Click <strong>Finish</strong>.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/11-finish-applying-configuration-changes" rel="attachment wp-att-24812"><img class="alignnone size-full wp-image-24812" title="Finish applying configuration changes" src="http://www.petri.co.il/wp-content/uploads/11-finish-applying-configuration-changes.png" alt="Finish applying configuration changes" width="580" /></a></p>
<p>Wait until the system finishes applying the host configuration.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/12-apply-host-configuration-complete" rel="attachment wp-att-24813"><img class="alignnone size-full wp-image-24813" title="Apply host configuration complete" src="http://www.petri.co.il/wp-content/uploads/12-apply-host-configuration-complete.png" alt="Apply host configuration complete" width="580" /></a></p>
<p>So at this point, you would have already PXE-booted, created an image profile entry for that host in vCenter, as well as created a host profile entry for it. Therefore, you could easily reboot that host and do whatever it is you need to do to it.</p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2965&amp;host=go.appassure.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 37', '2965', 'Click']);" title="" rel="nofollow"><img src="/media/2965.gif"  alt=" " /> </a></div></center>
<p>But first, you need to take it out of maintenance mode. Right-click the host and select <strong>Exit Maintenance Mode</strong>.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/13-exit-maintenance-mode" rel="attachment wp-att-24814"><img class="alignnone size-full wp-image-24814" title="Exit maintenance mode" src="http://www.petri.co.il/wp-content/uploads/13-exit-maintenance-mode.png" alt="Exit maintenance mode" width="580" /></a></p>
<p><strong>Step 6: Move a Host from a Staging Folder to the Production Cluster with PowerCLI</strong></p>
<p>One thing you will want to do is move the host from staging into production. Let's say you have a production cluster named "Prod," which is where you'll be moving the host into. To proceed, bring back PowerCLI.</p>
<p>Now, take note. You can't modify a rule that is already active. You have to copy that rule and then make the modifications and changes you want on that copy. To do that, execute the command:</p>
<pre>Copy-DeployRule -DeployRule Staging - ReplaceItem Prod</pre>
<p>Wherein <strong>Staging</strong> is the name of the rule you want to modify and <strong>Prod</strong> is the name of the item that will replace the original item, which in this case is also named <strong>Staging</strong>.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/14-copy-deployrule" rel="attachment wp-att-24815"><img class="alignnone size-full wp-image-24815" title="Copy deploy rule" src="http://www.petri.co.il/wp-content/uploads/14-copy-deployrule.png" alt="Copy deploy rule" width="580" /></a></p>
<p>You"ll see that particular item change as soon as you execute the command.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/15-after-copy-deployrule-executed" rel="attachment wp-att-24816"><img class="alignnone size-full wp-image-24816" title="After copy deploy rule is executed" src="http://www.petri.co.il/wp-content/uploads/15-after-copy-deployrule-executed.png" alt="After copy deploy rule is executed" width="580" /></a></p>
<p>After that, if you want to verify whether the host is actually accessible (i.e., whether it is possible to attach to that particular host), execute this command:</p>
<pre>Get-VMHost -Name esx6.wiredbraincoffee.com</pre>
<p>wherein esx6.wiredbraincoffee.com is just the FQDN (fully qualified domain name) of the host that you want to verify.</p>
<p>If everything’s running perfectly, it should show in the results that appear after you execute the command.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/16-get-vmhost" rel="attachment wp-att-24817"><img class="alignnone size-full wp-image-24817" title="Get Vmhost" src="http://www.petri.co.il/wp-content/uploads/16-get-vmhost.png" alt="Get Vmhost" width="580" /></a></p>
<p>Once you see that the results are good, you’ll be ready to test that particular configuration. Testing can be done by executing this command:</p>
<pre>$tr = Test-DeployRuleSetCompliance esx6.wiredbraincoffee.com</pre>
<p>wherein $tr is an environmental variable which you’ll be using in the command that’s about to follow.</p>
<p>If the command above executes without any issues, that means you’re ready to proceed.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/17-test-deployrulesetcompliance" rel="attachment wp-att-24818"><img class="alignnone size-full wp-image-24818" title="Test deploy rule set compliance" src="http://www.petri.co.il/wp-content/uploads/17-test-deployrulesetcompliance.png" alt="Test deploy rule set compliance" width="580" /></a></p>
<p>Meaning, your configuration is valid and you’re allowed to make the change. The last command you need to execute, which as mentioned earlier will be using the environmental variable $tr, is this:</p>
<pre>Repair-DeployRuleSetCompliance $tr</pre>
<p>Although it uses the term ‘repair,’ it really isn’t doing any repairs. This is just VMWare’s way of telling you that you’re about to modify this.</p>
<p>Again, if there are no issues after execution, then you’re good to go.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/18-repair-deployrulesetcompliance" rel="attachment wp-att-24819"><img class="alignnone size-full wp-image-24819" title="Repair deploy rule set compliance" src="http://www.petri.co.il/wp-content/uploads/18-repair-deployrulesetcompliance.png" alt="Repair deploy rule set compliance" width="580" /></a></p>
<p>Once you check vCenter, you’ll notice that the host has already been moved from the staging folder to your designated production folder.</p>
<p><a href="http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/19-esxi-host-moved" rel="attachment wp-att-24820"><img class="alignnone size-full wp-image-24820" title="Esxi host moved" src="http://www.petri.co.il/wp-content/uploads/19-esxi-host-moved.png" alt="Esxi host moved" width="580" /></a></p>
<h2>Conclusion</h2>
<p>I just showed you how to use Auto Deploy to easily move your hosts back and forth between your folders and apply any kind of particular profile on those hosts.</p>
<p>For the full one hour training video on Auto Deploy, check out our 16 hour <a title="VMware vSphere 5 Training" href="http://www.trainsignal.com/VMware-vSphere-5-Training.aspx?utm_source=Site%20Promo&amp;utm_medium=Homepage%20Banner&amp;utm_campaign=vSphere%205%20Training">VMware vSphere 5 Training</a> course from TrainSignal.com.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/EIbK-THJJKuIEseFqKRLyddC1Xs/0/da"><img src="http://feedads.g.doubleclick.net/~a/EIbK-THJJKuIEseFqKRLyddC1Xs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/EIbK-THJJKuIEseFqKRLyddC1Xs/1/da"><img src="http://feedads.g.doubleclick.net/~a/EIbK-THJJKuIEseFqKRLyddC1Xs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/petrivirtualization/~4/a2FXV6ddz1w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/auto-deploy-using-vsphere-5.htm/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/auto-deploy-using-vsphere-5.htm</feedburner:origLink></item>
		<item>
		<title>Intro to Virtualization: Hardware, Software, Memory, Storage, Data and Network Virtualization Defined</title>
		<link>http://feedproxy.google.com/~r/petrivirtualization/~3/3oSBydqhVpM/intro-to-virtualization.htm</link>
		<comments>http://www.petri.co.il/intro-to-virtualization.htm#comments</comments>
		<pubDate>Mon, 12 Mar 2012 18:49:53 +0000</pubDate>
		<dc:creator>Bill Hill</dc:creator>
				<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=24436</guid>
		<description><![CDATA[What exactly is virtualization and what are the benefits? This guide is designed specifically for IT professionals who are new to virtualization, and takes a detailed look at the different types of virtualization as well as the benefits of each.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p><strong>What is virtualization?</strong> What are the <strong>different types of virtualization</strong>? And most importantly, what are the <strong>benefits of virtualization?</strong> In this guide, designed specifically for IT professionals who are new to virtualization, we’ll take a detailed look at the different types of virtualization as well as the benefits of each:</p>
<ul>
<li><a href="#hardware-virtualization">Hardware Virtualization</a></li>
<li><a href="#software-virtualization">Software Virtualization</a></li>
<li><a href="#memory-virtualization">Memory Virtualization</a></li>
<li><a href="#storage-virtualization">Storage Virtualization</a></li>
<li><a href="#data-virtualization">Data Virtualization</a></li>
<li><a href="#networkvirtualization">Network Virtualization</a></li>
</ul>
<p>What I hope you get out of this article is that virtualization is not just for the datacenter, and it's not just for large organization. Same thing applies to it's benefits; virtualization has a lot to offer to IT professionals and in many cases, to end users. If you're new to the concept of virtualization, or you're unfamiliar with the different shapes virtualization can take, this article is the perfect place to start.</p>

<h2 id="hardware-virtualization">What is Hardware Virtualization?</h2>
<p>Historically, there has been a 1-to-1 relationship between physical servers and operating systems. Low CPU, memory, and networking requirements matched nicely with the limited hardware resources available. As this model continued, however, the costs of doing business rose. The amount of power, physical space, and hardware required meant that costs were adding up.</p>
<p>Virtualization is all about abstraction. Hardware virtualization is accomplished by abstracting the physical hardware layer by use of a hypervisor (aka - a Virtual Machine Monitor). The hypervisor handles sharing the physical resources of the hardware between the guest operating systems running on the host. Physical resources become abstracted versions in standard formats, so regardless of the hardware platforms, the hardware is presented as the same model. The virtualized operating system is able to hook into these resources as though they are physical entities. <a href="http://www.solarwinds.com/products/virtualization-manager/virtualization-management-software.aspx?CMP=BIZ-TAD-PETRI-VM-PPI-VIRT_ART- HYPR_LINK">Learn About SolarWinds Virtualization Manager.</a></p>
<p>Various levels of hardware virtualization exist that perform various levels of abstraction:</p>
<p><strong>Full -</strong> The guest OS is unaware that it is being virtualized. The hypervisor will handle all OS-to-hardware requests on demand and may cache the results for future use. In this instance, the virtualized OS is completely isolated from the hardware layer by the hypervisor. This provides the highest level of security and flexibility as a broader range of operating systems can be virtualized.</p>
<p><strong>Hardware assisted - </strong>Hardware vendors have seen value in virtualization and have tailored their devices to enhance performance or functionality. This is most evident in the AMD-V and Intel Virtualization Technology processor enhancements. In the case of the AMD and Intel processors, specific CPU calls are not translated by the hypervisor, and are sent directly to the CPU. This reduces the hypervisor load and increases performance by removing the translation time from operating system calls.</p>
<p><strong>Paravirtualized - </strong>The guest OS needs to be engineered in such a way that it knows that it is virtualized. The kernel of the operating system is adjusted to replace instructions that cannot be virtualized with methods that interact directly with the hypervisor. Value for paravirtualized environments comes in the form of lower overhead and optimized operations. Paravirtualization is typically seen in Linux environments with the Xen kernels included, although it is more and more common to find Full Virtualization vendors, including some paravirtualization drivers, in their latest products.</p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=2849&amp;host=blogs.technet.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2849', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px;"><p style=" padding:10px 10px 10px 10px; background-color:#ffffed; font-weight:bold">Virtualization Certification – Is it really worth it?</p></div></span></a></div>
<p>Hypervisors can also be categorized into one of two primary categories:</p>
<p><strong>Type I</strong> – Type I hypervisors are installed directly on to the hardware, similar to how a regular operating system may be installed on a single server. There is very low overhead associated with this technique and performance is greater. VMware ESXi, Microsoft Hyper-V, and Citrix XenServer are all examples of Type I hypervisors.</p>
<p><strong>Type II</strong> – Type II hypervisors are installed onto an existing operating system environment. There is higher overhead, as the entire operating environment resources are managed by the operating system, which may result in lower performance. VMware Workstation, Microsoft Virtual PC, and Oracle VirtualBox are examples of Type II hypervisors.</p>
<h2>Benefits of Hardware Virtualization</h2>
<p>The main benefits of hardware virtualization include more efficient resource utilization, lower overall costs, and higher ROI, as well as increased uptime and IT flexibility. Let’s take a look at each of these benefits in more detail.</p>
<ul>
<li><strong>More Efficient Resource Utilization:</strong> Physical resources can be shared amongst virtual machines. Unused resources, although allocated to a virtual machine, can be used by other virtual machines if the need exists.</li>
<li><strong>Lower Overall Costs Due to Server Consolidation:</strong> Now that it is possible for multiple operating systems to coexist on a single hardware platform, the sheer number of servers, rack space, and power consumption drops significantly.</li>
<li><strong>Higher ROI:</strong> Servers can be expensive: By running multiple independent and isolated environments on a single hardware platform, IT is making better use of the purchase and getting the biggest bang for their buck.</li>
<li><strong>Increased Uptime Due to Advanced Hardware Virtualization Features:</strong> The modern hypervisor providers are able to provide highly orchestrated operations that maximize the abstraction of the hardware and help ensure maximum uptime. These functions include the ability to migrate a running virtual machine from one host to another dynamically, as well as maintain a running copy of the virtual machine on another physical host in case the primary host fails.</li>
<li><strong>Increased IT Flexibility:</strong> Hardware virtualization allows for quick deployment of server resources in managed and consistent ways. This results in IT being able to adapt quickly and provide the business with resources needed in an expedited time frame.</li>
</ul>
<h2 id="software-virtualization">What is Software Virtualization?</h2>
<p>Managing applications and distribution becomes a very steep task for IT departments. Installation mechanisms differ from application to application. Some programs require certain helper applications or frameworks, and these applications or frameworks may conflict with existing applications or new applications. Additionally, one-off applications exist for special users.</p>
<p>But how are virtual desktops handled? How are laptops handled? How do you update the software? Plus, which mechanism are you using to deploy the software? The considerations are quite daunting.</p>
<p>Software virtualization, like virtualization in general, is able to abstract the software installation procedure and create virtual software installations. Virtualized software is an application that has been "installed" into its own self-contained unit. In Windows environments, this unit contains virtual registry, %TEMP% directories, and storage locations. An application becomes a single unit that can be deployed as easy as copying a file to a location. Plus, the application can be allowed to interact with local system resources or stay in the unit.</p>
<p>The installation of the software into the self-contained unit becomes a "diff" style operation. A clean operating system is configured, a snapshot is taken of the environment, the application is installed and configured, and a new snapshot of the environment is taken. The difference between the snapshots is the virtualized application.</p>
<h2>Benefits of Software Virtualization</h2>
<p>This methodology provides some fairly significant benefits to application managers:</p>
<ul>
<li><strong>Client Deployments Become Easier:</strong> copying a file to a workstation or linking to a file in a network share can install Virtual applications. Existing deployment methodology can be leveraged to automate this functionality.</li>
<li><strong>Added Security:</strong> Many software virtualization providers include the ability to link to LDAP/Active Directory group membership to ensure that you are able to run the software. This ensures approved users are granted access, and the software cannot be run on a machine that does not have access to the LDAP/Active Directory domain. Plus, time bomb functions may exist that expire the software after a specified amount of time.</li>
<li><strong>Ease of Management:</strong> Managing updates becomes a much simpler task. Update one place; deploy the updated virtual application to the clients. If the update breaks something, just copy the original file back in place. Suddenly, it becomes possible to have a library of updated software for versioning and roll back functionality.</li>
<li><strong>Software Migrations:</strong> Moving users from one software platform to another takes much time and consideration for deploying, and impact on end user systems. By running a virtualized software environment, the migration can be as simple as replacing one file with another.</li>
<li><strong>Conflict Mitigation with Existing Software:</strong> Due to the fact that software is housed in virtualized containers, applications that do not play nicely with each other can co-exist on the same system. This is very useful for developers testing different software versions or running multiple versions of web browsers to verify application functionality.</li>
</ul>
<h2 id="memory-virtualization">What is Memory Virtualization?</h2>
<p>In the most basic form, memory virtualization is seen as virtual memory, or swap, on servers and workstations. Conceptually, swap exists as a way to handle memory-full systems without having to halt, or even kill, processes. Swap is a portion of the local storage environment that is designated as memory to the host system. The host sees the local swap as additional addressable memory locations and does not delineate between RAM and swap. However, the swap file is addressed at the upper bounds of the memory addressing, so the physical memory will be consumed before the swap is consumed. Using swap imposes a major performance degradation on the host system. The read/write speed of local storage, and even solid-state storage (SSD), is much slower than RAM. Plus, disk contention becomes a major issue as the read/write rates to the local storage is high, and impacts the ability of system operations to read from the same disk.</p>
<p>High bandwidth, low latency environments are making use of memory virtualization as well. This can be seen in technologies like InfiniBand and high performance cluster environments. Remote Direct Memory Access (RDMA) is used to provide remote access to another host's memory without interfering with that host. Again, to the host utilizing the RDMA functionality, this becomes another section of addressable memory locations. However, the speed is much faster than that of the swap file as it is running over high bandwidth, low latency connections. As converged networking over 10Gb links becomes more and more prevalent, RDMA is going to become more and more of an option, as Ethernet standards for RDMA are being developed. <a href="http://www.solarwinds.com/register/registrationb.aspx?program=1461&amp;c=70150000000P84F&amp;CMP=BIZ-TAD-PRF_TCHPDIA-VM-DL-VIRT_ART- HYPR_LINK ">Download a FREE 30-Day Trial of SolarWinds Virtualization Manager.</a></p>
<p>Server virtualization vendors are taking advantage of their ability to abstract the memory resources of a given host, and are providing some interesting memory related functions. These functions include:</p>
<ul>
<li>The ability to share common memory pages across multiple virtual machines. This is great for when a host is running  multiple copies of the same operating system. There is no need for multiple copies of the same pages to exist. Sharing the pages frees up memory to use elsewhere.</li>
<li>The ability to snapshot a memory state and revert back if the new state is not optimal.</li>
<li>The ability to transmit the memory state across the network to another host in order to move virtual machine operations to the new host.</li>
<li>Compress physical memory contents in order to save the physical host from utilizing swap.</li>
<li>Releasing unused, but allocated, memory for other virtual machines to utilize.</li>
</ul>
<h2> Benefits of Memory Virtualization</h2>
<p>Benefits to using memory virtualization include:</p>
<ul>
<li>Higher memory utilization by sharing contents and consolidating more virtual machines on a physical host.</li>
<li>Ensuring some memory space exists before halting services until memory frees up.</li>
<li>Access to more memory than the chassis can physically allow.</li>
<li>Advanced server virtualization functions, like live migrations.</li>
</ul>
<h2 id="storage-virtualization">What is Storage Virtualization?</h2>
<p>Historically, there has been a strong link between the physical host and the locally installed storage devices. However, that paradigm is changing drastically, almost to the point that local storage is no longer needed. As technology progresses, more advanced storage devices are coming to the market that provide more functionality, and serve to obsolete local storage.</p>
<p>Storage virtualization is a major component in storage best practices for servers, in the form of controllers and functional RAID levels. Operating systems and applications with raw device access prefer to write directly to the disks themselves. The controllers configure the local storage in RAID groups and present the storage to the operating system as a volume (or multiple volumes, depending on the configuration). The operating system issues storage commands to the volumes, thinking that it is writing directly to the disk. However, the storage has been abstracted and the controller is determining how to write the data or retrieve the requested data for the operating system.</p>
<p>Storage virtualization is becoming more and more present in various other forms:</p>
<ul>
<li><strong>File servers:</strong> The operating system is writing to a remote location with no need to understand how to write to the physical media.</li>
<li><strong>pNFS:</strong> A component of NFS v4.1, pNFS involves making a request for data over an NFS share. However, the data is stored in a large variety of disparate locations and medium. The requester has no idea where the data exists; that is handled by the NFS server.</li>
<li><strong>DFS:</strong> Similar in concept to pNFS, DFS, Distributed File System, creates a filesystem-like view of data. However, the composition of the filesystem is differing file shares on the network. The filesystem appears to be a single volume, but it is comprised of multiple locations.</li>
<li><strong>WAN Accelerators:</strong> Rather than send multiple copies of the same data over the WAN environment, WAN accelerators will cache data locally and present the re-requested blocks at LAN speed, while not impacting the WAN performance.</li>
<li><strong>NAS and SAN:</strong> Storage is presented over the Ethernet network to the operating system. NAS presents storage as file operations (like NFS and CIFS). SAN technologies present storage as block level storage (like iSCSI and Fibre Channel). SAN technologies receive operating instructions as if the storage was a locally attached device.</li>
<li><strong>Storage Pools:</strong> Enterprise level storage devices can aggregate common storage devices, in the form of like disk types (speeds and capacity), to present an abstracted view of the storage environment for administrators to handle. The storage device handles which disks to place the data upon, versus the storage administrator deciding how to divide the available disks. This usually leads to higher reliability and performance as more disks are used.</li>
<li><strong>Storage Tiering:</strong> Utilizing the storage pool concept as a stepping stone, storage tiering analyzes most commonly used data and places it on the highest performing storage pool. The lowest used data is placed on the weakest performing storage pool. This operation is done automatically and without any interruption of service to the data consumer.</li>
</ul>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2939&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2939', 'Click']);" title="" rel="nofollow"><img src="/media/2939.gif"  alt=" " /> </a></div></center>
<h2>Benefits of Storage Virtualization</h2>
<p>Benefits to storage virtualization include:</p>
<ul>
<li>Data is stored in more convenient locations away from the specific host. In the event of a host failure, the data is not necessarily compromised.</li>
<li>The storage devices are able to perform advanced functions like deduplication, replication, thin provisioning, and disaster recovery functionality.</li>
<li>By abstracting the storage level, IT operations can become more flexible in how storage is partitioned, provided, and protected.</li>
</ul>
<h2 id="data-virtualization">What is Data Virtualization?</h2>
<p>Data exists in many forms in our environments. Sometimes the data is static or dynamic. Sometimes the data is stored in a database or in a flat file. Sometimes the data resides in the accounting system or the operations system. Sometimes the data is in Asia or Europe. Sometimes the data is integer based or string based.</p>
<p>Managing data location and availability can be difficult when trying to pull from many sources to analyze the data. Data virtualization deals with the ability to abstract the actual location, access method and data types, and allow the end user to focus on the data itself. This is typically seen in corporate/IT Dashboards, BI tools, and CRM tools.</p>
<p>The dashboard and BI/CRM tools are responsible for handling the abstraction of data locations. These tools are configured with various data sources that can aggregate the data into a single point for analysts to utilize. Data sources may include database connectors, APIs, website data, sensor data, file repositories, and application integrations. The analysts do not need to know where the data comes from, only that it exists and is correct.</p>
<h2>Benefits of Data Virtualization</h2>
<p>Benefits to data virtualization include:</p>
<ul>
<li>Less end user domain knowledge of where the data is. Techniques for connecting to various sources may require higher technical skills, security levels, and understanding of how the data is stored.</li>
<li>Focus on correctly analyzing the data. The end user is spending their time focusing on their specific role or function and not worrying about how the data arrives, just that it does.</li>
</ul>
<h2 id="network-virtualization">What is Network Virtualization?</h2>
<p>Virtualization can be seen as abstraction and creation of multiple logical systems on a single physical platform. For network virtualization this remains true, although not so clearly as server virtualization. Networking devices utilize both paravirtualization and hypervisor techniques.</p>
<p>The first is loosely based on the idea of paravirtualization, where the underlying software is creating a separate forwarding table for each virtual network, such as is done by MPLS within each VRF. In MPLS, the OS creates a single routing and forwarding database for each VRF, but marks each entry in the database with the tag for ownership. BGP is used to update the database, and shares the routes AND the tags to distribute the data throughout the network.</p>
<p>In the second type of hypervisor, the network device OS instantiates multiple instances of the OS. Perhaps the most common example of this might be Cisco ASA firewalls, with the use of Virtual Contexts. Each context appears as a totally separate ASA instance and shares access to the physical interfaces. No communication between contexts is possible within the ASA OS, and all traffic must pass on physical interfaces.</p>
<h2>Benefits of Network Virtualization</h2>
<p>Benefits to network virtualization include:</p>
<ul>
<li><strong>Service Orientation:</strong> As each business service is added to your IT infrastructure, some parts of the infrastructure are shared resources, and others are dedicated resources. For example, Ethernet switches are regarded as shared resources, and VLAN configuration can be a dedicated resource on the shared switching resource.</li>
<li><strong>Better Change Control:</strong> Virtualization improves Change Management by separating functions into many areas. Changes to the configuration within a virtualized area will have no impact to another area, thus making change approval easier.</li>
<li><strong>Cost Savings:</strong> The cost of deploying and maintaining network equipment is high, and it can be cost effective to share firewalls, switches, and load balancers between services, instead of buying new physical equipment each time.</li>
<li><strong>Security:</strong> Because the systems are logically separate, many security issues and risks can be easily addressed. Topics such as limiting access and limiting knowledge are simpler to handle.</li>
</ul>
<h2>Summary</h2>
<p>Virtualization overall, irrespective of the type, helps improve scalability and resource utilization. In most cases, the main benefit to IT professionals is the ease of management, as virtualization helps to centralize administrative tasks, whether they involve day-to-day updates or large scale deployments and migrations.</p>
<p>But there's a lot more to virtualization than what we've covered here. This guide was meant to help you get your head wrapped around the concept of virtualization, the main types of virtualization and their benefits. What we didn't cover are the disadvantages, challenges and complexities of virtualization, but we'll save that for another article.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/5PQiAB5661ULKp9o5mavhKrXcqg/0/da"><img src="http://feedads.g.doubleclick.net/~a/5PQiAB5661ULKp9o5mavhKrXcqg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5PQiAB5661ULKp9o5mavhKrXcqg/1/da"><img src="http://feedads.g.doubleclick.net/~a/5PQiAB5661ULKp9o5mavhKrXcqg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/petrivirtualization/~4/3oSBydqhVpM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/intro-to-virtualization.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/intro-to-virtualization.htm</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.655 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-05-26 22:44:42 -->

