Free Webinar
October 11 | 11am PT / 2pm ET
Learn how to build an IT infrastructure of your dream
with Dell EMC PowerEdge 14G servers
Speaker: Ivan Talaichuk, Pre-Sales Engineer, StarWind

StarWind Virtual Storage Appliance Installation Guide with KVM

Published: June 1, 2018

The Hyper-V and KVM hypervisors are no longer supported in StarWind Virtual Storage Appliance.
To view the guide on installing StarWind VSA with VMware vSphere, please open the following
 link

Introduction

This document describes the deployment and configuration process of the StarWind Virtual Storage Appliance with KVM.

StarWind Linux-based VSA is a good opportunity for users who don’t want to change their current infrastructure, but rather quickly deploy StarWind and test its features and functionality. Right now we are releasing the new Linux version, compatible with all industry-standard hypervisors: Microsoft Hyper-V, VMware ESXi, Xen and KVM. It includes Web Management Console, so you can use any convenient HTML5-capable browser to check and configure your infrastructure.

Additionally, StarWind Virtual Storage Appliance incorporates StarWind vCenter plugin in order to make it even more convenient for VMware users. StarWind VSA is easy to deploy and manage – a typical Linux administrator will install and maintain it without difficulty.

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.

For any technical inquiries please visit our online community, Frequently Asked Questions page, or use the support form to contact our technical support department.

Components

  • StarWind Virtual Storage Appliance
  • Linux virtual machine with StarWind Virtual SAN installed

Virtual Machine requirements

StarWind Virtual Storage Appliance VM requires having at least 4 virtual processors with 2 GHz reserved, at least 4 GB of RAM, 3 NIC ports dedicated as separate vSwitches for management, StarWind synchronization and iSCSI traffic to ensure the proper functioning of the VSA.

NOTE: When using StarWind with synchronous replication feature inside of a Virtual Machine, it is recommended not to make backups and snapshots of the Virtual Machine with StarWind Service which could pause the StarWind Virtual Machine.

Pausing the Virtual Machines while StarWind service under load may lead to split-brain issues in devices with synchronous replication and data corruption.

Deployment quick steps

1. Download zip archieve that contains StarWind Virtual Storage Appliance for KVM. https://ovf.starwind.com/tmplink/StarWindVSA_KVM.zip

2. Let’s configure Hypervisor first. We are going to configure CentOS 7.2 with KVM to work with StarWind VSA.

3. Install CentOS 7.2 minimal (first entry point in the list).

4. When the installation is complete, log in to your server with the credentials you have assigned to it.

5. Install X Window using the following code:

6. Add Gnome Shell desktop with the following code:

7. Run the following code to unlink the current launch target:

8. Link in the graphical system running the following code:

9. Install Virtualization packages and Virtual Machine Manager:

10. Reboot the host.

11. Extract virtual machine files on the KVM host.

12. Create a new VM using Virtual Machine Manager.

StarWind Virtual Storage Appliance Installation Guide with KVM

13. Choose Import existing disk image option and click Forward.

StarWind Virtual Storage Appliance Installation Guide with KVM

14. Provide the existing storage path of the virtual disk. Choose Linux OS with Red Hat Enterptise Linux 7.3 Version. Click Forward.

StarWind Virtual Storage Appliance Installation Guide with KVM

15. Choose Memory and CPU settings.

StarWind Virtual Storage Appliance Installation Guide with KVM

16. Specify the VM name. Choose Network Selection and the interface for management. Configure it in Bridge mode and click Finish.

StarWind Virtual Storage Appliance Installation Guide with KVM
17. Click Show virtual hardware details. Choose Virtual Disk and change Disk bus type to IDE.

StarWind Virtual Storage Appliance Installation Guide with KVM

18. Click Add Hardware on the Virtual hardware details page. Add networks for iSCSI and Synchronization traffic in Bridge mode.

StarWind Virtual Storage Appliance Installation Guide with KVM

StarWind Virtual Storage Appliance Installation Guide with KVM

19. On the Virtual hardware details page click Add Hardware again. Click Storage, choose IDE bus type and Select or create custom storage. Click Manage.

StarWind Virtual Storage Appliance Installation Guide with KVM

20. Choose Storage pool and click “+” to add a new volume.

StarWind Virtual Storage Appliance Installation Guide with KVM
21. Specify the Volume name and choose the capacity.

StarWind Virtual Storage Appliance Installation Guide with KVM

22. Click on the newly created Volume and click the Choose Volume button.

StarWind Virtual Storage Appliance Installation Guide with KVM

23. Click Finish.

StarWind Virtual Storage Appliance Installation Guide with KVM
24. Start StarWind VSA Virtual Machine.

25. By default, StarWind VSA virtual machine obtains an IP address automatically via DHCP. It is recommended to create a DHCP reservation and set a static IP address for this VM. In order to access StarWind VSA from the local network, the virtual machine must have access to the network. In case you do not have a DHCP server, you can connect to the VM using KVM Virtual Machine Manager console and configure the static IP address manually.

26. Now open a web browser and enter the IP address of the VM.

StarWind Virtual Storage Appliance Installation Guide with KVM

27. Log in to the StarWind Virtual Storage Appliance using default credentials:

Username: starwind

Password: starwind

StarWind Virtual Storage Appliance Installation Guide with KVM

28. After the successful login, press ALT+CTRL+SHIFT combination.

29. Navigate to Settings menu using pop-up sidebar:

StarWind Virtual Storage Appliance Installation Guide with KVM

30. For security reasons, please, change the default password using the corresponding option and press the Update Password button:

StarWind Virtual Storage Appliance Installation Guide with KVM

31. Connect to the StarWind VSA via IP assigned to the VM by DHCP.

StarWind Virtual Storage Appliance Installation Guide with KVM

32. Press X in the opened window.

33. Browse to the Configuration tab and click VSA Storage.

StarWind Virtual Storage Appliance Installation Guide with KVM

34. Click Scan Storages to see the recently attached Virtual Disk. Click Create Volume.

StarWind Virtual Storage Appliance Installation Guide with KVM

35. Once the process is finished, you will see the created volume.

StarWind Virtual Storage Appliance Installation Guide with KVM

36. The Default storage pool will be selected automatically. Click Advanced settings.

StarWind Virtual Storage Appliance Installation Guide with KVM

37. Click VSA Network Settings. Configure NICs for Management, iSCSI and Synchronization purposes.

StarWind Virtual Storage Appliance Installation Guide with KVM

38. Click Configure and assign the configuration needed for each NIC.

StarWind Virtual Storage Appliance Installation Guide with KVM

39. Preconfiguration process finished. Now you can create StarWind devices and work with them.

For more information on how to work with StarWind devices, follow the link below:

https://www.starwindsoftware.com/resource-library?type=tp

You can find more information about deploying StarWind HyperConverged scenarios here:

https://www.starwindsoftware.com/starwind-virtual-san-hyper-converged-2-nodes-scenario-2-nodes-with-hyper-v-cluster

https://www.starwindsoftware.com/starwind-virtual-san-hyper-converged-2-node-cluster-vmware-vsphere