<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ray Heffer &#187; Virtualisation</title>
	<atom:link href="http://www.rayheffer.com/category/virtualistion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rayheffer.com</link>
	<description>Enterprise Technologies</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:51:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>VMware VCAP5-DCD Study Guide &amp; Notes</title>
		<link>http://www.rayheffer.com/2018/vmware-vcap5-dcd-study-guide-notes/</link>
		<comments>http://www.rayheffer.com/2018/vmware-vcap5-dcd-study-guide-notes/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 16:23:48 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[VCAP-DCD]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=2018</guid>
		<description><![CDATA[It was announced this morning that the VDCD511 (VCAP5-DCD beta exam) is available to take from 13th February to 2nd March 2012. You can take it at VMware Partner Exchange 2012 in Las Vegas. When the final exam is released, for a limited time you won&#8217;t need to have a VCP5 certification as a pre-requisite. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F2018%2Fvmware-vcap5-dcd-study-guide-notes%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F2018_2Fvmware-vcap5-dcd-study-guide-notes_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F2018%2Fvmware-vcap5-dcd-study-guide-notes%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2012/02/vcap5-dcd.png" rel="lightbox[2018]" title="VCAP5-DCD (VMware Certified Advanced Professional - Data Center Design for vSphere 5)"><img class="alignleft  wp-image-2021" title="VCAP5-DCD (VMware Certified Advanced Professional - Data Center Design for vSphere 5)" src="http://www.rayheffer.com/wp-content/uploads/2012/02/vcap5-dcd-293x300.png" alt="VCAP5-DCD (VMware Certified Advanced Professional - Data Center Design for vSphere 5)" width="141" height="144" /></a>It was announced this morning that the VDCD511 (VCAP5-DCD beta exam) is available to take from 13th February to 2nd March 2012. You can take it at VMware Partner Exchange 2012 in Las Vegas. When the final exam is released, for a limited time you won&#8217;t need to have a VCP5 certification as a pre-requisite. Even if you are not planning on taking this exam during the beta invitations, it&#8217;s a great opportunity to get studying. The blueprint does subtly differ from the VCAP4-DCD, and as with the previous exam you&#8217;ll be expected to understand the VMware design methodology.<br />
<span id="more-2018"></span><br />
It is important to have a working technical knowledge of vSphere 5, but you need to apply this technical knowledge to a design (Conceptual &gt; Logical &gt; Physical &gt; Implementation Planning).</p>
<p>Here is the exam blueprint in a summarised form:</p>
<p><strong>Section 1 – Create a vSphere Conceptual Design</strong><br />
1.1 – Gather and analyze business requirements<br />
1.2 – Gather and analyze application requirements<br />
1.3 – Determine Risks, Constraints, and Assumptions</p>
<p><strong>Section 2 – Create a vSphere Logical Design from an Existing Conceptual Design</strong><br />
2.1 – Map Business Requirements to the Logical Design<br />
2.2 – Map Service Dependencies<br />
2.3 – Build Availability Requirements into the Logical Design<br />
2.4 – Build Manageability Requirements into the Logical Design<br />
2.5 – Build Performance Requirements into the Logical Design<br />
2.6 – Build Recoverability Requirements into the Logical Design<br />
2.7 – Build Security Requirements into the Logical Design</p>
<p><strong>Section 3 – Create a vSphere Physical Design from an Existing Logical Design</strong><br />
3.1 – Transition from a Logical Design to a vSphere 5 Physical Design<br />
3.2 – Create a vSphere 5 Physical Network Design from an Existing Logical Design<br />
3.3 – Create a vSphere 5 Physical Storage Design from an Existing Logical Design<br />
3.4 – Determine Appropriate Compute Resources for a vSphere 5 Physical Design<br />
3.5 – Determine Virtual Machine Configuration for a vSphere 5 Physical Design<br />
3.6 – Determine Datacenter Management Options for a vSphere 5 Physical Design</p>
<p><strong>Section 4 – Implementation Planning</strong><br />
4.1 – Create an Execute a Validation Plan<br />
4.2 – Create an Implementation Plan<br />
4.3 – Create an Installation Guide</p>
<p>&nbsp;</p>
<p>If you are new to the VCAP exams, then I would personally recommend that you take the VCAP5-DCA (no details of this exam yet) as I feel it is important that you have the technical knowledge required to apply to a design. Sure if you have solid technical experience with VMware products then it doesn&#8217;t really matter which exam you take first. I would strongly recommend taking the<a href="http://mylearn.vmware.com/mgrreg/courses.cfm?ui=www_edu&amp;a=one&amp;id_subject=25719" target="_blank" onclick="pageTracker._trackPageview('/outgoing/mylearn.vmware.com/mgrreg/courses.cfm?ui=www_edu_amp_a=one_amp_id_subject=25719&amp;referer=');"> vSphere 5: Design Workshop </a>course (3 day), and the course manual will go through the design process, technical design elements of vSphere 5.</p>
<p><strong>Recommended Study Areas:</strong></p>
<ul>
<li>Design Methodology (see blueprint)</li>
<li>Storage Design</li>
<ul>
<li>VMFS Maximums</li>
<li>iSCSI, NFS, Fibre Channel</li>
<li>vSA (vSphere Storage Appliance)</li>
<li>Storage DRS</li>
<li>Storage I/O Control (SIOC)</li>
</ul>
<li>Network Design</li>
<ul>
<li>Networking Fundamentals</li>
<li>VLANS / PVLANS</li>
<li>Distributed Virtual Switch</li>
<li>NIC Teaming</li>
<li>Redundancy design options</li>
<li>Network I/O Control (NIOC)</li>
<li>DirectPath I/O</li>
<li>Converged Networking and FCoE</li>
<li>CDP</li>
</ul>
<li>Compute Design (Host)</li>
<ul>
<li>CPU (NUMA, Maximums, vCPU per core, etc)</li>
<li>Host Configuration (PCI Slot, BIOS, Security)</li>
</ul>
<li>Virtual Machine</li>
<ul>
<li>Configuration Maximums</li>
<li>Virtual Machine Security</li>
<li>Optimal configuration (swap file, vCPU, Memory)</li>
</ul>
<li>vCenter</li>
<ul>
<li>Database</li>
<li>Requirements</li>
<li>vCenter Server Appliance (requirements, configuration)</li>
<li>vCenter Heartbeat</li>
<li>Security (SSL certificates)</li>
<li>Linked Mode</li>
</ul>
<li>Cluster (HA/DRS)</li>
<ul>
<li>Resource Pools</li>
<li>Admission Control</li>
<li>Fault Tolerance (FT)</li>
<li>HA Heartbeat Redundancy</li>
<li>DPM</li>
</ul>
</ul>
<p><strong>Recommended Reading:</strong></p>
<ul>
<li><a href="http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-networking-guide.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-networking-guide.pdf?referer=');">vSphere 5 Networking</a></li>
<li><a href="http://www.amazon.co.uk/vSphere-Clustering-Technical-Deepdive-ebook/dp/B005C1SARM" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.amazon.co.uk/vSphere-Clustering-Technical-Deepdive-ebook/dp/B005C1SARM?referer=');">VMware vSphere 5 Clustering Technical Deepdive</a></li>
<li><a href="http://mylearn.vmware.com/mgrreg/courses.cfm?ui=www_edu&amp;a=one&amp;id_subject=25719" target="_blank" onclick="pageTracker._trackPageview('/outgoing/mylearn.vmware.com/mgrreg/courses.cfm?ui=www_edu_amp_a=one_amp_id_subject=25719&amp;referer=');">vSphere 5 Design Workshop Course Book</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/2018/vmware-vcap5-dcd-study-guide-notes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Designing vSphere for 10Gb converged networking, with Cisco UCS, Nexus 1000V and NetIOC</title>
		<link>http://www.rayheffer.com/1942/designing-vsphere-for-10gb-converged-networking/</link>
		<comments>http://www.rayheffer.com/1942/designing-vsphere-for-10gb-converged-networking/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 15:37:22 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[ESXi]]></category>
		<category><![CDATA[NetIOC]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Vblock]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere 5]]></category>
		<category><![CDATA[10gb]]></category>
		<category><![CDATA[10gbe]]></category>
		<category><![CDATA[1gb]]></category>
		<category><![CDATA[cisco ucs]]></category>
		<category><![CDATA[fabric interconnect]]></category>
		<category><![CDATA[netioc]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[nioc]]></category>
		<category><![CDATA[qos]]></category>
		<category><![CDATA[traffic shaping]]></category>
		<category><![CDATA[vblock]]></category>
		<category><![CDATA[vsphere 5]]></category>
		<category><![CDATA[weighted fair queuing]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=1942</guid>
		<description><![CDATA[Whilst working on a Vblock 300 implementation a few weeks ago I had an interesting conversation with one of the network architects at VCE and we discussed the subject of best practices surrounding 10Gb and 1Gb networking. Traditionally with 1Gb networking it is best practice to separate traffic on your ESX/ESXi hosts with vSwitches (or [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F1942%2Fdesigning-vsphere-for-10gb-converged-networking%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F1942_2Fdesigning-vsphere-for-10gb-converged-networking_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F1942%2Fdesigning-vsphere-for-10gb-converged-networking%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Whilst working on a Vblock 300 implementation a few weeks ago I had an interesting conversation with one of the network architects at VCE and we discussed the subject of best practices surrounding 10Gb and 1Gb networking. Traditionally with 1Gb networking it is best practice to separate traffic on your ESX/ESXi hosts with vSwitches (or dvPortGroups) dedicated to each type of traffic (vMotion, Management, Storage, production networking) and typically designs will contain 6 to 8 NIC&#8217;s per host. With the introduction of 10Gb networking, I&#8217;ve noticed that some implementations have neglected to include some important design considerations regarding the use of 10Gb networking. Lets say for that we present 4 x 10Gb NIC&#8217;s to each host (these are vNIC&#8217;s in the Cisco UCS world) or we can present 6 x 1Gb NIC&#8217;s  using traditional methods of separating the traffic into various dvportGroups. Which is best?  Can we get away with just 2 x 10Gb NIC&#8217;s or do we need more? The key consideration here isn&#8217;t how many NIC&#8217;s (or vNIC&#8217;s) are presented to each host, but rather how much network bandwidth is available to each traffic type (i.e. vMotion, FT Logging, VM traffic) and critically how we control it.<span id="more-1942"></span></p>
<p>Best practice designs often take a while to stick in the mind and more often than not we forget the all important question of WHY it is best practice in the first place, we are all human after all.</p>
<p>Here is what I mean; Going back a few years I remember explaining to friends and colleagues why vMotion, Storage, Management and production VM traffic needs to be kept physically separate (not just on different VLAN&#8217;s). Now don&#8217;t get me wrong there was always plenty of documentation to support this, but there were still a high proportion of IT professionals still using a single vSwitch and only two 1Gb uplinks in their designs. A few years later it became widely accepted as best practice to separate the traffic, but now with 10Gb networking we have similar problem and one magic ingredient is often overlooked, and that ingredient is traffic shaping!</p>
<h3><strong>Shaping Up</strong></h3>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/11/vMotion-Bandwidth.png" rel="lightbox[1942]" title="vMotion bandwidth graph (ESX 3.5, 4.0, 4.1 and vSphere 5)"><img class="alignleft size-medium wp-image-1967" title="vMotion bandwidth graph (ESX 3.5, 4.0, 4.1 and vSphere 5)" src="http://www.rayheffer.com/wp-content/uploads/2011/11/vMotion-Bandwidth-300x189.png" alt="vMotion bandwidth graph (ESX 3.5, 4.0, 4.1 and vSphere 5)" width="300" height="189" /></a>The reason we need to introduce network traffic shaping with 10Gb networking is because uplinks can (and will) get saturated. For some reason some folks think that the limits of 10Gb will never be reached and a pair of 10Gb NIC&#8217;s on each host (with no traffic shaping) will suffice. A good example of where saturation can occur is vMotion, see the graph on the left (click to enlarge). vSphere 4.0 vMotion traffic can achieve up to 2.6Gbps per vMotion (maximum of two concurrent) so it would never max out a 10Gb link, but since vSphere 4.1 a single vMotion can now achieve up to 8Gbps, and can concurrently perform eight vMotions. In fact using vMotion on vSphere 5 can theoretically achieve up to 40Gbps with multi-NIC vMotion (using multiple vmKernel interfaces across four adapters) &#8211; by the way I&#8217;m not aware of this being tested, but it would be interesting to see it in action. Now that is pretty impressive if you want super fast vMotion, but lets not sacrifice other traffic such as our storage (NFS, iSCSI), FT logging or production networking. The question I always ask is what are the requirements we&#8217;re putting into our design? There is no right or wrong answer of how our traffic needs to be prioritised but there are some good guidelines available.</p>
<p>So, enough talk&#8230; lets design our 10Gb converged infrastructure for vSphere!</p>
<p>There are a number of methods you can use to prioritise your network traffic, and these are (in my opinion) the most popular:</p>
<ul>
<li>Network I/O Control (NetIOC) with vSphere 4.1 (or higher) vNetwork Distributed Switch</li>
<li>Cisco Nexus 1000V &#8211; QoS</li>
<li>Cisco UCS &#8211; QoS (on the Virtual Interface Card)</li>
</ul>
<p>Lets look at each of them in more detail before I conclude with my recommendations.</p>
<p>&nbsp;</p>
<h4><strong>NetIOC</strong></h4>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/11/NetIOC-diagram.png" rel="lightbox[1942]" title="VMware vSphere Network IO Control (NetIOC) from VMware.com"><img class="alignleft size-medium wp-image-1968" title="VMware vSphere Network IO Control (NetIOC) from VMware.com" src="http://www.rayheffer.com/wp-content/uploads/2011/11/NetIOC-diagram-300x188.png" alt="VMware vSphere Network IO Control (NetIOC) from VMware.com" width="300" height="188" /></a>Since vSphere 4.0 we have been able to configure traffic shaping policies on the vDS (Ingress and Egress) and we are able to control Average Bandwidth, Peak Bandwidth and Burst size. This is no match for traffic shaping for 10GB networking. NetIOC, however, which was made available in vSphere 4.1 (with Enterprise Plus) allows for a form of QoS tagging (Quality of Service) using &#8216;shares&#8217; and shapes traffic leaving the host. The diagram (left) from <a href="http://www.vmware.com/files/pdf/techpaper/VMW-Whats-New-vSphere41-Networking.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/files/pdf/techpaper/VMW-Whats-New-vSphere41-Networking.pdf?referer=');">What&#8217;s New in VMware vSphere 4.1 Networking</a> illustrates this.</p>
<p>Shares and limits define the prioritisation for the following pre-defined network resource pools:</p>
<ul>
<li>vMotion</li>
<li>iSCSI</li>
<li>NFS</li>
<li>FT Logging</li>
<li>Management</li>
<li>Host based replication (vSphere 5)</li>
<li>VM network traffic</li>
</ul>
<p><strong>Note:</strong> vSphere 5 NetIOC also allows for user defined network resource pools.</p>
<p>What I really like about NetIOC is that it uses the concept of Shares and Limits which you may already be familiar with (I.e CPU and Memory), and it&#8217;s very easy to use and setup (you access it from the Resource Configuration tab of your dVS). VMware have published an excellent <a href="http://www.vmware.com/files/pdf/techpaper/VMW_Netioc_BestPractices.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/files/pdf/techpaper/VMW_Netioc_BestPractices.pdf?referer=');">whitepaper on NetIOC</a> which I recommend reading, even if you&#8217;re not planning on using it, as it details some of the reasons for traffic shaping that I&#8217;m outlining in this blog post.</p>
<p>&nbsp;</p>
<h4><strong>Cisco Nexus 1000V &#8211; QoS</strong></h4>
<p>Whilst I&#8217;m not a networking expert, my background in previous roles meant that I was heavily involved with supporting customers using Cisco products, managing 4500 and 6500 switches, Cisco PIX (yes it was a long time ago!) and ASA, and general networking. As a VMware consultant I find the Cisco Nexus 1000V to be extremely powerful and I see a growing number of organisations using it which is fantastic as I&#8217;m a big fan of Cisco products. Network folk will love using the  Cisco Nexus 1000V as it hands control back to them and it is what they know and love, especially shaping traffic with QoS. Since version 1.4 the N1KV has a feature called CBWFQ (Class-Based Weighted Fair Queuing) which is similar to using shares and essentially allows you to define traffic classes based on match criteria. It also ties in very well with Cisco UCS (see the next section). If you are familiar with Cisco products then using class-maps and matching them to a protocol is nothing new, and if you&#8217;re new to Cisco products then it&#8217;s simply awesome <img src='http://www.rayheffer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The following pre-defined matches are available:</p>
<ul>
<li>n1k_control</li>
<li>n1k_mgmt</li>
<li>n1k_packet</li>
<li>vmw_ft</li>
<li>vmw_iscsi</li>
<li>vmw_mgmt</li>
<li>vmw_nfs</li>
<li>vmw_vmotion</li>
</ul>
<p>It goes without saying that you can create your own user-defined matches, but the main differentiation between using the Nexus 1000V and NetIOC is where and  how the traffic shaping takes place. Essentially the Nexus 1000V will mark CoS tags on upstream traffic, NetIOC won&#8217;t do this, so ingress network traffic could potentially saturate the 10Gb adapters. Brad Hedlund has an <a href="http://bradhedlund.com/2010/09/15/vmware-10ge-qos-designs-cisco-ucs-nexus/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/bradhedlund.com/2010/09/15/vmware-10ge-qos-designs-cisco-ucs-nexus/?referer=');">excellent post</a> on exactly this topic, and I have included an snippet from his article below which highlights some important points:</p>
<blockquote><p>&#8230; the Nexus 1000V can apply a bandwidth transmission policy while at the same time marking the traffic for consistent treatment in the upstream network. In contrast VMware Network I/O Control does not mark any traffic. As a result the upstream network must either independently re-classify the traffic or not do anything at all and just “let it rip”. If you do the later “let it rip” approach you will have a situation in which there are no controls in how the network transmits traffic to a server. As a result you can either overwhelm your server with receive traffic and defeat the purpose of implementing NetIOC to begin with. Or, you can implement receive based rate-limiters on every VMware host in fear of excessive traffic and again defeat the purpose of intelligent bandwidth sharing that NetIOC sets out to accomplish.</p></blockquote>
<p>&nbsp;</p>
<h4><strong>Cisco UCS Virtual Interface Card (Palo) &#8211; QoS </strong></h4>
<p>If you are using Cisco UCS then you can configure QoS with the Palo / VIC (Virtual Interface Card). There are in fact two ways of doing this; one is to present vNIC&#8217;s to the hosts each with a QoS policy defined, or you can leverage the Nexus 1000V using that to define the CoS tags, and the Cisco UCS will honor those tags rather than the VIC defined CoS. Each has it&#8217;s benefits and will again depend on your requirements. If you use the Nexus 1000V as described before, but use the QoS capability of the Virtual Interface Card (Host Control setting), you only need to present two vNIC&#8217;s to each host, and the Virtual Interface Card will still process the QoS buffers taking full advantage of the Cisco hardware.</p>
<p>Configuring QoS on Cisco UCS Virtual Interface Card is pretty straight forward to do, as it has six pre-defined system priorities:</p>
<ul>
<li>Platinum</li>
<li>Gold</li>
<li>Silver</li>
<li>Bronze</li>
<li>Best effort</li>
<li>Fibre Channel (notice it is aware of fibre channel, unlike Nexus 1000V and NetIOC)</li>
</ul>
<p>Essentially you create your own QoS Policies and select a priority (E.g. Platinum or Gold) for each QoS Policy you define, along with options such as burst (in Bytes), rate (Kbps) and Host Control (setting to Full allows for use of Nexus 1000V). Each QoS Policy you create is then assigned to a vNIC template (one per vNIC). For example, you might end up with six vNIC&#8217;s:</p>
<ul>
<li>vNIC vmnic0-mgmt</li>
<li>vNIC vmnic1-mgmt</li>
<li>vNIC vmnic2-VM</li>
<li>vNIC vmnic3-VM</li>
<li>vNIC vmnic4-vmotion</li>
<li>vNIC vmnic5-vmotion</li>
</ul>
<p>This would present 6 NIC&#8217;s to each host (3 per fabric interconnect via the IO module), unless you are also leveraging the Nexus 1000V in which case your QoS is configured on the N1KV and you only need to present 2 x 10Gb NIC&#8217;s (one for each fabric interconnect). In addition you would create a QoS policy for your fibre channel storage, and that&#8217;s it, simple.</p>
<p>&nbsp;</p>
<h3><strong>Conclusion</strong></h3>
<p>There is no single design or best practice that fits all, but there is guidance that will help you make the right choices for your environment. Neither the Cisco Nexus 1000V or NetIOC are not able to prioritise FCoE traffic as essentially this is fibre channel as far as they are concerned, so keep this in mind when using QoS on the Nexus 1000V or with NetIOC. You don&#8217;t want to end up with a situation where you&#8217;re CoS tagging traffic but FCoE could still impede on the 10Gb link.</p>
<p>The Nexus 1000V is really suited well when network management is the responsibility of the network team, or when you require not only QoS on egress traffic (leaving the host) but want to apply CoS tags for ingress. In addition, using the Nexus 1000V for QoS tagging means that you only need to present 2 x NIC&#8217;s to each host whereas using Cisco UCS Palo card (Virtual Interface Card) for QoS you&#8217;ll need to present 6 or more NIC&#8217;s for each type of traffic (on each fabric interconnect).</p>
<p>IMHO it is better to have implemented traffic shaping than use nothing at all, so if you choose to use NetIOC then you&#8217;ve made an excellent choice. This is where some say NetIOC only solves part of the problem, so why wouldn&#8217;t you want to shape both egress and ingress traffic? Just bear in mind what the differences are as I&#8217;ve outlined.</p>
<p>Whichever method you use to shape your network traffic for 10Gb networks, here are some guidelines and key considerations:</p>
<ul>
<li>Use QoS!</li>
<li>vMotion requires a minimum of 1Gb and it will spike (peak in bandwidth).</li>
<li>Set aside 3Gb for storage networking (NFS, iSCSI)</li>
<li>Use 2Gb for FT Logging</li>
<li>Use 2.5Gb for production VM traffic (depending on your production networking load)</li>
<li>Use 0.5Gb for Management</li>
<li>If FCoE is on the same 10Gb links then leave room for this when prioritising your network traffic (Cisco Nexus 1000V or NetIOC cannot see FCoE).</li>
<li>NetIOC allows for shaping on egress network traffic using shares (minimum bandwidth) and limits (Mbps)</li>
<li>Use the Nexus 1000V to define the CoS tags</li>
<ul>
<li>In this scenario you only need 2 x vNICs per host</li>
<li>Set Host Control to FULL to allow the Cisco UCS to use CoS tags defined in the Nexus 1000V</li>
</ul>
<li>If using Cisco UCS Virtual Interface Card, then define QoS policies for each traffic type</li>
<ul>
<li>Use at least 3 x vNIC&#8217;s per fabric interconnect (total of 6 x vNICs), this will provide a pair of vNICs for vMotion, VM network and Management.</li>
<li>Set Host Control to None</li>
</ul>
</ul>
<h4></h4>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/11/traffic-shaping-pipe-10Gb.png" rel="lightbox[1942]" title="Partitioning 10Gb networks for VMware vSphere (example)"><img class="alignleft size-medium wp-image-1978" title="Partitioning 10Gb networks for VMware vSphere (example)" src="http://www.rayheffer.com/wp-content/uploads/2011/11/traffic-shaping-pipe-10Gb-300x192.png" alt="Partitioning 10Gb networks for VMware vSphere (example)" width="300" height="192" /></a>The important thing to remember is the values stated here are for guidance only and have been derived from various sources and feedback from customer implementations I have worked on. The illustration to the left shows how a 10Gb interface can be prioritised for vSphere traffic. If your design doesn&#8217;t require NFS or FT Logging then you can tweak these values to your own requirements, it really depends on each environment. Doing nothing at all with vSphere 4.1 or later is not recommended as you now know, because vMotion can end up saturating the 10Gb links.</p>
<p>I&#8217;ve focused on the Nexus 1000V, Cisco UCS Virtual Interface Card and VMware NetIOC. I have chosen to focus on these three technology sets because of their growing popularity and my present involvement working on Vblock implementations. However, I hope you can apply this knowledge to your designs or existing infrastructure.</p>
<p>I&#8217;d like to leave you with some additional links on the subject which you may find useful:</p>
<p>&nbsp;</p>
<ul>
<li><a href="http://ucstech.blogspot.com/2011/02/palo-vnic-or-vhba-calculation.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/ucstech.blogspot.com/2011/02/palo-vnic-or-vhba-calculation.html?referer=');">UCS vNIC Calculation</a></li>
<li><a href="http://blog.aarondelp.com/2010/02/cisco-ucs-information-for-server-people.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/blog.aarondelp.com/2010/02/cisco-ucs-information-for-server-people.html?referer=');">Cisco UCS Info by Aaron Delp</a></li>
<li><a href="https://supportforums.cisco.com/docs/DOC-5975" target="_blank" onclick="pageTracker._trackPageview('/outgoing/supportforums.cisco.com/docs/DOC-5975?referer=');">Concept Behind vNIC and vHBA</a></li>
<li><a href="http://bradhedlund.com/2010/09/15/vmware-10ge-qos-designs-cisco-ucs-nexus/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/bradhedlund.com/2010/09/15/vmware-10ge-qos-designs-cisco-ucs-nexus/?referer=');">VMware 10GE QoS Design Deep Dive with Cisco UCS and Nexus by Brad Hedlund</a></li>
<li><a href="http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_2_1_s_v_1_4/qos/configuration/guide/n1000v_qos_queuing.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_2_1_s_v_1_4/qos/configuration/guide/n1000v_qos_queuing.html?referer=');">Configuring Cisco QoS Weighted Fair Queuing</a></li>
<li><a href="http://www.cisco.com/en/US/prod/collateral/switches/ps9441/ps9902/white_paper_c11-558242.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.cisco.com/en/US/prod/collateral/switches/ps9441/ps9902/white_paper_c11-558242.html?referer=');">Nexus 1000V Best Practices on Cisco UCS B and C Series</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/1942/designing-vsphere-for-10gb-converged-networking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to pass the VMware VCAP-DCD exam (it&#8217;s tough!)</title>
		<link>http://www.rayheffer.com/1983/how-to-pass-the-vmware-vcap-dcd-exam-its-tough/</link>
		<comments>http://www.rayheffer.com/1983/how-to-pass-the-vmware-vcap-dcd-exam-its-tough/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 19:07:29 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[VCAP-DCD]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[vcap-dcd]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=1983</guid>
		<description><![CDATA[Since the days when exams were written with chalk and slates and blog posts were cave paintings, it is obligatory to share the experience of taking exams within the community. I hope the title didn&#8217;t get you too excited as I signed an NDA and really can&#8217;t tell you how to pass this exam. But, what [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F1983%2Fhow-to-pass-the-vmware-vcap-dcd-exam-its-tough%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F1983_2Fhow-to-pass-the-vmware-vcap-dcd-exam-its-tough_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F1983%2Fhow-to-pass-the-vmware-vcap-dcd-exam-its-tough%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft" title="VMware Certified Advanced Professional - Datacenter Design (VCAP-DCD)" src="http://www.rayheffer.com/wp-content/uploads/2010/01/vcap-dcd-292x300.png" alt="VMware Certified Advanced Professional - Datacenter Design (VCAP-DCD)" width="140" height="144" />Since the days when exams were written with chalk and slates and blog posts were cave paintings, it is obligatory to share the experience of taking exams within the community. I hope the title didn&#8217;t get you too excited as I signed an NDA and really can&#8217;t tell you how to pass this exam. But, what I can do is give you advice and help you focus your study where it really matters. For starters, if you are reading this then you are probably wondering about the VCP5 and the VCAP5 exams. I wouldn&#8217;t blame you if you are opting to hold on for the release of the VCAP5 exams, but as it stands whilst I write this post we have no idea when they will be released. It&#8217;s likely to be next year sometime, but that is a pure guess. Gregg over at <a href="http://thesaffageek.co.uk/vcap5-dca-dcd/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/thesaffageek.co.uk/vcap5-dca-dcd/?referer=');">TheSaffaGeek </a>has already started compiling some material to help you with studying for the VCAP 5 exams. However, if you have decided to jump straight in and sit the VCAP-DCD4 (VDCD410) exam then here are my thoughts.</p>
<p>This exam is HARD-ass. There are a few peeps that say it&#8217;s easy, but I personally found this harder than the VCAP-DCA due to the shear number of questions (113 in total as stated in the <a href="http://mylearn.vmware.com/register.cfm?course=76644" target="_blank" onclick="pageTracker._trackPageview('/outgoing/mylearn.vmware.com/register.cfm?course=76644&amp;referer=');">blueprint</a>). If you are a native English speaker then you get 3 hours 45 minutes (4 hours for non-native), and the key to passing this exam is primarily being able to skim-read a case study or scenario and understand design requirements, constraints, risks, assumptions and translate these into one or more of the possible answers. If you spend time reading each question in detail then you are likely to run out of time. It&#8217;s also a hard exam to study for because it tests your general experience with vSphere and design knowledge, so you are not just remembering where something is configured.<span id="more-1983"></span></p>
<p>I don&#8217;t want to repeat what a Google search will already reveal as there are plenty of VCAP-DCD study resources out there (I&#8217;ve provided my favorite links below), but one significant study aid is the <a href="http://mylearn.vmware.com/mgrreg/courses.cfm?ui=www_edu&amp;a=one&amp;id_subject=13754" target="_blank" onclick="pageTracker._trackPageview('/outgoing/mylearn.vmware.com/mgrreg/courses.cfm?ui=www_edu_amp_a=one_amp_id_subject=13754&amp;referer=');">VMware vSphere Design Workshop</a> course, especially if you are not familiar with the VMware design methodology. Another valuable resource is the <a href="http://www.amazon.co.uk/Vmware-Vsphere-4-1-Technical-Deepdive/dp/1456301446" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.amazon.co.uk/Vmware-Vsphere-4-1-Technical-Deepdive/dp/1456301446?referer=');">VMware vSphere HA and DRS Technical Deepdive</a> by <a href="http://www.yellow-bricks.com/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.yellow-bricks.com/?referer=');">Duncan Epping</a> and <a href="http://frankdenneman.nl/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/frankdenneman.nl/?referer=');">Frank Denneman</a>. I&#8217;m not just saying that because they&#8217;re great guys, this book really did help me with the exam. Understanding some of the advanced settings and HA best practices is an important skill to learn, and this book covers much of what you need to know.</p>
<p>You will be tested on some technical knowledge, but the main factor required to pass this exam is based on your ability to map business requirements to a valid vSphere solution. Unlike the VCAP-DCA exam where you need to learn how to configure multipathing options from the command line for example, the VCAP-DCD requires you to understand which circumstances you would need to do this and which options you  need to configure based on customer requirements.</p>
<p>Do you need a home lab for this exam?   No. For the VCAP-DCA you certainly need a lab environment but the DCD exam tests your understanding of vSphere in-depth and many of the best practices surrounding it. Time to start reading I&#8217;m afraid!</p>
<p>The exam format contains a mix of multiple choice, drag-and-drop and design (Visio style) questions. If you do lots of vSphere designs and you use Visio a lot then you&#8217;ll be fine with this, but one free tool that worked very well for me is the drawing app with Google Docs. If you have a Google account, just head to Docs and select Create &gt; Drawing. This is actually an excellent little tool and alternative to Visio and you can practice some vSphere designs. I even managed to get vNIC&#8217;s looking like a NIC card, good fun too!</p>
<p>My final tip is not to panic. Whilst I said this exam is HARD-ass, it is not impossible. If you fail it?   Then at least you have experience of the exam and know where to focus your learning for next time.</p>
<p>&nbsp;</p>
<p>Good luck!!</p>
<hr />
<h4>My VCAP-DCD Study Guides and Resources</h4>
<p><a href="http://thesaffageek.co.uk/vcap-dca-dcd/" onclick="pageTracker._trackPageview('/outgoing/thesaffageek.co.uk/vcap-dca-dcd/?referer=');">http://thesaffageek.co.uk/vcap-dca-dcd/</a><br />
<a href="http://www.vmware.com/resources/techresources/10166" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/resources/techresources/10166?referer=');">http://www.vmware.com/resources/techresources/10166</a><br />
<a href="http://www.virtualsmb.net/?p=109" onclick="pageTracker._trackPageview('/outgoing/www.virtualsmb.net/?p=109&amp;referer=');">http://www.virtualsmb.net/?p=109</a><br />
<a href="http://vmwaredevotee.com/2010/10/11/cpu-performance-monitoring-on-esx-and-vms/" onclick="pageTracker._trackPageview('/outgoing/vmwaredevotee.com/2010/10/11/cpu-performance-monitoring-on-esx-and-vms/?referer=');">http://vmwaredevotee.com/2010/10/11/cpu-performance-monitoring-on-esx-and-vms/</a><br />
<a href="http://www.virtualizationteam.com/virtualization-vmware/certification-virtualization-vmware/vcap-dcd/my-vcap-dcd-journey-tips.html" onclick="pageTracker._trackPageview('/outgoing/www.virtualizationteam.com/virtualization-vmware/certification-virtualization-vmware/vcap-dcd/my-vcap-dcd-journey-tips.html?referer=');">http://www.virtualizationteam.com/virtualization-vmware/certification-virtualization-vmware/vcap-dcd/my-vcap-dcd-journey-tips.html</a><br />
<a href="http://www.seancrookston.com/2011/09/13/vcap-dcd-tips-and-exam-experience/" onclick="pageTracker._trackPageview('/outgoing/www.seancrookston.com/2011/09/13/vcap-dcd-tips-and-exam-experience/?referer=');">http://www.seancrookston.com/2011/09/13/vcap-dcd-tips-and-exam-experience/</a><br />
<a href="http://www.seancrookston.com/vcap-dcd-index/" onclick="pageTracker._trackPageview('/outgoing/www.seancrookston.com/vcap-dcd-index/?referer=');">http://www.seancrookston.com/vcap-dcd-index/</a><br />
<a href="http://professionalvmware.com/2011/09/brownbag-follow-up-vcap-dcd-objective-1-jason-boche/" onclick="pageTracker._trackPageview('/outgoing/professionalvmware.com/2011/09/brownbag-follow-up-vcap-dcd-objective-1-jason-boche/?referer=');">http://professionalvmware.com/2011/09/brownbag-follow-up-vcap-dcd-objective-1-jason-boche/</a><br />
<a href="http://communities.vmware.com/docs/DOC-9279" onclick="pageTracker._trackPageview('/outgoing/communities.vmware.com/docs/DOC-9279?referer=');">http://communities.vmware.com/docs/DOC-9279<br />
</a><a href="http://mylearn.vmware.com/courseware/82525/VCAPDCD_Tutorial.swf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/mylearn.vmware.com/courseware/82525/VCAPDCD_Tutorial.swf?referer=');">http://mylearn.vmware.com/courseware/82525/VCAPDCD_Tutorial.swf<br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/1983/how-to-pass-the-vmware-vcap-dcd-exam-its-tough/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>VCP5 (VMware Certified Professional on vSphere 5) VCP510 Exam Experience&#8230; I passed!</title>
		<link>http://www.rayheffer.com/1917/vcp5-vmware-certified-professional-on-vsphere-5-exam-experience-passed/</link>
		<comments>http://www.rayheffer.com/1917/vcp5-vmware-certified-professional-on-vsphere-5-exam-experience-passed/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 16:32:22 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[ESXi]]></category>
		<category><![CDATA[VCP5]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere 5]]></category>
		<category><![CDATA[auto deploy]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[exam experience]]></category>
		<category><![CDATA[vcenter server appliance]]></category>
		<category><![CDATA[vcp5]]></category>
		<category><![CDATA[vcp510]]></category>
		<category><![CDATA[vsphere 5]]></category>
		<category><![CDATA[vsphere storage appliance]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=1917</guid>
		<description><![CDATA[Today I took the VCP510 exam and passed, so I thought I would share my thoughts on this latest certification by VMware. Firstly, I&#8217;m in the middle of the VCAP exams, having just completed the VCAP-DCA4 and will soon start studying for the VCAP-DCD4. Why take the VCP exam based on a new version now? [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F1917%2Fvcp5-vmware-certified-professional-on-vsphere-5-exam-experience-passed%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F1917_2Fvcp5-vmware-certified-professional-on-vsphere-5-exam-experience-passed_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F1917%2Fvcp5-vmware-certified-professional-on-vsphere-5-exam-experience-passed%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-full wp-image-1918" title="VCP5 (VCP510)" src="http://www.rayheffer.com/wp-content/uploads/2011/10/vcp5-vcp510.jpg" alt="VCP5 (VCP510)" width="145" height="96" /> Today I took the VCP510 exam and passed, so I thought I would share my thoughts on this latest certification by VMware. Firstly, I&#8217;m in the middle of the VCAP exams, having just completed the VCAP-DCA4 and will soon start studying for the VCAP-DCD4. Why take the VCP exam based on a new version now?   Well, mainly because I&#8217;ve already been on the <a href="http://mylearn.vmware.com/mgrreg/courses.cfm?ui=www_edu&amp;a=one&amp;id_subject=24417" target="_blank" onclick="pageTracker._trackPageview('/outgoing/mylearn.vmware.com/mgrreg/courses.cfm?ui=www_edu_amp_a=one_amp_id_subject=24417&amp;referer=');">VMware vSphere: What&#8217;s New [V5.0]</a> course and most of the contents are still fresh in memory. Secondly having passed the VCAP-DCA4 exam, with the next one being design focused I can pretty much focus on design best practices regardless of the version (although there are obvious differences).</p>
<p>After spending a week working down-under in Perth, I managed to get some time off this week to recover from the jet lag, so what better way than spending a few days refreshing my memory and doing LOTS of lab work with vSphere 5!</p>
<p>Much of my focus was around the vSphere Storage Appliance (vSA), vCenter Server Appliance and Auto Deploy and I must admit after reading some other comments I didn&#8217;t focus too much on configuration maximums (still glanced over them).</p>
<p>I can&#8217;t go into the specifics of the exam, as per the usual NDA, but here are my thoughts&#8230;<span id="more-1917"></span></p>
<p><strong>It&#8217;s Difficult</strong></p>
<p>This was much tougher than I thought, perhaps a combination of jet lag, and maybe VCAP-DCA/DCD4 study floating around in my head didn&#8217;t help. However, don&#8217;t underestimate it. It is a little more difficult than previous VCP exams (3/4). There were a good few questions that I marked for review and couldn&#8217;t decide between some of the options, but certainly more hands-on lab work would have helped. I was OK with the time allocated (you get 90 minutes to answer 85 questions), but I do tend to rush quickly through each question and review them all at the end.</p>
<p><strong>Preparation</strong><strong> Material</strong></p>
<p>One tip which will save your ass is to spend some time reading up on the new features, but more importantly implementing them for yourself!  Many questions are aimed at your experience with the product, not just specifics like config maximums and what you&#8217;ve read in the PDF&#8217;s. I use <a href="http://db.tt/b4KDYqx" target="_blank" onclick="pageTracker._trackPageview('/outgoing/db.tt/b4KDYqx?referer=');">Dropbox</a> and store all of the <a href="http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html?referer=');">vSphere 5 documents</a> so I have them wherever I go. If you are lucky enough to have a vSphere 5 environment to hand then spend most of your time implementing the new features, understand how to configure them and what the limitations are.</p>
<p>My second tip is to read the <a href="http://www.yellow-bricks.com/2011/07/12/hot-of-the-press-vsphere-5-0-clustering-technical-deepdive/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.yellow-bricks.com/2011/07/12/hot-of-the-press-vsphere-5-0-clustering-technical-deepdive/?referer=');">vSphere 5 Clustering Technical Deepdive</a> by Duncan Epping and Frank Denneman. I purchased the Kindle version from Amazon so I can read on my iPad, but you can get it in paperback too. This contains a lot of valuable information for this exam, especially as HA is completely new and you will likely get tested in this area.</p>
<p>There is also a <a href="http://www.shareasale.com/r.cfm?B=152483&amp;U=468701&amp;M=19486&amp;urllink=" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.shareasale.com/r.cfm?B=152483_amp_U=468701_amp_M=19486_amp_urllink=&amp;referer=');">vSphere 5 training series by TrainSignal</a> which is excellent especially if you are new to virtualisation and vSphere 5 is your first step into the world of cloud computing.</p>
<p><strong>Final Thoughts</strong></p>
<p>VMware continue to have the best certifications in the industry which are highly respected and sought after, and having done various other VMware exams in the past it is clear than they are continuing to push us individuals further and further which maintains a very high standard of competency in our industry. If you are serious about a career in virtualisation then if you only listen to one thing I&#8217;ve said here, then it is this&#8230; Get a home lab!  If not for the VCP5, you&#8217;ll certainly need it for the VCAP-DCA exam, but most of all you&#8217;ll get a lot of satisfaction out of working in your own virtual infrastructure that YOU have created.</p>
<p>Good luck!</p>
<hr />
<p>Also, check out <a href="http://www.stratogen.net/products/vmware-hosting.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.stratogen.net/products/vmware-hosting.html?referer=');">StratoGen</a> who are a leading cloud provider, a VMware Enterprise Service Provider and have some hardcore skills to including my pal <a href="http://simongreaves.co.uk/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/simongreaves.co.uk/?referer=');">Simon Greaves</a> who recently joined them. If you need VMware Hosting, then these are the people you need to speak to!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/1917/vcp5-vmware-certified-professional-on-vsphere-5-exam-experience-passed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Things to get excited about this winter!</title>
		<link>http://www.rayheffer.com/1893/things-to-get-excited-about-this-winter/</link>
		<comments>http://www.rayheffer.com/1893/things-to-get-excited-about-this-winter/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 13:39:04 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[Business & IT]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[iphone5]]></category>
		<category><![CDATA[vcp5]]></category>
		<category><![CDATA[vcp510]]></category>
		<category><![CDATA[view5]]></category>
		<category><![CDATA[vsphere 5]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=1893</guid>
		<description><![CDATA[I&#8217;m actually really looking forward to the winter this year, and it seems that 5 is the lucky number. The new iPhone 5 will be released, rumours suggest this will be on or around 15th October, and then there is the iPad 3 (ok, it&#8217;s not 5 but worth mentioning!) which should have a far [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F1893%2Fthings-to-get-excited-about-this-winter%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F1893_2Fthings-to-get-excited-about-this-winter_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F1893%2Fthings-to-get-excited-about-this-winter%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-medium wp-image-1903" title="Five" src="http://www.rayheffer.com/wp-content/uploads/2011/09/five-300x200.jpg" alt="5" width="270" height="180" />I&#8217;m actually really looking forward to the winter this year, and it seems that 5 is the lucky number. The new iPhone 5 will be released, rumours suggest this will be on or around 15th October, and then there is the iPad 3 (ok, it&#8217;s not 5 but worth mentioning!) which should have a far superior retina display which will be great for reading PDF&#8217;s and studying with! I&#8217;m still using the iPhone 3GS and iPad 1 so my Xmas list is easy this year, whether I get what I want depends on how good I am! <img src='http://www.rayheffer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In the virtual world, at least inside the cloud, VMware have released <a href="http://www.vmware.com/products/vsphere/overview.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/products/vsphere/overview.html?referer=');">vSphere 5</a> and <a href="http://www.vmware.com/products/view/overview.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/products/view/overview.html?referer=');">View 5</a>, in addition to many other new products. With the up and coming release of Microsoft Windows 8 with it&#8217;s incredible boot time thanks to the way it shuts down in a hybrid shutdown / sleep state, I can only imagine the benefits this will bring to desktop virtualisation and end-user computing as a whole.<span id="more-1893"></span></p>
<p>So what&#8217;s the deal with vSphere 5?  Well, it&#8217;s a big deal indeed. VMware are no longer offering ESX with it&#8217;s service console, so you&#8217;ll have to use ESXi. The difference? Well, ESXi doesn&#8217;t have a service console (as such) as like ESXi 4 it has a DCUI (Direct Console User Interface) which is very limited but there if needed. Management of ESXi should be performed using the vMA (vSphere Management Assistant) which by the way is excellent and you&#8217;ll begin to wonder why on earth you needed ESX&#8217;s service console in the first place <img src='http://www.rayheffer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Needless to say you can automate many tasks with PowerCLI. Here are some of the new features of vSphere 5:</p>
<ul>
<li>VMFS 5 (now with unified 1MB block size and volume size of 60TB supported!)</li>
<li>Storage DRS</li>
<li>ESXi firewall</li>
<li>vSphere 5 Web Client (you&#8217;ve gotta see this, it&#8217;s great!)</li>
<li>Virtual hardware version 8</li>
<li>vSphere Storage Appliance (vSA)</li>
<li>&#8230; the list goes on!</li>
</ul>
<p>The VCP510 exam (vSphere 5) is now available and if you take this before 29th February 2012 you won&#8217;t need to take any course prerequisite which is good to hear. After that date though you must take the pre-qualifying course. My colleague Simon Long at VMware has put together a <a href="http://www.simonlong.co.uk/blog/vcp-vsphere-4-practice-exam/" onclick="pageTracker._trackPageview('/outgoing/www.simonlong.co.uk/blog/vcp-vsphere-4-practice-exam/?referer=');">VCP5 practice exam</a> (good work dude!) so definately check this out.</p>
<p>So what&#8217;s next?   Well for me at least, I&#8217;ve got plenty of work to do. I need to site my VCAP-DCD exam, but I&#8217;m mega busy working on Vblock deployments with VCE at the moment. It&#8217;s good though as I get to travel the world and I&#8217;m off to Australia soon. The downside is studying for any exam is something I have to do in my sleep. I think 2012 will be a jam packed year for sure, with even more amazing products from VMware and even more certifications to achieve!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/1893/things-to-get-excited-about-this-winter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2.1 VCAP-DCA Study Guide &#8211; Implement and Manage Complex Virtual Networks</title>
		<link>http://www.rayheffer.com/1743/2-1-vcap-dca-study-guide-implement-and-manage-complex-virtual-networks/</link>
		<comments>http://www.rayheffer.com/1743/2-1-vcap-dca-study-guide-implement-and-manage-complex-virtual-networks/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 09:31:26 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[VCAP-DCA]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[netqueue]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[study guide]]></category>
		<category><![CDATA[vcap-dca]]></category>
		<category><![CDATA[vds]]></category>
		<category><![CDATA[vmha]]></category>
		<category><![CDATA[vss]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=1743</guid>
		<description><![CDATA[Networking is a critical component of any virtual infrastructure, and often it&#8217;s the management networks that are overlooked. Back in the day before virtualisation, management networks were considered less important than production, and it wasn&#8217;t too much of a big deal as it only provided console access (E.g. iLO, DRAC), SNMP monitoring, web interfaces, and so [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F1743%2F2-1-vcap-dca-study-guide-implement-and-manage-complex-virtual-networks%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F1743_2F2-1-vcap-dca-study-guide-implement-and-manage-complex-virtual-networks_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F1743%2F2-1-vcap-dca-study-guide-implement-and-manage-complex-virtual-networks%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Networking is a critical component of any virtual infrastructure, and often it&#8217;s the management networks that are overlooked. Back in the day before virtualisation, management networks were considered less important than production, and it wasn&#8217;t too much of a big deal as it only provided console access (E.g. iLO, DRAC), SNMP monitoring, web interfaces, and so on &#8211; it just didn&#8217;t impact production. I have noticed that this mindset has crept into some vSphere designs where management interfaces lack any form of redundancy. Why is this so important?   Well for starters ESXi uses the Management network for vMotion, Fault Tolerance (FT) and HA. In fact if your management interface has no redundancy you&#8217;ll get a warning as described in VMware KB <a href="http://kb.vmware.com/kb/1004700" target="_blank" onclick="pageTracker._trackPageview('/outgoing/kb.vmware.com/kb/1004700?referer=');">1004700</a>. Without redundancy on your management networks, these features will not work. In addition, you may be faced with mixed ESX and ESXi environments where the management networks are different between ESX/ESXi. Management on ESX uses the Service Console network, but ESXi uses a vmKernel network called Management Network. Duncan Epping of Yellow Bricks has an excellent article on VMware HA <a href="http://www.yellow-bricks.com/vmware-high-availability-deepdiv/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.yellow-bricks.com/vmware-high-availability-deepdiv/?referer=');">here</a>, also check out Frank Denneman and Duncan Epping&#8217;s <a href="http://amzn.to/qmou4l" target="_blank" onclick="pageTracker._trackPageview('/outgoing/amzn.to/qmou4l?referer=');">HA and DRS Technical Deepdive book</a> is an excellent read and I recommend this especially if you&#8217;re studying for the VCAP-DCA.<span id="more-1743"></span></p>
<h4><strong>Knowledge Required</strong></h4>
<ul>
<li>Identify common virtual switch configurations</li>
</ul>
<h4><strong>Key Focus Areas</strong></h4>
<ul>
<li>Determine use cases for and apply IPv6</li>
<li>Configure NetQueue</li>
<li>Configure SNMP</li>
<li><em><span style="color: #888888;">Determine use cases for and apply VMware DirectPath I/O</span></em> (this is covered in <a href="http://www.rayheffer.com/1558/1-1-vcap-dca-study-guide-storage/" target="_blank">Implement and Manage Storage, part 1</a>)</li>
<li>Migrate a vSS network to a Hybrid or Full vDS solution<em> &#8211; Coming soon</em></li>
<li>Configure vSS and vDS settings using command line tools<em> - Coming soon</em></li>
<li>Analyse command line output to identify vSS and vDS configuration details<em> - Coming soon</em></li>
</ul>
<h4><strong>Key Materials (VMware PDF&#8217;s &amp; KB articles)</strong></h4>
<ol>
<li><a href="http://www.vmware.com/pdf/vsphere4/r41/vsp4_41_vcli_inst_script.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp4_41_vcli_inst_script.pdf?referer=');">vSphere Command-Line Interface Installation and Scripting Guide</a></li>
<li><a href="http://www.vmware.com/files/pdf/vsphere-vnetwork-ds-migration-configuration-wp.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/files/pdf/vsphere-vnetwork-ds-migration-configuration-wp.pdf?referer=');">VMware vNetwork Distributed Switch Migration and Configuration</a></li>
<li><a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_esx_server_config.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_esx_server_config.pdf?referer=');">ESX Configuration Guide</a></li>
<li><a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_esxi_server_config.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_esxi_server_config.pdf?referer=');">ESXi Configuration Guide</a></li>
<li><a href="http://vsphere-land.com/news/ipv6-support-in-vsphere.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/vsphere-land.com/news/ipv6-support-in-vsphere.html?referer=');">IPv6 Support in vSphere by Eric Siebert</a></li>
<li><a href="http://www.vmworld.com/docs/DOC-3813" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmworld.com/docs/DOC-3813?referer=');">VMworld 2009: vSphere Networking Deepdive</a></li>
</ol>
<hr />
<p><strong>Determine use cases for and apply IPv6</strong></p>
<p>So what is the use case for IPv6?  I can think of only two scenarios, one is that you&#8217;re insane and have run out of IPv4 addresses, the other is the company infrastructure policy requires all systems to have IPv6 enabled, not that unreasonable eh?    Good job it&#8217;s easy to configure <img src='http://www.rayheffer.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Remember that even when IPv6 is enabled on your ESX/ESXi host, your network infrastructure must support it. This includes your DNS and DHCP servers, routers, switches, etc.</p>
<p>1. Using the vSphere Client, select your ESX/ESXi host and go to the configuration tab, select Networking and click Properties.</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/Enable-IPv6.jpg" rel="lightbox[1743]" title="VMware vSphere ESX/ESXi - Enable IPv6"><img class="alignnone size-medium wp-image-1746" title="VMware vSphere ESX/ESXi - Enable IPv6" src="http://www.rayheffer.com/wp-content/uploads/2011/07/Enable-IPv6-300x115.jpg" alt="VMware vSphere ESX/ESXi - Enable IPv6" width="300" height="115" /></a></p>
<p>2. Tick &#8216;Enable IPv6 support on this host system&#8217;, click OK and reboot your host.</p>
<p>3. Have a coffee and explain to your colleagues how IPv6 works <img src='http://www.rayheffer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can also enable IPv6 from the DCUI, after setup completes by pressing F2 &gt; Configure Management Network &gt; IPv6 Configuration, then enabling IPv6:</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/Enable-IPv6-DCUI.png" rel="lightbox[1743]" title="VMware vSphere - Enable IPv6 in the DCUI"><img class="alignnone size-medium wp-image-1747" title="VMware vSphere - Enable IPv6 in the DCUI" src="http://www.rayheffer.com/wp-content/uploads/2011/07/Enable-IPv6-DCUI-300x166.png" alt="VMware vSphere - Enable IPv6 in the DCUI" width="300" height="166" /></a></p>
<p>Alternatively you can enable IPv6 from the command line. Follow these steps:</p>
<p>1. Enable IPv6 for the vmKernel</p>
<p><code># esxcfg-vmknic -6 true</code></p>
<p>2. Enable IPv6 for the Service Console (ESX only)</p>
<p><code># esxcfg-vswif -6 true</code></p>
<p>3. Reboot the host for the changes to take effect.</p>
<p>You can tell when IPv6 is enabled because the DCUI screen shows the management URL in IPv4 and IPv6 format:</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/IPv6-DCUI.jpg" rel="lightbox[1743]" title="VMware ESXi DCUI with IPv6 enabled"><img class="alignnone size-medium wp-image-1748" title="VMware ESXi DCUI with IPv6 enabled" src="http://www.rayheffer.com/wp-content/uploads/2011/07/IPv6-DCUI-300x166.jpg" alt="VMware ESXi DCUI with IPv6 enabled" width="300" height="166" /></a></p>
<p>You will also see IPv6 settings in the Management Network properties:</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/IPv6-vmKernel.jpg" rel="lightbox[1743]" title="VMware ESXi IPv6 vmKernel / Management Network properties"><img class="alignnone size-medium wp-image-1750" title="VMware ESXi IPv6 vmKernel / Management Network properties" src="http://www.rayheffer.com/wp-content/uploads/2011/07/IPv6-vmKernel-242x300.jpg" alt="" width="242" height="300" /></a></p>
<h4>Configure NetQueue</h4>
<p>When the physical NIC on the ESX/ESXi host sends or receives packets (TX/RX) it enters a single TX or RX queue which the vmKernel schedules on a single CPU. Without NetQueue, the result that is noticed on 10GbE NIC&#8217;s is the throughput isn&#8217;t optimal and the single TX or RX queue causes a bottleneck. NetQueue allows for multiple TX/RX queues which are scheduled on multiple CPU&#8217;s. A single VM that places heavy demand on bandwidth will still have it&#8217;s queue processed on a single CPU, but other VM&#8217;s have their own queue processed by a different CPU. The result of using NetQueue is 10GbE interfaces will be able to maximise the throughput available.</p>
<p><strong>Note:</strong> It is enabled by default if your hardware supports it. Your physical NIC must support NetQueue in addition to your system supporting MSI-X.</p>
<p>Advantages:</p>
<ul>
<li>Lower CPU utilisation</li>
<li>Higher network throughput, especially on 10GbE interfaces</li>
<li>Better scaling and load balancing across CPU&#8217;s</li>
</ul>
<p>Requirements:</p>
<ul>
<li>NIC hardware must support NetQueue</li>
<li>System hardware must support MSI-X</li>
</ul>
<p>You can enable or disable NetQueue in the Advanced Settings of your host:</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/NetQueue-Advanced-Settings.jpg" rel="lightbox[1743]" title="VMware vSphere - NetQueue (Advanced Settings)"><img class="alignnone size-medium wp-image-1752" title="VMware vSphere - NetQueue (Advanced Settings)" src="http://www.rayheffer.com/wp-content/uploads/2011/07/NetQueue-Advanced-Settings-300x247.jpg" alt="VMware vSphere - NetQueue (Advanced Settings)" width="300" height="247" /></a></p>
<p>It can also be enabled or disabled with the <code>esxcfg-advcfg</code> command:</p>
<p><code># esxcfg-advcfg -k 1 netNetqueueEnabled</code> (1 to enable, or 0 to disable)</p>
<h4><strong>Configure SNMP</strong></h4>
<p>You can configure an ESX/ESXi host with SNMP is minutes, it&#8217;s that easy. If you want to test this in your home lab then you&#8217;ll need an SNMP receiver, typically a monitoring tool, or you can download an evaluation of <a href="Kiwi Syslog" target="_blank">Kiwi Syslog</a> which you can use instead as it has an SNMP receiver service. Using Kiwi Syslog, go to File &gt; Setup &gt; Inputs &gt; SNTP. Tick &#8216;Listen for SNMP traps&#8221; and click OK.</p>
<p>Using the vMA run the following commands to point the ESX/ESXi host at an SNMP server and set the community string, enable SNMP (disabled by default), and then run a test. Kiwi Syslog will show the traps received so you can see it working.</p>
<p><code># vicfg-snmp --server core-esx.home.lab --username root --password ******* -t 192.168.4.40/public<br />
# vicfg-snmp --server core-esx.home.lab -enable<br />
# vicfg-snmp --server core-esx.home.lab --username root --password  -test</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/1743/2-1-vcap-dca-study-guide-implement-and-manage-complex-virtual-networks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VCAP-DCA4 Results and Exam Experience (I passed!)</title>
		<link>http://www.rayheffer.com/1861/vcap-dca-results-and-exam-experience-i-passed/</link>
		<comments>http://www.rayheffer.com/1861/vcap-dca-results-and-exam-experience-i-passed/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 12:55:27 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[VCAP-DCA]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vcap-dca]]></category>
		<category><![CDATA[vmware exam]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=1861</guid>
		<description><![CDATA[Update: VCAP-DCA4 no. 386 (cool!) Juggling work, travel, kids, and personal time, whilst trying to study for any exam is no easy feat especially when you have a family that demands your undivided attention. I&#8217;m sure many of you are all in the same boat. Despite that I managed to squeeze in a lot of [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F1861%2Fvcap-dca-results-and-exam-experience-i-passed%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F1861_2Fvcap-dca-results-and-exam-experience-i-passed_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F1861%2Fvcap-dca-results-and-exam-experience-i-passed%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/02/vcap-dca.png" rel="lightbox[1861]" title="VMware VCAP-DCA"><img class="size-medium wp-image-1133 alignleft" title="VMware VCAP-DCA" src="http://www.rayheffer.com/wp-content/uploads/2011/02/vcap-dca-300x300.png" alt="VMware VCAP-DCA" width="144" height="144" /></a></p>
<p><strong>Update: </strong>VCAP-DCA4 no. 386 (cool!)</p>
<p>Juggling work, travel, kids, and personal time, whilst trying to study for any exam is no easy feat especially when you have a family that demands your undivided attention. I&#8217;m sure many of you are all in the same boat. Despite that I managed to squeeze in a lot of time into my home lab and study for the VCAP-DCA exam, so it is possible (just damn difficult!).   So to set the scene, I woke up early in a hotel in Ireland yesterday following an intense but enjoyable week working on Vblock, and I noticed an email from VMware certification on my phone&#8230;   Opening that email and the attachment with the results seemed to take forever, but what a relief to see that I passed.</p>
<p>I can&#8217;t share specific details of the exam as I&#8217;d be tracked down and assassinated, but I can share my experience and study tips to help you.<br />
<span id="more-1861"></span><br />
<strong>The Exam:</strong></p>
<p>Unlike the majority of IT exams, this is based on a live lab environment which you have access to along with a set of tasks that require you to put your skills and experience to the test. The <a href="http://communities.vmware.com/docs/DOC-12751" target="_blank" onclick="pageTracker._trackPageview('/outgoing/communities.vmware.com/docs/DOC-12751?referer=');">blueprint</a> states that there are approximately 40 questions / tasks that you are required to complete, I had slightly less, around 34 I think. Some tasks are independant of the others but some must be completed before you are able to perform later tasks. The exam lab environment was very similar to my home lab so I strongly recommend you invest in a <a href="http://www.rayheffer.com/vmware/vmware-vsphere-home-lab-whitebox-setup/">home lab setup</a> if you are serious about taking this exam. Unless of course you have access to a lab environment at work.</p>
<p><strong>Tip 1</strong>: Don&#8217;t underestimate the content of the <a href="http://communities.vmware.com/docs/DOC-12751" target="_blank" onclick="pageTracker._trackPageview('/outgoing/communities.vmware.com/docs/DOC-12751?referer=');">blueprint</a>, and if it&#8217;s on the blueprint then it&#8217;s likely to be in the exam! Highlight areas of the blueprint that you are confident with, and those areas you are weak. For me, I hadn&#8217;t spent much time with vCenter Orchestrator or PowerCLI so that was my focus. I love the vMA and felt comfortable with that so I was able to spend less time studying this topic.</p>
<p><strong>Know Your Enemy&#8230;. The Clock!</strong></p>
<p>When you start the exam you&#8217;ll first be required to complete the short survey based on your skills and exposure to various technologies. Following that you can start the exam. On the top right hand corner you&#8217;ll see the time remaining, and if you are a native English speaker you will have 3 hours 30 minutes (4 hours for non native speakers). On clicking the begin button the PC I was using crashed and I had to get the test centre administrator to get me setup on another PC&#8230; which also crashed!  After some time waiting for Pearson VUE support to sort out the issue, I lost some valuable time (only a few minutes) so I felt I had to run through the tasks quickly to make up for it. This brings me on to my second tip:</p>
<p><strong>Tip 2</strong>: Pick the low hanging fruit first, then go back and tackle the big ones.</p>
<p>By the way you&#8217;ll get access to VMware PDF&#8217;s, a plastic writing card and a pen. Before starting the exam I recommend you write 1 &#8211; 40 on the plastic card so you can quickly mark them off as you progress through the exam. Every minute counts!</p>
<p>Do as many tasks as you can that you are comfortable with, these will give you valuable points. If you think a task is going to require some thinking and more time then make a note and move on. This way when you finish the tasks you can go back and tackle the more difficult ones. I did this and reduced eight outstanding tasks down to two very quickly, but then I ran out of time. I didn&#8217;t feel as bad because I knew the remaining two tasks would have taken me another 40 minutes but at least I looked at all of the tasks.</p>
<p><strong>Know your stuff!</strong></p>
<p>This seems an obvious statement, but you should be comfortable with performing any task on the blueprint. Sure you may not be an expert in every single area, but you should be able to carry out what is required on the blueprint.</p>
<p><strong>My Experience</strong></p>
<p>Overall I really enjoyed taking this exam, but I&#8217;m glad I&#8217;ve passed and don&#8217;t have to take it again. I spent around 5 hours a day for 5 days leading up to the exam, to practice carrying out tasks in my home lab. Most of this was late into the night once my wife and daughter were fast asleep!  I&#8217;ve heard comments from others that have taken this exam saying that the environment was very slow and opening the PDF&#8217;s took a long time. To be honest I found it was acceptable considering it&#8217;s accessing a live vSphere environment somewhere (probably in the US) and it didn&#8217;t impact my experience in any negative way.</p>
<p>I only used the PDF&#8217;s once to look up a setting to ensure I got the syntax correct, but other than that try not to rely on the PDF&#8217;s as it&#8217;ll cost you valuable time. Some commands and PowerCLI can easily be typed incorrectly or worse still your mind can go blank. If you&#8217;ve got any advanced settings, PowerCLI or vMA commands that you think you may need then write them down on the plastic card before starting the exam. This will save valuable time, and when under pressure you won&#8217;t have to worry about forgetting the small details. Is it -n or -d, or both?  You get the picture.</p>
<p><strong>Final Tip&#8230; no. 3</strong>:</p>
<p>If you haven&#8217;t taken this exam yet, just remember&#8230; don&#8217;t panic!  What&#8217;s the worst thing that can happen?   If you fail then you&#8217;ve got the exam experience and will be able to focus your study on what you need to pass. It&#8217;ll take around 10 business days to get the result (3 weeks for me), but it&#8217;s what makes the VMware and the community we all participate in so great.</p>
<p>Oh and if you can get yourself booked on the VMware vSphere Troubleshooting course then it will go a long way to helping you pass this exam. It&#8217;s a lab intensive course and very enjoyable. Alternatively check out what&#8217;s on offer by TrainSignal.</p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/1861/vcap-dca-results-and-exam-experience-i-passed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>1.3 VCAP-DCA Study Guide &#8211; Configure and Manage Complex Multipathing &amp; PSA Plug-ins</title>
		<link>http://www.rayheffer.com/1757/1-3-vcap-dca-study-guide-configure-and-manage-complex-multipathing-psa-plug-ins/</link>
		<comments>http://www.rayheffer.com/1757/1-3-vcap-dca-study-guide-configure-and-manage-complex-multipathing-psa-plug-ins/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 15:30:50 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[VCAP-DCA]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[esxcli]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[mpp]]></category>
		<category><![CDATA[nmp]]></category>
		<category><![CDATA[port binding]]></category>
		<category><![CDATA[powerpath]]></category>
		<category><![CDATA[psp]]></category>
		<category><![CDATA[satp]]></category>
		<category><![CDATA[swiscsi]]></category>
		<category><![CDATA[vcap-dca]]></category>
		<category><![CDATA[vihostupdate]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=1757</guid>
		<description><![CDATA[This section on storage continues on from section 1.2 in the blueprint (Manage Storage Capacity in a vSphere Environment) which at the time of writing these study notes, I haven&#8217;t completed yet. I felt that managing multipathing and PSA plugins deserves more attention, at least for me anyway. This is very command line heavy but [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F1757%2F1-3-vcap-dca-study-guide-configure-and-manage-complex-multipathing-psa-plug-ins%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F1757_2F1-3-vcap-dca-study-guide-configure-and-manage-complex-multipathing-psa-plug-ins_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F1757%2F1-3-vcap-dca-study-guide-configure-and-manage-complex-multipathing-psa-plug-ins%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This section on storage continues on from section 1.2 in the blueprint (Manage Storage Capacity in a vSphere Environment) which at the time of writing these study notes, I haven&#8217;t completed yet. I felt that managing multipathing and PSA plugins deserves more attention, at least for me anyway. This is very command line heavy but remembering that during the VCAP-DCA exam documentation is provided (see key materials below), and the fact you can use command line help makes this a little less scary. Just try and remember what you need to achieve and have a good idea of which commands are used!</p>
<p><strong>Knowledge Required</strong></p>
<ul>
<li>Explain the Pluggable Storage Architecture (PSA) layout</li>
</ul>
<h4><strong>Key Focus Areas</strong></h4>
<ul>
<li>Install and Configure PSA plug-ins</li>
<li>Understand different multipathing policy functionalities</li>
<li>Perform command line configuration of multipathing options</li>
<li>Change a multipath policy</li>
<li>Configure Software iSCSI port binding</li>
</ul>
<h4><strong>Key Materials (VMware PDF&#8217;s &amp; KB articles)</strong></h4>
<ol>
<li><a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_iscsi_san_cfg.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_iscsi_san_cfg.pdf?referer=');">iSCSI SAN Configuration Guide</a></li>
<li><a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_san_cfg.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_san_cfg.pdf?referer=');">Fibre Channel SAN Configuration Guide</a></li>
<li><a href="http://www.rayheffer.com/wp-admin/vSphere%20Command-Line%20Interface%20Installation%20and%20Scripting%20Guide" target="_blank">vSphere vSphere Command-Line Interface Installation and Scripting Guide<span id="more-1757"></span></a></li>
</ol>
<hr />
<h4>Install and Configure PSA plug-ins</h4>
<p>The most common PSA plug-in is EMC PowerPath which is what I&#8217;ll base this on. You can use the vMA (which I prefer) or vCLI.</p>
<p>1. Download EMC PowerPath for VMware from <a href="https://powerlink.emc.com" target="_blank" onclick="pageTracker._trackPageview('/outgoing/powerlink.emc.com?referer=');">https://powerlink.emc.com</a> (you will need to register for an account).<br />
2. Extract the .zip file and copy <code>EMCPower.VMWARE.5.4.SP2.b298.zip</code> from the folder to your vMA (use WinSCP).<br />
3. Place the host into maintenance mode.<br />
4. Make sure that there is no previous installation of PowerPath/VE:</p>
<p style="padding-left: 30px;"><code># vihostupdate --query --server &lt;hostname&gt;</code></p>
<p>5. Install the PowerPath plugin:</p>
<p style="padding-left: 30px;"><code># vihostupdate --server &lt;hostname&gt; --install --bundle EMCPower.VMWARE.5.4.SP2.b298.zip</code></p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/vihostupdate-powerpath.jpg" rel="lightbox[1757]" title="VMware - Installing PowerPath with vihostupdate from the vMA"><img class="alignnone size-medium wp-image-1760" title="VMware - Installing PowerPath with vihostupdate from the vMA" src="http://www.rayheffer.com/wp-content/uploads/2011/08/vihostupdate-powerpath-300x38.jpg" alt="VMware - Installing PowerPath with vihostupdate from the vMA" width="300" height="38" /></a></p>
<p>6. Reboot the server.<br />
7. If you run vihostupdate query again you should see that PowerPath is installed.</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/vihostupdate-query.jpg" rel="lightbox[1757]" title="VMware - Query with vihostupdate to check PowerPath plugin"><img class="alignnone size-medium wp-image-1761" title="VMware - Query with vihostupdate to check PowerPath plugin" src="http://www.rayheffer.com/wp-content/uploads/2011/08/vihostupdate-query-300x26.jpg" alt="VMware - Query with vihostupdate to check PowerPath plugin" width="300" height="26" /></a></p>
<hr />
<h4>Understand different multipathing policy functionalities</h4>
<p>The knowledge required according to the VCAP-DCA blueprint on this topic is to understand Pluggable Storage Architecture (PSA). The following sections will detail how to use the CLI, so grab a coffee as we dive into PSA!</p>
<p>As part of the VMkernel the PSA provides multipathing using either the Native Multipathing Plugin (NMP) or third-party multipathing plugins (MPP) such as EMC PowerPath. The NMP has two plugins it uses which are key to this topic; SATP (Storage Array Type Plugins) and PSP (Path Selection Plugins). If you haven&#8217;t seen it already, there is a well used diagram on these by VMware, which you&#8217;ll find on page 24 of the <a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_san_cfg.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_san_cfg.pdf?referer=');">Fibre Channel SAN Configuration Guide</a>:</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/vmware-psa-Pluggable-Storage-Architecture.jpg" rel="lightbox[1757]" title="VMware PSA (Pluggable Storage Architecture)"><img class="alignnone size-full wp-image-1846" title="VMware PSA (Pluggable Storage Architecture)" src="http://www.rayheffer.com/wp-content/uploads/2011/08/vmware-psa-Pluggable-Storage-Architecture.jpg" alt="VMware PSA (Pluggable Storage Architecture)" width="397" height="204" /></a></p>
<p>The SATP (Storage Array Type Plugins) are responsible for monitoring the health of each path, reports changes to the state of each path, and will activate a passive path if required (active-passive arrays). Ed Grigson of <a href="http://www.vexperienced.co.uk/2011/04/16/vcap-dca-study-notes-1-3-complex-multipathing-and-psa-plugins/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vexperienced.co.uk/2011/04/16/vcap-dca-study-notes-1-3-complex-multipathing-and-psa-plugins/?referer=');">vExperienced</a> said the SATP is like the traffic cop, which is a good analogy.</p>
<p>The PSP (Path Selection Plugins) are responsible for choosing which path to use for I/O requests. The following PSP&#8217;s are available:</p>
<ul>
<li>Most Recently Used (<code>VMW_PSP_MRU</code>) &#8211; Uses the path that was most recently used to a given device.</li>
<li>Fixed (<code>VMW_PSP_FIXED</code>) &#8211; Uses a preferred path unless it&#8217;s down in which case it will select an alternative path at random. If a preferred path isn&#8217;t configured then it will used the fist path discovered at boot time. * See my note on <a href="http://www.rayheffer.com/1558/1-1-vcap-dca-study-guide-storage/" target="_blank">path thrashing</a> with this policy.</li>
<li>Round Robin (<code>VMW_PSP_RR</code>) &#8211; Enables load-balancing across the available paths using a rotating method.</li>
<li><code>VMW_PSP_FIXED_AP</code> &#8211; Fixed functionality for active-passive and ALUA arrays.</li>
</ul>
<hr />
<h4>Perform command line configuration of multipathing options</h4>
<p>The VCAP-DCA blueprint for section 1.3 only mentions use of <code>esxcli</code>, so this will be the focus of these study notes. Remember when using <code>esxcli</code> with vMA, you&#8217;ll need to add <code>--server &lt;hostname&gt;</code>, otherwise it will target the localhost (even if you&#8217;ve done <code>vifptarget -s</code>). I&#8217;ve also completed a section on <code>esxcli corestorage</code> which you&#8217;ll find in <a href="http://www.rayheffer.com/1623/1-1-vcap-dca-study-guide-storage-part-2/">part two</a> of my Implement and Manage Storage guide. Here are the available <code>esxcli</code> namespaces:</p>
<ul>
<li><code>corestorage</code> (covered <a href="http://www.rayheffer.com/1623/1-1-vcap-dca-study-guide-storage-part-2/">here</a>)</li>
<li><code>network</code></li>
<li><code>nmp</code> *</li>
<li><code>swiscsi</code> (detailed in the next section, see below)</li>
<li><code>vaai</code></li>
<li><code>vms</code></li>
</ul>
<p>* <code>esxcli nmp</code> relevant for this section of the VCAP-DCA blueprint.</p>
<p>Using <code>esxcli nmp</code> is straight forward enough, just type it alone and it&#8217;ll present you with a list of available objects (see screenshot):</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/esxcli-nmp.jpg" rel="lightbox[1757]" title="VMware - esxcli nmp"><img class="alignnone size-medium wp-image-1839" title="VMware - esxcli nmp" src="http://www.rayheffer.com/wp-content/uploads/2011/08/esxcli-nmp-300x148.jpg" alt="VMware - esxcli nmp" width="300" height="148" /></a></p>
<p>As this section of the blueprint is multipathing and PSA plugins, we&#8217;ll get started with listing the paths available on the ESX/ESXi host:</p>
<p><code># esxcli nmp path list | less</code> (can pipe to <code>more</code>, but I prefer <code>less</code> <img src='http://www.rayheffer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can also list the devices controlled by the nmp plugin:</p>
<p><code># esxcli nmp device list | more</code></p>
<hr />
<p><strong><br />
Setting the PSA Multipathing Policy with <code>esxcli</code></strong></p>
<p style="padding-left: 30px;">1. First, list the path selection plugins available:</p>
<p style="padding-left: 30px;"><code># esxcli nmp psp list</code></p>
<p style="padding-left: 30px;">2. Next, we&#8217;ll list the available devices so we can choose which one to set the multipath policy against. Tip: If you know the <code>naa</code> ID of the device, you can pipe this command to <code>grep</code> (see screenshot).</p>
<p style="padding-left: 30px;"><code># esxcli nmp device list | grep &lt;naa ID&gt;</code></p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/esxcli-nmp-device-list.jpg" rel="lightbox[1757]" title="esxcli nmp device list"><img class="alignnone size-medium wp-image-1840" title="esxcli nmp device list" src="http://www.rayheffer.com/wp-content/uploads/2011/08/esxcli-nmp-device-list-300x93.jpg" alt="esxcli nmp device list" width="300" height="93" /></a></p>
<p style="padding-left: 30px;">3. Next, we&#8217;ll set the multipathing policy for a given device.</p>
<p style="padding-left: 30px;"><code># esxcli nmp device setpolicy --device naa.&lt;ID&gt; --psp VMW_PSP_???</code></p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/esxcli-nmp-device-setpolicy.jpg" rel="lightbox[1757]" title="VMware VCAP-DCA Study Notes - Setting multipathing options with esxcli nmp device setpolicy"><img class="alignnone size-medium wp-image-1842" title="VMware VCAP-DCA Study Notes - Setting multipathing options with esxcli nmp device setpolicy" src="http://www.rayheffer.com/wp-content/uploads/2011/08/esxcli-nmp-device-setpolicy-300x113.jpg" alt="VMware VCAP-DCA Study Notes - Setting multipathing options with esxcli nmp device setpolicy" width="300" height="113" /></a></p>
<p>So you can see with three commands, we can list the psp plugins, list the devices and use grep to filter to a specific device, then set the policy to another psp plugin.</p>
<p><strong>Tip:</strong> If you get stuck in the exam, remember this is detailed in the <a href="vSphere Command-Line Interface Installation and Scripting Guide " target="_blank">vSphere Command Line Reference</a> (now <a href="http://www.rayheffer.com/wp-admin/vSphere%20Command-Line%20Interface%20Installation%20and%20Scripting%20Guide" target="_blank">vSphere vSphere Command-Line Interface Installation and Scripting Guide</a>).</p>
<hr />
<h4>Configure Software iSCSI Port Binding</h4>
<p>To configure port binding for software iSCSI you&#8217;ll need to create two VMkernel ports and bind them to separate NIC&#8217;s. There are two ways of doing this, which you&#8217;ll see on page 38 of the <a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_iscsi_san_cfg.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_iscsi_san_cfg.pdf?referer=');">iSCSI SAN Configuration Guide</a>; a single vSwitch with two VMKernel ports and two physical NIC&#8217;s, or a separate vSwitch for each VMkernel port, each with it&#8217;s own NIC. It really doesn&#8217;t matter which you choose as the next step will be to bind the iSCSI ports on each NIC to each iSCSI adapter. Once you&#8217;ve done this, configure your software iSCSI adapter as usual. If you are not sure how to do this then refer to the <a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_iscsi_san_cfg.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_iscsi_san_cfg.pdf?referer=');">iSCSI SAN Configuration Guide</a>. Once your iSCSI LUN is presented we&#8217;ll do the rest from the command line<span style="font-family: monospace;">.</span></p>
<p style="padding-left: 30px;">1. Check which HBA your software iSCSI adapter is using from the vSphere Client:</p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/iSCSI-Port-Binding-vmhba.jpg" rel="lightbox[1757]" title="VMware vSphere ESX/ESXi - iSCSI Port Binding - Identifying the iSCSI software adapter"><img class="alignnone size-full wp-image-1831" title="VMware vSphere ESX/ESXi - iSCSI Port Binding - Identifying the iSCSI software adapter" src="http://www.rayheffer.com/wp-content/uploads/2011/08/iSCSI-Port-Binding-vmhba.jpg" alt="VMware vSphere ESX/ESXi - iSCSI Port Binding - Identifying the iSCSI software adapter" width="522" height="153" /></a></p>
<p style="padding-left: 30px;">2. From the command line, run the esxcli swisci command to confirm now NIC&#8217;s are already bound to the adapter.</p>
<p style="padding-left: 30px;"><code># esxcli swiscsi nic list -d &lt;vmhba&gt;</code> (E.g. <code>esxcli swiscsi nic list -d vmhba35</code>)</p>
<p style="padding-left: 30px;">3. Next, we&#8217;ll add one of our VMkernel ports (E.g. <code>vmk1</code>) to the software iSCSI adapter (E.g <code>vmhba35</code>).</p>
<p style="padding-left: 30px;"><code># esxcli swiscsi nic add -n vmk1 -d vmhba35</code></p>
<p style="padding-left: 30px;">4. Do the same for the second VMkernel port.</p>
<p style="padding-left: 30px;"><code># esxcli swiscsi nic add -n vmk2 -d vmhba35</code></p>
<p style="padding-left: 30px;">5. Next, run the esxcli swiscsi command again to check the port bindings:</p>
<p style="padding-left: 30px;"><code># esxcli swiscsi nic list -d vmhba35</code></p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/iSCSI-Port-Binding-esxcli-swiscsi.jpg" rel="lightbox[1757]" title="VMware vSphere ESX/ESXi - iSCSI Port Binding with esxcli swiscsi"><img class="alignnone size-full wp-image-1832" title="VMware vSphere ESX/ESXi - iSCSI Port Binding with esxcli swiscsi" src="http://www.rayheffer.com/wp-content/uploads/2011/08/iSCSI-Port-Binding-esxcli-swiscsi.jpg" alt="VMware vSphere ESX/ESXi - iSCSI Port Binding with esxcli swiscsi" width="416" height="476" /></a></p>
<p style="padding-left: 30px;">6. Rescan the vmhba (E.g. vmhba35).</p>
<p style="padding-left: 30px;"><code># esxcfg-rescan vmhba35</code></p>
<p>That&#8217;s it, both VMkernel ports are now bound to the software iSCSI adapter.</p>
<p><strong>TIP:</strong> Use <code>esxtop</code>/<code>resxtop</code> to see traffic flowing through these VMkernel ports. In the following screenshot, I&#8217;ve started a storage vMotion to an iSCSI datastore and you can see it is using <code>vmk1</code>. Normally you would see two separate NIC&#8217;s under the <code>TEAM-PNIC</code> column, but  I just wanted to show you that you can see the traffic flowing in <code>esxtop</code>. Also, if you have two vmnic&#8217;s assigned and one fails then the <code>TEAM-PNIC</code> column will show which one has failed.</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/iSCSI-Port-Binding-esxtop.jpg" rel="lightbox[1757]" title="Using esxtop/resxtop to monitor iSCSI Port Binding - VMkernel ports"><img class="alignnone size-medium wp-image-1835" title="Using esxtop/resxtop to monitor iSCSI Port Binding - VMkernel ports" src="http://www.rayheffer.com/wp-content/uploads/2011/08/iSCSI-Port-Binding-esxtop-300x142.jpg" alt="Using esxtop/resxtop to monitor iSCSI Port Binding - VMkernel ports" width="300" height="142" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/1757/1-3-vcap-dca-study-guide-configure-and-manage-complex-multipathing-psa-plug-ins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4.3 VCAP-DCA Study Guide &#8211; Configure a vSphere Environment to support MSCS Clustering</title>
		<link>http://www.rayheffer.com/1797/4-3-vcap-dca-study-guide-configure-a-vsphere-environment-to-support-mscs-clustering/</link>
		<comments>http://www.rayheffer.com/1797/4-3-vcap-dca-study-guide-configure-a-vsphere-environment-to-support-mscs-clustering/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 10:33:15 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[VCAP-DCA]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[clustering]]></category>
		<category><![CDATA[microsoft clustering service]]></category>
		<category><![CDATA[mscs]]></category>
		<category><![CDATA[quorum]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[study guide]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[vcap-dca]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=1797</guid>
		<description><![CDATA[I remember when I first started using Microsoft Cluster Servers with SQL 2000 and Exchange 2003, and I had plenty of experiences (good and bad) especially once when I lost the quorum disk and I was due to go on holiday the next day!   When I saw this topic on the VCAP-DCA blueprint I [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F1797%2F4-3-vcap-dca-study-guide-configure-a-vsphere-environment-to-support-mscs-clustering%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F1797_2F4-3-vcap-dca-study-guide-configure-a-vsphere-environment-to-support-mscs-clustering_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F1797%2F4-3-vcap-dca-study-guide-configure-a-vsphere-environment-to-support-mscs-clustering%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I remember when I first started using Microsoft Cluster Servers with SQL 2000 and Exchange 2003, and I had plenty of experiences (good and bad) especially once when I lost the quorum disk and I was due to go on holiday the next day!   When I saw this topic on the VCAP-DCA blueprint I thought &#8216;oh&#8217;. Funnily enough, whilst I have had plenty of experience with physical clusters, I&#8217;ve never had to implement clustering in a vSphere environment. Due to certain complexities of MSCS you can achieve unwanted downtime (such as when I lost the quorum disk, or through mis-configuration) and can be a headache in itself. I&#8217;m not sure to what level the VCAP-DCA exam will require us to configure MSCS, but I am confident that it&#8217;s just configure the vSphere environment and not the other things you would normally have to do (SAN zoning, shared quorum disk, etc).</p>
<p>The first and only document I will use for this section on <a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_mscs.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_mscs.pdf?referer=');">MSCS is Setup for Failover Clustering and Microsoft Cluster Service</a>, and it&#8217;s only 36 pages so don&#8217;t worry you won&#8217;t be spending the next three weeks on MSCS alone! In fact, the VCAP-DCA blueprint lists each section in order on this document so it&#8217;s a safe bet!<span id="more-1797"></span></p>
<hr />
<p><strong>Knowledge Required</strong></p>
<ul>
<li>Identify MSCS clustering solution requirements</li>
<li>Identify the three supported MSCS configurations</li>
</ul>
<h4><strong>Key Focus Areas</strong></h4>
<ul>
<li>Configure Virtual Machine hardware to support cluster type and guest OS</li>
<li>Configure a MSCS cluster on a single ESX/ESXi Host</li>
<li>Configure a MSCS cluster across ESX/ESXi Hosts</li>
<li>Configure standby host clustering</li>
</ul>
<h4><strong>Key Materials (VMware PDF&#8217;s &amp; KB articles)</strong></h4>
<ol>
<li><a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_mscs.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_mscs.pdf?referer=');">MSCS is Setup for Failover Clustering and Microsoft Cluster Service</a></li>
</ol>
<hr />
<h4>Configure Virtual Machine hardware to support cluster type and guest OS</h4>
<p>Features such as vMotion are not supported, or running the virtual machines in a HA / DRS cluster (prior to vSphere 4.1). Let me list out the key points for configuring a virtual machine in a Microsoft cluster setup:</p>
<ul>
<li>Fibre channel storage only (no NFS or iSCSI) <em>* Local storage can be used on &#8216;cluster-in-a-box&#8217;</em></li>
<li>LSI SCSI adapter (LSI SAS for Windows 2008)</li>
<li>Thick provisioned disks only</li>
<li>VM hardware version 7</li>
</ul>
<p>Regardless of virtual or physical hardware, each cluster node must have at two NIC&#8217;s; one for the public network (LAN) and the other for the cluster heartbeat (private network).</p>
<p><strong>Limitations:</strong></p>
<ul>
<li>iSCSI, NFS and FCoE are not supported</li>
<li>Mixed versions of ESX/ESXi not supported</li>
<li>Fault Tolerance (FT) not supported</li>
<li>vMotion no supported</li>
<li>N-Port ID Virtualisation (NPIV) not supported</li>
<li>NMP with Round Robin not supported</li>
<li>Must have VM hardware version 7</li>
<li>HA/DRS Clusters are only supported on vSphere 4.1 and above.</li>
</ul>
<h4>Configure a MSCS cluster on a single ESX/ESXi Host</h4>
<p>Here are the steps required:</p>
<ol>
<li>Create the first node (VM) with 2 x vNIC&#8217;s and the required OS.</li>
<li>Connect one NIC to the public network and the other to the private network for the cluster heartbeat (this could be an internal only vSwitch)</li>
<li>Install Windows Server on the first node.</li>
<li>Clone the first node (or create a template) to create a second node.</li>
<li>On the guest operating system customisation, make sure to select Generate New Security ID (SID).</li>
<li>Finish cloning the second node.</li>
</ol>
<p><strong>Create a Quorum Disk</strong></p>
<p>1. Select the first node and add a new hard disk (1GB should be enough), make sure to select &#8216;Support clustering features such as Fault Tolerance&#8217;.<br />
2. Select a location for the quorum disk, shared storage or local. <em>* If using shared storage, the second node must match the exact same location.</em></p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/MSCS-Quorum-disk.jpg" rel="lightbox[1797]" title="VMware - MSCS Cluster in a box, adding the quorum disk"><img class="alignnone size-full wp-image-1803" title="VMware - MSCS Cluster in a box, adding the quorum disk" src="http://www.rayheffer.com/wp-content/uploads/2011/08/MSCS-Quorum-disk.jpg" alt="VMware - MSCS Cluster in a box, adding the quorum disk" width="386" height="299" /></a></p>
<p>2. Select a new SCSI device (E.g. SCSI 1.0)</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/MSCS-Quorum-disk-SCSI-device.jpg" rel="lightbox[1797]" title="VMware - Configuring MSCS - Quorum disk SCSI device"><img class="alignnone size-full wp-image-1804" title="VMware - Configuring MSCS - Quorum disk SCSI device" src="http://www.rayheffer.com/wp-content/uploads/2011/08/MSCS-Quorum-disk-SCSI-device.jpg" alt="VMware - Configuring MSCS - Quorum disk SCSI device" width="386" height="301" /></a></p>
<p>3. Finish the wizard.<br />
4. Edit the SCSI Controller type and make sure it&#8217;s set to LSI Logic Parallel (Windows Server 2003) or LSI Logic SAS (Windows Server 2008), and set SCSI Bus Sharing to Virtual.</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/08/MSCS-Quorum-disk-SCSI-controller.jpg" rel="lightbox[1797]" title="VMware - Configuring MSCS Quorum disk SCSI controller"><img class="alignnone size-full wp-image-1805" title="VMware - Configuring MSCS Quorum disk SCSI controller" src="http://www.rayheffer.com/wp-content/uploads/2011/08/MSCS-Quorum-disk-SCSI-controller.jpg" alt="VMware - Configuring MSCS Quorum disk SCSI controller" width="420" height="372" /></a><br />
<strong></strong></p>
<p><strong>Adding the Quorum Disk to the Second Cluster Node</strong><br />
1. Go to the virtual machine settings of the second node and add a hard disk.<br />
2. Select &#8216;Use an existing virtual disk&#8217;.<br />
3. Select the same virtual device node as the first virtual machine (E.g SCSI 1:o).<br />
4. Browse to the location of the quorum disk.</p>
<hr />
<h4>Configure a MSCS cluster across ESX/ESXi Hosts</h4>
<p>This is very similar to the single box solution so I won&#8217;t detail every step. Each node resides on a separate ESX/ESXi host. Take note of the following differences:</p>
<ul>
<li>Create the quorum disk as an RDM in physical compatibility mode.</li>
<li>The ESX/ESXi host must have at least 3 physical NIC&#8217;s; Two for the MSCS cluster (one public and one private heartbeat) and one for ESX Service Console (or ESXi VMkernel for Management).</li>
<li>SCSI Bus Sharing must be set to Physical (not virtual, because we&#8217;re clustering between two physical ESX/ESXi hosts).</li>
</ul>
<p><strong>Steps:</strong></p>
<ol>
<li>Create the first virtual machine (first node) as before, but don&#8217;t add the shared quorum disk yet.</li>
<li>Clone the first node to the second node, and place it on the second ESX/ESXi host.</li>
<li>Generate a new Security ID (SID) as before.</li>
<li>Add the quorum RDM to the first node (physical compatibility mode) with a new virtual SCSI device (E.g. SCSI 1:0).</li>
<li>Set SCSI bus sharing to Physical.</li>
<li>Add the quorum RDM to the second node, same process.</li>
<li>Optionally add any other shared storage to each node.</li>
</ol>
<hr />
<h4>Configure standby host clustering</h4>
<p>With this configuration, the first node is a physical machine and the second is virtual. Here are the differences you need to be aware of:</p>
<ul>
<li>Create the physical server first and attach the storage before creating the second (virtual) node.</li>
<li>Create the second (virtual) node and add the RDM that is presented to the first (physical) server using physical mode.</li>
<li>Configure the virtual adapters for the second node with the private heartbeat and public network (LAN).</li>
<li>Set SCSI bus sharing to Physical.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/1797/4-3-vcap-dca-study-guide-configure-a-vsphere-environment-to-support-mscs-clustering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1.1 VCAP-DCA Study Guide &#8211; Implement and Manage Storage, part 2</title>
		<link>http://www.rayheffer.com/1623/1-1-vcap-dca-study-guide-storage-part-2/</link>
		<comments>http://www.rayheffer.com/1623/1-1-vcap-dca-study-guide-storage-part-2/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 16:52:26 +0000</pubDate>
		<dc:creator>Ray Heffer</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[VCAP-DCA]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[directpath io]]></category>
		<category><![CDATA[esxcfg-mpath]]></category>
		<category><![CDATA[esxcli corestorage]]></category>
		<category><![CDATA[esxtop]]></category>
		<category><![CDATA[LUN masking]]></category>
		<category><![CDATA[npiv]]></category>
		<category><![CDATA[Pluggable Storage Architecture]]></category>
		<category><![CDATA[raw device mappings]]></category>
		<category><![CDATA[rdm]]></category>
		<category><![CDATA[resxtop]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[storage best practices]]></category>
		<category><![CDATA[storage filters]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[vcap]]></category>
		<category><![CDATA[vcap-dca]]></category>
		<category><![CDATA[vcp]]></category>
		<category><![CDATA[VMFS resignaturing]]></category>
		<category><![CDATA[vscsiStats]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://www.rayheffer.com/?p=1623</guid>
		<description><![CDATA[This is the second part to my VCAP-DCA study guide on storage (section 1.1 of the blueprint). As mentioned in part 1, I intend to focus these study notes on what you need to know with essential learning points. There is a big section on LUN masking using PSA related commands in this part of my study [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.rayheffer.com%2F1623%2F1-1-vcap-dca-study-guide-storage-part-2%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.rayheffer.com_2F1623_2F1-1-vcap-dca-study-guide-storage-part-2_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.rayheffer.com%2F1623%2F1-1-vcap-dca-study-guide-storage-part-2%2F&amp;source=rayheffer&amp;style=normal&amp;service=TinyURL.com&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is the second part to my VCAP-DCA study guide on storage (section 1.1 of the blueprint). As mentioned in <a href="http://www.rayheffer.com/1558/1-1-vcap-dca-study-guide-storage/">part 1</a>, I intend to focus these study notes on what you need to know with essential learning points. There is a big section on LUN masking using PSA related commands in this part of my study guide, and also an introduction to analysing performance stats with esxtop. Whilst esxtop is covered in many of the VCAP-DCA blueprint sections, 1.1 is the first section it is mentioned in regards to assessing storage performance, so at the very end of this post I have included the topic &#8216;Using ESXTOP for Storage Performance Analysis&#8217;.</p>
<p><span id="more-1623"></span></p>
<h3 style="text-align: center;">Implement and Manage Complex Storage Solutions</h3>
<p style="text-align: center;"><span style="color: #888888;"><a href="http://www.rayheffer.com/1558/1-1-vcap-dca-study-guide-storage/">Part 1</a></span> | <span style="color: #888888;">Part 2</span></p>
<h4><strong>Knowledge Required</strong></h4>
<ul>
<li>Identify RAID levels</li>
<li>Identify supported HBA types</li>
<li>Identify virtual disk format types</li>
</ul>
<h4><strong>Key Focus Areas</strong></h4>
<ul>
<li>VMware DirectPath I/O (see <a href="http://www.rayheffer.com/1558/1-1-vcap-dca-study-guide-storage/">part 1)</a><strong><br />
</strong></li>
<li>NPIV (see <a href="http://www.rayheffer.com/1558/1-1-vcap-dca-study-guide-storage/">part 1)</a></li>
<li>Storage Best Practices (see <a href="http://www.rayheffer.com/1558/1-1-vcap-dca-study-guide-storage/">part 1)</a></li>
<li>Raw Device Mapping (see <a href="http://www.rayheffer.com/1558/1-1-vcap-dca-study-guide-storage/">part 1)</a></li>
<li>Storage filters</li>
<li>VMFS resignaturing</li>
<li>LUN masking using PSA-related commands</li>
<li>I/O workloads</li>
</ul>
<h4><strong>Key Materials (VMware PDF&#8217;s &amp; KB articles)</strong></h4>
<ol>
<li><a href="http://vmware.com/files/pdf/techpaper/VMW-vSphere4-directpath-host.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/vmware.com/files/pdf/techpaper/VMW-vSphere4-directpath-host.pdf?referer=');">Configuration Examples and Troubleshooting for VMDirectPath</a></li>
<li><a href="http://kb.vmware.com/kb/1010789" target="_blank" onclick="pageTracker._trackPageview('/outgoing/kb.vmware.com/kb/1010789?referer=');">Configuring VMDirectPath I/O pass-through devices on an ESX host</a></li>
<li><a href="http://www.brocade.com/downloads/documents/white_papers/white_papers_partners/NPIV_ESX4_0_GA-TB-145-01.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.brocade.com/downloads/documents/white_papers/white_papers_partners/NPIV_ESX4_0_GA-TB-145-01.pdf?referer=');">How to Configure NPIV on VMware vSphere 4.0</a></li>
<li><a href="http://www.vmware.com/pdf/vmfs-best-practices-wp.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vmfs-best-practices-wp.pdf?referer=');">VMware Storage Best Practices</a></li>
<li><a href="http://www.vmware.com/technical-resources/virtual-storage/best-practices.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/technical-resources/virtual-storage/best-practices.html?referer=');">Best Practices for Configuring Virtual Storage</a></li>
<li><a href="http://www.vmware.com/pdf/Perf_Best_Practices_vSphere4.0.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/Perf_Best_Practices_vSphere4.0.pdf?referer=');">Performance Best Practices for VMware vSphere 4.0</a></li>
<li><a href="http://www.redbooks.ibm.com/redpapers/pdfs/redp4627.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.redbooks.ibm.com/redpapers/pdfs/redp4627.pdf?referer=');">VMware Multipathing with the SAN Volume Controller and the Causes of SCSI-2 Reservation Conflicts</a></li>
<li><a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_san_cfg.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_san_cfg.pdf?referer=');">Fibre Channel SAN Configuration Guide</a></li>
<li><a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_iscsi_san_cfg.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_iscsi_san_cfg.pdf?referer=');">iSCSI SAN Configuration Guide</a></li>
<li><a href="http://www.vmware.com/files/pdf/performance_char_vmfs_rdm.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/files/pdf/performance_char_vmfs_rdm.pdf?referer=');">Performance Characterization of VMFS and RDM Using a SAN</a></li>
<li><a href="http://www.vmware.com/files/pdf/vmfs_resig.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/files/pdf/vmfs_resig.pdf?referer=');">VMware VMFS Volume Management</a></li>
<li><a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_esx_server_config.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_esx_server_config.pdf?referer=');">ESX Configuration Guide</a> (RDM, Storage Filters, Resignaturing)</li>
<li><a href="http://kb.vmware.com/kb/1009449" target="_blank" onclick="pageTracker._trackPageview('/outgoing/kb.vmware.com/kb/1009449?referer=');">Masking a LUN from ESX and ESXi 4.x using the MASK_PATH plug-in</a></li>
<li><a href="http://www.vmware.com/pdf/vsphere4/r41/vsp4_41_vcli_inst_script.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp4_41_vcli_inst_script.pdf?referer=');">vSphere Command-Line Interface Installation and Scripting Guide </a>(good section on LUN masking)</li>
<li><a href="http://kb.vmware.com/kb/1014953" target="_blank" onclick="pageTracker._trackPageview('/outgoing/kb.vmware.com/kb/1014953?referer=');">Identifying disks when working with VMware ESX</a></li>
<li><a href="http://www.vmware.com/files/pdf/partners/academic/vpact-workloads.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/files/pdf/partners/academic/vpact-workloads.pdf?referer=');">Storage Workload Characterization and Consolidation in Virtualized Environments</a><strong><br />
</strong></li>
<li><a href="http://communities.vmware.com/docs/DOC-10095" target="_blank" onclick="pageTracker._trackPageview('/outgoing/communities.vmware.com/docs/DOC-10095?referer=');">Using vscsiStats for Storage Performance Analysis</a></li>
<li><a href="https://www.vmware.com/support/developer/vcli/vcli41/doc/reference/vifs.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/support/developer/vcli/vcli41/doc/reference/vifs.html?referer=');">VIFS reference document</a></li>
<li><a href="http://kb.vmware.com/kb/900" target="_blank" onclick="pageTracker._trackPageview('/outgoing/kb.vmware.com/kb/900?referer=');">VMware KB 900: Moving or Copying Virtual Disks in a VMware Environment</a></li>
</ol>
<hr />
<h4>Storage Filters</h4>
<p>Storage filters are used by default with vCenter to avoid storage corruption by retrieving only the storage devices or LUN&#8217;s that can (or should) be used. VMware KB article <a href="http://kb.vmware.com/kb/1010513" target="_blank" onclick="pageTracker._trackPageview('/outgoing/kb.vmware.com/kb/1010513?referer=');">1010513</a> details how to switch off vCenter storage filters, and the ESX Configuration guide (page 133) also contains details on how to do this.</p>
<p>This explanation is taken from the aforementioned KB article:</p>
<p>This LUN filtering mechanism helps prevent LUN corruption that might occur if the following conditions are not met:</p>
<ul>
<li>The same LUN cannot be used for a VMFS datastore and RDM simultaneously.</li>
<li>Two virtual machines cannot have access to the same LUN using two different RDM mapping files.</li>
</ul>
<p>Follow these steps to switch off vCenter storage filters:</p>
<p>1. Within the vSphere client, go to Administration &gt; vCenter Server Settings, then click on Advanced Settings.</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/vCenter-Storage-Filters-01.jpg" rel="lightbox[1623]" title="VMware vCenter Storage Filters"><img class="alignnone size-medium wp-image-1635" title="VMware vCenter Storage Filters" src="http://www.rayheffer.com/wp-content/uploads/2011/07/vCenter-Storage-Filters-01-300x290.jpg" alt="VMware vCenter Storage Filters" width="300" height="290" /></a></p>
<p>2. Depending on the storage filter you want to add, enter one or both of the following values:</p>
<p><code>config.vpxd.filter.rdmFilter; false</code> &#8211; This filters RDM&#8217;s that are already assigned to a VM.<br />
<code>config.vpxd.filter.vmfsFilter; false</code> &#8211; This will filter LUN&#8217;s with an existing VMFS volume.</p>
<p>Duncan Epping also has an excellent <a href="http://www.yellow-bricks.com/2010/08/11/storage-filters/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.yellow-bricks.com/2010/08/11/storage-filters/?referer=');">blog post</a> on storage filters, where he details two other filters that can be used:</p>
<p><code>config.vpxd.filter.hostRescanFilter</code> &#8211; Disables the automatic rescan that occurs after a VMFS datastore is added.<br />
<code>config.vpxd.filter.SameHostAndTransportsFilter</code> &#8211; This will filter LUN&#8217;s that do not have the same masking applied as the original VMFS volume. Also filters which LUN&#8217;s are available to add as an extent.</p>
<p>I actually have an excellent use case for the Host Rescan Filter because I experienced some horrendous problems a few years ago where this saved the day. I had a VI 3.5 cluster which was hosted externally and there was a fault with the SAN. Each time a datastore was added, which incidentally was weekly due to DR testing, it caused the database LUN to go down and an externally hosted web application went offline. Not good. By adding config.vpxd.filter.hostRescanFilter to the vCenter advanced settings, it prevented an automatic rescan on all of the hosts when a datastore is added.</p>
<hr />
<h4>VMFS Resignaturing</h4>
<p>The topic of VMFS volume resignaturing will usually occur when you have taken a LUN snapshot, for example a DR site may have a replicated LUN, and you need to present an existing VMFS volume to an ESX host (this is done by taking a snapshot of the replicated LUN). This changed since VI 3.5 and it was made easier with ESX/ESXi 4 as described in VMware KB article <a href="http://kb.vmware.com/kb/1011387" target="_blank" onclick="pageTracker._trackPageview('/outgoing/kb.vmware.com/kb/1011387?referer=');">1011387</a>. I would recommend that you read page 120 of the <a href="http://www.vmware.com/pdf/vsphere4/r41/vsp_41_esx_server_config.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp_41_esx_server_config.pdf?referer=');">ESX Configuration guide</a>, as this contains more information on resignaturing a VMFS volume.</p>
<p>For the VCAP-DCA lab you should understand what to do when presented with a replica VMFS LUN as you&#8217;ll have three options:</p>
<ol>
<li>Keep the existing datastore (do not change the signature)</li>
<li>Assign a new signature</li>
<li>Format the disk (this will create a new VMFS volume)</li>
</ol>
<p>You need to learn how to list volumes, resignature or mount without resignaturing which is detailed in KB article <a href="http://kb.vmware.com/kb/1011387" target="_blank" onclick="pageTracker._trackPageview('/outgoing/kb.vmware.com/kb/1011387?referer=');">1011387</a>. Here are a summary of commands you need to know:<br />
<code>esxcfg-volume -l</code> &#8211; This will list all volumes detected as snapshots (replica LUN&#8217;s)</p>
<p>Mount the volume without resignaturing the LUN (take the VMFS UUID or label from the output of esxcfg-volume -l):<br />
<code>esxcfg-volume -m &lt;VMFS UUID|label&gt;</code> (Use -M to keep the LUN mounted after host reboot)</p>
<p>Mount the volume and resignature the LUN:<br />
<code>esxcfg-volume -r &lt;VMFS UUID|label&gt;</code></p>
<hr />
<h4>LUN Masking and PSA Commands</h4>
<p>LUN masking is usually performed on the storage array (remember that in the VCP exam?), NetApp uses Initiator Groups, EMC Clariion uses Storage Groups, but you can also perform masking on the ESX/ESXi host using <code>esxcli corestorage claimrule</code>.  Read page 57 of the vSphere Command-Line Interface Installation and Scripting Guide, this is listed in the key learning materials section above (<a href="http://www.vmware.com/pdf/vsphere4/r41/vsp4_41_vcli_inst_script.pdf" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.vmware.com/pdf/vsphere4/r41/vsp4_41_vcli_inst_script.pdf?referer=');">14</a>) and VMware <a href="http://kb.vmware.com/kb/1009449" target="_blank" onclick="pageTracker._trackPageview('/outgoing/kb.vmware.com/kb/1009449?referer=');">KB article 1009449</a> also describes masking a LUN from ESX and ESXi 4.x using the MASK_PATH plug-in.</p>
<p>This is a long topic and a complicated process, especially if you plan to perform this on multiple ESX hosts. I&#8217;m not sure if this needs to be performed in the VCAP-DCA exam, but I would strongly recommend doing this a few times in your home lab (if you have one).</p>
<p>Two things you should do first:</p>
<p>1. Check what multipath plugins are currently installed on your ESX/ESXi host with: <code>esxcfg-mpath -G</code></p>
<p style="padding-left: 30px;">You should see NMP and MASK_PATH</p>
<p>2. Check what the next available rule ID is, using: <code>esxcli corestorage claimrule list</code></p>
<p style="padding-left: 30px;">The claimrules for MASK_PATH will start at 101, so as you can see from my screenshot the next rule will be 102.</p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcfg-mpath_claimrule-list.jpg" rel="lightbox[1623]" title="VMware LUN masking esxcfg-mpath and esxcli corestorage claimrule list"><img title="VMware LUN masking esxcfg-mpath and esxcli corestorage claimrule list" src="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcfg-mpath_claimrule-list-300x101.jpg" alt="VMware LUN masking esxcfg-mpath and esxcli corestorage claimrule list" width="300" height="101" /></a></p>
<p>3. Add the mask rule with:</p>
<p><code>esxcli corestorage claimrule add –rule &lt;number&gt; -t location –A &lt;hba_adapter&gt; -C &lt;channel&gt; -T &lt;target&gt; -L &lt;LUN&gt; -P MASK_PATH</code></p>
<p>Example: <code>esxcli corestorage claimrule add --rule 102 -t location vmhba35 -C 0 -T 0 -L 10 -P MASK_PATH</code></p>
<p>To get the location of the path you want to mask, I use <code>esxcfg-scsidevs --vmfs</code> to find the NAA device and then use <code>esxcfg-mpath -L</code>: to get the paths. Choose the path you want to mask.</p>
<p style="padding-left: 30px;">i. List the datastores and get the NAA device of the datastore:</p>
<p style="padding-left: 30px;"><code>esxcfg-scsidevs --vmfs</code></p>
<p style="padding-left: 30px;">ii. List the paths for the datastore and that will give you the location:</p>
<p style="padding-left: 30px;"><code>esxcfg-mpath -L | grep &lt;naa_device&gt;</code></p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcfg-scsidevs.jpg" rel="lightbox[1623]" title="VMware LUN masking - Finding NAA device of a datastore with esxcfg-scsidevs --vmfs"><img class="alignnone size-medium wp-image-1676" title="VMware LUN masking - Finding NAA device of a datastore with esxcfg-scsidevs --vmfs" src="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcfg-scsidevs-300x172.jpg" alt="VMware LUN masking - Finding NAA device of a datastore with esxcfg-scsidevs --vmfs" width="300" height="172" /></a></p>
<p> 4. Verify that the rule has been added successfully:</p>
<p><strong>Note:</strong> You&#8217;ll see the new rule listed under class type &#8216;File&#8217;.</p>
<p style="padding-left: 30px;"><code>esxcli corestorage claimrule list</code></p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcfg-mpath_claimrule-list-new-rule.jpg" rel="lightbox[1623]" title="VMware LUN masking - Listing rules with esxcli corestorage claimrule list"><img class="alignnone size-medium wp-image-1683" title="VMware LUN masking - Listing rules with esxcli corestorage claimrule list" src="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcfg-mpath_claimrule-list-new-rule-300x152.jpg" alt="VMware LUN masking - Listing rules with esxcli corestorage claimrule list" width="300" height="152" /></a></p>
<p>5. Load the claimrules, and list them to see that the new rule is in runtime.</p>
<p style="padding-left: 30px;"><code>esxcli corestorage claimrule load</code></p>
<p style="padding-left: 30px;"><code>esxcli corestorage claimrule list</code></p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcfg-mpath_claimrule-list-runtime.jpg" rel="lightbox[1623]" title="VMware LUN masking - Show runtime rules with esxcli corestorage claimrule list"><img class="alignnone size-medium wp-image-1684" title="VMware LUN masking - Show runtime rules with esxcli corestorage claimrule list" src="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcfg-mpath_claimrule-list-runtime-300x179.jpg" alt="VMware LUN masking - Show runtime rules with esxcli corestorage claimrule list" width="300" height="179" /></a></p>
<p>6. Next we need to disassociate our path from the PSA plug-in which is owned by NMP, this will associate it with MASK_PATH.</p>
<p style="padding-left: 30px;"><code>esxcli corestorage claiming reclaim -d &lt;naa.ID&gt;</code></p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcli-corestorage-claiming-reclaim.jpg" rel="lightbox[1623]" title="esxcli corestorage claiming reclaim"><img class="alignnone size-medium wp-image-1685" title="esxcli corestorage claiming reclaim" src="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcli-corestorage-claiming-reclaim-300x145.jpg" alt="" width="300" height="145" /></a></p>
<p>7. Verify that our device is not used by the host, and the LUN is not active.</p>
<p style="padding-left: 30px;"><code>esxcfg-mpath -L | grep &lt;naa.ID&gt;</code></p>
<p style="padding-left: 30px;"><code>esxcfg-scsidevs --vmfs</code> (the device should no longer be listed).</p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcfg-scsidevs-esxcfg-mpath-verify-removed.jpg" rel="lightbox[1623]" title="esxcfg-scsidevs esxcfg-mpath (verify removed)"><img class="alignnone size-medium wp-image-1686" title="esxcfg-scsidevs esxcfg-mpath (verify removed)" src="http://www.rayheffer.com/wp-content/uploads/2011/07/esxcfg-scsidevs-esxcfg-mpath-verify-removed-300x117.jpg" alt="" width="300" height="117" /></a></p>
<hr />
<h4>I/O Workloads</h4>
<p>This is the final subject on the Implement and Manage Storage section, but measuring I/O workloads is an important part of administering a vSphere environment, not just a topic you should learn just for the VCAP-DCA exam. A great place to start is vscsiStats, a tool that is available on ESX and ESXi (prior to ESXi 4.1 this had to be downloaded to the host). vscsiStats measures I/O on the VMDK (virtual machine SCSI disk) so the underlying storage architecture can be NFS, Fibre Channel, or iSCSI. ESXTOP is another obvious choice for measuring performance, in particular IO workloads but it lacks somewhat as it only provides latency for F/C and iSCSI (not NFS). See the community document listed under my key materials above (<a href="http://communities.vmware.com/docs/DOC-10095" target="_blank" onclick="pageTracker._trackPageview('/outgoing/communities.vmware.com/docs/DOC-10095?referer=');">17</a>) for further info on vscsiStats.</p>
<p><strong>Note:</strong> Section 6.4 of the VCAP-DCA blueprint also has ESXTOP and vscsiStats listed as the skills required for troubleshooting storage performance and connectivity. I feel these are best introduced here and then re-visited again when you start study for 6.4.</p>
<p><strong>Using vscsiStats</strong></p>
<p>vscsiStats will measure:</p>
<ul>
<li>I/O Length (size)</li>
<li>Seek distance (Understand <a href="http://en.wikipedia.org/wiki/Seek_time#Seek_time" target="_blank" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/Seek_time_Seek_time?referer=');">disk seek time</a>)</li>
<li>Outstanding I/O&#8217;s (IO queues)</li>
<li>Latency (ms) *Most useful statistic</li>
<li>Interarrival (Measures the time of read/write IO requests and the arrival in Microseconds to the virtual disk)</li>
</ul>
<p>Using vscsiStats is really easy, and involves the following steps:</p>
<p>1. List the available virtual machines with vscsiStats -l</p>
<p style="padding-left: 30px;"><code>vscsiStats -l</code></p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/vscsiStats-l.jpg" rel="lightbox[1623]" title="Using VMware vscsiStats -l to list the available virtual machines"><img class="alignnone size-medium wp-image-1691" title="Using VMware vscsiStats -l to list the available virtual machines" src="http://www.rayheffer.com/wp-content/uploads/2011/07/vscsiStats-l-300x180.jpg" alt="Using VMware vscsiStats -l to list the available virtual machines" width="300" height="180" /></a></p>
<p style="padding-left: 30px;">Note: Find the virtual machine you want to collect statistics for and make a note (or copy) the worldGroupID number.</p>
<p>2. Next, start vscsiStats and specifiy the worldGroupID:</p>
<p style="padding-left: 30px;">vscsiStats -s -w &lt;worldGroupID&gt;</p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/vscsiStats-s-w.jpg" rel="lightbox[1623]" title="Using VMware vscsiStats -s -w to start collection"><img class="alignnone size-medium wp-image-1693" title="Using VMware vscsiStats -s -w to start collection" src="http://www.rayheffer.com/wp-content/uploads/2011/07/vscsiStats-s-w-300x28.jpg" alt="Using VMware vscsiStats -s -w to start collection" width="300" height="28" /></a></p>
<p>3. Use vscsiStats -p to specify the metric and print the statistics:</p>
<p style="padding-left: 30px;">vscsiStats -p latency (type vscsiStats on it&#8217;s own to see the help and other options)</p>
<p style="padding-left: 30px;"><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/vscsiStats-p-latency.jpg" rel="lightbox[1623]" title="VMware vscsiStats -p latency - This will show IO latency for the virtual machine disks"><img class="alignnone size-medium wp-image-1694" title="VMware vscsiStats -p latency - This will show IO latency for the virtual machine disks" src="http://www.rayheffer.com/wp-content/uploads/2011/07/vscsiStats-p-latency-300x272.jpg" alt="VMware vscsiStats -p latency - This will show IO latency for the virtual machine disks" width="300" height="272" /></a></p>
<p><strong>Using ESXTOP for Storage Performance Analysis</strong></p>
<p>ESXTOP is a tool based on the &#8216;top&#8217; command in Linux, but is specifically geared towards ESX/ESXi performance metrics. It&#8217;s all over the VCAP-DCA blueprint so you must be comfortable using esxtop for the exam or you might be in trouble. The best place to start is, well&#8230; running esxtop!  Seriously it can be a bit daunting at first, but try and use it in a lab environment and understand what the stats are telling you.</p>
<p>Here are the top things you should know about esxtop:</p>
<ol>
<li>Interactive mode (default)</li>
<li>Custom configuration &#8211; saving your configuration to a file (W to save c to load)</li>
<li>Batch mode (esxtop -b &lt;filename&gt;)</li>
<li>Identifying I/O latency</li>
</ol>
<p><strong>esxtop Configuration Files</strong></p>
<p>Once you are familiar with esxtop, you need to know how to save your configuration file using W. You might want to do this because you&#8217;ve changed the order of some columns or added some additional fields. The default filename is esxtop41rc (just press ENTER to save the default) and this will load each time at default, otherwise you can press c and load your own configuration.</p>
<p><strong>Interactive mode (default)</strong></p>
<p>When you run esxtop, by default it&#8217;s running in interactive mode. Press h (for help) and you&#8217;ll see the help screen (below). I often refer to this to remind myself how to switch from cpu (default) to virutal machine disk stats by pressing v.</p>
<p><a href="http://www.rayheffer.com/wp-content/uploads/2011/07/esxtop-help.jpg" rel="lightbox[1623]" title="VMware esxtop help screen"><img class="alignnone size-medium wp-image-1706" title="VMware esxtop help screen" src="http://www.rayheffer.com/wp-content/uploads/2011/07/esxtop-help-300x220.jpg" alt="VMware esxtop help screen" width="300" height="220" /></a></p>
<p><strong>Batch Mode (exporting to CSV)</strong></p>
<p>The first thing you need to do is configure esxtop in interactive mode to display the fields and columns you want to export. Once you&#8217;ve done this save your configuration, following the steps above, and then use the -b option for batch mode and specify a csv filename to use. We will also specify the a delay (-d) in seconds between the samples taken, and a number of iterations (-n) otherwise esxtop will run until you press CTRL &amp; C. See the following:</p>
<p><code>esxtop -b -d 5-n 20 &gt; filename.csv</code> (this will sample every 5 seconds, 20 times).</p>
<p><strong>Identify I/O Latency (Fibre channel &amp; iSCSI only)</strong></p>
<p>This is one of my favorite sections and uses of esxtop, it really shows how powerful it is. Run esxtop in interactive mode then press u to switch to &#8216;disk device&#8217; and press f to change the fields so you can see the following metrics (turn off F and G).</p>
<ul>
<li>DAVG/cmd &#8211; Device average latency (should be under 25, preferable 15-20)</li>
<li>KAVG/cmd &#8211; Kernel average latency (should be less than 2, or zero)</li>
<li>GAVG/cmd &#8211; Guest average latency, this is the sum of DAVG and KAVG (should be less than 25)</li>
<li>QAVG/cmd &#8211; Queue average latency (should be zero)</li>
</ul>
<p>The VMware communities document <a href="http://communities.vmware.com/docs/DOC-9279" target="_blank" onclick="pageTracker._trackPageview('/outgoing/communities.vmware.com/docs/DOC-9279?referer=');">Interpreting esxtop Statistics</a> has more information on this under section 4.2, as does Duncan Epping&#8217;s <a href="http://www.yellow-bricks.com/esxtop/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.yellow-bricks.com/esxtop/?referer=');">esxtop page</a>. Simon Greaves has recently <a href="http://simongreaves.co.uk/blog/esxtop-guide" target="_blank" onclick="pageTracker._trackPageview('/outgoing/simongreaves.co.uk/blog/esxtop-guide?referer=');">posted on esxtop</a>. Finally, read VMware KB article <a href="http://kb.vmware.com/kb/1008205" target="_blank" onclick="pageTracker._trackPageview('/outgoing/kb.vmware.com/kb/1008205?referer=');">1008205</a> which summarises the steps to monitor I/O latency with esxtop.</p>
<hr />
<p>This is part 2 of the VCAP-DCA Study Guide &#8211; Storage, go back to <a href="http://www.rayheffer.com/1558/1-1-vcap-dca-study-guide-storage/">Part 1</a> for:</p>
<ul>
<li>VMware DirectPath I/O<strong><br />
</strong></li>
<li>NPIV</li>
<li>Storage Best Practices</li>
<li>Raw Device Mapping</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.rayheffer.com/1623/1-1-vcap-dca-study-guide-storage-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
