ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

Install Free Starwind SAN on Free Hyper-V – Part 2

By Vladan SEGET | Last Updated: March 17, 2015

Shares

In the first part we have done quite a lot, but there is still more steps to come. We basically have those two Hyper-V nodes installed with Starwind Virtual SAN and we created some volumes on each of the node, which will be mirrored by Starwind. Now I'll show you how to go further, setup the synchronous mirroring within the Starwind console plus setting up the iSCSI storage which will be present to both Hyper-V nodes. We will also create Hyper-V and add those highly available storage to the clustered shared storage in order to be used as a storage for both Hyper-v nodes.

Now, we don't have to touch our Hyper-V nodes again (except installing MPIO driver later on) but we will have to create the mirrored storage through the Starwind console. If you missed the part 1 you should have a look in order to pick up here to continue the setup.

Go to the Starwind Management Console installed on the management station and follow those steps:

Click Add Device (advanced) > Hard Disk Device > Virtual Disk > Chose the destination (as on the screenshot below) and size > Then use Thick > Write-Back > Select L2 cache size (left default)

Starwind Virtual San Free on Hyper-V Free

Continue the assistant and leave the Allow Multiple concurrent iSCSI connections checked.

Starwind Virtual SAN and Free Hyper-V

Click the Create button and you should see the final screen like this:

Free Starwind virtual san on Free Hyper-V

Now we need to configure the replication. Let right click the image file we have just created, through the Starwind console. Just expand the Starwind1 target you can see in the console to access the imagefile1.

Free Starwind Virtual SAN on Free Hyper-V

There will be a new Window which will pop-up > click the Add Replica button > Leave the Synchronous “Two-Way” replication checked (default) and click next. You'll need to enter the IP address of the other Hyper-V node. Continue the wizard and select create new Partner device

Starwind Virtual SAN on Free Hyper-V cluster

On the path select the same path for storing the replica, that we have selected for the Hyperv01 (it means the W: drive) . Until now, nothing supprising…

Starwind Virtual SAN with Free Hyper-V

Now we come out to see the selection for the network for synchronization and heartbeat. You'll need to check the case “Allow free select interfaces”

Starwind Virtual SAN on Free Hyper-V server

Next click the Create button and then Finish. You should see the progress and then the waiting window…

Starwind Virtual SAN with Hyper-V

If you get an error of synchronizing, just check the NICs (mix and match). I swapped some and the syncing just kicked in. It's probably better approach to hook just 1 NIC and than add a second (at least for the synchronization channels), because if you don't you might end up “crossing” the channel's NICs like I did… -:).

Starwind Virtual SAN and Hyper-V Free

Do the Same for CSV1 and CSV2 volumes (note you should create at least one CSV and one Witness).

The Starwind console should look like this:

Setup Free Starwind with Free Hyper-V

Back to our Hyper-V hosts to configure the iSCSI and MPIO

The next step is to install MPIO drivers on each of the Hyper-V node so several paths between iSCSI initiator and target can be set.

At the command prompt type “powershell” and then type this command to install MPIO:

Install-WindowsFeature Multipath-IO

Reboot the host…

Open the Hyper-V console on the host and type this command to bring up iSCSI initiator configuration window:

iscsicpl

Starwind Virtual SAN and Hyper-V Free version

You should enter the other node's IP address and when clicking the advanced button, you should drop down the menu to select Microsoft iSCSI Initiator. Do this for both sync interfaces and also for localhost (127.0.0.1). So you should end-up on both Hyper-V nodes with an iSCSI config like this one:

Starwind Virtual SAN and Hyper-V Free

And then connect the target and enable multi-pathing… on both nodes. Use different IP subnet for each synchronization channel.

Starwind Virtual SAN and Hyper-V Free

Your target TABS on both hypervisors should look like this….

How to setup free Starwind with Free Hyper-V

Now go and click the Devices button and then the MPIO button > change the Round robin policy to Fail Over Only . Check that's the localhost and 127.0.0.1 interface used for active path. Do the same on the other node.

Starwind Virtual SAN and Hyper-V Free

Once you see that both hosts has both enabled MPIO and ou have sucesfully setup the iSCSI initiators and targets, we can now go tot the management station where we will format the newly created volumes – the iSCSI disks.

Start the Server manager and if you have not already done before, add both hyper-v nodes to the console >

Now go to the management console and start Microsoft Failover Cluster Manager Console. Click the Create Cluster on the right and start the wizard > Add the two hyper-v nodes to the cluster. then in the File and Storage services select Disks and right click one of the iSCSI bus types and do initialize as on the screenshot.

Starwind setup for Free Hyper-V

You'll get a small warning saying that you'll erase all data when initializing as a GPT disk. Once done right click again and create New Volume, format as an NTFS volume with a meaningful name.

Free Starwind SAN on Free Hyper-V

The wizard should finish like this…

Starwind on Free Hyper-V

Now when you have created the disks we can create a cluster via Failover cluster manager. But before we do that we have to first install the role on both hyper-v nodes. We can do it through the server manager once again. Right click the server > Add roles and features > go through the assistant until the Features pages appears. Check the Failover clustering feature.

Free hyper-v with free Starwind virtual  SAN

Do the same for the second node while you there, and then start the Failover Cluster manager console to create a cluster. First select both hyper-v nodes which will participate in the cluster.

Failover cluster Hyper-V

Next chose a name for the cluster and select the NICs which will be used and IP address of the cluster you're creating. You should see newly created cluster with some disks as well. And those disks shall be added to be part of the clustered shared volumes. Do a right click bring them online and add those disks to CSV.

Failover clustering with Free Hyper-V

That's about it. We have just successfully setup a high available storage based on local disks in each hyper-v node, and this storage is presented as a high available iSCSI volumes (protected by Starwind virtual SAN). Check out the full guide at Starwind's site here – Starwind Technical Papers.

Shares
Vote !

| Filed Under: Home Lab, How To Tagged With: Install Free Starwind SAN on Free Hyper-V

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Arsalan says

    September 28, 2016 at 4:47 pm

    Hi Vladan
    its very very cool and useful for me.i really proud of you.
    thanks for your time and energy
    sharing is caring i believe that 😉

  2. David Ferguson says

    October 18, 2016 at 10:15 pm

    Wow, this is is exactly what I would like to do, I have 2 physical servers running windows server 2012 R2 STD each has their own storage in fact each is pretty much an exact replica.

    Each server has 4 Nics in 2 1GB Nics and 2 10GB nics.

    Can I use your example above create a shared highly available storage, also do you know what the limits of the storage is?

    Kind regards
    Dave

    PS I’m not a techie by any stretch but the servers were setup and configured by myself. I dont really want to go down another server/SAN route for the shared storage.

    • Vladan SEGET says

      October 26, 2016 at 6:55 am

      You can always contact Starwind, to make sure you’re on the right track. -:) They’re helpfull.

  3. John says

    January 23, 2017 at 1:31 pm

    I tried this on a full copy of 2012 R2 and I found I had to open the mpio control (from the control panel or mpiocpl from the prompt) and check the box to “add support for ISCSI devices”. Once I did that MPIO was no longer grayed out. I am not sure if I missed a step but just mentioning it in case anyone else has this issue.

  4. El jamali says

    August 10, 2018 at 1:44 am

    thank you for your time and sharing
    but please i have one issue : can i do this lab with just two nics teamed together (1Gb+1Gb) and create the nessecary vnics to acheive the lab
    thank you again
    best regards

  5. Giulio says

    March 3, 2020 at 1:03 pm

    Hello,

    thank you for sharing your very useful and interesting experience.

    I am looking for information about the recovery time in case of host switch off (power failure for example). Did you perform any test regarding the downtime duration for this two-node virtual SAN based failover cluster?

    Would the operative system of the virtual machine be totally rebooted or would it be moved (including RAM content) to the virtual machine on the secondary node creating only a temporary service downtime?

    Thanks in advance for your reply.

    Best regards

    Giulio

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!
  • Installation of StarWind VSAN Plugin for vSphere
  • Protect Mixed environments with Nakivo Physical Machine recovery (bare metal)
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • Tails – Your Private OS on USB Stick
  • StarWind V2V Converter Now has CLI
  • Veeam VHR ISO v2 – 2025 Download and Install
  • Deployment OVA and Installation of Nakivo Backup and Replication for VMware
  • XCP-NG FREE Hypervisor and XO Lite to deploy XOA

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in