Quick Start Guide: Creating HA Device with StarWind Virtual SAN Free

Published: February 2017

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 any need in physical shared storage. StarWind Virtual SAN Free is a full-fledged solution offering all the features of StarWind VSAN. It uses all the industry-standard uplink protocols like iSCSI, SMB3, NFS and the latest iSER and NVMf. It is also shipped with a number of ready for use PowerShell scripts and supports both hyper-converged and “compute and storage separated” deployment scenarios. It is completely functional and allowed for production use.

This guide provides a detailed instruction on creating a highly available device with StarWind Virtual SAN Free.

First, the folder containing StarWind PowerShell samples must be opened. By default, samples are located under the path: C:\Program Files\StarWind Software\StarWind\StarWindX\Samples\powershell. Next, the file named CreateHA(two nodes).ps1 must be located and copied to any other place for further editing.

Further, the file CreateHA(two nodes).ps1 must be opened using PowerShell ISE (or any other text editor) and the values marked with red must be changed.

For the first StarWind node the following values should be entered:

Host: the IP address of the host that has StarWind service installed must be entered.

Port: the StarWind service connection port number (3261 by default) must be entered.

user and password: the StarWind username and password (default values are: username: root, password: starwind) must be entered.

firstNode.ImagePath: the path to an existing directory where image file will be located must be entered.

firstNode.ImageName: an image file name must be entered.

firstNode.Size: an image file size in megabytes must be entered.

firstNode.CreateImage: an image file must be created.

It must be noted that firstNode.CreateImage value should be equal to $true.

In other fields for first node relevant values must be entered as shown in the guide.

For the second StarWind node the relevant values should be entered into the fields as for the first StarWind node.

Next, the script must be run. After the HA device creation you should see that the synchronization reached 100%.

Further, in order to list all the devices and targets on the StarWind host, enumDevicesTargets.ps1 script must be run.

Finally, the values marked with a red line must be modified in order to fit your setup (host IP, port, user, password). Script must be saved and run.

Related content:

To download the software products please make your choice below. An installer link and the license key will be sent to the e-mail address you specify. Please check the Free vs. Paid document if you are uncertain of the StarWind Virtual SAN version. A totally unrestricted NFR (Not For Resale) version of StarWind Virtual SAN is available for certain use cases. Learn more here. The Release Notes can be found here.

Request a Callback