{"id":11154,"date":"2011-04-07T19:31:29","date_gmt":"2011-04-07T19:31:29","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=11154"},"modified":"2011-04-07T19:31:29","modified_gmt":"2011-04-07T19:31:29","slug":"first-impressions-free-microsoft-iscsi-target-for-w2008-r2","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=11154","title":{"rendered":"First Impressions: Free Microsoft iSCSI Target for W2008 R2"},"content":{"rendered":"<p>Today I downloaded and installed the free iSCSI target for Windows Server 2008 R2 that was just released.&#160; I needed something free and lightweight for the lab in work.&#160; We\u2019re using a pair of HP DL165 G7s as clustered hosts and a DL180 G6 with \u201ccheap\u201d SATA disk as the \u201cSAN\u201d.&#160; I was planning on using Windows Storage Server 2008 R2, but then I saw the tweet by Microsoft\u2019s Jose Barreto that announced the release.&#160; Perfect \u2013 that was one less ISO I would have to download.<\/p>\n<p>I deployed W2008 R2 from the WDS VM in the lab and downloaded the compressed setup file.&#160; After it was extracted, I installed the the target.&#160; That gives you a simple enough tool to use.<\/p>\n<p>The service creates targets.&#160; Each target is a collection of disks (fixed size VHDs that are stored on the iSCSI target server) and you permission the target using IQN, MAC, IP address \u2026 and I can\u2019t remember if DNS name was one of the options or not.<\/p>\n<p>I needed two targets.&#160; One would be for the VMM library.&#160; For my lab, VMM would be running as a VM on a standalone host (another DL165 G7).&#160; I set up a target with a disk and permitted the iSCSI addresses of the standalone host to connect.<\/p>\n<p>On the standalone host I added the MPIO feature, enabled iSCSI, and added the iSCSI NICs devices.&#160; In the initiator, I added the target IP address, enabled multipath, and added the volume. All I had to do now was format it in Disk Management.<\/p>\n<p>For my Hyper-V cluster (all the networking was set up), I set up a second target, and permitted the 4 iSCSI NIC IP addresses of the 2 hosts to connect.&#160; The first disk&#160; I created was a 1GB VHD.&#160; This would be for the cluster witness.<\/p>\n<p>Back on each clustered host, I added the Hyper-V role, and added the MPIO and Failover Clustering features.&#160; Once again, I enabled iSCSI in MPIO and added the NIC devices.&#160; On each host, I connected to the target IP address and enabled multipath.&#160; It found the second (cluster storage) target and did not find the first (VMM storage) target.&#160; That\u2019s because the VMM storage target did not permit the IP addresses of the clustered hosts iSCSI NICs to connect.&#160; The witness disk was added.<\/p>\n<p>Now I set up the cluster.&#160; The witness disk was added and I renamed it to \u201cWitness Disk\u201d in Failover Clustering. <\/p>\n<p>Now I needed some storage for VMs.&#160; In the CSV target admin console, I created another disk on the \u201cSAN\u201d server of the required size.&#160; It was associated with the second (cluster storage) target so the clustered hosts could now see it in Disk Management.&#160; I formatted the volume, labelling it as \u201cCSV1\u201d, and added it into Failover Clustering, renaming it as &quot;CSV1\u201d in there.&#160; CSV was enabled in Failover Clustering, and the CSV1 disk was added as CSV storage.<\/p>\n<p>I repeated that process to create CSV2.<\/p>\n<p>A couple of VMs later and I had a fully functioning Hyper-V cluster working with a free Microsoft iSCSI target, running on relatively economic storage.<\/p>\n<p>I found the iSCSI target to be really easy to set up and use.&#160; You just need to get used to the idea that you are sharing VHDs instead of LUNS to your iSCSI clients.&#160; The performance is OK \u2013 it\u2019s never going to match a dedicated appliance like a Compellent, P4000, or a Clarion.&#160; But it sure does beat them on price and quick availability.&#160; I had no complaints but I intend this lab to be a lab, not a production private cloud with hundreds of VMs.<\/p>\n<p>I was asked if I would run performance benchmarks.&#160; I though this would be pointless \u2013 you cannot compare something that is intended to run on a huge variety of economic platforms (I\u2019m using a non-dedicated HP 1 Gbps switch in the lab, along with slow SATA disk on a budget storage server) with something like a pre-set collection of gear like you get with a HP P4000 bundle.&#160; Everyone\u2019s performance experience of this solution will vary wildly.<\/p>\n<p>This sort of solution is going to be of use in two scenarios:<\/p>\n<ol>\n<li>Demonstrations and training labs:&#160; If you need to try something out quick or show clustering in action, you can\u2019t beat something that you can run even on a laptop and is free to download and use.<\/li>\n<li>Low end, budget production clusters: No, it cannot match a storage appliance or even other paid-for iSCSI software solutions for features or performance, but I bet you that many low end, 2 or 3 node cluster owners would prefer economy over features.&#160; Not everyone needs snapshots replicating to a remote site, you know!<\/li>\n<\/ol>\n<p>Give it a look-see and find out for yourself what it can do.&#160; You might have an EVA 8000 series or some monster Hitachi SAN for production \u2013 but maybe something like this could be useful in a test lab?<\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:4a895fde-d333-4b1a-a07f-9071527647e6\" class=\"wlWriterEditableSmartContent\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Failover+Clustering\" rel=\"tag\">Failover Clustering<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Hyper-V\" rel=\"tag\">Hyper-V<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Windows+Server+2008+R2\" rel=\"tag\">Windows Server 2008 R2<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Virtualisation\" rel=\"tag\">Virtualisation<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today I downloaded and installed the free iSCSI target for Windows Server 2008 R2 that was just released.&#160; I needed something free and lightweight for the lab in work.&#160; We\u2019re using a pair of HP DL165 G7s as clustered hosts and a DL180 G6 with \u201ccheap\u201d SATA disk as the \u201cSAN\u201d.&#160; I was planning on &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=11154\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;First Impressions: Free Microsoft iSCSI Target for W2008 R2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[20],"tags":[63,181,195,117],"class_list":["post-11154","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-failover-clustering","tag-hyper-v","tag-virtualisation","tag-windows-server-2008-r2"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/11154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11154"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/11154\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}