<?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>Erik Bussink</title>
	<atom:link href="http://www.bussink.ch/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.bussink.ch</link>
	<description>Technology &#38; Rants since 1991</description>
	<lastBuildDate>Wed, 02 May 2012 00:22:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Nexenta stats running sample VMware Data Recovery backup</title>
		<link>http://www.bussink.ch/?p=842</link>
		<comments>http://www.bussink.ch/?p=842#comments</comments>
		<pubDate>Tue, 01 May 2012 19:47:59 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[ZFS]]></category>
		<category><![CDATA[Nexenta]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[VMware Data Recovery]]></category>

		<guid isPermaLink="false">http://www.bussink.ch/?p=842</guid>
		<description><![CDATA[Following my Nexenta storage for the vLab article. I was asked how my ARC and L2ARC where doing. Here are two more screenshots that I just took on my infrastructure, while doing the initial backup of a 40GB virtual machine with VMware Data Recovery. I had the Nexenta management interface on the General Stats Running [...]]]></description>
			<content:encoded><![CDATA[<p>Following my <a title="Nexenta storage for the vLab" href="http://www.bussink.ch/?p=759" target="_blank">Nexenta storage for the vLab</a> article. I was asked how my ARC and L2ARC where doing.</p>
<div id="attachment_855" class="wp-caption alignnone" style="width: 560px"><a href="http://www.bussink.ch/wp-content/uploads//2012/05/General-ZFS-ARC-Information.jpg"><img class=" wp-image-855  " title="General ZFS ARC Information" src="http://www.bussink.ch/wp-content/uploads//2012/05/General-ZFS-ARC-Information.jpg" alt="" width="550" height="169" /></a><p class="wp-caption-text">General ZFS ARC Information</p></div>
<p>Here are two more screenshots that I just took on my infrastructure, while doing the initial backup of a 40GB virtual machine with VMware Data Recovery.</p>
<ul>
<li>I had the Nexenta management interface on the General Stats</li>
<li>Running Richard Elling&#8217;s <a title="zilstat.ksh by Richard Elling" href="http://blog.richardelling.com/2009/02/zilstat-improved.html" target="_blank">zilstat.ksh</a> via SSH at the top left</li>
<li>Running the <a title="arcstat.pl" href="http://blog.harschsystems.com/2010/09/08/arcstat-pl-updated-for-l2arc-statistics/" target="_blank">arcstat.pl</a> by Mike Harsch via SSH at the left</li>
<li>And at the bottom left, you can glimpse the VMware Data Recovery job running on a 40GB VM (Initial run).</li>
</ul>
<div id="attachment_843" class="wp-caption alignnone" style="width: 582px"><a href="http://www.bussink.ch/wp-content/uploads//2012/05/zilstats.ksh-arcstat.pl-while-running-a-VMware-Data-Recovery-initial-backup.jpg"><img class=" wp-image-843   " title="zilstats.ksh and arcstat.pl while running a VMware Data Recovery initial backup" src="http://www.bussink.ch/wp-content/uploads//2012/05/zilstats.ksh-arcstat.pl-while-running-a-VMware-Data-Recovery-initial-backup.jpg" alt="" width="572" height="426" /></a><p class="wp-caption-text">zilstats.ksh and arcstat.pl while running a VMware Data Recovery initial backup</p></div>
<p>I also took the opportunity to screenshot the disk and Virtual LUN stats page on the Nexenta page.</p>
<div id="attachment_844" class="wp-caption alignnone" style="width: 565px"><a href="http://www.bussink.ch/wp-content/uploads//2012/05/Disks-and-Virtual-LUNs.jpg"><img class=" wp-image-844   " title="Disks and Virtual LUNs" src="http://www.bussink.ch/wp-content/uploads//2012/05/Disks-and-Virtual-LUNs.jpg" alt="" width="555" height="493" /></a><p class="wp-caption-text">Disks and Virtual LUNs</p></div>
<p>These stats above are far from the most impressive results I&#8217;ve had with my NexentaStor server.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bussink.ch/?feed=rss2&#038;p=842</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nexenta storage for the vLab</title>
		<link>http://www.bussink.ch/?p=759</link>
		<comments>http://www.bussink.ch/?p=759#comments</comments>
		<pubDate>Mon, 30 Apr 2012 22:44:15 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ZFS]]></category>
		<category><![CDATA[Nexenta]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://www.bussink.ch/?p=759</guid>
		<description><![CDATA[In this post, I will describe the storage design I use for my virtual infrastructure lab. I have been using the Community Edition of NexentaStor for the past two and a half year already. And I can tell already in the first paragraph of this post, that it&#8217;s a very impressive storage solution, which can [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bussink.ch/wp-content/uploads//2012/04/nexenta_logo.jpg"><img class="size-full wp-image-761 alignnone" src="http://www.bussink.ch/wp-content/uploads//2012/04/nexenta_logo.jpg" alt="" width="278" height="57" /></a></p>
<p>In this post, I will describe the storage design I use for my virtual infrastructure lab. I have been using the Community Edition of NexentaStor for the past two and a half year already. And I can tell already in the first paragraph of this post, that it&#8217;s a very impressive storage solution, which can scale to your needs and based on the budget you are ready to allocate to it.</p>
<p>I have played with various virtual storage appliances (VSA) from NetApp and EMC, and I used Openfiler 2.3 (x86-64) prior to moving to NexentaStor in my lab over 2.5 years ago. I was not getting the storage performance from the VSA, and it was difficult to add disks and storage to these VSA. The Community Edition of NexentaStor supports 18 TB of usable storage without requiring a paying license (you do need to register your Community Edition with Nexenta to get a license).  I don&#8217;t believe a lot of people are hitting this limit in their labs. In addition, since NexentaStor 3.1, the <a title="new Enhanved vSphere 5.0 Storage Features part 3 VAAI" href="http://blogs.vmware.com/vsphere/2011/07/new-enhanced-vsphere-50-storage-features-part-3-vaai.html" target="_blank">VAAI primitives</a> are supported with iSCSI traffic. There simply is no other way to test VAAI in a virtualization lab without spending some serious money.</p>
<p>Here are the current <a title="Nexenta 3.1 Release Notes" href="www.nexenta.com/corp/images/stories/pdfs/release_notes_3.1.2.pdf" target="_blank">release notes for NexentaStor 3.1.2</a> and you can download the <a title="Nexenta 3.1.2 Download Link" href="http://nexentastor.org/news/19" target="_blank">NexentaStor Community Edition 3.1.2</a> to give it a go. Version 4 of NexentaStor is planned for the summer of 2012. It will use the Illumos. I&#8217;m looking forward to the next release of NexentaStor.</p>
<p><strong>Hardware.</strong></p>
<p><a href="http://www.bussink.ch/wp-content/uploads//2012/04/HP-ML150-G5.jpg"><img class="alignleft size-full wp-image-760" title="HP ProLiant ML150 G5" src="http://www.bussink.ch/wp-content/uploads//2012/04/HP-ML150-G5.jpg" alt="" width="300" height="300" /></a></p>
<p>&nbsp;</p>
<ul>
<li>My current implementation of NexentaStor is currently using an <a title="HP ProLiant ML150 G5 Specifications" href="http://h18000.www1.hp.com/products/quickspecs/12901_na/12901_na.HTML" target="_blank">HP ProLiant ML150 G5</a> with a single quad-core Xeon 5410 (@2.33 GHz and 12MB of L2 Cache) and 16GB of ECC Memory.</li>
</ul>
<ul>
<li>I&#8217;m using a <a title="LSI SAS 9201-16i HBA" href="http://www.lsi.com/products/storagecomponents/Pages/LSISAS9201-16i.aspx" target="_blank">LSI SAS 9201-16i HBA </a>Card to connect my various disks in the system.</li>
</ul>
<ul>
<li>My current hard disks are three year old 1TB SATA disks. They are definitely the weak point of my infrastructure at the present time, and I should really replace these aging disks by bigger and faster disks.</li>
</ul>
<ul>
<li>I recently added three performant <a title="Intel SSD 520 Series" href="http://www.intel.com/content/www/us/en/solid-state-drives/solid-state-drives-520-series.html" target="_blank">Intel 520 Series SSD</a>. I took three 60GB disks. I&#8217;ve got Intel SSD in the past, and they are still very reliable, so the choice was not difficult. The 60GB versions of these disks are speced at 6700 IOPS RandomWrite, and 12000 IOPS RandomRead (I took the lowest numbers from the various Intel documentation). Getting larger disks would result in better IOPS performances and the drive would have more lifetime writes, but that would increase the cost of my storage.</li>
</ul>
<ul>
<li>On the Network side, I have added an Intel based Dual gigabit server network card. My management traffic and NFS traffic arrive on the mainboard network card, and my iSCSI stack is presented using two IP addresses on the very good <a title="Supermicro" href="http://www.supermicro.com" target="_blank">Supermicro AOC-SG-i2 </a>network card. The Supermicro AOC-SG-i2 has dual Intel 82575EB chips. The iSCSI traffic is set to use a 9000 MTU, and I have an EtherChannel trunk (2x1Gbps) across the network switches (two Cisco SG300-28) from the HP ProLiant ML150 G5 to the ESXi servers in a second room.</li>
</ul>
<p>&nbsp;</p>
<p><strong>Storage Layout.</strong></p>
<p>Here is a screenshot of my storage layout I&#8217;m now using. I used to have a single large RAIDZ2 configuration last year, which was giving me a lot of space, but I found the system lacking on the write side, so I exported all my virtual machines from the NexentaStor server, and reformatted the storage using mirror of disks to improve the write speed.</p>
<div id="attachment_788" class="wp-caption alignnone" style="width: 532px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/zpool_status.png"><img class="size-full wp-image-788 " title="zpool status" src="http://www.bussink.ch/wp-content/uploads//2012/04/zpool_status.png" alt="" width="522" height="616" /></a><p class="wp-caption-text">zpool status &amp; zpool list</p></div>
<p>As you can see in the previous screenshot, my tank zvol is composed of four set of mirrored disks, and I&#8217;m using two Intel SSD 520 60GB. One as the L2ARC cache, and one as the ZLOG cache disk.</p>
<p>Because I don&#8217;t have more than 16GB of RAM in the HP ProLiant ML150 G5, I decided not to use the De-dupe functionality of the NexentaStor. From <a title="ZFS: To Dedupe or not to Dedupe..." href="http://constantin.glez.de/blog/2011/07/zfs-dedupe-or-not-dedupe" target="_blank">Constantin&#8217;s blog</a>, it seems like a good rule of thumb is 5GB of dedupe in ARC/L2ARC per TB of deduped pool space. I have about 3.6TB of disk, so that&#8217;s would require about  18GB (if I want to keep the De-dupe tables in RAM instead of the L2ARC).</p>
<p>I have enough CPU resources with the Quad-Core Xeon 5410 (@ 2.33GHz) to run the compression on the storage.</p>
<p><strong>NexentaStor and VMware&#8217;s vStorage API for Array Integration (VAAI)</strong></p>
<p>Nexenta introduced support for VMware&#8217;s vStorage API for Array Integration (VAAI). Specifically four SCSI commands have been added to improve the performance of several VMware operations when using iSCSI or FC connections. Following is a brief summary of the four functions, as described in the NexentaStor 3.1 release notes.</p>
<ul>
<li><strong>SCSI Write Same</strong>: When creating a new virtual disk VMware must write&#8217;s zeros to every block location on the disk. This is done to ensure no residual data exists on the disk which could be read by the new VM. Without Write Same support the server&#8217;s CPU must write each individual block which consumes a lot of CPU cycles. With the Write Same command VMware can direct the storage array to perform this function, offloading it from the CPU and thereby saving CPU cycles for other operations. This is supported in ESX/ESXi 4.1 and later.</li>
<li><strong>SCSI ATS</strong>: Without ATS support, when VMware clones a VM it must lock the entire LUN to prevent changes to the VM while it is being cloned. Howerver, locking the entire LUN affects all other VM&#8217;s that are using the same LUN. With ATS support VMware is able to instruct the array to lock only the specific region on the LUN being cloned. This allows other operations affecting other parts of the LUN to continue unaffected. This is supported in ESX/ESXi 4.1 and later.</li>
<li><strong>SCSI Block Copy</strong>: Without Block Copy support, cloning a VM requires the server CPU to read and write each block of the VM consuming a lot of server CPU cycles. With Block Copy support VMware is able to instruct the array to perform a block copy of a region on the LUN corresponding to a VM. This offloads the task from the server&#8217;s CPU thereby saving CPU cycles for other operations. This is supported in ESX/ESXI 4.1 and later.</li>
<li><strong>SCSI Unmap</strong>: Provides the ability to return freed blocks in a zvol back to a pool. Previously the pool would only grow. This enables ESXi to destroy a VM and return the freed storage back to the zvol. ESXi 5.0 and later support this functionality.</li>
</ul>
<p>I&#8217;m covering the setting up of the iSCSI on the NexentaStor for vSphere in a separate post: Configuring iSCSI on Nexenta for vSphere 5.</p>
<p>&nbsp;</p>
<p><strong>vSphere 5 iSCSI Configuration</strong></p>
<p>Here are some screenshots of how I setup the iSCSI configuration on my vSphere 5 cluster. The first one is the iSCSI Initiator with two iSCSI network cards.</p>
<div id="attachment_796" class="wp-caption alignnone" style="width: 538px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/vSphere-iSCSI-Initiator-VMkernel-Port-Bindings.png"><img class="wp-image-796  " title="vSphere 5 iSCSI Initiator VMkernel Port Bindings" src="http://www.bussink.ch/wp-content/uploads//2012/04/vSphere-iSCSI-Initiator-VMkernel-Port-Bindings.png" alt="" width="528" height="407" /></a><p class="wp-caption-text">vSphere 5 iSCSI Initiator VMkernel Port Bindings</p></div>
<p>Then I presented four 601GB LUNs to my vSphere 5 Cluster. You can see in the following screenshot those four LUNs with LUN ID 1,2,3,4, while the small 4GB LUNs with ID 7,8,9 are the RDM LUNs I&#8217;m presenting for the I/O Analyzer tests. We see that the Hardware Acceleration is Supported.</p>
<p><a href="http://www.bussink.ch/wp-content/uploads//2012/04/vSphere-iSCSI-LUNs-presented.png"><img class=" wp-image-797  " title="NexentaStor iSCSI LUNs presented to vSphere" src="http://www.bussink.ch/wp-content/uploads//2012/04/vSphere-iSCSI-LUNs-presented.png" alt="" width="749" height="315" /></a></p>
<div class="mceTemp">
<dl id="attachment_797" class="wp-caption alignnone" style="width: 691px;">
<dd class="wp-caption-dd">NexentaStor iSCSI LUNs presented to vSphere</dd>
</dl>
</div>
<p>For each of these 601GB presented LUN, I modified the Path Selection from <strong>Most Recently Used (VMware)</strong> to <strong>Round Robin (VMware)</strong> and we see that all four paths are now Active (I/O) paths. iSCSI traffic is load balanced on both iSCSI network interfaces.</p>
<div id="attachment_798" class="wp-caption alignnone" style="width: 598px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/vSphere-iSCSI-LUNs-Path-Selection-Round-Robin.png"><img class=" wp-image-798  " title="vSphere 5 iSCSI LUNs Path Selection set to Round Robin (VMware)" src="http://www.bussink.ch/wp-content/uploads//2012/04/vSphere-iSCSI-LUNs-Path-Selection-Round-Robin.png" alt="" width="588" height="430" /></a><p class="wp-caption-text">vSphere 5 iSCSI LUNs Path Selection set to Round Robin (VMware)</p></div>
<p>&nbsp;</p>
<p>To see the load balancing across both iSCSI Network cards, I can quickly demo it with the IO Analyzer 1.1 doing a Max Throughput test (Max_Throughput.icf). I will show the results later in the post, but let&#8217;s first have a peak at the ESXTOP running from a vMA against my ESXi host. On this host, the two iSCSI vmkernel nics are vmk3 and vmk4.</p>
<div id="attachment_800" class="wp-caption alignnone" style="width: 648px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/IO-Analyzer-doing-Max-Throughput-test.-Load-balanced-iSCSI-Traffic-with-Nexenta-CLI.png"><img class=" wp-image-800  " title="IO Analyzer doing Max Throughput test. Load balanced iSCSI Traffic with Nexenta CLI" src="http://www.bussink.ch/wp-content/uploads//2012/04/IO-Analyzer-doing-Max-Throughput-test.-Load-balanced-iSCSI-Traffic-with-Nexenta-CLI.png" alt="" width="638" height="524" /></a><p class="wp-caption-text">IO Analyzer doing Max Throughput test. Load balanced iSCSI Traffic with Nexenta CLI</p></div>
<p>and with the vSphere 5 Client, we can see that the traffic is using both the physical vmnic4 and vmnic5.</p>
<p><a href="http://www.bussink.ch/wp-content/uploads//2012/04/IO-Analyzer-doing-Max-Throughput-test.-Load-balanced-iSCSI-Traffic-with-Nexenta.png"><img class=" wp-image-803 " title="IO Analyzer doing Max Throughput test. Load balanced iSCSI Traffic with Nexenta" src="http://www.bussink.ch/wp-content/uploads//2012/04/IO-Analyzer-doing-Max-Throughput-test.-Load-balanced-iSCSI-Traffic-with-Nexenta.png" alt="" width="599" height="451" /></a></p>
<div class="mceTemp">
<dl id="attachment_803" class="wp-caption alignnone" style="width: 609px;">
<dd class="wp-caption-dd">IO Analyzer doing Max Throughput test. Load balanced iSCSI Traffic with Nexenta</dd>
</dl>
</div>
<p>&nbsp;</p>
<p><strong>VMware&#8217;s Fling I/O Analyzer 1.1 benchmarking</strong></p>
<p>These are the test I ran on my infrastructure with <a title="VMware Fling IO Analyzer" href="http://labs.vmware.com/flings/io-analyzer" target="_blank">VMware&#8217;s Fling I/O Analyzer 1.1</a>. The Fling I/O Analyzer deploys a virtual appliance running Linux, with a WINE implementation of the iometer on it. I highly recommend that you watch the following <a title="vBrownBag - I/O Analyzer" href="http://professionalvmware.com/2012/03/brownbag-follow-up-io-analyzer/" target="_blank">I/O Analyzer vBrownBag</a> by Gabriel Chapman (<a href="http://twitter.com/@bacon_is_king">@bacon_is_king</a>) from March 2012 to understand how you can test your infrastructure.</p>
<p><strong>Maximum IOPS</strong></p>
<p>Here are the three screenshots of the IO Analyzer running MAX_IOPS.icf (512b block 0% Random &#8211; 100% Read) against my NexentaStor. While it gives nice stats, and I&#8217;m the proud owner of a 55015 IOPS storage array, it&#8217;s not representative of day to day workload that the NexentaStor gives me.</p>
<p class=" wp-image-807" title="IO Analyzer Max_IOPS Test from the vMA"> <a href="http://www.bussink.ch/wp-content/uploads//2012/04/MaxIOPS-Test-CLI.png"><img class=" wp-image-807 " title="IO Analyzer Max_IOPS Test from the vMA" src="http://www.bussink.ch/wp-content/uploads//2012/04/MaxIOPS-Test-CLI.png" alt="" width="624" height="522" /></a></p>
<div class="mceTemp">
<dl id="attachment_807" class="wp-caption alignnone" style="width: 626px;">
<dd class="wp-caption-dd">IO Analyzer Max_IOPS Test from the vMA</dd>
</dl>
</div>
<p>In the next graphic, the 2nd set of tests to the right is the Max IOPS Test. There is a spike. But we clearly see that when pushing the system with 512 Byte Sequential Read, the Throughput is down from the Max Throughput test I used earlier.</p>
<div id="attachment_808" class="wp-caption alignnone" style="width: 643px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/MAXIOPS-Results-GUI.png"><img class=" wp-image-808 " title="IO Analyzer Max_IOPS Test from the vSphere 5 Client" src="http://www.bussink.ch/wp-content/uploads//2012/04/MAXIOPS-Results-GUI.png" alt="" width="633" height="545" /></a><p class="wp-caption-text">IO Analyzer Max_IOPS Test from the vSphere 5 Client</p></div>
<p>And now lets the results in the IO Analyzer for the Max_IOPS.icf test. Result is 55015 Read IOPS.</p>
<div id="attachment_816" class="wp-caption alignnone" style="width: 847px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/MAXIOPS-Results.png"><img class=" wp-image-816    " title="IO Analyzer results for Max_IOPS.icf " src="http://www.bussink.ch/wp-content/uploads//2012/04/MAXIOPS-Results.png" alt="" width="837" height="118" /></a><p class="wp-caption-text">IO Analyzer results for Max_IOPS.icf</p></div>
<p>&nbsp;</p>
<p><strong>Maximum Write Throughput</strong></p>
<p>This test will measure the maximum Write Throughput to the NexentaStor server Using the Max Write Throughput test (512K, 100% Sequential, 100% Write)</p>
<p>This is the screenshot from the vMA showing the load balancing Write traffic.</p>
<div id="attachment_811" class="wp-caption alignnone" style="width: 630px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/MaxWriteThroughPut-CLI.png"><img class=" wp-image-811 " title="IO Analyzer running MaxWriteThroughPut from the vMA" src="http://www.bussink.ch/wp-content/uploads//2012/04/MaxWriteThroughPut-CLI.png" alt="" width="620" height="507" /></a><p class="wp-caption-text">IO Analyzer running MaxWriteThroughPut from the vMA</p></div>
<p>vSphere 5 Client Performance chart of the iSCSI Load Balancing (Network Chart)</p>
<div id="attachment_812" class="wp-caption alignnone" style="width: 630px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/MaxWriteThroughPut-vSphere-Network.png"><img class=" wp-image-812 " title="IO Analyzer running MaxWriteThroughPut (Network) from the vSphere 5 Client" src="http://www.bussink.ch/wp-content/uploads//2012/04/MaxWriteThroughPut-vSphere-Network.png" alt="" width="620" height="398" /></a><p class="wp-caption-text">IO Analyzer running MaxWriteThroughPut (Network) from the vSphere 5 Client</p></div>
<p>vSphere 5 Client Performance chart of the ESXi Write Rate (Disk Chart)</p>
<div id="attachment_813" class="wp-caption alignnone" style="width: 644px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/MaxWriteThroughPut-vSphere-Disk.png"><img class=" wp-image-813 " title="IO Analyzer running MaxWriteThroughPut (Disk from the vSphere 5 Client" src="http://www.bussink.ch/wp-content/uploads//2012/04/MaxWriteThroughPut-vSphere-Disk.png" alt="" width="634" height="357" /></a><p class="wp-caption-text">IO Analyzer running MaxWriteThroughPut (Disk from the vSphere 5 Client</p></div>
<p>Here is the view from the Nexenta General Status, where you have two speedometers. Notice that the CPU is running at 42% due to Compression being enabled on my ZVOL.</p>
<div id="attachment_814" class="wp-caption alignnone" style="width: 694px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/MaxWriteThroughPut-Nexenta.png"><img class=" wp-image-814 " title="Nexenta GUI Status when running the Max Write Throughput test" src="http://www.bussink.ch/wp-content/uploads//2012/04/MaxWriteThroughPut-Nexenta.png" alt="" width="684" height="176" /></a><p class="wp-caption-text">Nexenta GUI Status when running the Max Write Throughput test</p></div>
<p>And the result from the IO Accelerator for the Max Write Throughput Test. <strong>75 MB/s</strong> or 151 WriteIOPS.</p>
<div id="attachment_815" class="wp-caption alignnone" style="width: 867px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/MaxWriteThroughPut-Results.png"><img class=" wp-image-815    " title="IO Analyzer Results for Max Write Throughput with the Nexenta" src="http://www.bussink.ch/wp-content/uploads//2012/04/MaxWriteThroughPut-Results.png" alt="" width="857" height="119" /></a><p class="wp-caption-text">IO Analyzer Results for Max Write Throughput with the Nexenta</p></div>
<p>&nbsp;</p>
<p><strong>SQL Server Load</strong></p>
<p>Now le&#8217;ts look at the SQL Server 64K test run on the I/O Analyzer. The test uses 64K blocks</p>
<div id="attachment_833" class="wp-caption alignnone" style="width: 590px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/SQL-Server-64K-CLI.png"><img class=" wp-image-833 " title="IO Analyzer running SQL Server 64K test on Nexenta" src="http://www.bussink.ch/wp-content/uploads//2012/04/SQL-Server-64K-CLI.png" alt="" width="580" height="472" /></a><p class="wp-caption-text">IO Analyzer running SQL Server 64K test on Nexenta</p></div>
<p>Here is the vSphere 5 Client performance chart for the Disk. We see a nice 66% througput on Read and 33% on Write.</p>
<div id="attachment_834" class="wp-caption alignnone" style="width: 600px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/SQL-Server-64K-Disk.png"><img class=" wp-image-834" title="IO Analyzer running SQL Server 64K test on Nexenta (Disk Chart)" src="http://www.bussink.ch/wp-content/uploads//2012/04/SQL-Server-64K-Disk.png" alt="" width="590" height="314" /></a><p class="wp-caption-text">IO Analyzer running SQL Server 64K test on Nexenta (Disk Chart)</p></div>
<p>and the results giving us a nice 1354 total IOPS (893 ReadIOPS and 461 WriteIOPS).</p>
<div id="attachment_835" class="wp-caption alignnone" style="width: 863px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/SQL-Server-64K-Results.png"><img class=" wp-image-835" title="IO Analyzer SQL Server 64K Results" src="http://www.bussink.ch/wp-content/uploads//2012/04/SQL-Server-64K-Results.png" alt="" width="853" height="120" /></a><p class="wp-caption-text">IO Analyzer SQL Server 64K Results</p></div>
<p>&nbsp;</p>
<p><strong>Max IOPS from Three ESXi Hosts</strong></p>
<p>One final test with IO Analyzer is to run three concurrent tests across three ESXi host on the same NexentaStor server. I&#8217;m using the Max_IOPS test (512b block 0% Random &#8211; 100% Read). We will notice that running the same test from Three sources instead of a single ESXi host, will result in a lower total IOPS result. So instead of a 55015 IOPS, we are getting and average of 12800 IOPS per host or a total of 38400 IOPS. Not bad at all for a lab storage server.</p>
<div id="attachment_836" class="wp-caption alignnone" style="width: 877px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/3x-MaxIOPS-Config.png"><img class=" wp-image-836" title="3x IO Analyzer running on dedicated Host in parallel" src="http://www.bussink.ch/wp-content/uploads//2012/04/3x-MaxIOPS-Config.png" alt="" width="867" height="347" /></a><p class="wp-caption-text">3x IO Analyzer running on dedicated Host in parallel</p></div>
<p>and the results are</p>
<div id="attachment_837" class="wp-caption alignnone" style="width: 890px"><a href="http://www.bussink.ch/wp-content/uploads//2012/04/3x-MaxIOPS-Results.png"><img class=" wp-image-837" title="3x IO Analyzer running on dedicated Host in parallel Results" src="http://www.bussink.ch/wp-content/uploads//2012/04/3x-MaxIOPS-Results.png" alt="" width="880" height="145" /></a><p class="wp-caption-text">3x IO Analyzer running on dedicated Host in parallel Results</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Bonnie++ Benchmarking</strong></p>
<p>I installed the Bonnie++ benchmark took directly on the Nexenta server, and I ran it multiple times, with a 48GB data file (so it&#8217;s three times larger than the RAM of my server).</p>
<p>Here are my results, and I apologize already for the very wide formatting this next HTML table will do to this post.</p>
<table border="3" cellspacing="1" cellpadding="2" align="center">
<tbody>
<tr>
<td colspan="2"><strong>Version 1.96</strong></td>
<td colspan="6"><strong>Sequential Output</strong></td>
<td colspan="4"><strong>Sequential Input</strong></td>
<td rowspan="2" colspan="2"><strong>Random<br />
Seeks</strong></td>
<td colspan="1"></td>
<td colspan="6"><strong>Sequential Create</strong></td>
<td colspan="6"><strong>Random Create</strong></td>
</tr>
<tr>
<td></td>
<td>Size</td>
<td colspan="2">Per Char</td>
<td colspan="2">Block</td>
<td colspan="2">Rewrite</td>
<td colspan="2">Per Char</td>
<td colspan="2">Block</td>
<td>Num Files</td>
<td colspan="2">Create</td>
<td colspan="2">Read</td>
<td colspan="2">Delete</td>
<td colspan="2">Create</td>
<td colspan="2">Read</td>
<td colspan="2">Delete</td>
</tr>
<tr>
<td colspan="2"></td>
<td>K/sec</td>
<td>% CPU</td>
<td>K/sec</td>
<td>% CPU</td>
<td>K/sec</td>
<td>% CPU</td>
<td>K/sec</td>
<td>% CPU</td>
<td>K/sec</td>
<td>% CPU</td>
<td>/sec</td>
<td>% CPU</td>
<td colspan="1"></td>
<td>/sec</td>
<td>% CPU</td>
<td>/sec</td>
<td>% CPU</td>
<td>/sec</td>
<td>% CPU</td>
<td>/sec</td>
<td>% CPU</td>
<td>/sec</td>
<td>% CPU</td>
<td>/sec</td>
<td>% CPU</td>
</tr>
<tr>
<td rowspan="2" bgcolor="#FFFFFF">Nexenta2 HP ML150 G5 Tank&amp;Compression&amp;Cache&amp;Log</td>
<td bgcolor="#FFFFFF">48G</td>
<td bgcolor="#9D6200">98</td>
<td bgcolor="#718E00">99</td>
<td bgcolor="#976800">381672</td>
<td bgcolor="#699600">85</td>
<td bgcolor="#936C00">262061</td>
<td bgcolor="#6D9200">82</td>
<td bgcolor="#926D00">254</td>
<td bgcolor="#6A9500">99</td>
<td bgcolor="#877800">597024</td>
<td bgcolor="#679800">69</td>
<td bgcolor="#CF3000">6300</td>
<td bgcolor="#8B7400">125</td>
<td bgcolor="#FFFFFF">16</td>
<td bgcolor="#A05F00">7013</td>
<td bgcolor="#679800">42</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#926D00">12665</td>
<td bgcolor="#6A9500">60</td>
<td bgcolor="#8F7000">12612</td>
<td bgcolor="#669900">62</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#986700">14078</td>
<td bgcolor="#639C00">56</td>
</tr>
<tr>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#51AE00">85847us</td>
<td colspan="2" bgcolor="#768900">298ms</td>
<td colspan="2" bgcolor="#11EE00">400ms</td>
<td colspan="2" bgcolor="#01FE00">39001us</td>
<td colspan="2" bgcolor="#A85700">121ms</td>
<td colspan="2" bgcolor="#F50A00">114ms</td>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#629D00">25709us</td>
<td colspan="2" bgcolor="#FF0000">795us</td>
<td colspan="2" bgcolor="#04FB00">250us</td>
<td colspan="2" bgcolor="#6B9400">16031us</td>
<td colspan="2" bgcolor="#17E800">30us</td>
<td colspan="2" bgcolor="#C53A00">323us</td>
</tr>
<tr>
<td rowspan="2" bgcolor="#FFFFFF">Nexenta2 HP ML150 G5 Tank&amp;Compression&amp;Cache&amp;Log</td>
<td bgcolor="#FFFFFF">48G</td>
<td bgcolor="#926D00">101</td>
<td bgcolor="#669900">99</td>
<td bgcolor="#966900">383428</td>
<td bgcolor="#6B9400">86</td>
<td bgcolor="#8F7000">265270</td>
<td bgcolor="#6D9200">83</td>
<td bgcolor="#986700">250</td>
<td bgcolor="#689700">97</td>
<td bgcolor="#887700">595142</td>
<td bgcolor="#689700">69</td>
<td bgcolor="#B24D00">7034</td>
<td bgcolor="#926D00">142</td>
<td bgcolor="#FFFFFF">16</td>
<td bgcolor="#7C8300">7742</td>
<td bgcolor="#649B00">46</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#8D7200">12861</td>
<td bgcolor="#649B00">60</td>
<td bgcolor="#837C00">13023</td>
<td bgcolor="#6C9300">65</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#9D6200">13884</td>
<td bgcolor="#689700">56</td>
</tr>
<tr>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#629D00">90145us</td>
<td colspan="2" bgcolor="#53AC00">270ms</td>
<td colspan="2" bgcolor="#11EE00">401ms</td>
<td colspan="2" bgcolor="#916E00">170ms</td>
<td colspan="2" bgcolor="#FB0400">145ms</td>
<td colspan="2" bgcolor="#28D700">53417us</td>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#639C00">25757us</td>
<td colspan="2" bgcolor="#03FC00">118us</td>
<td colspan="2" bgcolor="#13EC00">330us</td>
<td colspan="2" bgcolor="#6B9400">16036us</td>
<td colspan="2" bgcolor="#1CE300">32us</td>
<td colspan="2" bgcolor="#FF0000">365us</td>
</tr>
<tr>
<td rowspan="2" bgcolor="#FFFFFF">Nexenta2 HP ML150 G5 Tank&amp;Compression&amp;Cache&amp;Log</td>
<td bgcolor="#FFFFFF">48G</td>
<td bgcolor="#926D00">101</td>
<td bgcolor="#669900">99</td>
<td bgcolor="#996600">380309</td>
<td bgcolor="#6A9500">85</td>
<td bgcolor="#9A6500">256859</td>
<td bgcolor="#6B9400">80</td>
<td bgcolor="#986700">250</td>
<td bgcolor="#6C9300">98</td>
<td bgcolor="#897600">593337</td>
<td bgcolor="#6A9500">69</td>
<td bgcolor="#3CC300">10018</td>
<td bgcolor="#33CC00">154</td>
<td bgcolor="#FFFFFF">16</td>
<td bgcolor="#926D00">7290</td>
<td bgcolor="#6A9500">44</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#936C00">12650</td>
<td bgcolor="#708F00">61</td>
<td bgcolor="#986700">12324</td>
<td bgcolor="#6F9000">62</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#986700">14074</td>
<td bgcolor="#6A9500">57</td>
</tr>
<tr>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#6A9500">92352us</td>
<td colspan="2" bgcolor="#34CB00">245ms</td>
<td colspan="2" bgcolor="#0FF000">394ms</td>
<td colspan="2" bgcolor="#956A00">173ms</td>
<td colspan="2" bgcolor="#2BD400">85135us</td>
<td colspan="2" bgcolor="#47B800">62798us</td>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#728D00">26885us</td>
<td colspan="2" bgcolor="#03FC00">118us</td>
<td colspan="2" bgcolor="#FF0000">1564us</td>
<td colspan="2" bgcolor="#6D9200">16120us</td>
<td colspan="2" bgcolor="#689700">63us</td>
<td colspan="2" bgcolor="#887700">279us</td>
</tr>
<tr>
<td rowspan="2" bgcolor="#FFFFFF">Nexenta2 HP ML150 G5 Tank&amp;Compression&amp;Cache&amp;Log</td>
<td bgcolor="#FFFFFF">48G</td>
<td bgcolor="#8F7000">102</td>
<td bgcolor="#639C00">99</td>
<td bgcolor="#996600">379416</td>
<td bgcolor="#6B9400">85</td>
<td bgcolor="#9D6200"><strong>255191</strong></td>
<td bgcolor="#699600">79</td>
<td bgcolor="#9B6400">248</td>
<td bgcolor="#6B9400">97</td>
<td bgcolor="#926D00">579578</td>
<td bgcolor="#6D9200">68</td>
<td bgcolor="#FF0000"><strong>5067</strong></td>
<td bgcolor="#A15E00">106</td>
<td bgcolor="#FFFFFF">16</td>
<td bgcolor="#9B6400">7103</td>
<td bgcolor="#6B9400">43</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#8F7000">12781</td>
<td bgcolor="#6C9300">61</td>
<td bgcolor="#7D8200">13253</td>
<td bgcolor="#6B9400">66</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#8D7200">14503</td>
<td bgcolor="#6B9400">59</td>
</tr>
<tr>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#669900">91351us</td>
<td colspan="2" bgcolor="#1BE400">225ms</td>
<td colspan="2" bgcolor="#FF0000">1413ms</td>
<td colspan="2" bgcolor="#FF0000">270ms</td>
<td colspan="2" bgcolor="#58A700">98217us</td>
<td colspan="2" bgcolor="#00FF00">41929us</td>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#639C00">25746us</td>
<td colspan="2" bgcolor="#04FB00">120us</td>
<td colspan="2" bgcolor="#01FE00">233us</td>
<td colspan="2" bgcolor="#699600">15943us</td>
<td colspan="2" bgcolor="#FF0000">124us</td>
<td colspan="2" bgcolor="#40BF00">227us</td>
</tr>
<tr>
<td rowspan="2" bgcolor="#FFFFFF">Nexenta2 HP ML150 G5 Tank&amp;Compression&amp;Cache&amp;Log</td>
<td bgcolor="#FFFFFF">48G</td>
<td bgcolor="#926D00">101</td>
<td bgcolor="#669900">99</td>
<td bgcolor="#926D00">387046</td>
<td bgcolor="#689700">86</td>
<td bgcolor="#9A6500">257276</td>
<td bgcolor="#6B9400">80</td>
<td bgcolor="#916E00">255</td>
<td bgcolor="#689700">99</td>
<td bgcolor="#9F6000">557928</td>
<td bgcolor="#6A9500">65</td>
<td bgcolor="#00FF00">11517</td>
<td bgcolor="#44BB00">187</td>
<td bgcolor="#FFFFFF">16</td>
<td bgcolor="#9D6200">7070</td>
<td bgcolor="#649B00">42</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#936C00">12651</td>
<td bgcolor="#708F00">61</td>
<td bgcolor="#837C00">13029</td>
<td bgcolor="#669900">64</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#9E6100">13838</td>
<td bgcolor="#6A9500">56</td>
</tr>
<tr>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#728D00">94237us</td>
<td colspan="2" bgcolor="#D02F00">370ms</td>
<td colspan="2" bgcolor="#00FF00">332ms</td>
<td colspan="2" bgcolor="#00FF00">38815us</td>
<td colspan="2" bgcolor="#3DC200">90411us</td>
<td colspan="2" bgcolor="#11EE00">46669us</td>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#639C00">25788us</td>
<td colspan="2" bgcolor="#00FF00">110us</td>
<td colspan="2" bgcolor="#01FE00">234us</td>
<td colspan="2" bgcolor="#689700">15918us</td>
<td colspan="2" bgcolor="#00FF00">21us</td>
<td colspan="2" bgcolor="#639C00">252us</td>
</tr>
<tr>
<td rowspan="2" bgcolor="#FFFFFF">Nexenta2 HP ML150 G5 Tank&amp;Compression&amp;Cache&amp;Log</td>
<td bgcolor="#FFFFFF">48G</td>
<td bgcolor="#926D00">101</td>
<td bgcolor="#669900">99</td>
<td bgcolor="#976800"><strong>381530</strong></td>
<td bgcolor="#699600">85</td>
<td bgcolor="#996600">258287</td>
<td bgcolor="#699600">80</td>
<td bgcolor="#916E00">255</td>
<td bgcolor="#689700">99</td>
<td bgcolor="#A45B00"><strong>550162</strong></td>
<td bgcolor="#6A9500">64</td>
<td bgcolor="#19E600">10903</td>
<td bgcolor="#47B800">179</td>
<td bgcolor="#FFFFFF">16</td>
<td bgcolor="#916E00">7314</td>
<td bgcolor="#718E00">45</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#936C00">12640</td>
<td bgcolor="#6A9500">60</td>
<td bgcolor="#A55A00">11857</td>
<td bgcolor="#6B9400">59</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#9F6000">13789</td>
<td bgcolor="#718E00">57</td>
</tr>
<tr>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#857A00">99227us</td>
<td colspan="2" bgcolor="#31CE00">243ms</td>
<td colspan="2" bgcolor="#10EF00">398ms</td>
<td colspan="2" bgcolor="#0EF100">51192us</td>
<td colspan="2" bgcolor="#03FC00">73688us</td>
<td colspan="2" bgcolor="#0BF400">45083us</td>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#6E9100">26538us</td>
<td colspan="2" bgcolor="#0CF300">140us</td>
<td colspan="2" bgcolor="#01FE00">234us</td>
<td colspan="2" bgcolor="#689700">15924us</td>
<td colspan="2" bgcolor="#37C800">43us</td>
<td colspan="2" bgcolor="#A75800">301us</td>
</tr>
<tr>
<td rowspan="2" bgcolor="#FFFFFF">Nexenta2 HP ML150 G5 Tank&amp;Compression&amp;Cache&amp;Log</td>
<td bgcolor="#FFFFFF">48G</td>
<td bgcolor="#926D00">101</td>
<td bgcolor="#669900">99</td>
<td bgcolor="#976800">381556</td>
<td bgcolor="#6D9200">86</td>
<td bgcolor="#996600">258073</td>
<td bgcolor="#699600">80</td>
<td bgcolor="#946B00">253</td>
<td bgcolor="#6B9400">99</td>
<td bgcolor="#9D6200">561755</td>
<td bgcolor="#689700">65</td>
<td bgcolor="#FC0300">5144</td>
<td bgcolor="#A25D00">108</td>
<td bgcolor="#FFFFFF">16</td>
<td bgcolor="#AA5500">6805</td>
<td bgcolor="#699600">41</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#946B00">12625</td>
<td bgcolor="#6B9400">60</td>
<td bgcolor="#897600">12844</td>
<td bgcolor="#669900">63</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#847B00">14847</td>
<td bgcolor="#639C00">59</td>
</tr>
<tr>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#669900">91342us</td>
<td colspan="2" bgcolor="#6D9200">291ms</td>
<td colspan="2" bgcolor="#15EA00">418ms</td>
<td colspan="2" bgcolor="#31CE00">82618us</td>
<td colspan="2" bgcolor="#887700">112ms</td>
<td colspan="2" bgcolor="#2DD200">54898us</td>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#639C00">25738us</td>
<td colspan="2" bgcolor="#02FD00">113us</td>
<td colspan="2" bgcolor="#1CE300">375us</td>
<td colspan="2" bgcolor="#689700">15928us</td>
<td colspan="2" bgcolor="#0FF000">27us</td>
<td colspan="2" bgcolor="#22DD00">205us</td>
</tr>
<tr>
<td rowspan="2" bgcolor="#FFFFFF">Nexenta2 HP ML150 G5 Tank&amp;Compression&amp;Cache&amp;Log</td>
<td bgcolor="#FFFFFF">48G</td>
<td bgcolor="#926D00">101</td>
<td bgcolor="#669900">99</td>
<td bgcolor="#966900">383434</td>
<td bgcolor="#679800">85</td>
<td bgcolor="#976800">259550</td>
<td bgcolor="#679800">80</td>
<td bgcolor="#946B00">253</td>
<td bgcolor="#6B9400">99</td>
<td bgcolor="#A25D00">553803</td>
<td bgcolor="#6D9200">65</td>
<td bgcolor="#E01F00">5869</td>
<td bgcolor="#AC5300">126</td>
<td bgcolor="#FFFFFF">16</td>
<td bgcolor="#AE5100">6724</td>
<td bgcolor="#649B00">40</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#9F6000">12236</td>
<td bgcolor="#708F00">59</td>
<td bgcolor="#AD5200">11574</td>
<td bgcolor="#679800">57</td>
<td>+++++</td>
<td>+++</td>
<td bgcolor="#A65900">13511</td>
<td bgcolor="#659A00">54</td>
</tr>
<tr>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#669900">91320us</td>
<td colspan="2" bgcolor="#B34C00">347ms</td>
<td colspan="2" bgcolor="#0DF200">383ms</td>
<td colspan="2" bgcolor="#37C800">87805us</td>
<td colspan="2" bgcolor="#7A8500">108ms</td>
<td colspan="2" bgcolor="#FF0000">117ms</td>
<td colspan="1" bgcolor="#FFFFFF">Latency</td>
<td colspan="2" bgcolor="#639C00">25753us</td>
<td colspan="2" bgcolor="#02FD00">113us</td>
<td colspan="2" bgcolor="#00FF00">232us</td>
<td colspan="2" bgcolor="#689700">15908us</td>
<td colspan="2" bgcolor="#55AA00">55us</td>
<td colspan="2" bgcolor="#00FF00">181us</td>
</tr>
</tbody>
</table>
<p>The test was run on a ZVOL that had the Compression enabled, It was backed with a Intel SSD 520 60GB disk for the L2ARC Cache and a Intel SSD 520 60GB disk for the zlog.</p>
<p>There are some spikes here and there. but in average, the Bonnie++ is telling me that local storage access is capable of</p>
<ul>
<li>Sequential Block Reads: 381530K/sec (381MB/sec)</li>
<li>Sequential Block Writes: 550162K/sec (550MB/sec)</li>
<li>Rewrite: 255191K/sec (255MB/sec)</li>
<li>Random Seeks: 5067/sec</li>
</ul>
<p>&nbsp;</p>
<p><strong>Additional Resources:</strong></p>
<p>In the past week, <strong>Chris Wahl</strong> over at <a title="Wahl Network" href="http://wahlnetwork.com/" target="_blank">http://wahlnetwork.com/</a> has writen four excellent articles about using NFS, Load Balancing and the Nexenta Community Edition server. I highly recommend you look up these articles to see how you can improve your Nexenta experience</p>
<ol>
<li><a title="NFS on vSphere – A Few Misconceptions" href="http://wahlnetwork.com/2012/04/19/nfs-on-vsphere-a-few-misconceptions/" target="_blank">Misconceptions on how NFS behaves on vSphere</a> by Chris Wahl</li>
<li>Load balancing NFS deep dive in both a <a title="NFS on vSphere – Technical Deep Dive on Same Subnet Storage Traffic" href="http://wahlnetwork.com/2012/04/23/nfs-on-vsphere-technical-deep-dive-on-same-subnet-storage-traffic/" target="_blank">single subnet</a> by Chris Wahl</li>
<li>Load balancing NFS deep dive with <a title="NFS on vSphere – Technical Deep Dive on Multiple Subnet Storage Traffic" href="http://wahlnetwork.com/2012/04/27/nfs-on-vsphere-technical-deep-dive-on-multiple-subnet-storage-traffic/" target="_blank">multiple subnet</a> by Chris Wahl</li>
<li>and <a href="http://wahlnetwork.com/2012/04/30/nfs-on-vsphere-technical-deep-dive-on-load-based-teaming/" target="_blank">NFS on vSphere &#8211; Technical Deep Dive on Load Based Teaming</a> by Chris Wahl</li>
</ol>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bussink.ch/?feed=rss2&#038;p=759</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>vCenter VM Hardware Upgrade results in Hung vCenter services</title>
		<link>http://www.bussink.ch/?p=728</link>
		<comments>http://www.bussink.ch/?p=728#comments</comments>
		<pubDate>Fri, 23 Mar 2012 16:21:39 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VM Version]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.bussink.ch/?p=728</guid>
		<description><![CDATA[Yesterday, while upgrading a new vCenter virtual machine that was created on an ESX 3.5 host, to a new ESXi 5.0 host, we found ourself with a VM that was refusing to start any services. The virtual machine is running Windows Server 2008 R2 SP1 vCenter 5.0 Update 1 SQL Server 2008 R2 SP1 (10.50.2792) [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, while upgrading a new vCenter virtual machine that was created on an ESX 3.5 host, to a new ESXi 5.0 host, we found ourself with a VM that was refusing to start any services.</p>
<p>The virtual machine is running</p>
<ul>
<li>Windows Server 2008 R2 SP1</li>
<li>vCenter 5.0 Update 1</li>
<li>SQL Server 2008 R2 SP1 (10.50.2792)</li>
<li>and the whole suite of vCenter services (vum, syslog, dump, web service).</li>
</ul>
<p>The virtual machine was created  on an ESX 3.5 (Build 604481) and was configured as a VM Version 4.  The target platform was a new ESXi 5.0 Update 1 host (Build 623860). So we cold migrated the vCenter to the new system, via a shared VMFS3 datastore.</p>
<p>At this point, the virtual machine was running fine as a VM Version 4 on the ESXi 5.0 Update 1.</p>
<p>I then started the upgrade process, with the installation of the VMware Tools, to ensure I had all the proper drivers in the VM. I then powered off the virtual machine, and upgraded the hardware to VM Version 8.</p>
<div id="attachment_740" class="wp-caption alignnone" style="width: 375px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/vcenter_vm_version_8.jpg"><img class="size-full wp-image-740" title="vCenter - VM Version 8" src="http://www.bussink.ch/wp-content/uploads//2012/03/vcenter_vm_version_8.jpg" alt="" width="365" height="348" /></a><p class="wp-caption-text">vCenter - VM Version 8</p></div>
<p>The system restarted but there was an issue with the various services. I could not open the network settings, I could not uninstall the VMware Tools as the Windows Installer service was not running. My data and database log disks where not visible, I could not open the disk management control panel.</p>
<p>After much troubleshooting, restarting the virtual machine in safe mode and various other tests, my colleague found this very interesting article <a title="Windows Server 2008 computers hang during startup while &quot;applying computer settings&quot; and services configured to start automatically fail to start" href="http://support.microsoft.com/kb/2004121" target="_blank">Windows Server 2008 computer hang during startup while &#8220;applying computer settings&#8221; and services configured to start automatically fail to start http://support.microsoft.com/kb/2004121 </a></p>
<p>The following two paragraphs are taken from the Microsoft Support Article.</p>
<p><em><strong>Cause</strong></em></p>
<p><em>The problems described in the symptoms section occur because of a lock on the Service Control Manager (SCM) database.  As a result of the lock, none of the services can access the SCM database to initialize their service start requests. To verify that a Windows computer is affected by the problem discussed in this article, run the following command from the command Prompt:</em></p>
<blockquote dir="ltr"><div class='et-box et-shadow'>
					<div class='et-box-content'><strong>sc querylock </strong></p>
<p><em>The output below would indicate that the SCM database is locked: </em></p>
<p>QueryServiceLockstatus &#8211; Success</p>
<p>IsLocked : True</p>
<p>LockOwner : .\NT Service Control Manager</p>
<p>LockDuration : 1090 (seconds since acquired)</p></div></div></blockquote>
<h4><em><strong>Let me fix it myself</strong></em></h4>
<p><em>you can modify the behavior of HTTP.SYS to depend on another service being started first.  To do this, perform the following steps:</em><br />
<div class='et-box et-shadow'>
					<div class='et-box-content'><ul>
<li><em>Open Registry Editor</em></li>
<li><em>Navigate to <strong>HKLM\SYSTEM\CurrentControlSet\Services\HTTP</strong> and create the following Multi-string value: <strong>DependOnService</strong></em></li>
<li><em>Double click the new <strong>DependOnService</strong> entry</em></li>
<li><em>Type <strong>CRYPTSVC</strong> in the Value Data field and click <strong>OK.</strong></em></li>
<li><em>Reboot the server</em></li>
</ul></div></div></p>
<p><em><strong>NOTE: </strong>Please ensure that you make a backup of the registry / affected keys before making any changes to your system.</em></p>
<p>After having made the registry modification and a final restart, the virtual machine was working again as expect. This was a very strange and bizarre error I have never heard someone run into. So here it is resumed, and may it be usefull someday to someone else&#8230;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bussink.ch/?feed=rss2&#038;p=728</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad and &#8220;Could not activate cellular data network&#8221; error message</title>
		<link>http://www.bussink.ch/?p=718</link>
		<comments>http://www.bussink.ch/?p=718#comments</comments>
		<pubDate>Tue, 20 Mar 2012 11:31:18 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[3G]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://www.bussink.ch/?p=718</guid>
		<description><![CDATA[I finished the migration from an iPad 3G to the iPad3 4G using iTunes. Everything worked great. I only had to re-enter my passwords for the email accounts, WiFi, and other online services credentials. But this morning, once I was out of range of my house, the WiFi dropped and the iPad3 tried to reach [...]]]></description>
			<content:encoded><![CDATA[<p>I finished the migration from an iPad 3G to the iPad3 4G using iTunes. Everything worked great. I only had to re-enter my passwords for the email accounts, WiFi, and other online services credentials.</p>
<p>But this morning, once I was out of range of my house, the WiFi dropped and the iPad3 tried to reach my telecom 3G network. My Carrier network (Swisscom) was showing up as 3G but I kept receiving the &#8220;<strong>Could not activate cellular data network</strong>&#8220;.</p>
<p>1) On my initial migration from the iPad1 I used the Reset Network settings described below.</p>
<p><del>The trick is to go to the <strong>Settings</strong> \ <strong>General</strong> \ <strong>Reset</strong> tab, and to select the <strong>Reset Network Settings</strong>. This will cause the iPad3 to reboot, but then the Carrier 3G network will work.</del></p>
<p><a href="http://www.bussink.ch/wp-content/uploads//2012/03/ipad_reset_network_settings.jpg"><img class=" wp-image-725  " title="iPad Reset Network Settings" src="http://www.bussink.ch/wp-content/uploads//2012/03/ipad_reset_network_settings.jpg" alt="" width="544" height="363" /></a></p>
<div class="mceTemp">
<dl id="attachment_725" class="wp-caption alignnone" style="width: 554px;">
<dd class="wp-caption-dd">iPad Reset Network Settings</dd>
</dl>
</div>
<p>&nbsp;</p>
<p>2) But I&#8217;m not going wipe my Network settings again and again. Only a<strong> Power-Off Power-On of the iPad currently fixes this issue</strong>. We all hope Apple will fix this with an iOS 5.1.1 release.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bussink.ch/?feed=rss2&#038;p=718</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Upgrading vCloud Director Cell from RHEL 5.6 to RHEL 5.7</title>
		<link>http://www.bussink.ch/?p=697</link>
		<comments>http://www.bussink.ch/?p=697#comments</comments>
		<pubDate>Fri, 16 Mar 2012 10:27:33 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Red Hat Enterprise Linux]]></category>
		<category><![CDATA[vCloud Director]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.bussink.ch/?p=697</guid>
		<description><![CDATA[With the release of vCloud Director 1.5.1 last night, the operating system for the vCloud Director Cell now supports Red Hat Enterprise Linux 5.7 (x86_64). If you are running your current cell with Red Hat Enterprise Linux 5.6, and you want to upgrade to the most recent release that is supported, here are the steps. [...]]]></description>
			<content:encoded><![CDATA[<p>With the release of <a title="vCloud Director" href="http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vcloud_director/1_0" target="_blank">vCloud Director 1.5.1</a> last night, the operating system for the vCloud Director Cell now supports Red Hat Enterprise Linux 5.7 (x86_64). If you are running your current cell with Red Hat Enterprise Linux 5.6, and you want to upgrade to the most recent release that is supported, here are the steps. Yet, you have to <span style="text-decoration: underline;">be careful</span> not to upgrade to Red Hat Enterprise Linux 5.8, which as been release the 21st February 2012. RHEL 5.8 is not on the official supported list by VMware.</p>
<p>In the following screenshots we will use the yum update tool to make sure we upgrade to RHEL 5.7 only.</p>
<p>The first screenshot shows the current kernel 2.6.18-308.el5 for RHEL 5.6, and the configuration of the yum.conf file that has an explicit <strong>exclude=redhat-release-5Server*</strong> rule. We also see that we now have the redhat-release-5Server-5.6.0.3.</p>
<div id="attachment_698" class="wp-caption alignnone" style="width: 519px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/vcd-cell-rhel56-settings.png"><img class=" wp-image-698   " title="Current vCD-Cell settings for RHEL 5.6" src="http://www.bussink.ch/wp-content/uploads//2012/03/vcd-cell-rhel56-settings.png" alt="" width="509" height="279" /></a><p class="wp-caption-text">Current vCD-Cell settings for RHEL 5.6</p></div>
<p>We will now modify the /etc/yum.conf so that we can download the redhat-release-5Server-5.7.0.3.x86_64.rpm file. We comment out the exclude file, and we install immediately the release file for RHEL 5.7</p>
<div id="attachment_699" class="wp-caption alignnone" style="width: 527px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/vcd-cell-upgrading-rhel56-to-rhel57-release.png"><img class=" wp-image-699   " title="vCD-Cell upgrading from RHEL 5.6 to RHEL 5.7" src="http://www.bussink.ch/wp-content/uploads//2012/03/vcd-cell-upgrading-rhel56-to-rhel57-release.png" alt="" width="517" height="575" /></a><p class="wp-caption-text">vCD-Cell upgrading from RHEL 5.6 to RHEL 5.7</p></div>
<p>Now it&#8217;s important to immedialty renable the exclusion of the redhat-release-5Server, so that you will not by accident upgrade to RHEL 5.8</p>
<div id="attachment_700" class="wp-caption alignnone" style="width: 447px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/vcd-cell-yum.conf-modification-to-not-upgrade-to-RHEL-5.8.png"><img class="size-full wp-image-700" title="Ensure that yum cannot retrieve RHEL 5.8" src="http://www.bussink.ch/wp-content/uploads//2012/03/vcd-cell-yum.conf-modification-to-not-upgrade-to-RHEL-5.8.png" alt="" width="437" height="351" /></a><p class="wp-caption-text">Ensure that yum cannot retrieve RHEL 5.8</p></div>
<p>Now you can run the yum upgrade to your own pace, and be sure that you are staying on the supported release of Red Hat Enterprise Linux for the vCloud Director 1.5.1</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bussink.ch/?feed=rss2&#038;p=697</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>vCenter Operations Manager 5 vApp Start Order settings</title>
		<link>http://www.bussink.ch/?p=690</link>
		<comments>http://www.bussink.ch/?p=690#comments</comments>
		<pubDate>Fri, 16 Mar 2012 09:43:33 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vApp]]></category>
		<category><![CDATA[vCenter Operations Manager 5.0]]></category>

		<guid isPermaLink="false">http://www.bussink.ch/?p=690</guid>
		<description><![CDATA[When you deploy the vCenter Operations Manager 5.0 vApp in a vSphere 5 Cluster, the vApp import creates a few settings. Here is the screenshot of the default start order. I&#8217;m adding this post, because in the past few days I have had to do a Storage vMotion of the Analytics VM, and I had [...]]]></description>
			<content:encoded><![CDATA[<p>When you deploy the vCenter Operations Manager 5.0 vApp in a vSphere 5 Cluster, the vApp import creates a few settings. Here is the screenshot of the default start order.</p>
<div id="attachment_691" class="wp-caption alignnone" style="width: 570px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/vCOPS5-vApp-Start-Order-Settings.png"><img class=" wp-image-691 " title="vCenter Operations Manager 5.0 vApp Start Order Settings" src="http://www.bussink.ch/wp-content/uploads//2012/03/vCOPS5-vApp-Start-Order-Settings.png" alt="" width="560" height="446" /></a><p class="wp-caption-text">vCenter Operations Manager 5.0 vApp Start Order Settings</p></div>
<p>I&#8217;m adding this post, because in the past few days I have had to do a Storage vMotion of the Analytics VM, and I had to temporarily remove it from the vApp. Once I had migrated the Analytics VM, I insert the VM back in the vApp. But this changed the default start order, and the Analytics VM had default settings, such as Shutdown Action operation:PowerOff, and a different Startup sequence. You can see the default settings in the screenshot below, when I add another VM to the vApp.</p>
<div id="attachment_692" class="wp-caption alignnone" style="width: 571px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/vCOPS5-vApp-Start-Order-Settings-you-do-not-want.png"><img class=" wp-image-692 " title="vApp Start Order Settings you do NOT want" src="http://www.bussink.ch/wp-content/uploads//2012/03/vCOPS5-vApp-Start-Order-Settings-you-do-not-want.png" alt="" width="561" height="447" /></a><p class="wp-caption-text">vApp Start Order Settings you do NOT want</p></div>
<p>So make sure that your vApp Startup settings are properly configured when you tamper with the vApp.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bussink.ch/?feed=rss2&#038;p=690</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows Server 8 Beta (Server Core) AD-DS install inside Workstation 2012 Tech Preview</title>
		<link>http://www.bussink.ch/?p=671</link>
		<comments>http://www.bussink.ch/?p=671#comments</comments>
		<pubDate>Thu, 15 Mar 2012 22:22:50 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Windows Server 8]]></category>
		<category><![CDATA[Windows Server 8 Beta]]></category>
		<category><![CDATA[Workstation 2012 Tech Preview]]></category>

		<guid isPermaLink="false">http://www.bussink.ch/?p=671</guid>
		<description><![CDATA[I&#8217;ve spend a frustrating day with Workstation Tech Preview 2012 and with Windows Server 8 Beta en_windows_server_8_beta_x64_dvd_810648.iso I&#8217;ve create numerous virtual machines named DC1, as I&#8217;m trying to use the Microsoft Windows Server “8” Beta Base Configuration Test Lab Guide (TLG) that is located at http://go.microsoft.com/fwlink/p/?LinkId=236358. I have used these VMs with the VMware Tools [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spend a frustrating day with Workstation Tech Preview 2012 and with Windows Server 8 Beta en_windows_server_8_beta_x64_dvd_810648.iso</p>
<p>I&#8217;ve create numerous virtual machines named DC1, as I&#8217;m trying to use the Microsoft Windows Server “8” Beta Base Configuration Test Lab Guide (TLG) that is located at <a href="http://go.microsoft.com/fwlink/p/?LinkId=236358">http://go.microsoft.com/fwlink/p/?LinkId=236358</a>.</p>
<p>I have used these VMs with the VMware Tools from the TechPreview, without the VMware Tools, and with a Custom implementation without the SVGA graphic drivers. I&#8217;ve attemped my test on both the Windows Server 8 Beta with GUI and in Server Core.</p>
<div id="attachment_684" class="wp-caption alignnone" style="width: 516px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/bug.jpg"><img class=" wp-image-684  " title="Workstation 2012 Tech Preview and Windows Server 8 Beta AD-DS install blank screen bug" src="http://www.bussink.ch/wp-content/uploads//2012/03/bug.jpg" alt="" width="506" height="131" /></a><p class="wp-caption-text">Workstation 2012 Tech Preview and Windows Server 8 Beta AD-DS install blank screen bug</p></div>
<p>As soon as I try to install and configure the Active Director Domain Services, the VM needs to reboot. Once it has rebooted, it goes in a blank screen, and there is nothing I can do. Workstation thinks the VM is running, but there is no response via the GUI in the VM, no response to ping traffic to the VM or RDP.</p>
<p>I installed Workstation Technology Preview 2012 on two different computers and re-downloaded the en_windows_server_8_beta_x64_dvd_810648.iso from Microsoft twice. I just can proceed with using the Workstation Technology Preview 2012 to test Windows Server 8 Domain controllers.</p>
<p>I made a small video of the process, which is appended to this article.</p>
<p><a href="http://www.youtube.com/watch?v=6qvptvC0Usc">Windows Server 8 Beta (Server Core) AD-DS install inside Workstation 2012 Tech Preview </a></p>
<p>In addition it&#8217;s available on Youtube at <a title="Windows Server 8 Beta (Server Core) AD-DS install inside Workstation 2012 Tech Preview " href="http://www.youtube.com/watch?v=6qvptvC0Usc" target="_blank">http://www.youtube.com/watch?v=6qvptvC0Usc</a></p>
<p>Here I&#8217;m trying to install the Active Directory Domain Services on a Windows Server 8 Beta running inside the VMware Workstation 2012 Tech Preview. The install of the AD-DS and DNS service work fine, but when the domain controller reboots, there is no GUI left. In this VM the VMware Tools where not installed.</p>
<div>
<div>
<div>
<p> The commands used in this video are</p>
</div>
</div>
</div>
<div>
<div>
<div>
<div dir="ltr">
<p><a href="http://www.youtube.com/watch?v=6qvptvC0Usc#">00:03</a> ipconfig</p>
<p><a href="http://www.youtube.com/watch?v=6qvptvC0Usc#">00:08</a> sconfig</p>
<p><a href="http://www.youtube.com/watch?v=6qvptvC0Usc#">00:30</a> Install-WindowsFeature AD-Domain-Services -IncludeManagementTools</p>
<p><a href="http://www.youtube.com/watch?v=6qvptvC0Usc#">01:55</a> Install-ADDSForest -DomainName corp.contoso.com</p>
<p>Once the newly promoted domain controller reboots, the GUI does not come back, and the IP addresse cannot be pinged anymore.</p>
</div>
</div>
</div>
</div>
<p><a href="http://www.bussink.ch/wp-content/uploads//2012/03/Workstation-2012-Tech-Preview-Blank-Screen.jpg"><img class="size-full wp-image-686" title="Workstation 2012 Tech Preview Blank Screen" src="http://www.bussink.ch/wp-content/uploads//2012/03/Workstation-2012-Tech-Preview-Blank-Screen.jpg" alt="" width="493" height="332" /></a></p>
<div class="mceTemp">
<dl id="attachment_686" class="wp-caption alignnone" style="width: 503px;">
<dd class="wp-caption-dd">Workstation 2012 Tech Preview Blank Screen</dd>
</dl>
</div>
<p>&nbsp;</p>
<p><strong>Update:</strong> Well in VMware Workstation 2012 Tech Preview, if you select the a Windows 7 version or Windows Server 2008 version instead of the Windows 8 setting, your V will NOT go black screen on the dcpromo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bussink.ch/?feed=rss2&#038;p=671</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Disable RHEL 5.6 Release Upgrade on vCloud Director 1.5 Cell</title>
		<link>http://www.bussink.ch/?p=564</link>
		<comments>http://www.bussink.ch/?p=564#comments</comments>
		<pubDate>Mon, 05 Mar 2012 09:58:35 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Red Hat Enterprise Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[vCloud Director]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.bussink.ch/?p=564</guid>
		<description><![CDATA[The VMware vCloud Director 1.5 runs on the Red Hat Enterprise Linux 5.6 platform. It is supported by VMware only on version 5.6 of the Red Hat Enterprise Linux. If you are not careful and try to patch the operating system on the vCloud Director 1.5 system, you could find yourself with a RHEL 5.7 [...]]]></description>
			<content:encoded><![CDATA[<p>The VMware vCloud Director 1.5 runs on the Red Hat Enterprise Linux 5.6 platform. It is supported by VMware only on version 5.6 of the Red Hat Enterprise Linux. If you are not careful and try to patch the operating system on the vCloud Director 1.5 system, you could find yourself with a RHEL 5.7 or RHEL 5.8 Release, which would cause vCloud Director to break.</p>
<p>To ensure that your vCloud Director 1.5 stays on the Red Hat Enterprise Linux 5.6 Release and only download patches for the operating system, we need to add a single line to the /etc/yum.conf file.</p>
<div id="attachment_570" class="wp-caption alignnone" style="width: 497px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/Disable-RHEL-5.6-Release-Upgrade.png"><img class="size-full wp-image-570" title="Disable RHEL 5.6 Release Upgrade" src="http://www.bussink.ch/wp-content/uploads//2012/03/Disable-RHEL-5.6-Release-Upgrade.png" alt="" width="487" height="391" /></a><p class="wp-caption-text">Disable RHEL 5.6 Release Upgrade</p></div>
<p>I simply add the following line in /etc/yum.conf</p>
<p><code>exclude=redhat-release-5Server*</code></p>
<p>This will exclude all newer Red Hat Releases from getting installed by yum &amp; the Red Hat Network.</p>
<p>I hope this will save you so unneeded trouble.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bussink.ch/?feed=rss2&#038;p=564</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Maintenance Plan for SQL Server 2008 R2 for vCenter/UpdateMgr/vCloud</title>
		<link>http://www.bussink.ch/?p=495</link>
		<comments>http://www.bussink.ch/?p=495#comments</comments>
		<pubDate>Sun, 04 Mar 2012 21:47:18 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Maintenance Plan]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>
		<category><![CDATA[Transact-SQL]]></category>
		<category><![CDATA[vCenter Database]]></category>

		<guid isPermaLink="false">http://www.bussink.ch/?p=495</guid>
		<description><![CDATA[I shall start by saying that I&#8217;m by no way a Database Administrator, but over the years I have picked up some knowledge and I have talked to a few guys that have more Knowledge on the topic to learn small tips &#38; tricks. I have created in previous posts how to quickly create a [...]]]></description>
			<content:encoded><![CDATA[<p>I shall start by saying that I&#8217;m by no way a Database Administrator, but over the years I have picked up some knowledge and I have talked to a few guys that have more Knowledge on the topic to learn small tips &amp; tricks. I have created in previous posts how to quickly create a <a title="Create vCenter database quickly with Transact-SQL " href="http://www.bussink.ch/?p=317" target="_blank">vCenter Database using Transact-SQL scripts</a>, and how to create a <a title="vCloud Director 1.5 database creation using Transact-SQL " href="http://www.bussink.ch/?p=200" target="_blank">vCloud Director database using Transact-SQL script</a>. It this small article, I will just resume how to create some Maintenance Plans to ensure that your vCenter/UpdateManager/vCloudDirector databases are backed up. I&#8217;m not using the Full Recovery model in SQL Server 2008 R2 for my lab and my clients, so these maintenance jobs should be fine. I believe that if you have a large enough environment that is critical to your day-to-day operations, you should use the Full Recovery model, but you would then also have a real Database Administrator onsite that could manage, nurture and keep your databases in proper running condition.</p>
<p>I have seem my share of transaction log databases for VMware vCenter go haywire, such that the Roll-Up jobs are not running anymore (Check your History Log) and the transaction log databases explodes. My personal worse situation was last year at a client that didn&#8217;t check their database and the transaction log database run out of storage on the disk when it passed the 90GB. There are procedures on the VMware Knowledge Base on how to compact and roll-up these huge transaction database, but it takes a lot of time. In most cases, we cut out losses and just purge the transactions logs.</p>
<p>Coming back to my Maintenance plan. We will create to sets of database maintenance plans, one for the System Dababases and one for the User databases. I need to thank my friend <a title="Eric Krejci" href="http://ekrejci.wordpress.com" target="_blank">Eric Krejci</a> for showing me how to separate the two maintenance plans.</p>
<p><strong>System Maintenance Plan</strong></p>
<p>We need to connect to our database server using the SQL Server Management Studio program. And from the Management folder, select the Maintenance Plan and start the Wizard.</p>
<div id="attachment_497" class="wp-caption alignnone" style="width: 519px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/01-Start-Maintenance-Plan-Wizard.jpg"><img class=" wp-image-497  " title="Start Maintenance Plan Wizard" src="http://www.bussink.ch/wp-content/uploads//2012/03/01-Start-Maintenance-Plan-Wizard.jpg" alt="" width="509" height="402" /></a><p class="wp-caption-text">Start Maintenance Plan Wizard</p></div>
<p>The System databases is comprised of the Master, Model, MSDB and TempDB databases. These database don&#8217;t change much, but I will select to make a Twice Weekly maintenance and Backup Plan. Please note that the MSDB database contains all the Stored Procedures for your vCenter &amp; Update Manager database.</p>
<div id="attachment_500" class="wp-caption alignnone" style="width: 502px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/02-Define-Plan.jpg"><img class="size-full wp-image-500" title="Define Maintenace Plan" src="http://www.bussink.ch/wp-content/uploads//2012/03/02-Define-Plan.jpg" alt="" width="492" height="439" /></a><p class="wp-caption-text">Define Maintenace Plan</p></div>
<p>And let&#8217;s Schedule the Plan for two runs per week on Tuesday evening and Friday evening.</p>
<div id="attachment_501" class="wp-caption alignnone" style="width: 524px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/03-Twice-Weekly.jpg"><img class=" wp-image-501  " title="Job Schedule Properties" src="http://www.bussink.ch/wp-content/uploads//2012/03/03-Twice-Weekly.jpg" alt="" width="514" height="449" /></a><p class="wp-caption-text">Job Schedule Properties</p></div>
<p>You can select any other pattern that you wish.I for one also use VMware Data Recovery 2.0 for making daily backup of my virtual machines, so I make sure that my  VMware Data Recovery schedule does not run on my databases between 23:00 and 01:00.</p>
<p>Now we can select the various Maintenance Tasks we want to run.</p>
<div id="attachment_504" class="wp-caption alignnone" style="width: 501px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/04-Select-Maintenance-Tasks.jpg"><img class="size-full wp-image-504" title="Select Maintenance Tasks" src="http://www.bussink.ch/wp-content/uploads//2012/03/04-Select-Maintenance-Tasks.jpg" alt="" width="491" height="440" /></a><p class="wp-caption-text">Select Maintenance Tasks</p></div>
<p>I have selected</p>
<ul>
<li>Check Database Integrity</li>
<li>Shrink Database</li>
<li>Update Statistics</li>
<li>Clean Up History</li>
<li>Back Up Database (Full)</li>
<li>Maintenance Cleanup Task.</li>
</ul>
<p>And I have changed their Order around on Select Maintenance Task Order step.</p>
<div id="attachment_505" class="wp-caption alignnone" style="width: 500px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/05-Select-Maintenance-Task-Order.jpg"><img class="size-full wp-image-505" title="Select Maintenance Task Order" src="http://www.bussink.ch/wp-content/uploads//2012/03/05-Select-Maintenance-Task-Order.jpg" alt="" width="490" height="438" /></a><p class="wp-caption-text">Select Maintenance Task Order</p></div>
<p>So we run</p>
<ol>
<li>Check Database Integrity</li>
<li>Update Statistics</li>
<li>Back Up Database (Full)</li>
<li>Shrink Database</li>
<li>Maintenance Cleanup Task</li>
<li>Clean Up History</li>
</ol>
<p>Now let&#8217;s configure the Maintenance Tasks &#8211; <strong>Define Check Database Integrity</strong>. I have selected for this first Maintenance Plan the System Databases.</p>
<div id="attachment_506" class="wp-caption alignnone" style="width: 554px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/05.1-Define-Database-Check-Integrity-Task.jpg"><img class="size-full wp-image-506" title="Define Database Check Integrity Task - System Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/05.1-Define-Database-Check-Integrity-Task.jpg" alt="" width="544" height="523" /></a><p class="wp-caption-text">Define Database Check Integrity Task - System Databases</p></div>
<p>We now <strong>Define Update Statistics Task</strong> for the System Databases</p>
<div id="attachment_507" class="wp-caption alignnone" style="width: 536px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/05.2-Define-Update-Statistics-Task-System-Databases.jpg"><img class="size-full wp-image-507" title="Define Update Statistics Task - System Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/05.2-Define-Update-Statistics-Task-System-Databases.jpg" alt="" width="526" height="539" /></a><p class="wp-caption-text">Define Update Statistics Task - System Databases</p></div>
<p>The next step is the definition of the back up job. <strong>Define Back Up Database (Full) Task</strong>. Please note that we have added the option to create a sub-directory for each database, and to verify the backup integrity. I have also modified the Backup File Extention to BAK_FULL_SYS so that we can make better use and more flexible backup cleanup maintenance job later in this article.</p>
<div id="attachment_508" class="wp-caption alignnone" style="width: 502px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/05.3-Define-Back-Up-Database-Full-Task.jpg"><img class="size-full wp-image-508" title="Define Back Up Database (Full) Task - System Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/05.3-Define-Back-Up-Database-Full-Task.jpg" alt="" width="492" height="788" /></a><p class="wp-caption-text">Define Back Up Database (Full) Task - System Databases</p></div>
<p>There is always a good discussion if you have enough Compute power to create a compressed backup or not.</p>
<p>Now that we have a good full backup for the system databases we can do some database shrinkage. <strong>Define Shrink Database Task</strong>.</p>
<div id="attachment_509" class="wp-caption alignnone" style="width: 503px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/05.4-Define-Shrink-Database-Task-System-Databases.jpg"><img class="size-full wp-image-509" title="Define Shrink Database Task - System Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/05.4-Define-Shrink-Database-Task-System-Databases.jpg" alt="" width="493" height="440" /></a><p class="wp-caption-text">Define Shrink Database Task - System Databases</p></div>
<p>Now remember that we modified the Backup File Extension earlier. We we will now <strong>Define Maintenance Cleanup Task</strong> to erase all System Databases backups that are older than two weeks, and we will use the various sub-folders for the backups.</p>
<div id="attachment_510" class="wp-caption alignnone" style="width: 502px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/05.5-Define-Maintenance-Cleanup-Task.jpg"><img class="size-full wp-image-510" title="Define Maintenance Cleanup Task - System Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/05.5-Define-Maintenance-Cleanup-Task.jpg" alt="" width="492" height="677" /></a><p class="wp-caption-text">Define Maintenance Cleanup Task - System Databases</p></div>
<p>And  last we Define History Cleanup Task for the whole SQL Server 2008 R2 instance. I did not modify the settings of this tab. This Maintenance Task will cleanup the Backup and Restory History, the SQL Server Agent job history and the Maintenance Plan History.</p>
<div id="attachment_511" class="wp-caption alignnone" style="width: 502px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/05.6-Define-History-Cleanup-Task.jpg"><img class="size-full wp-image-511" title="Define History Cleanup Task" src="http://www.bussink.ch/wp-content/uploads//2012/03/05.6-Define-History-Cleanup-Task.jpg" alt="" width="492" height="440" /></a><p class="wp-caption-text">Define History Cleanup Task</p></div>
<p>We will also save a copy the Maintenance Plan actions to a text file in the same directory as where the backup files are stored.</p>
<div id="attachment_512" class="wp-caption alignnone" style="width: 502px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/05.7-Select-Report-Option-for-Maintenance-Plan.jpg"><img class="size-full wp-image-512" title="Select Report Option for Maintenance Plan" src="http://www.bussink.ch/wp-content/uploads//2012/03/05.7-Select-Report-Option-for-Maintenance-Plan.jpg" alt="" width="492" height="438" /></a><p class="wp-caption-text">Select Report Option for Maintenance Plan</p></div>
<p>We now have a resume of the Maintenance Plan we can complete.</p>
<div id="attachment_513" class="wp-caption alignnone" style="width: 560px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/05.8-Maintenance-Plan-Wizard-Complete.jpg"><img class="size-full wp-image-513" title="Maintenance Plan Wizard Complete" src="http://www.bussink.ch/wp-content/uploads//2012/03/05.8-Maintenance-Plan-Wizard-Complete.jpg" alt="" width="550" height="807" /></a><p class="wp-caption-text">Maintenance Plan Wizard Complete</p></div>
<p>We see the new job in the Maintenance Plans section and the new job in the SQL Server Agent</p>
<div id="attachment_516" class="wp-caption alignnone" style="width: 363px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/06-Maintenance-Plan.jpg"><img class="size-full wp-image-516" title="Maintenance Plans &amp; SQL Agent Jobs" src="http://www.bussink.ch/wp-content/uploads//2012/03/06-Maintenance-Plan.jpg" alt="" width="353" height="420" /></a><p class="wp-caption-text">Maintenance Plans &amp; SQL Agent Jobs</p></div>
<p>&nbsp;</p>
<p><strong>User Maintenace Plan</strong></p>
<p>We now attack the User Databases Maintenance Plan. We start our Maintenance Plan Wizard and start the definition of the plan properties. I&#8217;m creating a Maintenance Plan for the Users Databases that will create a Differential Back Up every day, and a Full Back Up on Friday.</p>
<div id="attachment_517" class="wp-caption alignnone" style="width: 502px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.0-Users-Database-Maintenance-Plan-Properties.jpg"><img class="size-full wp-image-517" title="Users Database Maintenance Plan Properties" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.0-Users-Database-Maintenance-Plan-Properties.jpg" alt="" width="492" height="441" /></a><p class="wp-caption-text">Users Database Maintenance Plan Properties</p></div>
<p>I modify the Schedule so that the main part of this Maintenance Plan including the Full Back Up happens each Friday. I will then later add a subplan to do the Differential plan each day.</p>
<div id="attachment_518" class="wp-caption alignnone" style="width: 492px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.1-Job-Schedule.jpg"><img class=" wp-image-518  " title="User Databases Maintenance Plan - Job Schedule" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.1-Job-Schedule.jpg" alt="" width="482" height="419" /></a><p class="wp-caption-text">User Databases Maintenance Plan - Job Schedule</p></div>
<p>We now add the various Maintenance Tasks for our Users Databases.</p>
<div id="attachment_519" class="wp-caption alignnone" style="width: 503px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.2-Select-Maintenance-Tasks.jpg"><img class="size-full wp-image-519" title="Select Maintenance Tasks" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.2-Select-Maintenance-Tasks.jpg" alt="" width="493" height="439" /></a><p class="wp-caption-text">Select Maintenance Tasks</p></div>
<p>I have selected</p>
<ul>
<li>Check Database Integrity</li>
<li>Shrink Database</li>
<li>Rebuild Index</li>
<li>Update Statistics</li>
<li>Back Up Database (Full)</li>
<li>Maintenance Cleanup Task</li>
</ul>
<p>And we Select Maintenance Task Order to move down the Shrink Database task after the Back Up Database (Full).</p>
<div id="attachment_520" class="wp-caption alignnone" style="width: 502px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.3-Select-Maintenance-Task-Order.jpg"><img class="size-full wp-image-520" title="Select Maintenance Task Order" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.3-Select-Maintenance-Task-Order.jpg" alt="" width="492" height="441" /></a><p class="wp-caption-text">Select Maintenance Task Order</p></div>
<p>So we run</p>
<ol>
<li>Check Database Integrity</li>
<li>Rebuild Index</li>
<li>Update Statistics</li>
<li>Back Up Database (Full)</li>
<li>Shrink Database</li>
<li>Maintenance Cleanup Task</li>
</ol>
<p>The first Task to run is the <strong>Database Check Integrity Task</strong> where we select the Users Databases</p>
<div id="attachment_521" class="wp-caption alignnone" style="width: 552px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.4-Database-Check-Integrity-Task-Users-Databases.jpg"><img class="size-full wp-image-521" title="Database Check Integrity Task - Users Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.4-Database-Check-Integrity-Task-Users-Databases.jpg" alt="" width="542" height="523" /></a><p class="wp-caption-text">Database Check Integrity Task - User Databases</p></div>
<p>We then <strong>Rebuild Index Task</strong> for the Users Databases</p>
<div id="attachment_523" class="wp-caption alignnone" style="width: 551px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.5-Rebuild-Index-Task-Users-Databases.jpg"><img class="size-full wp-image-523" title="Rebuild Index Task - Users Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.5-Rebuild-Index-Task-Users-Databases.jpg" alt="" width="541" height="581" /></a><p class="wp-caption-text">Rebuild Index Task - User Databases</p></div>
<p>We <strong>Define Update Statistics Task</strong> for the User Databases.</p>
<div id="attachment_524" class="wp-caption alignnone" style="width: 536px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.6-Update-Statistics-Task-User-Databases.jpg"><img class="size-full wp-image-524" title="Update Statistics Task - User Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.6-Update-Statistics-Task-User-Databases.jpg" alt="" width="526" height="538" /></a><p class="wp-caption-text">Update Statistics Task - User Databases</p></div>
<p>We now do the<strong> Back Up Database (Full) Task</strong> for the User Databases. Note that we use sub-directories for each database, we changed teh Backup File extionsion to <strong>BAK_FULL_USR</strong> and we verify the integrity of the backup.</p>
<div id="attachment_525" class="wp-caption alignnone" style="width: 503px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.7-Back-Up-Database-Full-Task.jpg"><img class="size-full wp-image-525" title="Back Up Database (Full) Task - User Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.7-Back-Up-Database-Full-Task.jpg" alt="" width="493" height="789" /></a><p class="wp-caption-text">Back Up Database (Full) Task - User Databases</p></div>
<p>Once we have the Full Back Up of the User Databases we can launch the <strong>Shrink Database Task</strong>.</p>
<div id="attachment_526" class="wp-caption alignnone" style="width: 503px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.8-Shrink-Database-Task-User-Databases.jpg"><img class="size-full wp-image-526" title="Shrink Database Task - User Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.8-Shrink-Database-Task-User-Databases.jpg" alt="" width="493" height="442" /></a><p class="wp-caption-text">Shrink Database Task - User Databases</p></div>
<p>We now setup the <strong>Maintenance Cleanup Task</strong> for the User Databases so that we keep only the last two weekly full backups.</p>
<div id="attachment_527" class="wp-caption alignnone" style="width: 502px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.9-Maintenance-Cleanup-Task-User-Databases.jpg"><img class="size-full wp-image-527" title="Maintenance Cleanup Task - User Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.9-Maintenance-Cleanup-Task-User-Databases.jpg" alt="" width="492" height="679" /></a><p class="wp-caption-text">Maintenance Cleanup Task - User Databases</p></div>
<p>And we save the Maintenance Plan Report to the job_history directory.</p>
<div id="attachment_528" class="wp-caption alignnone" style="width: 501px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.10-Report-Options.jpg"><img class="size-full wp-image-528" title="Maintenance Plan Report Path" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.10-Report-Options.jpg" alt="" width="491" height="439" /></a><p class="wp-caption-text">Maintenance Plan Report Path</p></div>
<p>We now have a complete Maintenace Plan ready.</p>
<div id="attachment_531" class="wp-caption alignnone" style="width: 528px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.11-Maintenance-Plan-Wizard-Complete.jpg"><img class="size-full wp-image-531" title="User Databases Maintenance Plan Wizard Complete" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.11-Maintenance-Plan-Wizard-Complete.jpg" alt="" width="518" height="832" /></a><p class="wp-caption-text">User Databases Maintenance Plan Wizard Complete</p></div>
<p>This creates the new Maintenance Plan and the SQL Agent Job.</p>
<div id="attachment_532" class="wp-caption alignnone" style="width: 360px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/07.12-Maintenance-Plan-SQL-Agent-Jobs.jpg"><img class="size-full wp-image-532" title="Maintenance Plan &amp; SQL Agent Jobs" src="http://www.bussink.ch/wp-content/uploads//2012/03/07.12-Maintenance-Plan-SQL-Agent-Jobs.jpg" alt="" width="350" height="444" /></a><p class="wp-caption-text">Maintenance Plan &amp; SQL Agent Jobs</p></div>
<p>We now select to<strong> Modify</strong> the User Databases &#8211; MaintenancePlan</p>
<div id="attachment_535" class="wp-caption alignnone" style="width: 430px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/08-Modify-User-Databases-Maintenance-Plan-Rename-Subplan_1-to-Subplan_Weekly1.jpg"><img class="size-full wp-image-535" title="Modify User Databases Maintenance Plan" src="http://www.bussink.ch/wp-content/uploads//2012/03/08-Modify-User-Databases-Maintenance-Plan-Rename-Subplan_1-to-Subplan_Weekly1.jpg" alt="" width="420" height="295" /></a><p class="wp-caption-text">Modify User Databases Maintenance Plan</p></div>
<p>And let&#8217;s quickly rename the Subplan_1 to Subplan_Weekly in the Subplan menu.</p>
<div id="attachment_536" class="wp-caption alignnone" style="width: 383px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/09-Rename-Subplan_1-to-Subplan_Weekly.jpg"><img class="size-full wp-image-536" title="Rename Subplan_1 to Subplan_Weekly" src="http://www.bussink.ch/wp-content/uploads//2012/03/09-Rename-Subplan_1-to-Subplan_Weekly.jpg" alt="" width="373" height="169" /></a><p class="wp-caption-text">Rename Subplan_1 to Subplan_Weekly</p></div>
<p>So we can now Add Subplan to this Maintenance Task</p>
<div id="attachment_537" class="wp-caption alignnone" style="width: 491px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/10-Add-Subplan_Daily.jpg"><img class="size-full wp-image-537" title="Add Subplan_Daily" src="http://www.bussink.ch/wp-content/uploads//2012/03/10-Add-Subplan_Daily.jpg" alt="" width="481" height="391" /></a><p class="wp-caption-text">Add Subplan_Daily</p></div>
<p>And we edit the Job Schedule to run everyday but Friday at the same time.</p>
<div id="attachment_538" class="wp-caption alignnone" style="width: 475px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/11-Job-Schedule-Subplan_Daily.jpg"><img class=" wp-image-538 " title="Job Schedule Subplan_Daily" src="http://www.bussink.ch/wp-content/uploads//2012/03/11-Job-Schedule-Subplan_Daily.jpg" alt="" width="465" height="407" /></a><p class="wp-caption-text">Job Schedule Subplan_Daily</p></div>
<p>We will now drag and drop the <strong>Back Up Database Task</strong> into the <strong>Subplan_Daily</strong></p>
<div id="attachment_539" class="wp-caption alignnone" style="width: 485px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/12-Drag-Back-Up-Database-Task-in-Subplan_Daily.jpg"><img class=" wp-image-539  " title="Back Up Database Task in Subplan_Daily" src="http://www.bussink.ch/wp-content/uploads//2012/03/12-Drag-Back-Up-Database-Task-in-Subplan_Daily.jpg" alt="" width="475" height="270" /></a><p class="wp-caption-text">Back Up Database Task in Subplan_Daily</p></div>
<p>We now edit the Back Up Database Task</p>
<div id="attachment_542" class="wp-caption alignnone" style="width: 371px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/13-Edit-Back-Up-Database-Task.jpg"><img class="size-full wp-image-542" title="Edit Back Up Database Task" src="http://www.bussink.ch/wp-content/uploads//2012/03/13-Edit-Back-Up-Database-Task.jpg" alt="" width="361" height="379" /></a><p class="wp-caption-text">Edit Back Up Database Task</p></div>
<p>And we modify the <strong>Back Up Database Task for Differential Jobs</strong>, we also make sure the backups are written in their correct directories, that they are verified, and that the Backup File Extension is <strong>BAK_DIFF_USR</strong>.</p>
<div id="attachment_543" class="wp-caption alignnone" style="width: 603px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/14-Back-Up-Database-Task-User-Databases-Differential-Job.jpg"><img class="size-full wp-image-543" title="Back Up Database Task - User Databases - Differential Job" src="http://www.bussink.ch/wp-content/uploads//2012/03/14-Back-Up-Database-Task-User-Databases-Differential-Job.jpg" alt="" width="593" height="625" /></a><p class="wp-caption-text">Back Up Database Task - User Databases - Differential Job</p></div>
<p>We now add the <strong>Maintenance Cleanup Task</strong> to this Subplan_Daily job and Linked it to the Back Up Database Task.</p>
<div id="attachment_545" class="wp-caption alignnone" style="width: 564px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/15-Add-Maintenance-Cleanup-Task.jpg"><img class=" wp-image-545 " title="Add Maintenance Cleanup Task" src="http://www.bussink.ch/wp-content/uploads//2012/03/15-Add-Maintenance-Cleanup-Task.jpg" alt="" width="554" height="259" /></a><p class="wp-caption-text">Add Maintenance Cleanup Task</p></div>
<p>And we will edit the <strong>Maintenance Cleanup Task</strong> so that we erase the old BAK_DIFF_USR files.</p>
<div id="attachment_546" class="wp-caption alignnone" style="width: 486px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/16-Maintenance-Cleanup-Task.jpg"><img class="size-full wp-image-546" title="Maintenance Cleanup Task" src="http://www.bussink.ch/wp-content/uploads//2012/03/16-Maintenance-Cleanup-Task.jpg" alt="" width="476" height="557" /></a><p class="wp-caption-text">Maintenance Cleanup Task 1 - Backup Files</p></div>
<p>We add a 2nd <strong>Maintenance Cleanup Task</strong> to clean up the old text reports that are older than 4 weeks.</p>
<div id="attachment_547" class="wp-caption alignnone" style="width: 525px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/17-Maintenance-Cleanup-Task-Text-Reports.jpg"><img class=" wp-image-547 " title="Maintenance Cleanup Task Text Reports" src="http://www.bussink.ch/wp-content/uploads//2012/03/17-Maintenance-Cleanup-Task-Text-Reports.jpg" alt="" width="515" height="393" /></a><p class="wp-caption-text">Maintenance Cleanup Task 2 - Text Reports</p></div>
<p>We are now done with the User Databases Maintenance Plan. Do NOT forget to SAVE the Maintenace Plan before quiting it.</p>
<p>We now have two specific<strong> SQL Server Agent Jobs</strong>.</p>
<div id="attachment_549" class="wp-caption alignnone" style="width: 365px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/18-SQL-Server-Agent-Jobs.jpg"><img class="size-full wp-image-549 " title="SQL Server Agent Jobs" src="http://www.bussink.ch/wp-content/uploads//2012/03/18-SQL-Server-Agent-Jobs.jpg" alt="" width="355" height="374" /></a><p class="wp-caption-text">SQL Server Agent Jobs</p></div>
<p>&nbsp;</p>
<p>We will now run the <strong>Maintenace Plan Jobs</strong>. We start with the System Database job using Start Job at Step&#8230;</p>
<div id="attachment_550" class="wp-caption alignnone" style="width: 504px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/19-Running-Maintenace-Plan-Jobs-System-Databases.jpg"><img class="size-full wp-image-550" title="Running Maintenace Plan Jobs - System Databases" src="http://www.bussink.ch/wp-content/uploads//2012/03/19-Running-Maintenace-Plan-Jobs-System-Databases.jpg" alt="" width="494" height="285" /></a><p class="wp-caption-text">Running Maintenace Plan Jobs - System Databases</p></div>
<p>And for the User Databases we will first start the Full Back Up Task, before doing the Differential Back Up Task.</p>
<div id="attachment_552" class="wp-caption alignnone" style="width: 526px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/20-Running-Maintenance-Plan-User-Database-Subplan_Weekly.jpg"><img class="size-full wp-image-552" title="Running Maintenance Plan - User Database - Subplan_Weekly" src="http://www.bussink.ch/wp-content/uploads//2012/03/20-Running-Maintenance-Plan-User-Database-Subplan_Weekly.jpg" alt="" width="516" height="238" /></a><p class="wp-caption-text">Running Maintenance Plan - User Database - Subplan_Weekly</p></div>
<div id="attachment_553" class="wp-caption alignnone" style="width: 513px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/21-Running-Maintenance-Plan-User-Database-Subplan_Daily.jpg"><img class="size-full wp-image-553" title="Running Maintenance Plan - User Database - Subplan_Daily" src="http://www.bussink.ch/wp-content/uploads//2012/03/21-Running-Maintenance-Plan-User-Database-Subplan_Daily.jpg" alt="" width="503" height="128" /></a><p class="wp-caption-text">Running Maintenance Plan - User Database - Subplan_Daily</p></div>
<p>When we check the Backup folder we now have a full back of the System Databases and User Databases (Full and Differential).</p>
<div id="attachment_554" class="wp-caption alignnone" style="width: 571px"><a href="http://www.bussink.ch/wp-content/uploads//2012/03/22-vCenter-Server-Backup-Full-and-Diff.jpg"><img class=" wp-image-554   " title="vCenter Server Backup Full and Diff" src="http://www.bussink.ch/wp-content/uploads//2012/03/22-vCenter-Server-Backup-Full-and-Diff.jpg" alt="" width="561" height="196" /></a><p class="wp-caption-text">vCenter Server Backup Full and Diff</p></div>
<p>There you are with a Maintenance Plan for the SQL Server 2008 R2 running your vCenter, Update Manager and vCloud Director databases.</p>
<p>I hope this will help you.</p>
<p>I have to thank once more my friend <a title="Eric Krejci" href="http://ekrejci.wordpress.com" target="_blank">Eric Krejci</a> as we have discussed this topic extensively a few months ago and he already <a title="vCenter MSSQL DBs Backup and Maintenance" href="http://ekrejci.wordpress.com/2011/12/23/vcenter-mssql-dbs-backup-and-maintenance/" target="_blank">wrote the same article on vCenter and SQL Backup and Maintenance</a> on his web blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bussink.ch/?feed=rss2&#038;p=495</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Generating SSL Certificates for vCenter Operations Manager 5.0</title>
		<link>http://www.bussink.ch/?p=458</link>
		<comments>http://www.bussink.ch/?p=458#comments</comments>
		<pubDate>Wed, 22 Feb 2012 21:55:54 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[PKI]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[SSL Certificates]]></category>
		<category><![CDATA[vCenter Operations Manager]]></category>
		<category><![CDATA[vCOPS]]></category>

		<guid isPermaLink="false">http://www.bussink.ch/?p=458</guid>
		<description><![CDATA[Generating SSL Certificates for usage with vCenter, Update Manager and the ESXi host is one of those tasks that keeps being push away. Accepting the self-signed certificates is fine in most situation, but getting validated certificates means a whole lot of pop-ups disappear and surprise surprise, I have also found that the vCenter Operations Manager [...]]]></description>
			<content:encoded><![CDATA[<p>Generating SSL Certificates for usage with vCenter, Update Manager and the ESXi host is one of those tasks that keeps being push away. Accepting the self-signed certificates is fine in most situation, but getting validated certificates means a whole lot of pop-ups disappear and surprise surprise, I have also found that the vCenter Operations Manager feels smother and faster.</p>
<p>I recently followed <a href="http://www.wooditwork.com/" target="_blank">Julian Wood&#8217;s</a> excellent series on how to <a title="vSphere 5 Certificates: 3 – Replacing the default vCenter 5 Server Certificate" href="http://www.wooditwork.com/?p=2674" target="_blank">sign certificates for vCenter</a> and Update Manager. Generating the SSL Certificates for vCenter Operations Manager goes along the same lines, but there are changed and maybe some configuration changes on the vCOPS UI-VM.</p>
<p>Julian recommends to install the latest 64-bit version of the <a title="OpenSSL for Windows" href="http://www.slproweb.com/products/Win32OpenSSL.html" target="_blank">OpenSSL Windows Binaries</a>. Retrieve the <a title="Win64 OpenSSL 1.0.1 Light" href="http://www.slproweb.com/download/Win64OpenSSL_Light-1_0_1.exe" target="_blank">Win64 OpenSSL v1.0.1 Light</a> for Windows tool on the vCenter with it&#8217;s per-requisite<a href="http://www.microsoft.com/downloads/details.aspx?familyid=bd2a6171-e2d6-4230-b809-9a8d7548c1b6" target="_blank"> Visual C++ 2008 Redistributables (x64)</a> from Microsoft.com</p>
<p>Once the OpenSSL v1.0.1 Light is installed, we can add an System Environment Variable, so that the OpenSSL tool can find the path to the OpenSSL configuration file. Because I&#8217;m going to use the OpenSSL tool on the vCenter to generate the SSL Certificates for various VMware appliance, I need the variable to stay permanent. From the Control Panel on the vCenter, I add a new System Environment Variable like follows.</p>
<div id="attachment_584" class="wp-caption alignnone" style="width: 420px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/Adding-the-OPENSSL_CONF-Environment-varialbe.jpg"><img class="size-full wp-image-584" title="Adding the OPENSSL_CONF environment variable in the Control Panel" src="http://www.bussink.ch/wp-content/uploads//2012/02/Adding-the-OPENSSL_CONF-Environment-varialbe.jpg" alt="" width="410" height="473" /></a><p class="wp-caption-text">Adding the OPENSSL_CONF environment variable in the Control Panel</p></div>
<p>So that the next time you start the Command Prompt to generate OpenSSL Certificates, the variable is already present.</p>
<div id="attachment_585" class="wp-caption alignnone" style="width: 446px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/Checking-OPENSSL_CONF-variable.jpg"><img class=" wp-image-585 " title="Checking OPENSSL_CONF variable" src="http://www.bussink.ch/wp-content/uploads//2012/02/Checking-OPENSSL_CONF-variable.jpg" alt="" width="436" height="100" /></a><p class="wp-caption-text">Checking OPENSSL_CONF variable</p></div>
<p>One of the best information I learned from Julian&#8217;s document is the modification of the openssl.cfg to add the option to use two <strong>subjectAltName for the DNS resolution</strong>. This allows the user to get a valid certificate when you connect to the vCenter Operations Manager 5.0, using the Fully Qualified Domain Name or simply the short name of the server.</p>
<p>To use this feature you will need to edit the C:\OpenSSL-Win64\bin\openssl.cfg and add &#8220;req_extensions = v3_req&#8221; to the &#8220;[ req ]&#8221; section, and add &#8220;subjectAltName = DNS:vcops.vsphere.bussink.local,DNS:vcops&#8221; to the &#8220;[ v3_req]&#8221; section. I need to add that I also modify the default key length in the certificate request to 2048 bits.</p>
<div class='et-box et-shadow'>
					<div class='et-box-content'>[ req ]</p>
<p>default_bits        = 2048</p>
<p>req_extensions = v3_req</p>
<p>[ v3_req ]</p>
<p><del>subjectAltName = DNS:vcops.vsphere.bussink.local, DNS:vcops, DNS:192.168.1.18</del></p>
<p>subjectAltName = DNS:vcops.vsphere.bussink.local, DNS:vcops</p></div></div>
<p><strong>Update (29/03/2012):</strong> I added to my subjectAltName, the iPAddress of my vCenter Operations Manager UI. You will get the information from the vCenter Managed Object Reference portal ExtensionManager value (See screenshot at the bottom of the post). The entry is of format DNS:192.168.1.18</p>
<p><strong>Update (02/04/2012</strong>): Thanks to Josh Perkins excellent article &#8220;<a title="vCenter Operations Manager 5 vCenter Plugin uses IP instead of DNS hostname" href="http://www.vstable.com/2012/04/02/vcenter-operations-5-x-vcenter-plugin-uses-ip-instead-of-dns-hostname/" target="_blank">vCenter Operations Manager 5 vCenter Plugin uses IP instead of DNS hostname</a>&#8220;. I have removed the IP address subjectAltName in the certificate request in the code above.</p>
<p>To create the Certificate file I used the following commands. Go to the bin directory of the OpenSSL tools. Generate a new Certificate Request while keeping the Cert Private key on your vCenter server. I&#8217;m generating the vCOPS private key with the 2048bit RSA algorithms and the SHA256 Message Digest algorithms.</p>
<div class='et-box et-shadow'>
					<div class='et-box-content'>cd C:\OpenSSL-Win64\bin</p>
<p>openssl req -new -nodes -newkey rsa:2048 -sha256 -out vcops.csr -keyout vcops.key</p></div></div>
<div id="attachment_587" class="wp-caption alignnone" style="width: 541px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/Generate-vCOPS-Certificate-Request.jpg"><img class=" wp-image-587  " title="Generate vCOPS Certificate Request" src="http://www.bussink.ch/wp-content/uploads//2012/02/Generate-vCOPS-Certificate-Request.jpg" alt="" width="531" height="229" /></a><p class="wp-caption-text">Generate vCOPS Certificate Request</p></div>
<p>Once we have the Certificate Request for the vCenter Operations Manager, we can submit it to the Public Key Infrastructure for certification. There are two ways to it, once from the command prompt and via the Web interface of the PKI.</p>
<p><strong>Command Prompt Certificate Request</strong></p>
<p>Windows Server 2008 R2 has a simple tool, to submit the Certificate Request directly the Microsoft Root CA (Enterprise Mode).</p>
<p>On my Certificate Authority I have cloned the default WebServer Certificate Template, and named it OpenSSL. I have also modified it&#8217;s Validity Period, Renewal Period. See completely at the bottom of this post to get an explanation and description of these changes.</p>
<p>My Microsoft Certificate Authority implementation is configured so that Certificate Requests need to be authorized, so the Submit/Retrieve process is composed of two commands here: <strong>certreq -submit</strong> and <strong>certreq -retrieve</strong>, if your Certificate Authority is not setup with validation, the submission/retrieval process is done in a single command.</p>
<div class='et-box et-shadow'>
					<div class='et-box-content'><p>certreq -submit -attrib &#8220;CertificateTemplate:WebServer&#8221; vcops.csr</p>
<p>or</p>
<p>certreq -submit attrib &#8220;CertificateTemplate:OpenSSL&#8221; vcops.csr</div></div>
<p>&nbsp;</p>
<div id="attachment_590" class="wp-caption alignnone" style="width: 583px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/CommandPrompt-Submitting-Certificate-Request.jpg"><img class=" wp-image-590  " title="Submitting vCOPS Certificate Request from Command Prompt" src="http://www.bussink.ch/wp-content/uploads//2012/02/CommandPrompt-Submitting-Certificate-Request.jpg" alt="" width="573" height="97" /></a><p class="wp-caption-text">Submitting vCOPS Certificate Request from Command Prompt</p></div>
<p>At this point the Certificate has been submitted to the Root CA authority in the domain. Please note the RequestId number when you submit the Certificate Request. Once the Certificate has been authorized and generated you can retrieve it back to the vCenter.</p>
<div class='et-box et-shadow'>
					<div class='et-box-content'>certreq -retrieve 16 vcops.cer</div></div>
<div id="attachment_594" class="wp-caption alignnone" style="width: 591px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/CommandPrompt-Retrieve-vCOPS-Certificate.jpg"><img class=" wp-image-594  " title="Retrieve vCOPS Certificate from Command Prompt" src="http://www.bussink.ch/wp-content/uploads//2012/02/CommandPrompt-Retrieve-vCOPS-Certificate.jpg" alt="" width="581" height="204" /></a><p class="wp-caption-text">Retrieve vCOPS Certificate from Command Prompt</p></div>
<p>If we open the vcops.cer in Windows, we can see that the Certificate has also proper Certificates in the Certification Path. This is important to ensure that browsers can validate the vCOPS Certificate all the way up to the Certificate Authority (with the Issuing CA is it&#8217;s an Intermediate Certification Authority).</p>
<div id="attachment_596" class="wp-caption alignnone" style="width: 296px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/vCOPS-Certificate-with-Certification-Path.jpg"><img class=" wp-image-596 " title="Verify your vCOPS Certificate for the Certification Path" src="http://www.bussink.ch/wp-content/uploads//2012/02/vCOPS-Certificate-with-Certification-Path.jpg" alt="" width="286" height="354" /></a><p class="wp-caption-text">Verify your vCOPS Certificate for the Certification Path</p></div>
<p>We now need to build a PKCS#12 container file with the Certificate, the Private Key and output it to the .PFX file.<del></del></p>
<div class='et-box et-shadow'>
					<div class='et-box-content'>openssl pkcs12 -export -in vcops.cer -inkey vcops.key -name vcops -out vcops.pfx</div></div>
<div id="attachment_597" class="wp-caption alignnone" style="width: 623px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/Build-vCOPS-PKCS12-Container.jpg"><img class=" wp-image-597  " title="Build vCOPS PKCS12 Container" src="http://www.bussink.ch/wp-content/uploads//2012/02/Build-vCOPS-PKCS12-Container.jpg" alt="" width="613" height="41" /></a><p class="wp-caption-text">Build vCOPS PKCS12 Container</p></div>
<p>vCenter Operations Manager 5.0 does not use the PKCS#12 file format, but the PEM format, and requires that the Private Key is not protect by password. So we re-transform the the .PFX with the Private Key into the .PEM format.</p>
<div class='et-box et-shadow'>
					<div class='et-box-content'>openssl pkcs12 -in vcops.pfx -inkey vcops.key -out vcops.pem -nodes</div></div>
<div id="attachment_598" class="wp-caption alignnone" style="width: 585px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/Transform-vCOPS-from-PKCS12-to-PEM.jpg"><img class=" wp-image-598 " title="Transform vCOPS from PKCS12 Container to PEM format" src="http://www.bussink.ch/wp-content/uploads//2012/02/Transform-vCOPS-from-PKCS12-to-PEM.jpg" alt="" width="575" height="63" /></a><p class="wp-caption-text">Transform vCOPS from PKCS12 Container to PEM format</p></div>
<p>At this point open the Administrator interface of vCenter Operations Manager on the SSL pane, and import the PEM certificate.</p>
<p>The url is <strong>https://vcops.&lt;your-domain&gt;/admin/</strong></p>
<div id="attachment_466" class="wp-caption alignnone" style="width: 577px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/Importing-SSL-Certificate-in-vCOPS.png"><img class=" wp-image-466 " title="Importing SSL Certificate in vCOPS" src="http://www.bussink.ch/wp-content/uploads//2012/02/Importing-SSL-Certificate-in-vCOPS.png" alt="" width="567" height="458" /></a><p class="wp-caption-text">Importing SSL Certificate in vCOPS</p></div>
<p>&nbsp;</p>
<p><strong>But here comes a tricky part. It&#8217;s debugging time.</strong></p>
<p>It is very possible that your Import of the OpenSSL Certificate fails with a <strong>General error occured</strong>. Like below.</p>
<div id="attachment_599" class="wp-caption alignnone" style="width: 625px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/OpenSSL-Import-General-Error-Occured.jpg"><img class=" wp-image-599 " title="OpenSSL Import General Error Occured" src="http://www.bussink.ch/wp-content/uploads//2012/02/OpenSSL-Import-General-Error-Occured.jpg" alt="" width="615" height="238" /></a><p class="wp-caption-text">OpenSSL Import General Error Occurred</p></div>
<p>What I found is that the apache2 Web Server on vCOPS did not like loading my SSL Certificate, because it saw that the certificate was for a FQDN that it could not figure out. I modified the <strong>/etc/hosts</strong> file to ensure apache2 got the proper hostname while starting up and therefore accepted the OpenSSL Certificates.</p>
<div id="attachment_601" class="wp-caption alignnone" style="width: 592px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/Modif-etc-hosts-file-on-vCOPS.jpg"><img class="size-full wp-image-601" title="Modify /etc/hosts file on vCOPS" src="http://www.bussink.ch/wp-content/uploads//2012/02/Modif-etc-hosts-file-on-vCOPS.jpg" alt="" width="582" height="133" /></a><p class="wp-caption-text">Modify /etc/hosts file on vCOPS</p></div>
<p>In the next screenshot you see the error messages from the apache2 at startup when it cannot figure out it&#8217;s name and when it does.</p>
<div class='et-box et-shadow'>
					<div class='et-box-content'>/sbin/service apache2 restart</div></div>
<div id="attachment_602" class="wp-caption alignnone" style="width: 617px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/vCOPS-apache2-with-default-etc-hosts-and-modified-etc-hosts.jpg"><img class=" wp-image-602   " title="vCOPS apache2 startup with default /etc/hosts and modified /etc/hosts" src="http://www.bussink.ch/wp-content/uploads//2012/02/vCOPS-apache2-with-default-etc-hosts-and-modified-etc-hosts.jpg" alt="" width="607" height="102" /></a><p class="wp-caption-text">vCOPS apache2 startup with default /etc/hosts and modified /etc/hosts</p></div>
<p>&nbsp;</p>
<p>You can always check the vCOPS log files at /var/log/vmware/ for issues.</p>
<p>In the screnshot below we see that I tried to install onces the vcops.pfx format, and then the vcops.pem certificate (@23:38:15), I then restarted the vCOPS Web Service and all is good after 23:46:13.</p>
<div class='et-box et-shadow'>
					<div class='et-box-content'>tail /var/log/vmware/vcops-admin.log</div></div>
<div id="attachment_600" class="wp-caption alignnone" style="width: 556px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/Checking-the-vcops-admin.log-for-SSL-install-issues.jpg"><img class=" wp-image-600  " title="Checking the vcops-admin.log for SSL install issues" src="http://www.bussink.ch/wp-content/uploads//2012/02/Checking-the-vcops-admin.log-for-SSL-install-issues.jpg" alt="" width="546" height="122" /></a><p class="wp-caption-text">Checking the vcops-admin.log for SSL install issues</p></div>
<p>We can now connect to vCenter Operations Manager using the FQDN or the short-name.</p>
<div id="attachment_475" class="wp-caption alignnone" style="width: 542px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/Valid-SSL-Certificate-for-vCOPS.png"><img class=" wp-image-475  " title="Valid SSL Certificate for vCOPS" src="http://www.bussink.ch/wp-content/uploads//2012/02/Valid-SSL-Certificate-for-vCOPS.png" alt="" width="532" height="491" /></a><p class="wp-caption-text">Valid SSL Certificate for vCOPS</p></div>
<p>I have also found that once the OpenSSL Certificate has been changed, that the vCOPS Interface  feels much more reactive.</p>
<div>
<div>
<p>&nbsp;</p>
<p><strong>Appendix 1) &#8211; My OpenSSL Certificate Template</strong></p>
<p>On my Active Directory Certificate Services I have cloned the default WebServer Certificate Template, and named it OpenSSL. I have also modified it&#8217;s Validity Period, Renewal Period and the need for the Certificate Authority Manager to approve all Certificate Requests.I highly recommend that you set the Validity Period for your Certificate Template. The CA Manager Approval really depends on your environment. As I sometimes do Auto-Enrollment tests for devices, I don&#8217;t want to pollute my Root CA with hundreds of superseding certificates.</p>
<div id="attachment_588" class="wp-caption alignnone" style="width: 443px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/OpenSSL-Certificate-Template-Properties-Validity-Period.jpg"><img class=" wp-image-588 " title="OpenSSL Certificate Template Properties - Validity Period" src="http://www.bussink.ch/wp-content/uploads//2012/02/OpenSSL-Certificate-Template-Properties-Validity-Period.jpg" alt="" width="433" height="383" /></a><p class="wp-caption-text">OpenSSL Certificate Template Properties - Validity Period</p></div>
<p><a href="http://www.bussink.ch/wp-content/uploads//2012/02/OpenSSL-Certificate-Template-Properties-CA-Manager-Approval.jpg"><img class=" wp-image-589 " title="OpenSSL Certificate Template Properties - CA Manager Approval" src="http://www.bussink.ch/wp-content/uploads//2012/02/OpenSSL-Certificate-Template-Properties-CA-Manager-Approval.jpg" alt="" width="431" height="379" /></a></p>
<div>
<div class="mceTemp">
<dl id="attachment_589" class="wp-caption alignnone" style="width: 441px;">
<dd class="wp-caption-dd">OpenSSL Certificate Template Properties &#8211; CA Manager Approval</dd>
</dl>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Appendix 2) &#8211; Retrieve the Root &amp; Intermediate Certificate Authority Public Key using CertUtil</strong></p>
<p>In this second appendix, I will briefly show how to retrieve the Root Certificate Authority Public Key from the command prompt. You should also retrieve the Intermediate CA if you have one.</p>
<div class='et-box et-shadow'>
					<div class='et-box-content'>certutil -ca.cert -config &#8220;domctrl01.vsphere.bussink.local\Bussink Root CA&#8221; RootCA.cer</div></div>
<div id="attachment_593" class="wp-caption alignnone" style="width: 527px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/Retrieve-Certificate-Authority-Public-Key-RootCA.cer_.jpg"><img class=" wp-image-593 " title="Retrieve Certificate Authority Public Key RootCA.cer" src="http://www.bussink.ch/wp-content/uploads//2012/02/Retrieve-Certificate-Authority-Public-Key-RootCA.cer_.jpg" alt="" width="517" height="493" /></a><p class="wp-caption-text">Retrieve Certificate Authority Public Key RootCA.cer</p></div>
<p>&nbsp;</p>
<p><strong>Update on 16/03/2012.</strong> Changed the Win64 OpenSSL v1.0.1 Light tools.</p>
<p><strong>Update 27/03/2012. </strong>Added a additional subjectAltName to the Certificate request. But my had my parameters wrong.</p>
<p><del><strong>Update (27/03/2012</strong>): I have added a new subjectAltName on the to my openssl.cfg. I <strong>added the FQDN name of my vCenter server</strong> in the Certificate request. With vCenter Operations Manager 5.0, you get the integration within the vCenter Client in the Solutions &amp; Applications section. The SSL Certificates will therefore be checked by the vCenter Client against the vCenter FQDN name.</del></p>
<p><strong>Update 29/03/2012</strong>. Thanks for Kinsei for having raises the question on the topic of the SSL Certificate usage via the vCenter Client. The vCenter Operations Manager is connected to the vCenter Server not by an FQDN name, but by an IP Address. You can find the value when you connect to your vCenter server&#8217;s Managed Object Reference (mob) settings portal.</p>
<div id="attachment_751" class="wp-caption alignnone" style="width: 626px"><a href="http://www.bussink.ch/wp-content/uploads//2012/02/vCenter_mob_content_ExtensionManager_ExtensionList_vcops1.jpg"><img class=" wp-image-751  " title="https://vcenter/mob/ Content ExtensionManager ExtensionList com.vmware.vcops" src="http://www.bussink.ch/wp-content/uploads//2012/02/vCenter_mob_content_ExtensionManager_ExtensionList_vcops1.jpg" alt="" width="616" height="308" /></a><p class="wp-caption-text">https://vcenter/mob/ Content ExtensionManager ExtensionList com.vmware.vcops</p></div>
<p><strong> Update (02/04/2012)</strong>. Here is another update. Josh Perkins has written up a <a title="vCenter Operations Manager 5 vCenter Plugin uses IP instead of DNS hostname" href="http://www.vstable.com/2012/04/02/vcenter-operations-5-x-vcenter-plugin-uses-ip-instead-of-dns-hostname/" target="_blank">great article</a> on how to ensure that your vCenter uses a FQDN or shortname to speak to your vCenter Operations Manager. This means that administrators and user on the vSphere Client do not get invalid SSL Certificate requests anymore. Thanks Josh !!</p>
<p>&nbsp;</p>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bussink.ch/?feed=rss2&#038;p=458</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

