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

Published: February 2017

StarWind Virtual SAN Free creates a fault tolerant and high performing storage pool by mirroring local disks and flash between hypervisor servers, eliminating any need in physical share storage. It offers all the features of StarWind VSAN and is shipped with a number of ready to use PowerShell scripts. StarWind Virtual SAN Free utilizes all the industry-standard uplink protocols like iSCSI, SMB3, NFS and the latest iSER and NVMf. It allows to deploy both hyper-converged and “compute and storage separated” scenarios and is completely functional and allowed for production use.

The technical paper provides a guide on how to create Standalone Device with StarWind Virtual SAN Free. It consists of five detailed steps.

First, the folder that contains StarWind PowerShell samples must be opened.

Next, the file named CreateImageFile.ps1 should be located and copied to any other place for further editing.

Further, the file CreateImageFile.ps1 should be opened via PowerShell ISE (or any other text editor) and the values marked with red must be changed: In host field, the IP address of the host that has StarWind Service installed must be entered.

In port field, the StarWind service connection port number (3261 by default) must be entered. In user and password field, the StarWind username and password (default values are: username: root, password: starwind) must be entered. In path field, the path to an existing directory where image file will be located must be entered. In filename field, image file name must be entered.

In size field, image file size in megabytes must be entered.

path has to be equal to the value path in the #create image file section.

filename has to be equal to the value fileName in the #create image file section.

in sector Size field, Device sector size (512 for ESXi or 4096 for Hyper-V, SOFS) must be entered.

In alias field, Target alias must be entered

Next step is to run the script.

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

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

Related content:

Request a Callback