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 1

By Vladan SEGET | Last Updated: April 8, 2017

Shares

The title says it all. It's possible to install StarWind SAN software on a free Hyper-V Server from Microsoft. Yes the one without the actual GUI. And that's a quite interesting (free) solution that I didn't really consider so far, being mostly VMware consultant. But clients are clients. Right? The life of an IT consultant is dependant of the client's will. Ok Let's get back to our setup. I have few free Hyper-V running in my lab (as VMs) and when you think how for example you install the VM tools in such VMs, it's actually brought up the graphical window of the application to proceed. The same happens when installing StarWind Virtual SAN. A GUI pops-up with the installer allowing to install the product. The StarWind Management console, however, needs to be executed from a remote system.

UPDATE: You should check the latest StarWind Virtual SAN Free vs Paid New Offer for 2017 which lifted almost all limits. (No Node limit, no capacity limit)

So you can basically get for free a 2 node Hyper-V cluster with StarWind doing a mirror (RAID1) for your storage and high availability. StarWind will take the local disks of each of the Hyper-V host and presents them as a shared storage (mirrored from one side to another – thus assuring HA). StarWind “sits” inside of the Hyper-V and their offer is free for 2 nodes.  In fact you can do the same for VMware (also free for 2 nodes) where you, however, would need two Windows VMs which would be the destination for the Starwind SAN software, because Starwind needs to be installed on Windows.

A screenshot from StarWind's site showing the actual setup. You can see the two synchronization connections + one LAN with cluster network and Heartbeat.

Starwind Overall Diagram

But in this article we will focus only on the Hyper-V model. The question here is not to think of it as a enterprise scale solution but rather a lab setup or very small shop with no IT budget as obviously in such a cases you won't get much support in case anything goes wrong. That's not the question today as we would like to focus on it as a free solution.

Install Free StarWind SAN on Free Hyper-V – What do I need?

  • 2 Hyper-V Free Servers Installed and configured/added to domain (I don't have a spare hardware so I'll use VMs.) with 3 NICS each and some local disks
  • 1 AD/DNS server on your network with forward/reverse DNS records for your Hyper-V hosts
  • StarWind Virtual SAN software with free license – download here.
  • Windows management Workstation or Windows Server to install StarWind Management Console

Now, if you're doing it with a real hardware and you thinking of it as a production environment, you should definitely follow StarWind's guidelines on that. They recommend the number of NICs etc… I can only highly recommends their Technical Papers and StarWind Manuals page which has the latest content.

Here is a screenshot from my lab (connected to my VMware cluster via VMware Workstation) showing the actual installation of StarWind virtual SAN on the top of Free Hyper-V. In my case the Hyper-V runs as a VM but in real life it would, of course, be sitting on some physical hardware because it's intended to run some VMs, right? But in my case it's just for the lab exercise ant test.

So first what you need to do is to actually copy the starwind-v8.exe file onto the Hyper-V so you can launch the exe file. What I simply did is that from a remote machine I copied over the network the file to the C: drive ( just access the hyper-V VM via the from the Run window like this    \ip_of_hyper_v_vmc$ ) and copy the installer file to c: drive.

Starwind Virtual SAN Test Environment

Use the default values and finish the installer. I checked all features. By default, only the Loopback Accelerator Driver was checked.

Starwind Virtual SAN Installation

Note that I should have mentioned that when copying the Starwind executable you should have also copy the license file so you can apply that. During the installation you'll be asked for it!

Starwind Installer and License file

Next we need to create partition in each of the Hyper-V hosts, on the disk that we would like to mirror. There is no GUI in the Hyper-V console so we'll use diskpart command:

First get the list of disks present in the system and select the disk where you want to create partition:

list disk

In our case it's a disk 1 that has been added to my test VM, so we do:

select disk 1

Starwind Diskpart

Now we want to create partition and assign a drive letter. Let's use those commands for that:

create partition primary

Update: In case you get error that the media is write protected, just run this command:

ATTRIBUTE DISK CLEAR READONLY

Bring the disk online with command:

online disk

Then you can see if the partition was created fine with this command:

list partition

list

Now we need to select the partition and assign drive letter:

select partition 1

and

assing letter=w

Starwind Diskpart

I know, one must type those command as there is no GUI. Well, that's the way it is. You pay the price of this free Hyper-V software by having no tools to manage it. That's no case in free ESXi from VMware where you get a Windows-based vSphere client. But you already know that…

Last step is that we must format the volume with a NTFS in order to store the StarWind's img file on it. Just use this command:

format fs=ntfs label=”data” quick

Hyper-V free with Starwind free

Next exit diskpart and start Powershell to add a MPIO feature for multipathing of iSCSI connection:

Powershell

and then:

enable-windowsoptionalfeature -online -featurename MultipathIO

mpio

Useful Diskpart commands:

LIST Disk
LIST Partition
LIST Volume

Or those ones for details:

DETAIL Disk
DETAIL Partition
DETAIL volume

Now rinse and repeat for the second Hyper-V host… -:) Quite fun…

Management Station Setup

Here we have full blown Windows Server 2012 R2 (where I also test SCVMM), and here we going to install the StarWind Virtual San management console. You don't have to use Windows 2012 for StarWind console.

When installing on a system with Windows (with a GUI) the StarWind installer behaves quite differently as it proposes the console check boxes. I just want to show up here that the installer looks a bit differently than when executed on the Hyper-V core as here we now have the console options pre-checked. Again, apply the license entitling you for free management of two nodes.

Now if you don't have Widnows 2012 or R2, you can also use W7 or W8 to install the StarWind's console as well.

Starwind Virtual San Installation

Once installed open the console and add both Hyper-V hosts to the console.

Add Hyper-V host to starwind console

We can see that there is quite a few steps to accomplish and we need to switch between consoles quite often too. If the Hyper-V standard console would allow the local disk management then it would have been much easier.

I see that this post gets quite large so I'll do the rest in a follow up post. What we have done so far was quite a few steps:

  • Installed StarWind Virtual SAN on both Free Hyper-V servers
  • Installed a StarWind console on a management station
  • Added both hyper-v hosts to the StarWind's console
  • Created a volume, assigned a drive letter and formated a volume where will reside the StarWind's img file which will be replicated to the other hyper-V host.

Update: Install Free StarWind SAN on Free Hyper-V – Part 2

You can download plenty of other documentation and resources from StarWind's Technical PDF page here.

Shares
5/5 - (3 votes)

| Filed Under: Free Stuff, Home Lab Tagged With: Starwind Virtual 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. Ivan Omazic says

    October 28, 2014 at 8:33 am

    Hi,

    Very good review as always. Maybe you can ad some lines about Corefig in part 2.

    https://corefig.codeplex.com

    Thanks,
    Ivan

    • Vladan SEGET says

      October 29, 2014 at 5:16 am

      Hi Ivan,

      Thanks for those kind words. Yes, corefig. Why not. But I think that I have already wrote a post on the W2012 core: http://www.vladan.fr/core-configurator-2-0/ which is basically the same. Hyper-V has less features “baked” in…

      and also some other tips here: http://www.vladan.fr/windows-server-2012-core-or-gui/

  2. Scott Rymer says

    January 14, 2015 at 8:44 pm

    But Starwind for a 2-Node Hyper-V isn’t free… it’s at least $2400 ???

  3. Konstantin says

    March 17, 2015 at 8:35 am

    It’s free for non-commercial use, but you should request the key:
    “NOTE: Initially, you get StarWind Virtual SAN Free version which runs in “Compute and Storage Separated”
    scenario on a single host and serves storage to any number of clients. This version is distributed freely.
    If you need hyper-converged setup, contact [email protected]”

    But they don’t reply or answer something like “uh, oh, we think you don’t need it, use trial”.

    • Vladan SEGET says

      March 17, 2015 at 9:39 am

      Thanks for your input Konstantin. Users of Starwind VSAN will hopefully find this useful.

  4. Konstantin says

    March 17, 2015 at 2:44 pm

    Well, now i’m not sure about non-commercial use only. Can’t find any proof of it. BTW, at last i’ve got a 2 node licence.

  5. Gurdip Sira says

    June 12, 2015 at 3:41 am

    Hi,

    Could you cover the way the three NICs are setup?

  6. Sebastian Topczewski says

    July 17, 2015 at 10:43 am

    On official site of Star Wind I have found document – starwind-virtual-san-free.pdf where is information:

    StarWind allows production use which is a huge differentiation point. Solution is self-supported and community-supported on StarWind publically open discussion forums. Paid version unlocks high available iSCSI SAN functionality, Scale Out, Disaster Recovery site spawned in any public or private cloud and 24/7 support with strict Service Level Agreements. Hardware-less Hyper-Converged installation option is also possible with a paid version. Free deployment can be easily turned into paid one with a simple license upgrade. No downtime would happen and no data migration is required!

    So now there is no problem to use It in small production environment.

    Greetings !
    Sebastian

  7. Sebastian Topczewski says

    July 17, 2015 at 10:46 am

    Other document:

    https://www.starwindsoftware.com/styles-v2/pdf/starwind-free/Free_vs_Paid.pdf

    there on site 1 is information:

    “StarWind Virtual SAN Free. FREE. Production use IS allowed.”

    Greetings !
    Sebastian

  8. Gabriel says

    September 22, 2015 at 8:22 pm

    Hi Vladan

    I’m trying to install a SAN starwind V8 Free in a Hyper-V 2012 R2 Free following steps in this article but it is not possible with this kind of license. In Starwind support said me that I should use trial (not free) license.

    In this scenario SAN Starwind V8 Free only can be installed if Hyper-V (or Windows 2012 Server R2) is a paid product.

    In the article above you install SAN Starwind Free license in Hyper-V 2012 R2 (Core) Free. Right?
    Is there any change in this?

    Best Regards
    Gabriel

  9. Stefan says

    January 5, 2016 at 3:09 pm

    Hello Vladan,

    I am quoting you: “The title says it all. It’s possible to install Starvind SAN software on a free Hyper-V Server from Microsoft. Yes the one without the actual GUI. And that’s quite interesting (free) solution that I didn’t really consider so far, being mostly VMware consultant. … ”

    What you actually miss here is that as of now it is not allowed to do so from a Microsoft licensing perspective. The solution is not “free” as you mention it. This is just wrong/misleading. Microsoft allows you to use the free Hyper-V server for hosting virtual machines. Nothing else.

    I contacted Micrsoft and got this confirmed. Once you install someting in the parent partition (any additional service except system center agents) you need to license your server / parent partition.
    From my perspective you are proposing a risky path for customers / other people. If they get caught by Microsoft they probably need to pay a little extra for using the software in a way which is not allowed.

    Technically this may be possible but that is a totally different story.
    Best regards
    Stefan

    • Vladan SEGET says

      January 5, 2016 at 3:27 pm

      Oh, this would be interesting to hear a Starwind’s point of view. Possibly things has changed, the post was written I think over a year ago…

    • Max says

      January 13, 2016 at 6:46 pm

      Hi!
      Any chance you could point me to the document Microsoft used to back their statement?
      As of June 2015 I got 5 contradicting verbal answers from them, majority saying it’s allowed but not supported so a clear NO statement is something I want to investigate.
      Thanks!

  10. Stefan says

    February 1, 2016 at 1:29 pm

    Hello Vladan,

    this has not changed since years. Basically it is like this since Hyper-V Server 2008 R2 (as far as I know).
    It is just not “as obvious” as we would like it from a technician perspective.
    I needed to talk to some people internally at Microsoft and those got redirected various times internally to find the responsible department. The answer itself came from the “Licensing Helpdesk” (just in case someone would like to get this statement from them as well).

    From their answer: “Hyper-V Server is a standalone product that includes the Windows Hypervisor, a Windows Server driver model, and virtualization components. You can find further information in the TechNet Library.
    The Hyper-V Server license does not include the right to run Windows Server in a physical or virtual operating system environment. The free license only contains the hardware virtualization services and the right to run software to manage and service operating system environments.”

    They referred to this document: https://www.microsoft.com/en-us/download/confirmation.aspx?id=497

    And especially this section:
    “Running Instances of the Server Software. For each software license you assign, you may run one instance of the server software in the physical operating system environment on the licensed server. The instance of the server software running in the physical operating system environment may be used only to:
    · provide hardware virtualization services, and/or
    · run software to manage and service operating system environments on the licensed server.”

    Best Regards
    Stefan

    • NISMO says

      April 14, 2017 at 12:16 am

      >· run software to manage and service operating system environments on the licensed server.”

      But this is exactly what StarWind does! It’s OK to install A/V agents, virtual switches, system software etc as long as they are needed to run virtual machines. That’s what SDS stack does.

  11. Miguel says

    February 24, 2016 at 3:44 pm

    Is there any way of not sync the disks?

  12. Miguel says

    December 9, 2016 at 2:03 am

    Hello,
    We need AD/DNS Server With Windows Server 2016?.
    If it is needed, how I will make it in Lab enviroment?.

    Best Regards,

    • Vladan SEGET says

      December 9, 2016 at 5:44 pm

      I’m not quite sure what you are refrering to. The post was a demo environment only. If you plan for a production deployment, please make sure to contact Starwind folks. They are very helpful. Thanks for your coment.

  13. Joran says

    December 21, 2016 at 5:37 pm

    Great post Vladan!

    However, i’m having some problems as well, i’m running server2016 on a physical machine, with hyper-V installed, and when i enter my license for the free Starwind VSAN, i’m getting an error that says “The license you are trying to apply requires a different platform” And it says it can’t be used on a physical machine with hyper-V

    Any ideas? 🙂
    Thanks.

  14. Taras Shved (StarWind) says

    December 23, 2016 at 1:13 am

    Guys, thank you very much for your feedback.

    After Vladan wrote this post, our free version licensing policy has been changed twice already. The current version does not support being installed on a host with Hyper-V installed neither it can be installed on a virtual machine. Possible deployment scenarios can be found in Quick Start Guide here https://www.starwindsoftware.com/starwind-virtual-san-free.

    A new free and allowed for production, fully functional and without any limitations version is coming in January 2017. Stay tuned 😉

    • Miguel says

      January 3, 2017 at 2:19 am

      Hi,
      I need to evaluate StarWind and my test environment is virtual (two vm servers on esxi).
      How can I do the tests ?.

    • JustinYD says

      March 27, 2017 at 8:23 pm

      I was wondering if this has happened or not? As of Feb you still needed the paid license or NFR to install converged.

      • NISMO says

        April 14, 2017 at 12:18 am

        They had dropped all the restrictions so far. It’s OK to use N-node setup, unlimited capacity and production use IS allowed.

        https://www.starwindsoftware.com/starwind-virtual-san-free

  15. QueryGuy says

    April 20, 2018 at 5:10 pm

    You said:
    “2 Hyper-V Free Servers Installed and configured/added to domain (I don’t have a spare hardware so I’ll use VMs.) with 3 NICS each and some local disks”

    I don’t quite understand: You need to have 2 Hyper-V free servers added to Windows domain?

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

  • Nakivo Backup and Replication v11.1 BETA adds more Proxmox friendly features
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • 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

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