StarWind Resource Library

StarWind Virtual SAN Compute and Storage Separated 2 nodes with VMware vSphere

Published: August 5, 2014


Traditionally VMware requires having some sort of the shared storage to guarantee the data safety, allow the virtual machines migration, enables continuous application availability and eliminates any single point of failure within IT environment. VMware users have to choose between two options when choosing the shared storage:

• Hyper-Converged solutions, that allows sharing the same hardware resources for the application (i.e. hypervisor, database) and the shares storage, thus decreasing the TCO and achieving the outstanding performance results.

• Compute and Storage separated solutions that keeps the compute and storage layers separately from each other, thus making the maintenance easier, increasing the hardware usage efficiency and allows building the system accurately for solving the task.

This guide is intended for experienced StarWind users and VMware and Windows system administrators and IT professionals who would like to add the Scale-Out node to the StarWind virtual SAN cluster. It provides a step-bystep guidance on scaling out the hyper-converged 2-node StarWind virtual SAN that converts the local storage of the ESXi hosts into a fault tolerant shared storage resource for ESXi.

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.


Solution Diagram

The diagram bellow illustrates the network and storage configuration of the resulting solution described in the guide.


Creating AN HA Device

1. Launch StarWind Management Console.
NOTE: When console is launched, the StarWind console icon appears in the system tray.

2. To open StarWind Management Console, double-click the icon. You may also right-click the icon and click Start Management Console on the shortcut menu.

3. Select the server from the Console tree.

4. Double-click the hosts to connect it.

5. Open add Device Wizard through one of the following ways:

• Right-click a StarWind server and select add Device (advanced) from the shortcut menu.

• Select a StarWind server and click the add Device (advanced) button on the toolbar.

6. As add Device Wizard appears, follow the instructions to complete creation of a new image device.

7. Select hard disk device as the type of a device to be created and click Next to continue.

8. Select the Virtual disk option as a disk device type and click Next to continue.

9. Specify a virtual disk location and its size. Alternatively, use the existing virtual disk.

10. click Next to continue

11. Select Thick provisioned.

12. Define the caching policy and specify the cache size (in MB).

13. Optionally define the L2 caching policy and the cache size.

14. Specify target parameters and select the allow multiple concurrent iSCSI connections (clustering) checkbox to enable several clients to connect simultaneously to the target.

15. click Create to add a new device and attach it to the target.

16. Right-click the needed device and select Replication Manager from the shortcut menu.

17. As Replication Manager is opened, click add replica or the Click to add replication partner link.

18. Select Synchronous two-way replication as a replication mode.

19. click Next to proceed.

20. Specify a partner hostname, IP address and port number.

21. Create a new partner device or select an existing device.

22. Click Change network settings…

23. Specify interfaces for synchronization and Heartbeat channels.

NOTE: At least one Heartbeat channel must be separated from a synchronization channel due to availability consideration.

24. click Create Replica.

25. click Finish to close the wizard.

26. Create one more thick provisioned virtual hard drive with configured synchronous replication.


Configuring ESX Severs

1. Launch web browser and the address of VMware vSphere Client.

2. Enter login and password.

3. Click the hosts and Clusters icon from the Inventory panel of the vSphere Client window.

4. Right-click an existing datacenter and select New Cluster. If needed, first click New Datacenter to create a new datacenter.

5. The New Cluster Wizard appears. Specify a name of the cluster.

6. Right-click the cluster to add a host and select add host from the shortcut menu.

7. Add host Wizard appears. Specify a host name or IP address.

8. Enter username and password. click Next to continue.

9. Check whether the specified information is correct and click Next to continue.

10. Assign the license key to the host.

11. click Next to continue.

12. Click Finish to close the wizard.

13. Follow the same procedure for another host.

14. Select a host.

15. Select the Manage tab and choose the Networking item. Configure your Virtual switches like on screens below

16. Follow the same procedure for another host. On second host Configure your Virtual switches as shown below:


Configuring the iSCSI Initiator

1. Select a host.

2. click the Manage tab and select the Storage inset and Storage adapters item.

3. click add and select add Software iSCSI adapter. click OK.

4. The list of the available storage adapters appears. Select iSCSI Software adapter. Open Targets.

6. click the add… button. Enter IP address of StarWind node. click OK.

7. Do same for each StarWind server by clicking add and specifying the server IP address.

8. Click Rescan. In the Rescan dialog click OK.

9. Repeat the same procedure for another cluster host.


Setting up a Datastore

1. Right click on host and select New datastore.

2. New Datastore wizard appears.

3. Select VMFS.

4. Enter name of datastore (i.e. DS1) and device for datastore.

5. Select VMFS 5

6. Enter datastore size.

7. Verify the settings. click Finish.

8. Check another host for a new datastore. If a new datastore is not listed among the existing datastores, click Rescan all.

9. On other host add another Datastore (DS2) in the same way and check first host for a new datastore.

10. To add the HA feature select the cluster and open Manage -> Settings -> vSphere ha. click edit… button.

12. In the Cluster Settings window select the Turn ON vSphere ha checkbox.