<?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 &#187; iscsi</title>
	<atom:link href="http://invurted.com/tag/iscsi/feed/" rel="self" type="application/rss+xml" />
	<link>http://invurted.com</link>
	<description>With great virtualisation comes great responsibility!</description>
	<lastBuildDate>Fri, 27 Jan 2012 04:43:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>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[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><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>
<div class="shr-publisher-306"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Finvurted.com%2Fiscsi-vs-fibre-channel-storage-performance%2F' data-shr_title='iSCSI+vs.+Fibre+Channel+storage+performance'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fiscsi-vs-fibre-channel-storage-performance%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fiscsi-vs-fibre-channel-storage-performance%2F' data-shr_title='iSCSI+vs.+Fibre+Channel+storage+performance'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></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 [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><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>
<div class="shr-publisher-303"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Finvurted.com%2Fiscsi-why-a-vmkernel-and-a-service-console%2F' data-shr_title='iSCSI%3A+Why+a+VMkernel+and+a+Service+Console%3F'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fiscsi-why-a-vmkernel-and-a-service-console%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fiscsi-why-a-vmkernel-and-a-service-console%2F' data-shr_title='iSCSI%3A+Why+a+VMkernel+and+a+Service+Console%3F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></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>iSCSI security</title>
		<link>http://invurted.com/tutorial-iscsi-security/</link>
		<comments>http://invurted.com/tutorial-iscsi-security/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 00:48:45 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[iscsi]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=177</guid>
		<description><![CDATA[iSCSI, as a storage option, has less performance than fibre channel ie. it is limited to the speed of the HBAs or the network card being used, however it is far cheaper and I can leaverage my existing infrastructure to put in an iSCSI SAN. The problem becomes, in a TCP/IP network, how do I [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>iSCSI, as a storage option, has less performance than fibre channel ie. it is limited to the speed of the HBAs or the network card being used, however it is far cheaper and I can leaverage my existing infrastructure to put in an iSCSI SAN. The problem becomes, in a TCP/IP network, how do I protect the data moving between the SAN and the hosts?<span id="more-177"></span><br />
To start with, what is iSCSI? Functionally, there is no difference between Fibre Channel, iSCSI and a local SCSI controller. All three send SCSI commands to hard disks. Both Fibre Channel and iSCSI transmit over fiber and TCP/IP networks, respectively; making the network storage appear as &#8220;local&#8221; storage for the iSCSI client (or initiator).<br />
As I mentioned, iSCSI uses TCP/IP networks to transport the SCSI commands from the initiator to the target (the iSCSI SAN). iSCSI uses the default TCP port 3260 and provides no native security on communication between the initiator and the target.<br />
Here&#8217;s where the challenges begin.<br />
To start with, if my iSCSI traffic is shared on a production network there are two problems. The most dangerous is network sniffers for obvious reasons.<br />
The other immediate problem is network contention. If my iSCSI SAN shares the same network as all my production network there is a big problem with performance as my normal traffic will be competing for access with iSCSI.<br />
The solution to both problems is network isolation. This isn&#8217;t so much best practice as it is mandatory. Wether the iSCSI network is physically isolated to it&#8217;s own infrastructure or using IEEE 802.1Q (VLAN tagging), the iSCSI network should now be invisible and/or inaccessible to the production network. The only notable exception becomes the requirement for servers to access the iSCSI implementation. Easily fixed by the addition of network adapters to the servers. Even if I need to populate each server with additional NICs, this should still be cheaper than the most simple Fibre Channel implementation.<br />
Okay, now we have isolation to provide security but what about securing the communication itself.<br />
The obvious solution is IPSec. The not so obvious problem is the overhead to IPSec. For a storage network, it doesn&#8217;t seem optimal to have to encrypt and decrypt each packet as it is transmitted and received. Certainly, as of the writing of this article, there is no support for IPSec in ESX3.5 specifically.<br />
So the only real option left (in ESX particular) is authentication to verify my identity. ESX supports CHAP authentication only for iSCSI initiators and targets.<br />
CHAP (Challenge Handshake Authentication Protocol) is used to verify the identity of clients in a Point-to-point network. Your identity is verifed by using a three way handshake. After the initial link CHAP authentication is done at random intervals during the entire conversation. The one weakness is the reliance on a shared secret ie. the client&#8217;s password. ESX <strong>does not</strong> support per target credentials either. So one CHAP username and password sent to all iSCSI targets.<br />
The CHAP process goes something like the following:</p>
<ol>
<li>After the completion of the link establishment phase, the authenticator sends a &#8220;challenge&#8221; message to the peer.</li>
<li>The peer responds with a value calculated using a one-way hash function, such as an MD5 checksum hash.</li>
<li>The authenticator checks the response against its own calculation of the expected hash value. If the values match, the authenticator acknowledges the authentication; otherwise it should terminate the connection.</li>
<li>At random intervals the authenticator sends a new challenge to the peer and repeats steps 1 through 3.</li>
</ol>
<p>An example of CHAP authentication can be seen between two Cisco 3640 routers. The network is a fairly simple on and looks like this:<br />
<a href="http://invurted.com/wp-content/uploads/setup1.jpg"><img class="aligncenter size-medium wp-image-179" title="setup1" src="http://invurted.com/wp-content/uploads/setup1-300x153.jpg" alt="" width="300" height="153" /></a><br />
After enabling the serial interfaces between the two routers, I enable and configure PPP encapsulation. On the second router (R2) , I enable CHAP authentication and view debugging information on the first router (R1)</p>
<p><code><br />
*Mar 1 00:25:39.971: Se1/0 PPP: Using default call direction<br />
*Mar 1 00:25:39.975: Se1/0 PPP: Treating connection as a dedicated line<br />
*Mar 1 00:25:39.975: Se1/0 PPP: Session handle[26000001] Session id[0]<br />
*Mar 1 00:25:39.975: Se1/0 PPP: Authorization required<br />
*Mar 1 00:25:40.255: Se1/0 PPP: No authorization without authentication<br />
*Mar 1 00:25:40.259: Se1/0 CHAP: I CHALLENGE id 1 len 23 from "r2"<br />
*Mar 1 00:25:40.299: Se1/0 CHAP: Unable to authenticate for peer</code><br />
R2 is waiting for authentication from R1 and is unable to get authentication information. Now I configure CHAP authentication on r1 and observe the following:<br />
<code><br />
*Mar 1 00:26:26.867: Se1/0 LCP: Received AAA AUTHOR Response PASS<br />
*Mar 1 00:26:26.867: Se1/0 IPCP: Received AAA AUTHOR Response PASS<br />
*Mar 1 00:26:26.871: Se1/0 CHAP: O SUCCESS id 12 len 4<br />
*Mar 1 00:26:27.055: Se1/0 CHAP: I SUCCESS id 15 len 4<br />
*Mar 1 00:26:27.059: Se1/0 PPP: Sent CDPCP AUTHOR Request<br />
*Mar 1 00:26:27.063: Se1/0 PPP: Sent IPCP AUTHOR Request<br />
*Mar 1 00:26:27.071: Se1/0 CDPCP: Received AAA AUTHOR Response PASS<br />
*Mar 1 00:26:28.055: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up</code><br />
The shared secret is exchanged between the two and the Serial interface is changed to an up state.</p>
<div class="shr-publisher-177"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-iscsi-security%2F' data-shr_title='iSCSI+security'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-iscsi-security%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-iscsi-security%2F' data-shr_title='iSCSI+security'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://invurted.com/tutorial-iscsi-security/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

