Creating HA Device With StarWind Virtual SAN Free
Creating HA Device With StarWind Virtual SAN Free
Creating HA Device With StarWind Virtual SAN Free
TECHNICAL PAPER
Quick Start Guide:
Creating HA Device with StarWind Virtual SAN Free
Trademarks
“StarWind”, “StarWind Software” and the StarWind and the StarWind Software logos are
registered trademarks of StarWind Software. “StarWind LSFS” is a trademark of StarWind
Software which may be registered in some jurisdictions. All other trademarks are owned by
their respective owners.
Changes
The material in this document is for information only and is subject to change without notice.
While reasonable efforts have been made in the preparation of this document to assure its
accuracy, StarWind Software assumes no liability resulting from errors or omissions in this
document, or from the use of the information contained herein. StarWind Software reserves
the right to make changes in the product design without reservation and without notification to
its users.
About StarWind
StarWind is a pioneer in virtualization and a company that participated in the development of
this technology from its earliest days. Now the company is among the leading vendors of
software and hardware hyper-converged solutions. The company’s core product is the years-
proven StarWind Virtual SAN, which allows SMB and ROBO to benefit from cost-efficient
hyperconverged IT infrastructure. Having earned a reputation of reliability, StarWind created a
hardware product line and is actively tapping into hyperconverged and storage appliances
market. In 2016, Gartner named StarWind “Cool Vendor for Compute Platforms” following the
success and popularity of StarWind HyperConverged Appliance. StarWind partners with world-
known companies: Microsoft, VMware, Veeam, Intel, Dell, Mellanox, Citrix, Western Digital, etc.
TECHNICAL PAPER 2
Quick Start Guide:
Creating HA Device with StarWind Virtual SAN Free
Contents
Introduction ....................................................................................................................................... 4
Implementation ................................................................................................................................ 5
TECHNICAL PAPER 3
Quick Start Guide:
Creating HA Device with StarWind Virtual SAN Free
Introduction
StarWind Virtual SAN Free allows creating a fault tolerant and high performing storage
pool by mirroring existing server’s internal storage between nodes. It is a free version
of StarWind Virtual SAN that eliminates need in physical shared storage. StarWind
Virtual SAN Free is a full-fledged production platform offering all the features of
StarWind VSAN. It utilizes all the industry-standard uplink protocols like iSCSI, SMB3,
NFS and the latest iSER and NVMf. It is shipped with a number of ready to use
Powershell scripts and supports both hyper-converged and “compute and storage
separated” configurations. It is completely functional and allowed for production.
This guide is intended for experienced Windows Server users and administrators who
are willing to configure a two-node highly available device that will run on top of
Windows Server 2012 R2 using StarWind Virtual SAN Free.
For any technical inquiries please visit our online community, Frequently Asked
Questions page, or use the support form to contact our technical support department.
TECHNICAL PAPER 4
Quick Start Guide:
Creating HA Device with StarWind Virtual SAN Free
Implementation
1. Open the folder containing StarWind PowerShell samples.
2. Locate the file named CreateHA(two nodes).ps1 and copy it to any other place for further
editing.
3. Open the file CreateHA(two nodes).ps1 file with PowerShell ISE (or any other text editor)
and change the values marked with red.
TECHNICAL PAPER 5
Quick Start Guide:
Creating HA Device with StarWind Virtual SAN Free
• host; Enter the IP address of the host that has StarWind service installed;
• port; Enter the StarWind service connection port number (3261 by default);
• user and password; Enter the StarWind username and password (default values are:
• firstNode.ImagePath; Enter the path to an existing directory where image file will be
located;
device creation by setting the value of this variable to either $true or $false;
node interface(s) (the “second” StarWind node) which will be used as the synchronization
channel;
interface(s) (the “second” StarWind node) which will be used as the heartbeat channel;
• firstNode.PoolName; Enter the pool name in case you would like your resource to be
tagged in SMI-S provider. Enter leave it as “” in case you do not need to tag your
• firstNode.SyncSessionCount; Synchronization session count. Make sure you set the value of the
variable to “1”;
• firstNode.SectorSize; Enter device sector size (512 for ESXi or 4096 for Hyper-V, SOFS);
TECHNICAL PAPER 6
Quick Start Guide:
Creating HA Device with StarWind Virtual SAN Free
• secondNode.HostPort; Enter the number of a port for connecting to the StarWind Service
(3261 by default);
• secondNode.ImagePath; Enter the path to an existing directory where image file will be
• secondNode.Size; Enter an image file size in megabytes. Note that is has be equal to the
value of firstNode.Size;
device creation by setting the value of this variable to either $true or $false;
• secondNode.SyncInterface;
• Synchronization interfaces. Enter the IP address(es) of the partner node interface(s) (the
node interface(s) (the “first” StarWind node) which will be used as the heartbeat channel;
TECHNICAL PAPER 7
Quick Start Guide:
Creating HA Device with StarWind Virtual SAN Free
6. Run the script. After the HA device creation you should see the following:
7. In order to list all the devices and targets on the StarWind host, run the
enumDevicesTargets.ps1 script.
8. Make sure you modify the values marked with a red line in order to fit your setup (host IP,
port, user, password), save the script and run it.
TECHNICAL PAPER 8
Quick Start Guide:
Creating HA Device with StarWind Virtual SAN Free
Contacts
StarWind Software, Inc. 35 Village Rd., Suite 100, Middleton, MA 01949 USA www.starwind.com
©2018, StarWind Software Inc. All rights reserved.
TECHNICAL PAPER 9