Storage

StarWind VSAN for vSphere Virtual Appliances

A look at StarWind VSAN for vSphere Virtual Appliances, installation, configuration, and adding storage to VMware vSphere ESXi hosts

You may have been considering VMware vSAN for your ROBO or Edge environment, however, your budget constraints simply do not allow purchasing a supported configuration for use with a VMware vSAN solution.  The reality is that if you don’t have the budget to configure specific hardware and other configurations, you are simply not able to leverage software-defined storage architectures.  I would like to introduce you to StarWind VSAN for vSphere solution as it may be a great fit for your needs.  It allows you to have the flexibility and fault tolerance you need for virtual workloads, even if you are bound by strict budgets and hardware configuration that may not be supported by the VMware HCL.  Let’s take a look at StarWind VSAN for vSphere – what it is, how it is configured, and what capabilities it gives your business.

StarWind Virtual SAN for vSphere Overview


What is the StarWind Virtual SAN solution and how is it different from other storage solutions?  StarWind Virtual SAN (VSAN) for vSphere offers a really unique approach to storage provisioning in vSphere environments.  It is a prepackaged Linux virtual machine that is configured as a VM on vSphere.  The Linux virtual machine creates a VM-centric and high-performance storage pool for VMware vSphere clusters.  So, now, there is no need to make use of Windows Server VMs to host the StarWind solution, saving on both complexity and licensing costs.

The appeal to the StarWind VSAN solution is that it eliminates the need for any physical shared storage.  On top of this, it is able to achieve a high performance and high availability storage solution for vSphere on minimalistic hardware requirements. 

While software-defined storage like VMware vSAN can be great for many different environments, it has very strict standards of hardware and compatibility to have a supported vSAN configuration.  Additionally, licensing for products like vSAN can present challenges to your environment.  If you need certain features, you may be required to upgrade the next level of licensing for those capabilities. 

Instead of being locked into specific hardware vendors and other hardware compatibility requirements, StarWind allows you to use simple, commercially available hardware configurations that remove the need for costly proprietary components and configurations.

There are a number of features and key points around the StarWind VSAN for vSphere solution that stand out to me.  Those include:

  • StarWind provides the ability to have true high availability with just two nodes in your vSphere environment
  • Unlike the VMware vSAN solution, this is without the need for a witness host that provides the quorum functionality
  • There is no Hardware Compatibility List (HCL) for StarWind VSAN as it is supported in any environment that meets the minimum requirements
  • There are no different levels of licensing for different feature sets

Free vs Paid

StarWind does have a VSAN free offering and a paid option for vSphere and Hyper-V.  While both are supported for production purposes, there are three main differences between them. 

  • Free is limited to 3 VSAN nodes
  • You can only use the StarWind Management Console with the paid version
  • There is no support with the free version

StarWind VSAN for vSphere Requirements

As mentioned, the solution uses very lightweight Linux appliances that make the software-defined storage solution possible.  The requirements for the Linux VM appliances are straightforward.

  • Minimum of 4 virtual processors with 2 GHz reserved
  • 4 GB of RAM
  • 3 virtual NICs provisioned for management, iSCSI, and synchronization
  • L2/L3 multisite network applied according to the appropriate StarWind failover strategy
  • Each iSCSI and Synchronization network channel throughput should be at least 1Gbps
  • The 10Gbps or higher link bandwidth is highly recommended
  • The maximum supported latency for StarWind synchronous storage replication should be 10ms round-trip time (RTT)
  • The maximum supported latency between the ESXi ethernet networks should be 10ms round-trip time (RTT)

Now that we know the requirements of the solution, let’s take a look at deploying the Linux virtual appliances in a VMware vSphere environment.

Installing StarWind VSAN for vSphere

The download of StarWind VSAN for vSphere is provided as a .zip file that you download from a StarWind website.  Unzip the package and you will have the following files to choose for deploying the Linux virtual appliance:

  • StarWindVSAN_vSphere.mf
  • StarWindVSAN_vSphere.ovf
  • StarWindVSAN_vSphere-1.vmdk
  • StarWindVSAN_vSphere-2.nvram

The process is just standard for deploying an OVA/OVF template.  Choose your files and click Next.

Choose-the-files-contained-in-the-StarWind-VSAN-for-vSphere-download
Choose the files contained in the StarWind VSAN for vSphere download

Skipping ahead in the Linux appliance deployment process, the next screen that you want to specifically pay attention to is the 6. Select networks screen.  Here you want to line up your port groups with the respective source networks configured on the Linux virtual appliances.

Select-the-vSphere-portgroups-to-use-with-the-three-different-networks-required-for-the-StarWind-virtual-appliance
Select the vSphere port groups to use with the three different networks required for the StarWind virtual appliance

Ready-to-complete-the-deployment-of-the-StarWind-Linux-virtual-appliance
Ready to complete the deployment of the StarWind Linux virtual appliance

Once the Linux virtual appliance is deployed, you will want to add a new VMDK virtual disk for the purposes of presenting as storage to your ESXi hosts.  To do this, you simply add a new hard disk to your Linux virtual appliance.  Make sure Disk Provisioning is set to Thick Provision Eager Zeroed as per best practice outlined by StarWind.

Add-a-new-VMDK-that-will-be-used-for-a-storage-pool-for-virtual-machine-storage
Add a new VMDK that will be used for a storage pool for virtual machine storage

Once the new disk is added to the StarWind Linux virtual appliance, you are ready to boot up the VM and continue configuration from the web admin console on the Linux virtual appliance itself.  Log in to the solution using the default username and password:

root/root

Browse-to-the-Starwind-Linux-virtual-appliance-IP
Browse to the StarWind Linux virtual appliance IP

Now, let’s set up storage for the solution.

Configuring Storage

One of the important steps in the Linux virtual appliance setup is configuring storage for the solution.  When you deploy the Linux appliance, it is not configured with the storage that will be used for block storage which will be attached to your vSphere ESXi hosts

As shown above, we added a “thick provisioned eager zeroed” VMDK for that purpose.  There are a couple of extra steps we need to perform to provision storage that was attached to the virtual machine in vSphere.

Click Storage and then click the disk that was added in the right-hand pane under Drives.

Begin-provisioning-the-new-storage-added-to-the-Linux-virtual-appliance
Begin provisioning new storage added to the Linux virtual appliance

We need to format the drive so that it can be used.  Click the Format button.

Format-the-new-disk-added-to-the-StarWind-Linux-virtual-appliance
Format the new disk added to the StarWind Linux virtual appliance

Choose the following:

  • Erase – Overwrite existing data with zeros
  • Mounting – Custom
  • Mount Point – here as an example we are using the path /mnt/disk1
  • Mount Options – Mount at boot
Configure-the-formatting-options-for-the-new-storage-disk
Configure the formatting options for the new storage disk

After the format operation is finished, click the Mount button.

Mount-the-newly-formatted-disk
Mount the newly formatted disk

The storage is now formatted and mounted.

The-new-disk-is-successfully-mounted
The new disk is successfully mounted

Now, the storage is ready to go to be managed as part of the StarWind VSAN for vSphere solution.  What about the network configuration for the required networks?

Configuring the Linux Appliance Networking

The Linux Virtual Appliance deploys with three virtual NICs provisioned with the appliance.  You need to connect these with the virtual network port group that you want to carry traffic for management, iSCSI, and synchronization traffic. 

The adapters will attempt to auto-configure with DHCP.  However, as in my case, I needed to configure the iSCSI and Sync adapter IP addresses.

This can be done in the web management interface of the Linux appliance.  As you can see below, I have connected the respective adapters to the network I want to use for carrying the different types of traffic.

Click-each-network-adapter-and-configure-the-IP-address-settings-for-the-respective-networks
Click each network adapter and configure the IP address settings for the respective networks

StarWind Management Console Installation

To manage the solution, you still need to install the StarWind Management Console.  You may wonder where you can get this installation.  This is part of the Windows StarWind Virtual VSAN installation when you run the installer for the Windows installation of StarWind VSAN. 

If you only want to install the StarWind Management Console, simply uncheck all the other components besides the StarWind Management Console.  As you may have determined, you will need a Windows management host of some type such as a Windows 10 workstation to install the StarWind Management Console. 

Installing-the-StarWind-Management-Console-component
Installing the StarWind Management Console component

Configuring StarWind VSAN for vSphere

Now that we have the StarWind VSAN for vSphere solution components installed, including the Linux virtual appliances and the StarWind Management Console, we are ready to begin configuring the solution.  This will be done using the StarWind Management Console on your Windows management workstation.

Open the StarWind Management Console and add your Linux virtual appliances to it.  You will see the +Add Server button on the dashboard of the management console.  Click on the link and enter the IP/FQDN of your Linux appliance(s). 

Beginning-to-add-the-Linux-virtual-appliances-to-the-StarWind-Management-Console
Beginning to add the Linux virtual appliances to the StarWind Management Console

Enter the StarWind Server IP address.

Enter-the-IP-or-FQDN-for-your-StarWind-Linux-Virtual-appliances
Enter the IP or FQDN for your StarWind Linux Virtual appliances

Next, connect to the StarWind server.

Connect-to-the-Linux-virtual-appliance-added-to-the-StarWind-Management-Console
Connect to the Linux virtual appliance added to the StarWind Management Console

You will be prompted to enter a License key for the solution.  Browse to your license key and provide this before moving on with the configuration.

Enter-your-License-file-location-for-activating-the-solution
Enter your License file location for activating the solution


One of the first tasks you will be prompted to complete is configuring a storage pool.

The-message-that-the-storage-pool-needs-to-be-configured-in-the-StarWind-Linux-virtual-appliance-appears
The message that the storage pool needs to be configured in the StarWind Linux virtual appliance appears

In the storage pool configuration, I am choosing the disk that we added to the Linux virtual appliance.

Open-the-new-disk-that-was-added-for-the-Storage-Pool
Open the new disk that was added for the Storage Pool

After adding two StarWind Linux virtual appliance nodes to the StarWind Management Console

Now that we have our Linux appliances added to the StarWind Management Console, let’s take a look at how to configure the appliances’ storage devices and storage.

Adding Storage Devices and Storage

Click the Add Device button.

Adding-a-storage-device-on-a-Linux-appliance
Adding a storage device on a Linux appliance

You will be asked for a Name and Size of the Virtual Disk.

Set-the-name-and-size-of-the-storage-device
Set the name and size of the storage device
The-add-device-wizard-begins-creating-the-storage-device
The Add Device Wizard starts for creating the storage device

The device is created successfully.

Storage-device-creation-completed-successfully
Storage device creation completed successfully
After-adding-storage-devices-to-both-Linux-appliances
After adding storage devices to both Linux appliances

Now that we have the actual storage devices configured, let’s look at setting up Replication between the two Linux appliances.

Configuring Replication for StarWind VSAN for vSphere

To take care of high availability of your data, StarWind uses a replication mechanism that synchronizes your data from one StarWind Linux virtual appliance with another.  This can be a synchronous or asynchronous replication.  To configure replication, launch the StarWind Management Console.  Right-click on your device and select Replication Manager.

Launching-the-replication-manager-in-StarWind-Management-Console
Launching the replication manager in the StarWind Management Console

Next, we will add a replication partner.

Beginning-to-add-a-replication-partner
Beginning to add a replication partner

Next, choose the replication mode of data synchronization.

Choosing-the-replication-mode-for-StarWind-VSAN-for-vSphere
Choosing the replication mode for StarWind VSAN for vSphere

Enter the address of the replication partner.

Add-the-partner-node-for-replication
Add the partner node for replication

Define the Failover Strategy.

Choose-the-failover-strategy
Choose the failover strategy

Either create a new device or select an existing Partner Device.

Choosing-the-partner-device-setup-to-create-new-or-use-existing-device
Choosing the partner device setup to create new or use existing device

A new partner device will be created.

Configuring-the-StarWind-replication-partner-storage-device-configuration
Configuring the StarWind replication partner storage device configuration

The network options for replication allows configuring the specific networks that will carry different kinds of traffic.  Click the Change Network Settings button.

Choosing-the-network-options-for-the-replication-configuration
Choosing the network options for the replication configuration

By way of placing checks in the boxes, designate which networks will be used for which services.

Select-interfaces-for-synchronization-channels
Select interfaces for synchronization channels

The networks are selected for synchronization and heartbeat services.

Networks-selected-for-synchronization-and-heartbeats
Networks selected for synchronization and heartbeats

Choose whether or not you want to synchronize the data after creating the replica node.

Select-your-replication-initialization-mode
Select your replication initialization mode

Now, you are ready to create the partner host.

Ready-to-begin-replica-creation
Ready to begin replica creation
The-device-is-created-and-replication-is-ready-to-begin
The device is created and replication is ready to begin

After the device is created, the synchronization process will begin.

Synchronizing-begins-to-synchronize-data-between-the-two-Linux-appliances
Synchronizing begins to synchronize data between the two Linux appliances

Since I had a clean slate, the data synchronized successfully between the two Linux appliances after a bit.

The-synchronization-process-between-the-StarWind-nodes-completes-successfully-1


The synchronization process between the StarWind nodes completes successfully

Adding the StarWind Datastore to ESXi Hosts

Now that storage is provisioned and available, we can add storage to the ESXi hosts.  After configuring the iSCSI properties and discovering the iSCSI targets, we can see the STARWIND iSCSI Disk presented as ready to back a VMFS datastore.

Adding-the-new-StarWind-datastore-to-a-vSphere-6.7-ESXi-host
Adding the new StarWind datastore to a vSphere 6.7 ESXi host

The new StarWind-backed datastore is successfully added to the ESXi hosts in the cluster.

New-StarWind-datastore-is-successfully-added-to-the-ESXi-host
New StarWind datastore is successfully added to the ESXi host

Wrapping Up

The StarWind VSAN for vSphere solution allows you to have a resilient and performant vSphere storage without the need to meet various HCL criteria or buy a physical shared storage device.  StarWind works with any hardware as long as it is able to meet the requirements for the Linux virtual appliances. 

I found the solution with the Linux virtual appliances extremely easy to configure and manage using the StarWind Management Console. In my opinion, StarWind is definitely a viable option for many different interesting use cases.  They certainly will accelerate edge and ROBO environments due to the freedom of using all kinds of hardware.  However, the StarWind storage solution will be equally adept backing your core production workloads as well.

Be sure to check out StarWind VSAN downloads for vSphere and Hyper-V here to test out the great features of this storage solution yourself. 

Also, check out StarWind’s resource library for more information on StardWind VSAN for vSphere and Hyper-V information as well as information on other products and solutions:

Subscribe to VirtualizationHowto via Email 🔔

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Related Articles

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.