Add ISCSI Backed HA CSV Windows Hyper-V Server 2012 R2 Failover Cluster

Spin up 3 ISCSI Targets. (Base # needed for Expandable Parity disk in Windows Storage Spaces)
(I use FreeBSD / ZFS / ZVOLS)
(Could be 3 targets on same node, but for true HA, I use 3 physical Nodes (In this example, one target per node))
(Engineer your HW and disk layout as needed to meet your performance / robustness requirements)
(HW redundant everything – Power, Nics, Switches, etc…)
(Engineer your networking correctly (MPIO vs LAGG/Teaming))

Add the 3 Targets to ONE node of your Failover Cluster Nodes
(Windows Hyper-V Server 2012 R2)(Need Active Directory/M$ DNS for Failover Cluster):
(I use old school Computer Manager from remote PC to mirror the OS Volume to two spindles on these heads (keep closing and opening))
(I tried with FreeBSD10/Samba 4 as DC/DNS – Didn’t work out of the box for me (might have been able to if I manually created all SVR records etc)…ANYWAYS)

(Modify/Repeat as needed for 3 targets):
::addISCSITGT.bat
sc config msiscsi start= auto
net start msiscsi
iscsicli NodeName iqn.2014-03.org.mikrodots.mikrovserver3
iscsicli CHAPSecret SuperDuperSecret
iscsicli AddTargetPortal mikrobsd.mikrodots.org 3260 * * * * * * * * * * SuperDuperPassword 2

iscsicli PersistentLoginTarget iqn.2013-11.org.mikrodots.mikrobsd:MikroBSD400G t mikrobsd.mikrodots.org 3260 * * * * * * * * * * SuperDuperPassword 2 * *
iscsicli LoginTarget iqn.2013-11.org.mikrodots.mikrobsd:MikroBSD400G t mikrobsd.mikrodots.org 3260 * * * * * * * * * * SuperDuperPassword 2 * *

Get into Failover Cluster Manager
Select your cluster -> Storage
Right click Pools -> Add Pool
Select your three ISCSI Target disks – Create pool
Create a Parity Disk (Expandable in future) on that pool.
Create a Volume on that disk
(IN FCM): go to your Cluster -> Storage -> Disks
Add it to Cluster Shared Volumes

Celebrate!

Leave a Reply

Your email address will not be published. Required fields are marked *