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 allowing to quickly deploy the Virtual SAN infrastructure and configure most of its features. StarWind Virtual SAN Free utilizes all the industry-standard uplink protocols like iSCSI, SMB3, NFS and the latest iSER and NVMf. It deploys both hyper-converged and “compute and storage separated” scenarios and is completely functional and allowed for production use.
This guide is intended for experienced Windows Server users and administrators who are willing to create the standalone device that will run on top of Windows Server 2012 R2 using StarWind Virtual SAN Free.
A full set of up-to-date technical documentation can always be found here, or by pressing the Help button in the StarWind Management Console.
1. Open the folder that contains StarWind PowerShell samples.
By default samples are located in the following folder:
C:\Program Files\StarWind Software\StarWind\StarWindX\Samples\powershell.
2. Locate the file named CreateImageFile.ps1 and copy it to any other place for further editing.
3. Open the file CreateImageFile.ps1 via PowerShell ISE (or any other text editor) and change the values marked with red.
- 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: username: root, password: starwind);
- #create image file
- path; Enter the path to an existing directory where image file will be located;
- fileName; Enter image file name.
- size; Enter image file size in megabytes;
- #create device
- 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;
- sectorSize; Enter Device sector size (512 for ESXi or 4096 for Hyper-V, SOFS);
- #create target
- alias; Enter Target alias.
4. Run the script. After the device is created, you should see the following:
5. In order to list all the devices and targets on the StarWind host, run enumDevicesTargets.ps1 script.
6. Make sure to 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.