<?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>invurted.com</title>
	<atom:link href="http://invurted.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://invurted.com</link>
	<description>With great virtualisation comes great responsibility!</description>
	<lastBuildDate>Tue, 02 Mar 2010 05:27:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Virtualisation; I don&#8217;t get it</title>
		<link>http://invurted.com/virtualisation-i-dont-get-it/</link>
		<comments>http://invurted.com/virtualisation-i-dont-get-it/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 23:30:05 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Adam says]]></category>
		<category><![CDATA[virtualisation]]></category>

		<guid isPermaLink="false">http://invurted.com/virtualisation-i-dont-get-it/</guid>
		<description><![CDATA[It seems that in the local industry (Melbourne, Australia) that businesses just don&#8217;t get virtualisation.
At the cessation of another job, I am beginning to wonder if this virtualisation thing will ever catch on. Or maybe I&#8217;m too far ahead of the curve and waiting for it to catch up.
Let&#8217;s start with the benefits; 

no reliance [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that in the local industry (Melbourne, Australia) that businesses just don&#8217;t get virtualisation.</p>
<p>At the cessation of another job, I am beginning to wonder if this virtualisation thing will ever catch on. Or maybe I&#8217;m too far ahead of the curve and waiting for it to catch up.<span id="more-315"></span></p>
<p>Let&#8217;s start with the benefits; </p>
<ul>
<li>no reliance on physical infrastructure</li>
<li>
 Rapid provisioning of both servers and desktops (VDI)</li>
<li>Fault tolerance and, if I want it, automated load balancing	</li>
<li>Cost savings in the datacentre because I&#8217;m not taking up as much space with hardware that needs to be maintained and replaced as often</li>
<p>The disadvantages are far outweighed by the benefits. It does cost to put in a virtual infrastructure; primarily the storage. Fibre channel is still &#8220;king&#8221; in the storage stakes, however, advances in ethernet technologies and a bit of planning in the implementation phase mean that iSCSI is a viable competitor (http://invurted.com/iscsi-vs-fibre-channel-storage-performance/).  Of course, there are training considerations. Thankfully, the virtualisation platform is largely &#8220;fire and forget&#8221; technology. So apart from some familiarity with my chosen platform, there is little reason to touch it post-implementation.</p>
<p>Maybe I&#8217;m missing the point somewhere &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://invurted.com/virtualisation-i-dont-get-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iSCSI vs. Fibre Channel storage performance</title>
		<link>http://invurted.com/iscsi-vs-fibre-channel-storage-performance/</link>
		<comments>http://invurted.com/iscsi-vs-fibre-channel-storage-performance/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 23:14:28 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[fibre channel]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=306</guid>
		<description><![CDATA[If we look at the way a virtual machine (and a physical machine, indirectly) runs, the most important resources are RAM and CPU. Disk storage is (sort of) secondary. The exception to this is streaming media or backup servers. Typically, performance difference is minimal.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s something that I have been discussing a lot with one of my customers.</p>
<p>At the moment, they are hesitant to invest in a potentially very expensive SAN solution involving fibre channel connections. Currently, there are eight vSphere servers configured with no centralised storage. Hence, all virtual machines are running on the local disk arrays. Therefore, there is no DRS, no HA and no Vmotion! We are protecting the virtual machines only with the local server&#8217;s ability to recover from physical disk failure, in this case, on board RAID 5 controllers.</p>
<p>My temporary solution was an open source iSCSI storage solution until a more permenant solution can be found.</p>
<p>However, the big question that I keep coming up against is, &#8220;What&#8217;s the performance hit I will take?&#8221;<span id="more-306"></span></p>
<p>It&#8217;s undeniable that the fibre channel should be faster, as the article below describes, this may not be that much of an issue.</p>
<p>If we look at the way a virtual machine (and a physical machine, indirectly) runs, the most important resources are RAM and CPU. Disk storage is (sort of) secondary. The exception to this is streaming media or backup servers. Typically, performance difference is minimal.</p>
<p>As long as you have a properly implemented iSCSI solution. I have look at the security considerations previously (http://invurted.com/tutorial-iscsi-security/) and performance will always be optimal if iSCSI is isolated to its own infrastructure. This can be achieved by physical infrastructure or VLANs to isolate the traffic.</p>
<p>In short, there should be very little to stop small to medium enterprises from adopting iSCSI solutions for shared storage. Its performance is comparable to fibre channel in most circumstances and the relative cost is less than most fibre channel solutions for a minimal performance hit.</p>
<blockquote><p>What weighs more: one pound of bricks or one pound of feathers? Which is faster: 2 Gb FC or 1 Gb Ethernet? Hint: Both questions have the same answer.</p>
<p>The area of iSCSI performance and how it compares to Fibre Channel is often misunderstood. Both of these SAN interconnects are typically measured by bandwidth with &#8220;2 Gb&#8221; FC SANs dominating the market today and &#8220;1 Gb&#8221; Ethernet used for the majority of iSCSI SANs.</p>
<p>Which would you say is faster: a 2 Gb FC connection or a 1 Gb Ethernet connection? It&#8217;s a trick question &#8212; they are equally fast. They both transfer data at the speed of light. Bandwidth is not an issue of speed but size. Tthink about a four-lane highway versus a two-lane highway. If there are just a few automobiles traveling on either highway, drivers will be able to go the maximum speed. As more drivers travel on each road, the two-lane highway will experience a bottleneck before the four-lane highway does.</p>
<p>This is the same with FC and Ethernet. A 2 Gb FC interconnect has twice the bandwidth (double the number of lanes) of 1 Gb Ethernet. Bandwidth has an impact on performance when large requests are being processed. In this case, most of the work is spent transferring the data over the network making bandwidth the critical path. However, for smaller read and write requests, the storage system spends more time accessing data making the CPU, cache memory, bus speeds and hard drives more important to overall application performance.</p>
<p>Unless you have a bandwidth-intensive application (e.g., streaming media or backup data), the difference in performance will be minimal. Enterprise Strategy Group (ESG) Lab has tested storage systems that support iSCSI and FC and the performance difference is minimal &#8212; ranging between 5% and 15%.</p>
<p>In fact, an iSCSI storage system can actually outperform a FC-based product depending on more important factors than bandwidth, including the number of processors, host ports, cache memory and disk drives and how wide they can be striped.</p>
<p>The slowest component of the storage performance chain is the hard disk drive. It takes a hard disk drive much longer &#8212; sometimes several thousands-percent longer &#8212; to access data in a storage system than the electronic components like processors, bus and memory. The timeline for an I/O starts with a read/write command being sent to the hard drive from the application. This is followed by long, mechanical access times waiting for the drive to move the actuator, referred to as the seek process.</p>
<p>The seek process is by far the slowest part of storage performance. The actuator then has to spin to the data that&#8217;s been requested, which is another long mechanical process that creates latency. Next, the data is transferred from the drive to the CPU and a status handshake is performed to terminate the request. Access time associated with all disk drives, which includes seek plus latency, is responsible for the majority of the &#8220;wait time.&#8221;</p>
<p>Striping data<br />
Traditional storage systems are typically limited in the number of drives across which they can stripe data. Many traditional storage systems can only stripe up to 16 drives, while more advanced products can stripe across hundreds of drives. Striping data across a large number of drives allows a system to leverage all the actuators, which work in parallel to make read/write functions a much more efficient process. Striping data across many drives increases performance and essentially eliminates the need for tuning performance and determining hot spots. Naturally, there is a cost associated with acquiring more hard drives, so a balance and consideration of price/performance is important.</p>
<p>In ESG Lab head-to-head testing, we configured a storage system using traditional striping methods and another one using wide striping. ESG Lab used the same workloads to compare the performance of the traditionally configured system and that of a system using a wide stripe group of 48 drives. The stripe group of 48 drives significantly outperformed the traditional method.</p>
<p>A comparison of Iometer results revealed a 44% improvement in the number of disk I/Os per second when switching from traditional volumes to a 48-drive wide stripe group. That is an amazing performance difference, much more than the five to 15% difference that we found between iSCSI and FC.</p>
<p>Some iSCSI storage systems may not have well-tuned performance optimized iSCSI target drivers. This is the fault of the storage vendor and they need to go back to their R&#038;D group and do a better job. Additionally, ESG Lab has found that using a TCP/IP offload engine (TOE) on the iSCSI target port within the storage system can have a measurable positive impact on performance. Some iSCSI storage systems do not have integrated TOE support.</p>
<p>The architecture of the storage system, the speed and number of processors, the amount of memory and the intelligence of its caching algorithms, the speed the disk drives and number of drives in a stripe group, the number of host ports and the backend interconnect all play a major role in performance. I recommend that you evaluate the storage system based on all of the above criteria. It is the storage system itself that will make a bigger difference. The speed of iSCSI is not the issue. </p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://invurted.com/iscsi-vs-fibre-channel-storage-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iSCSI: Why a VMkernel and a Service Console?</title>
		<link>http://invurted.com/iscsi-why-a-vmkernel-and-a-service-console/</link>
		<comments>http://invurted.com/iscsi-why-a-vmkernel-and-a-service-console/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 02:46:19 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[ghey]]></category>
		<category><![CDATA[iscsi]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=303</guid>
		<description><![CDATA[Does Vmware have Microsoft Vista properties? You know, we&#8217;ll just chuck it in at the end and pray it works.
Frantic calls to and from on Saturday night lead myself and a friend to the question, &#8220;What the hell is up with iSCSI?&#8221;
It seems that the initiator works only with a service console. In fact, the [...]]]></description>
			<content:encoded><![CDATA[<p>Does Vmware have Microsoft Vista properties? You know, we&#8217;ll just chuck it in at the end and pray it works.<span id="more-303"></span></p>
<p>Frantic calls to and from on Saturday night lead myself and a friend to the question, &#8220;What the hell is up with iSCSI?&#8221;</p>
<p>It seems that the initiator works only with a service console. In fact, the observed results showed that iSCSI was being run with the Service Console&#8217;s IP address DESPITE have a vmkernel port configured in the same networks as the iSCSI target.</p>
<p>Well, this is not entirely true. Vmware needs a Service Console to do the initial CHAP authentication and establishment and only then does it switch over to the configured vmkernel interface.</p>
<p>Why even bother with an iSCSI &#8220;interface&#8221;  (vmkernel port0 if you&#8217;re going to initiate with the Service Console? In fact, more to the point, why does it split the authentication and actual iSCSI traffic across them.</p>
<p>Based on various forum posts, it sounds like iSCSI was a last minute throw in by VMware, and just not done completely right.</p>
<p>Hence, Vmware Vista.</p>
<p>REF: my mobile phone log with the lingfish and http://communities.vmware.com/thread/209361</p>
]]></content:encoded>
			<wfw:commentRss>http://invurted.com/iscsi-why-a-vmkernel-and-a-service-console/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Vmware ESX3.5 Templates</title>
		<link>http://invurted.com/vmware-esx3-5-templates/</link>
		<comments>http://invurted.com/vmware-esx3-5-templates/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 02:47:52 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=300</guid>
		<description><![CDATA[Templates and their usage are one of the big time savers in ESX. The ability to setup a &#8220;perfect&#8221; vritual machine and then deploy multiple copies of it allows us to minimise the risk of deployment errors. However, there are a few limits around what can be achieved.
Specifically, in the environment I am in at [...]]]></description>
			<content:encoded><![CDATA[<p>Templates and their usage are one of the big time savers in ESX. The ability to setup a &#8220;perfect&#8221; vritual machine and then deploy multiple copies of it allows us to minimise the risk of deployment errors. However, there are a few limits around what can be achieved.<span id="more-300"></span></p>
<p>Specifically, in the environment I am in at the moment, there is a requirement for the operating system to be deployed to one LUN and the any application partitons to be deployed to another LUN.</p>
<p>Templates only allow me to deploy the machine&#8217;s virtual hard disk to one LUN and not split across two. Hence the problem.</p>
<p>There is no quick fix that I could find; so it was off the scripting land I went.</p>
<p>First things first. The customer required the deployment of twenty seven virtual machines all based off one. The process is prety simple; open my Virtual Infrastructure Client, point it at a Virtual Center (ESX servers by themselves don&#8217;t have template functionality), and convert the baseline virtual machine to a template.</p>
<p>I could have chosen to deploy twenty seven virtual machines manually, but, well, I&#8217;m lazy. So, the lazy man&#8217;s solution? Scripting!</p>
<p>The process was as follows:</p>
<p>1) Remove the 40GB hard drive (cloning and templating doesn&#8217;t allow hard drives to be placed in multiple datastores eg. osLUN and appLUN)<br />
2) Create a template of the virtual machine.<br />
3) Install powershell and the Vmware VI Toolkit giving us the powershell for Vmware functionality.<br />
4) Save the following to a .ps1 (Powershell script file):</p>
<p>$array = &#8220;Machine1&#8243;,&#8221;Machine2&#8243;,&#8221;Machine3&#8243; (and so forth)<br />
$TARGET = &#8220;FQDN_OF_TARGET_ESX_SERVER&#8221;</p>
<p>Connect-viserver FQDN_OF_VIRTUAL_CENTER</p>
<p>foreach ($vm in $array)<br />
{<br />
$vm=New-VM -Name $vm -Template BASELINE_TEMPLATE -Host $TARGET -Datastore osLUN<br />
}</p>
<p>The above script will connect to the VI Center (it will prompt for username and password) and then create a new machine called &#8220;Machine1&#8243; etc. for each machine in the list. It will place the virtual machine on the esx server in $TARGET and build it from the template called BASELINE_TEMPLATE.</p>
<p>Now comes the hard part. There are 27 42GB drives that need to be created for the virtual machines. There is no powershell that will allow this to happen. Therefore, a script is required.</p>
<p>In appLUN is a vmdk called BASELINE_TEMPLATE_VMDK and this is the virtual hard drive (pre partitioned and formatted) that will be used for the virtual machines.</p>
<p>for DESTINATION in machine1 machine2 machine3 machine4 ETC.<br />
do<br />
        # Copy<br />
        echo &#8220;Copying $SOURCE to $DESTINATION&#8221;<br />
        mkdir $DESTINATION<br />
        cp -a $SOURCE/* $DESTINATION/<br />
        # Rename vmdk files<br />
        cd $DESTINATION<br />
        for file in $(ls -1 *.vmdk)<br />
        do<br />
                echo &#8220;Renaming $SOURCE vmdks to $DESTINATION&#8221;<br />
                DEST=$(echo $file | sed s/$SOURCE/$DESTINATION/g)<br />
                mv $file $DEST<br />
        done<br />
        # Edit .vmdk<br />
        for file in $(ls -1 *.vmdk | grep -v flat)<br />
        do<br />
                echo &#8220;Replacing references to $SOURCE in .vmdk file $file&#8221;<br />
                sed -i s/$SOURCE/$DESTINATION/g $file<br />
        done<br />
 cd ..<br />
done<br />
echo &#8220;Finished&#8221;</p>
<p>This will copy the BASELINE_TEMPLATE_VMDK virtual hard drive one time for each virtual machine and make sure it is useable for that machine. It will also go through the .vmdk file and change the reference from BASELINE_TEMPLATE_VMDK to the destination virtual machine name.</p>
<p>Once it is run, we have to manually add the newly created vmdk to the corresponding virtual machine.</p>
<p>Then it is a simple matter of logging into each virtual machine and changing their host names and IP addresses.</p>
<p>There is still a fair bit of manual intervention involved, but at least the boring, tedious bits (deploying the templates and copying the hard drives) has been automated.</p>
<p>If you can offer any other scripts that can complete the picture, let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://invurted.com/vmware-esx3-5-templates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Minor Deviations</title>
		<link>http://invurted.com/minor-deviations/</link>
		<comments>http://invurted.com/minor-deviations/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 06:46:06 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Adam says]]></category>
		<category><![CDATA[calvin and hobbes]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=297</guid>
		<description><![CDATA[Okay, more than once I have deviated madly off topic in this blog, but this one is special, I promise.
Everyone loves Calvin and Hobbes, don&#8217;t they? If you&#8217;re not familiar with it:
Calvin and Hobbes was a syndicated comic strip written and illustrated by Bill Watterson, following the humorous antics of Calvin, an imaginative six-year old [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, more than once I have deviated madly off topic in this blog, but this one is special, I promise.<span id="more-297"></span></p>
<p>Everyone loves Calvin and Hobbes, don&#8217;t they? If you&#8217;re not familiar with it:</p>
<blockquote><p>Calvin and Hobbes was a syndicated comic strip written and illustrated by Bill Watterson, following the humorous antics of Calvin, an imaginative six-year old boy, and Hobbes, his energetic and sardonic stuffed tiger. The pair are named after John Calvin, a 16th-century French Reformation theologian, and Thomas Hobbes, a 17th-century English political philosopher. The strip was syndicated daily from November 18, 1985 to December 31, 1995. At its height, Calvin and Hobbes was featured in over 2,400 newspapers worldwide. As of the publication of The Complete Calvin and Hobbes, more than 30 million copies of the 17 Calvin and Hobbes books had been sold.</p>
<p>Set in the contemporary Midwestern United States in an unspecified suburban community, the broad themes of the strip deal with Calvin&#8217;s flights of fantasy and his friendship with Hobbes, his misadventures, his unique views on a diverse range of political and cultural issues and his relationships with the people in his life, especially his parents. The dual nature of Hobbes is also a recurring motif: Calvin sees Hobbes as a live anthropomorphic tiger, while other characters see him as a stuffed animal. Though the series does not mention specific political figures or current events, it does mention broad issues like environmentalism, public education, and the flaws of opinion polls.</p></blockquote>
<p>That&#8217;s a LOT of comic books!</p>
<p>I have taken it upon myself to get all Calvin And Hobbes strips without duplicates. After only a few minutes research, here is the list I have discovered:</p>
<p>•The Essential Calvin and Hobbes<br />
•The Authoritative Calvin and Hobbes<br />
•The Indispensable Calvin and Hobbes<br />
•Attack of the Deranged Mutant Killer Monster Snow Goons<br />
•The Days are Just Packed<br />
•Homicidal Psycho Jungle Cat<br />
•There&#8217;s Treasure Everywhere<br />
•It&#8217;s A Magical World</p>
<p>The other option, of course it to buy the Collected Works! </p>
<p><a href="http://www.amazon.com/exec/obidos/ASIN/0740748475/calvinandhobb-20" target=new><img src="http://invurted.com/wp-content/uploads/completecalvin2.gif" border=0></a></p>
]]></content:encoded>
			<wfw:commentRss>http://invurted.com/minor-deviations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>vSphere multi-pathing failover</title>
		<link>http://invurted.com/vsphere-multi-pathing-failover/</link>
		<comments>http://invurted.com/vsphere-multi-pathing-failover/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 05:45:18 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[multipathing]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=290</guid>
		<description><![CDATA[Whilst researching some storage options for a client, I stumbled across this pretty useful information
1) How often ESX checks for path failure?
==> As soon as an I/O request to a path fails, ESX will initiate a path failover. If there is no I/O outstanding to a path. ESX will probe each physical path every 5 [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst researching some storage options for a client, I stumbled across this pretty useful information<span id="more-290"></span></p>
<p>1) How often ESX checks for path failure?<br />
==> As soon as an I/O request to a path fails, ESX will initiate a path failover. If there is no I/O outstanding to a path. ESX will probe each physical path every 5 minutes, by default, to proactively detect path failure.</p>
<p>2) How long will ESX wait before trying a different storage path?<br />
==> A different storage path is tried immediately.</p>
<p>3) What happens between the failure detection and the connection recovery?<br />
==> I/O requests will be queued.</p>
<p>4) Under which circumstances will a host initiated target reset or LUN reset occur?<br />
==> Resets are not typically initiated by ESX. Two exceptions to this rule are:<br />
- if a path failure occurs while there is a SCSI-2 reservation outstanding on the failed path<br />
- if the VM or userworld that initiated the I/O request sends a request to abort the outstanding I/O request.</p>
<p>5) Will ESX ever force a LUN trespass in the array?<br />
==> Only in the case of an A/P array when there is no working path on the same SP as the failing path. For example, when using an EMC Clariion (which uses the &#8220;trespass&#8221; command). </p>
<p>Technically point two needs some work. </p>
<p>ESX SCSI layer has a latency between when the failure occurs and when it will try a different path. This is usually determined by when the device driver returns a failure ie. I/O errors. Supported fibre channel devices will do this inside of thirty seconds. The ESX SCSI layer then has thirty seconds to use another working path. On an active/passive array the activate/trespass/etc command can take a few seconds to complete.</p>
<p>Within a virtual machine, the registry ([HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk]<br />
“TimeoutValue”=dword:000000be) can be configured to wait before issuing an abort for an outstanding I/O. If this key is enabled</p>
<p><code>ESX states that within this 60 seconds it will:<br />
- detect that a path has failed<br />
- select a new path<br />
- activate the new path<br />
- re-issue the cmd from the guest to the new path<br />
- have the newly issued cmd complete successfully and return to the guest.</code></p>
]]></content:encoded>
			<wfw:commentRss>http://invurted.com/vsphere-multi-pathing-failover/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vmware File Manager</title>
		<link>http://invurted.com/vmware-file-manager/</link>
		<comments>http://invurted.com/vmware-file-manager/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 05:25:11 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[browse datastore]]></category>
		<category><![CDATA[vmware. file manager]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=286</guid>
		<description><![CDATA[There are a number of ways to upload and download files to and from the actual ESX server in my environment. The least favourite one I have would have to be browsing the datastore via VI Client!
This is the sort of problem that can happen, especially if you&#8217;re trying to download a file from a [...]]]></description>
			<content:encoded><![CDATA[<p>There are a number of ways to upload and download files to and from the actual ESX server in my environment. The least favourite one I have would have to be browsing the datastore via VI Client!<span id="more-286"></span></p>
<p>This is the sort of problem that can happen, especially if you&#8217;re trying to download a file from a running Virtual Machine.</p>
<p>The error that appears is a:<br />
<code>Expected put message. Got: ERROR</code></p>
<p>The problem here is file locks. Old log files (no longer in use) will have no locks on them, so can be downloaded. Files like the vswp (Virtual Machine Swap) will be in constant use by the virtual machine and so cannot have the locks brokent to allow them to be downloaded.</p>
<p>The simple solution is to turn off a vritual machine before downloading the files relating to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://invurted.com/vmware-file-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distributed File Server (DFS) Reporting</title>
		<link>http://invurted.com/distributed-file-server-dfs-reporting/</link>
		<comments>http://invurted.com/distributed-file-server-dfs-reporting/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 03:19:05 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[DFS reporting]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=283</guid>
		<description><![CDATA[Uncovering the secrets of automating DFS reporting]]></description>
			<content:encoded><![CDATA[<p>Well, haven&#8217;t I been out of the loop for a while?! Thankfully, my unemployment lasted nowhere near as long as I would have expected in the harsh economic climate and I am adjusting brilliantly to corporate/enterprise life once again (like there would be any doubt!) <span id="more-283"></span></p>
<p>All bragging aside, I have been working on a Storage Craft disaster recovery (DR) solution combining Vmware and Microsoft Distributed File System. The basic structure is this:</p>
<p>Storagecraft takes snapshots/incremental backups of virtual machines in the existing infrastructure and places them into a folder on it&#8217;s local storage that is then replicated across the WAN to the DR site. The DR site, also a Storagecraft server and also having a standalone ESX 3.5 server, can restore images of these machines with a fifteen minute tolerance of when the machine failed. This is all reliant on the most recent incremental backups being transmitted across the wire successfully.</p>
<p>Of course, as a DR site, the client is extremely interested in as much reporting as possible and this includes DFS. There is a builtin reporting function in DFS that requires manual intervention to trigger. The client requires automated reporting, as you would expect.</p>
<p>After trawling the internet, I found a workable solution combining a script and task scheduling in Windows 2003 R2.</p>
<p>As an aside, there was <a href="http://technet.microsoft.com/en-us/library/cc775480(WS.10).aspx">this</a> handy little reference that I stumbled across as well. Nothing too surprising, but definitely worth thinking about.</p>
<p>The solution for the reporting was a script ripped from:</p>
<p>http://blogs.technet.com/filecab/articles/437214.aspx</p>
<p>and it looks like this:<br />
<code><br />
#######<br />
## REM This script needs to run as a daily scheduled task by someone who has<br />
## REM local administrator rights for all machines in reported RG.  This script<br />
## REM will generate a health report for all members of the replication group,<br />
## REM with backlog based on a specified reference member.  When reports are<br />
## REM complete they will be saved to a specified share.  When ALL reports are<br />
## REM done, mail will be sent to the specified e-mail alias with links to the<br />
## REM share.<br />
#######</p>
<p>@echo off</p>
<p>set CURRDATE=%TEMP%\CURRDATE.TMP<br />
set CURRTIME=%TEMP%\CURRTIME.TMP</p>
<p>DATE /T > %CURRDATE%<br />
TIME /T > %CURRTIME%</p>
<p>######<br />
## REM This adds the date and time to the health report name and to the title<br />
## REM of the e-mail.<br />
######</p>
<p>set PARSEARG="eol=; tokens=1,2,3,4* delims=/, "<br />
for /F %PARSEARG% %%i in (%CURRDATE%) Do SET DDMMYYYY=%%j-%%k-%%l</p>
<p>set PARSEARG="eol=; tokens=1,2,3* delims=:, "<br />
for /F %PARSEARG% %%i in (%CURRTIME%) Do Set HHMM=%%i%%j%%k</p>
<p>#######<br />
## REM Here you define the different resources by specifying the name of each<br />
## REM replication group, server name and share name.  You can do this for as<br />
## REM many replication groups as you want, but keep in mind that the script<br />
## REM will wait until all reports complete before mail is sent out.<br />
#######</p>
<p>set RG1_Report=\\Server_name\Share_Name\RG1_Name-%DDMMYYYY%-%HHMM%.html<br />
set RG2_Report=\\Server_name\Share_Name\RG2_Name-%DDMMYYYY%-%HHMM%.html</p>
<p>@echo on</p>
<p>#######<br />
## REM This generates the reports with Dfsradmin.exe (you can use help to see<br />
## REM what else it can do.)  You need to set the name of the replication<br />
## REM group, the name of the reference server for calculating backlog, the<br />
## REM domain the RG is in, and a name for the report.  The time and date<br />
## REM variables we defined earlier in the script<br />
#######</p>
<p>dfsradmin health new /rgname:RG1 /refmemname:Domain_name\Server_Name /domain:domain_name.com /ReportName:%RG1Report%<br />
dfsradmin health new /rgname:RG2 /refmemname:Domain_name\Server_Name /domain:domain_name.com /ReportName:%RG2Report%</p>
<p>echo RG1  %RG1Report% >  %TEMP%\healthMessageBody.txt<br />
echo RG2  %RG2Report% >> %TEMP%\healthMessageBody.txt</p>
<p>#######<br />
### REM You will need to obtain an email command line application for this<br />
### REM next part.  You will use the program to send an email with links to<br />
### REM the health reports to an alias of your choice.  You may want address<br />
### REM this mail to a distribution group.<br />
### REM<br />
### REM The command below is an example of how to send the mail using a<br />
### REM ficticious command line mail application.  You will need to reformat<br />
### REM the command to be compatible with your command line mail application.<br />
### REM<br />
### REM You many need to give the sending alias the "Send As" right<br />
#######</p>
<p>cl_mail.exe smtp server:my_smtphost to:some_Alias@domain.com from:your_alias@domain.com subject:"DFS Replication Health Reports %DDMMYYYY%" message:@%TEMP%\healthMessageBody.txt auth:sspi<br />
</code></p>
<p>The only potential problems are:</p>
<ul>
<li>The requirement for a command line email utility</li>
<li>Only notification of the report&#8217;s location, not the report itself</li>
<li>Size over time. Each report generated takes about 60KB of disk space.</li>
<li>The format of the report ie. XML/HTML</li>
</ul>
<p>Still, it&#8217;s better than nothing!!</p>
]]></content:encoded>
			<wfw:commentRss>http://invurted.com/distributed-file-server-dfs-reporting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The HA &#8220;split brain&#8221; problem</title>
		<link>http://invurted.com/the-ha-split-brain-problem/</link>
		<comments>http://invurted.com/the-ha-split-brain-problem/#comments</comments>
		<pubDate>Wed, 27 May 2009 03:28:41 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[high availability]]></category>
		<category><![CDATA[virtual machine]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=273</guid>
		<description><![CDATA[This ISN&#8217;T something that occurs frequently, but it is something that I would want to test in HA (High Availabilty) before I went to production!
Sometimes when you set the DAS Isolation addresses, it fails to work, ie. when you take vswif0 offline, the virtual machines get shutdown anyway. Given this is emulating an &#8220;isolation respone&#8221;, [...]]]></description>
			<content:encoded><![CDATA[<p>This ISN&#8217;T something that occurs frequently, but it is something that I would want to test in HA (High Availabilty) before I went to production!<span id="more-273"></span></p>
<p>Sometimes when you set the DAS Isolation addresses, it fails to work, ie. when you take vswif0 offline, the virtual machines get shutdown anyway. Given this is emulating an &#8220;isolation respone&#8221;, where the service console ONLY fails to respond to the network, the virtual machines should only shutdown if the other cards in the server fails to respond.</p>
<p>Ideally, I want my DAS Isolation addresses in a totally seperate subnet from my service console. When I set up another Service Console, it&#8217;s always a good idea to remove HA from the cluster, wait for everything to settle down and then re-enable it on the cluster (a couple of minutes work). This makes sure both service consoles are sending heartbeats.</p>
<p>We can view the heartbeats via tcpdump and monitoring port 8044 by using the following commands:</p>
<p><code># tcpdump -i vswifX port 8044<br />
# tcpdump –i vswifY port 8044<br />
</code></p>
<p>As a final check, have a look at /var/log/vmware/aam/aam_config_util.def for the isolation addresses. It should look something like:</p>
<p><code>Start Object esx5<br />
nodefd esx5 {<br />
nodeAddrs = {<br />
{<br />
sourceType = isolation<br />
source.addr =<br />
destination.addr = 172.16.0.36<br />
}<br />
{<br />
sourceType = isolation<br />
source.addr =<br />
destination.addr = 10.0.0.52<br />
}<br />
{<br />
sourceType = domain<br />
source.addr = 172.16.0.105<br />
destination.addr = 224.0.6.127<br />
}<br />
{<br />
sourceType = domain<br />
source.addr = 10.0.0.5<br />
destination.addr = 224.0.6.127<br />
}<br />
}<br />
}</p>
<p>End Object esx5 </code></p>
<p>Also, if das.usedefaultisolationaddress is not set to false the service console’s default gateway appears as an isolation address in the /var/log/vmware/aam/aam_config_util.def file in addition to any ip address configured with das.isolationaddress and das.isolationaddress2.</p>
Note: There is an email link embedded within this post, please visit this post to email it.
]]></content:encoded>
			<wfw:commentRss>http://invurted.com/the-ha-split-brain-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Vmware Convertor 4.0.1</title>
		<link>http://invurted.com/new-vmware-convertor-401/</link>
		<comments>http://invurted.com/new-vmware-convertor-401/#comments</comments>
		<pubDate>Mon, 25 May 2009 04:15:13 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[convertor]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=276</guid>
		<description><![CDATA[Vmware Convertor allows us to P2V (Physical to Virtual) migrations. That is, taking (potentially) a running machine on my network and importing it directly into my virtual infrastructure.
So, whilst vSphere is the new kid on the block, Vmware have also released an updated version to this genuinely brilliant utility!
What’s New
The VMware vCenter Converter Standalone 4.0.1 [...]]]></description>
			<content:encoded><![CDATA[<p>Vmware Convertor allows us to P2V (Physical to Virtual) migrations. That is, taking (potentially) a running machine on my network and importing it directly into my virtual infrastructure.<span id="more-276"></span></p>
<p>So, whilst vSphere is the new kid on the block, Vmware have also released an updated version to this genuinely brilliant utility!</p>
<blockquote><p><strong>What’s New</strong><br />
The VMware vCenter Converter Standalone 4.0.1 release is an update to Converter Standalone 4.0, and includes the following new features:</p>
<ul>
Support for vSphere 4.0 as source and destination targets: </p>
<li>Support for configuring target disks as thin provisioned disks </li>
<li>Support creation of IDE disks on vSphere 4.0 </li>
<li>Support for backup products to restore vSphere 4.0 virtual machines backed up using VCB </li>
<li>Support for creation of virtual hardware version 7.0 virtual machines on vSphere 4.0. targets as well as migration of hardware version 7.0 virtual machines from Workstation and Server platforms to vSphere 4.0 </li>
<li>Support for importing OVF 1.0 single virtual machine images. </li>
<li>Support for customization of Windows Server 2008 guests. </li>
</ul>
</blockquote>
Note: There is an email link embedded within this post, please visit this post to email it.
]]></content:encoded>
			<wfw:commentRss>http://invurted.com/new-vmware-convertor-401/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
