hyperconverged 2-node scenario with hyper-v … stop virtualization shop starwind virtual san®...

62
One Stop Virtualization Shop StarWind Virtual SAN ® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018 TECHNICAL PAPER

Upload: ngonhi

Post on 08-May-2018

224 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

One Stop Virtualization Shop

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER

Page 2: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 2

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Trademarks “StarWind”, “StarWind Software” and the StarWind and the StarWind Software logos are registered trademarks of StarWind Software. “StarWind LSFS” is a trademark of StarWind Software which may be registered in some jurisdictions. All other trademarks are owned by their respective owners.

Changes The material in this document is for information only and is subject to change without notice. While reasonable efforts have been made in the preparation of this document to assure its accuracy, StarWind Software assumes no liability resulting from errors or omissions in this document, or from the use of the information contained herein. StarWind Software reserves the right to make changes in the product design without reservation and without notification to its users.

Technical Support and Services If you have questions about installing or using this software, check this and other documents first - you will find answers to most of your questions on the Technical Papers webpage or in StarWind Forum. If you need further assistance, please contact us.

About StarWind StarWind is a pioneer in virtualization and a company that participated in the development of this technology from its earliest days. Now the company is among the leading vendors of software and hardware hyperconverged solutions. The company’s core product is the years-proven StarWind Virtual SAN, which allows SMB and ROBO to benefit from cost-efficient HyperConverged IT infrastructure. Having earned a reputation of reliability, StarWind created a hardware product line and is actively tapping into HyperConverged and storage appliances market. In 2016, Gartner named StarWind “Cool Vendor for Compute Platforms” following the success and popularity of StarWind HyperConverged Appliance. StarWind partners with world-known companies: Microsoft, VMware, Veeam, Intel, Dell, Mellanox, Citrix, Western Digital, etc.

Copyright ©2009-2018 StarWind Software Inc. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior written consent of StarWind Software.

Page 3: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 3

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Contents

Introduction ....................................................................................................................................... 4

Preconfiguring the Servers ............................................................................................................. 5

Enabling Multipath Support ........................................................................................................... 7

Downloading, Installing, and Registering the Software ........................................................... 8

Configuring Shared Storage ......................................................................................................... 15

Discovering Target Portals ........................................................................................................... 28

Connecting Targets ........................................................................................................................ 33

Configuring Multipath .................................................................................................................... 39

Connecting Disks to Servers ........................................................................................................ 43

Creating a Cluster ........................................................................................................................... 48

Adding Storage to the Cluster ..................................................................................................... 53

Configuring Cluster Network Preferences ................................................................................ 58

Post-Configuration Tasks .............................................................................................................. 60

Conclusion ....................................................................................................................................... 61

Page 4: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 4

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Introduction

StarWind Virtual SAN® is a native Windows hypervisor-centric hardware-less VM storage solution. It creates a fully fault-tolerant and high performing storage pool built for the virtualization workloads by mirroring existing server’s storage and RAM between the participating storage cluster nodes. The mirrored storage resource is then connected to all cluster nodes and treated just as local storage by all hypervisors and clustered applications. High Availability is achieved by providing multipath access to all storage nodes. StarWind Virtual SAN delivers supreme performance compared to any dedicated SAN solution since it runs locally on the hypervisor and all I/O is processed by local RAM, SSD cache, and disks. This way it never gets bottlenecked by storage fabric. This guide is intended for experienced Windows Server users or system administrators. It provides the detailed instructions on how to set up a 2-node HyperConverged scenario with Hyper-V Cluster on Windows Server 2012R2 with StarWind Virtual SAN as a storage provider.

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.

Page 5: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 5

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Preconfiguring the Servers

The configuration network diagram is provided below:

NOTE: Additional network connections may be necessary, depending on the cluster setup and applications requirements. For any technical help with configuring the additional networks, please contact StarWind support department via online community forum or via support form (depends on your support plan). 1. Make sure you have a domain controller, and the servers are added to the domain.

2. Install Failover Clustering and Multipath I/O features, as well as the Hyper-V role on

both servers. This can be done through the Server Manager (Add Roles and Features) menu item.

Page 6: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 6

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

3. Configure network interfaces on each node to make sure that Synchronization and iSCSI/StarWind heartbeat interfaces are in different subnets and connected according to the network diagram above. In this document, 172.16.10.x subnet is used for iSCSI/StarWind heartbeat traffic, while 172.16.20.x subnet is used for the Synchronization traffic.

4. In order to allow iSCSI Initiators to discover all StarWind Virtual SAN interfaces, the StarWind configuration file (StarWind.cfg) should be changed after stopping the StarWind service on the node where it will be edited. Locate the StarWind Virtual SAN configuration file (the default path is “C:\Program Files\StarWind Software\StarWind\StarWind.cfg”) and open it via WordPad as Administrator. Find the <iScsiDiscoveryListInterfaces value=”0”/> string and change the value from 0 to 1 (should look as follows: <iScsiDiscoveryListInterfaces value=”1”/>). Save the changes and exit Wordpad. Once StarWind.cfg is changed and saved, the StarWind service can be restarted.

Page 7: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 7

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Enabling Multipath Support

5. Open the MPIO Properties manager: Start -> Windows Administrative Tools -> MPIO. Alternatively, run the following PowerShell command:

mpiocpl

6. In the Discover Multi-Paths tab, choose the Add support for iSCSI devices checkbox

and click Add.

7. When prompted to restart the server, click Yes to proceed.

NOTE: Repeat the procedure on the other server.

Page 8: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 8

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Downloading, Installing, and Registering the Software

8. Download the StarWind setup executable file from the StarWind website: https://www.starwind.com/registration-starwind-virtual-san

NOTE: The setup file is the same for x86 and x64 systems, as well as for all Virtual SAN deployment scenarios.

Launch the downloaded setup file on the server to install StarWind Virtual SAN or one of its components. The Setup wizard will appear. Read and accept the License Agreement.

Click Next to continue

Page 9: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 9

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

9. Carefully read the information about the new features and improvements. Red text indicates warnings for users who are updating the existing software installations.

Click Next to continue.

10. Select Browse to modify the installation path if necessary. Click Next to continue.

Page 10: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 10

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

11. Select the following components for the minimum setup:

• StarWind Virtual SAN Service. StarWind service is the “core” of the software. It can create iSCSI targets as well as share virtual and physical devices. The service can be managed from StarWind Management Console on any Windows computer or VSA that is on the same network. Alternatively, the service can be managed from StarWind Web Console deployed separately.

• StarWind Management Console. Management Console is the Graphic User Interface (GUI) part of the software that controls and monitors all storage-related operations (e.g., allows users to create targets and devices on StarWind Virtual SAN servers connected to the network).

Click Next to continue.

Page 11: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 11

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

12. Specify Start Menu Folder. Click Next to continue.

13. If a desktop icon needs to be created, enable the corresponding checkbox. Click Next to

continue.

Page 12: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 12

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

14. When the license key prompt appears, choose the appropriate option:

• Request time-limited fully functional evaluation key. • Request FREE version key. • Select the previously purchased commercial license key.

Click Next to continue.

15. Click Browse to locate the license file. Press Next to continue.

Page 13: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 13

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

16. Review the licensing information. Click Next to continue.

17. Verify the installation settings. Click Back to make any changes. Press Install to proceed with the installation.

Page 14: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 14

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

18. Enable the appropriate checkbox to launch StarWind Management Console right after the setup wizard is closed. Click Finish to close the wizard.

19. Repeat the installation steps on the partner node. NOTE: To manage StarWind Virtual SAN installed on a Windows Server Core edition with no GUI, StarWind Management Console should be installed on a different computer running the GUI-enabled Windows edition.

Page 15: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 15

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Configuring Shared Storage

20. Double-click the StarWind tray icon to launch StarWind Management Console. NOTE: StarWind Management Console cannot be installed on an operating system without GUI. It can be installed on any GUI-enabled Windows edition including Windows desktop versions.

If the StarWind VSAN service and StarWind Management Console are installed on the same server, Management Console will automatically add the local StarWind VSAN instance to the console tree after the first launch. Then, StarWind Management Console automatically connects to it using the default credentials. To add the remote StarWind VSAN servers to the console, use the Add Server button on the control panel.

Page 16: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 16

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

21. StarWind Management Console will ask to specify the default storage pool on the server it connects to for the first time. Configure the default storage pool to use one of the volumes that have been prepared previously. All devices created through the Add Device wizard will be stored on it. In case an alternative storage path is required for StarWind virtual disks, use the Add Device (advanced) menu item.

Press the Yes button to configure the storage pool. If the storage pool destination needs to be changed, press Choose path… and point the browser to the necessary disk.

NOTE: Any of the arrays which will be used by StarWind Virtual SAN to store virtual disk images should meet the following requirements: • Initialized as GPT. • Have a single NTFS-formatted partition. • Have a drive letter assigned.

The steps below cover the procedure of an HA device creation for the Witness drive. Other devices should be created the same way.

22. Right-click on the Servers field and click on the Add Server button. Add a new StarWind

Server which will be used as the second StarWind VSAN node.

23. Select the StarWind server where the device needs to be created and press the Add Device (advanced) button on the toolbar.

Page 17: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 17

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

24. Add Device Wizard will appear. Select Hard Disk Device and click Next.

25. Select Virtual Disk and click Next.

Page 18: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 18

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

26. Specify the virtual disk location, name, and size. Click Next.

27. Specify the virtual disk options and click Next.

Page 19: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 19

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

28. Define the caching policy and specify the cache size (in GB). Click Next to continue.

NOTE: It is recommended to assign 1 GB of L1 cache in Write-Back or Write-Through mode per 1 TB of storage capacity. Yet, the cache size should correspond to the storage working set of the servers.

Page 20: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 20

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

29. Define Flash Cache Parameters and size if necessary. Choose the SSD location in the wizard. Press Next.

NOTE: The recommended size of the L2 cache is 10% of the initial StarWind device capacity.

30. Specify the target parameters. Enable the Target Name checkbox to customize the target name. Otherwise, the name will be generated automatically based on the target alias. Click Next.

Page 21: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 21

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

31. Click Create to add a new device and attach it to the target. Then click Close.

32. Right-click on the newly created device and select Replication Manager. The Replication Manager window will appear. Press the Add Replica button.

33. Select Synchronous two-way replication. Click Next to proceed.

Page 22: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 22

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

34. Specify the partner server IP address. The default StarWind management port is 3261. If a different port has been configured, type it in the Port Number field. Click Next to continue.

35. Select the failover strategy for the HA device. For the purposes of this document, the Heartbeat failover strategy is used. Click Next to continue.

Page 23: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 23

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

36. Choose Create new Partner Device. Click Next.

37. Specify the partner device location if necessary and/or modify the target name of the device. Click Next.

Page 24: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 24

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

38. Select the synchronization and heartbeat networks for the HA device by clicking Change Network Settings.

Page 25: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 25

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

39. Specify the interfaces for synchronization and heartbeat. Press OK. Then click Next. NOTE: It is recommended to configure the Heartbeat and iSCSI channels on the same interfaces to avoid the split-brain issue. If the Synchronization and Heartbeat interfaces are located on the same network adapter, it is recommended to assign one more Heartbeat interface to the separate adapter.

Page 26: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 26

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

40. Select Synchronize from existing Device for the partner device initialization mode. Click Next.

41. Press the Create Replica button. Then click Close.

42. The added device will appear in StarWind Management Console.

Repeat HA device creation steps for any virtual disks that will be further used as a Cluster Shared Volumes.

Page 27: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 27

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Once all devices are created, Management Console should look as demonstrated on the screenshot below.

Page 28: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 28

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Discovering Target Portals

This part describes how to discover Target Portals on each StarWind node. 43. Launch Microsoft iSCSI Initiator: Start -> Windows Administrative Tools -> iSCSI

Initiator. Alternatively, launch it using the command below in the command line interface: iscsicpl

44. Navigate to the Discovery tab.

Page 29: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 29

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

45. Click on the Discover Portal button. The Discover Target Portal dialog appears. Type 127.0.0.1.

46. Click on the Advanced button. Select Microsoft iSCSI Initiator as a Local adapter and

select Initiator IP (leave default for 127.0.0.1). Confirm the actions to complete the Target Portal discovery.

47. Click the Discover Portal… button.

Page 30: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 30

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

48. In Discover Target Portal dialog, type in the iSCSI interface IP address of the partner node that will be used to connect the StarWind-provisioned targets. Click Advanced.

49. Select Microsoft iSCSI Initiator as the Local adapter, select the Initiator IP in the same subnet as the IP address of the partner server from the previous step. Confirm the actions to complete the Target Portal discovery.

Page 31: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 31

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

50. Now, all target portals are added on the first node.

51. Go through Discovery Target Portal steps on the partner node.

Page 32: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 32

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

52. The resulting Discovery tab on the partner node will look as shown on the screenshot below.

Page 33: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 33

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Connecting Targets

53. Click on the Targets tab. The previously created targets are listed in the Discovered Targets section.

NOTE: If the created targets are not listed, check the firewall settings of the StarWind Server as well as the list of networks served by the StarWind Server (go to StarWind Management Console -> Configuration -> Network). Alternatively, check the Access Rights tab on the corresponding StarWind VSAN server in StarWind Management Console for any restrictions implemented.

54. Select the Witness target from the local server and click Connect.

Page 34: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 34

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

55. Enable the checkboxes as in the image below. Click Advanced.

56. Select Microsoft iSCSI Initiator in the Local adapter dropdown menu. In Target portal IP, select 127.0.0.1. Confirm the actions.

NOTE: It is recommended to connect the Witness device only by loopback (127.0.0.1) address. Do not connect the target to the Witness device from the partner StarWind node.

57. Select the CSV1 target discovered from the local server and click Connect.

Page 35: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 35

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

58. Enable the checkboxes as in the image below. Click Advanced.

59. Select Microsoft iSCSI Initiator in the Local adapter dropdown menu. In Target portal IP, select 127.0.0.1. Confirm the actions.

60. Select the partner target from the other StarWind node and click Connect.

Page 36: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 36

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

61. Enable the checkboxes as in the image below. Click Advanced.

62. Select Microsoft iSCSI Initiator in the Local adapter dropdown menu. In the Initiator IP field, select the IP address for iSCSI channel. In the Target portal IP, select the corresponding portal IP from the same subnet. Confirm the actions.

Page 37: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 37

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

63. Repeat the steps above for all remaining HA device targets. The result should look as shown in the screenshot below.

Page 38: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 38

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

64. Repeat the steps described in this part on the other StarWind node, specifying corresponding local and data channel IP addresses. The result should look as demonstrated in the screenshot below.

Page 39: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 39

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Configuring Multipath

NOTE: It is recommended to configure the different MPIO policies depending on the iSCSI channel throughput. For 1 Gbps iSCSI channel throughput, it is recommended to set Failover Only or Least Queue Depth MPIO load balancing policy. For 10 Gbps iSCSI channel throughput, it is recommended to set Round Robin or Least Queue Depth MPIO load balancing policy. 65. Configure the MPIO policy for each target except Witness with the load balance policy of

choice. Select the target located on the local server and click Devices.

Page 40: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 40

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

66. In the Devices dialog, click MPIO.

Page 41: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 41

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

67. Select the appropriate load balancing policy.

68. For the Witness target, set the load balance policy to Failover Only.

Page 42: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 42

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

69. Repeat the steps above for configuring the MPIO policy for each remaining device on the current node and on the partner node.

NOTE: In case the Failover Only MPIO policy is used, make sure that the local path (127.0.0.1) is set to Active, while the partner connection is set to Standby.

Page 43: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 43

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Connecting Disks to Servers

70. Open the Disk Management snap-in. The StarWind disks will appear as unallocated and will be offline.

71. Bring the disks online by right-clicking on them and selecting the Online menu option.

Page 44: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 44

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

72. Select a disk other than Witness (check the disk size to make a proper choice) and right-click on it to initialize.

73. By default, the system will offer to initialize all non-initialized disks. Use the Select Disks area to choose the disks. Select GPT (GUID Partition Style) as the partition style to be applied to the disks. Press OK to confirm.

74. Right-click the selected disk and choose New Simple Volume.

Page 45: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 45

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

75. In New Simple Volume Wizard, indicate the volume size. Click on the Next button.

76. Assign a drive letter to the disk. Click Next.

77. Select NTFS in the File System dropdown menu. Keep the Allocation unit size as Default. Set the Volume Label of choice. Click Next.

Page 46: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 46

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

78. Press Finish to complete the operation. 79. Complete the steps above for the Witness disk. Do not assign any drive letter or drive

path for it.

80. On the partner node, open the Disk Management snap-in. All StarWind disks will appear offline. If the status is different from the one shown in the screenshot below, click Refresh under Action in the top menu to update the information about the disks.

Page 47: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 47

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

81. Bring all StarWind disks online as described above.

Page 48: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 48

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Creating a Cluster

NOTE: To avoid issues during the cluster configuration validation, it is recommended to install the latest Microsoft updates on each node. 82. Open Server Manager. Select the Failover Cluster Manager item from the Tools

menu.

83. Click the Create Cluster link in the Actions section of the Failover Cluster Manager.

Page 49: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 49

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

84. Specify the servers to be added to the cluster. Click Next to continue.

85. Validate the configuration by passing the cluster validation tests: select Yes… and click

Next to continue.

Page 50: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 50

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

86. Specify the cluster name.

NOTE: If the cluster servers get IP addresses over DHCP, the cluster also gets its IP address over DHCP, though this scenario is not advisable. If the IP addresses are set statically, it is required to set the cluster IP address manually. Click Next to continue.

Page 51: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 51

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

87. Make sure that all settings are correct. Click Previous to make any changes. Click Next to proceed.

NOTE: If the Add all eligible storage to the cluster checkbox is enabled, the wizard will try to add all disks to the cluster automatically. The smallest device will be assigned as the cluster witness disk. It is recommended to unmark this checkbox before clicking Next and assign the cluster witness disk later manually.

Page 52: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 52

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

88. Upon the cluster creation completion, the system displays a report with the detailed information that can be viewed by clicking the View Report button. Alternatively, click Finish to close the wizard.

Page 53: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 53

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Adding Storage to the Cluster

Follow the steps below to add the Cluster Shared Volumes (CSV) that are necessary for working with Hyper-V virtual machines.

89. In the Failover Cluster Manager, go to Cluster -> Storage -> Disks. Click Add Disk in

the Actions panel, choose StarWind disks from the list, and confirm the selection.

Page 54: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 54

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

90. To configure the cluster witness disk, right-click on Cluster and proceed to More Actions -> Configure Cluster Quorum Settings.

91. Follow the wizard and use the Select the quorum witness option. Click Next.

Page 55: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 55

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

92. Select Configure a disk witness. Click Next.

93. Select the Witness disk to be assigned as the cluster witness disk. Click Next and press

Finish to complete the operation.

Page 56: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 56

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

94. In Failover Cluster Manager, select a disk. Right-click on it and select Add to Cluster Shared Volumes.

95. If renaming of the cluster shared volume is required, right-click on the disk and select

Properties. Type the new name of the disk and click Apply followed by OK.

Page 57: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 57

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

96. Perform the steps above for any other disk in Failover Cluster Manager. The resulting list of disks will look as shown in the screenshot below.

Page 58: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 58

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Configuring Cluster Network Preferences

97. In the Networks section of the Failover Cluster Manager, right-click on the network from the list. Set its new name if required to identify the network by its subnet. Apply the change and press OK.

NOTE: Do not allow cluster network communication on either iSCSI or synchronization network.

98. Rename other networks as described above, if required.

Page 59: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 59

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

99. In the Actions tab, click Live Migration Settings. Uncheck the synchronization network. Allow the iSCSI network only if it is 10+ Gbps. Apply the changes and click OK.

Page 60: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 60

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Post-Configuration Tasks

100. Once the disks are added to the cluster shared volumes and the network preferences are set, highly available virtual machines can be created on the cluster shared volumes. Select Roles and in the Action tab, click Virtual Machines -> New Virtual Machine. Complete the wizard.

NOTE: to avoid the unnecessary CSV overhead, configure each CSV to be owned by the different cluster node. This node should also be the preferred owner of the VMs running on that CSV.

Page 61: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 61

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Conclusion

The Windows Failover Cluster will increase the availability of services or applications running in it, as well as exclude the downtime during maintenance. In case of any additional questions, visit the StarWind Support Forum.

Page 62: HyperConverged 2-Node Scenario with Hyper-V … Stop Virtualization Shop StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2 MARCH 2018

TECHNICAL PAPER 62

StarWind Virtual SAN® HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2

Contacts

US Headquarters EMEA and APAC

1-617-449-77 17

1-617-507-58 45

1-866-790-26 46

+44 203 769 18 57 (UK)

+34 629 03 07 17 (Spain and Portugal)

Customer Support Portal:

Support Forum: Sales:

General Information:

https://www.starwind.com/support https://www.starwind.com/forums [email protected] [email protected]

StarWind Software, Inc. 35 Village Rd., Suite 100, Middleton, MA 01949 USA www.starwind.com ©2018, StarWind Software Inc. All rights reserved.