StarWind iSCSI SAN Software: Providing shared
storage for Hyper-V's Live Migration feature on
two physical servers
COPYRIGHT
Copyright © StarWind Software 2008-2011. All rights reserved. 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.
TRADEMARKS
“StarWind”, “StarWind Software” and the StarWind and the StarWind Software logos are trademarks 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 here or there. If you need further assistance, please contact us.
Introduction
Note: Data Synchronization Channel redundancy is required. NIC teaming is recommended. The heartbeat and the client interfaces have to be separated
using VLANs or different NIC ports.
4 Copyright © StarWind Software 2008-2011. All rights reserved.
Preparing Storage
Two virtual disks are required for the configuration. Both of them have to be HA devices. This document provides description of creation of the first disk only. The procedure of creation of the second one is just the same except the second device will be used for storing virtual machines so it needs to be of a sufficient size (e.g.100 Gb).
To create a disk:
1. Launch StarWind Console by clicking Start -> All Programs -> StarWind Software -> StarWind. Whenever the StarWind Console is running, its icon appears in the system tray. The StarWind Console may be accessed by double-clicking the icon using the left mouse button, or with a right- click of the mouse button and selecting Start Management Console from the pop- up menu.
2. From the Connections tree, select the computer you want to provision the iSCSI target device on and double-click it to connect.
3. Enter login and password. The default login and password are “root” and
“starwind.” You can always change them later. Also you can save the password by selecting the Save password checkbox.
4. Click OK to continue. Now when you are connected to the StarWind Service on the machine, you can create targets on it.
To create a target:
1. Click button to continue.
2. In the wizard that appears, specify a unique target name.
3. Click Next to continue.
4. Select the HA device type by clicking Hard Disk -> Advanced Virtual -> High Availability device.
5. Specify the partner server parameters. Enter server's IP address or host name, and specify the user name and password for the StarWind Service.
6 Copyright © StarWind Software 2008-2011. All rights reserved.
6. Click Next to continue.
7. Specify partner target alias and/or partner target name.
8. Click Next to continue.
8 Copyright © StarWind Software 2008-2011. All rights reserved.
9. Specify location and name of your local virtual disk file and your partner's virtual disk file by clicking the button.
10. If you want to create new virtual disks, select the Create New checkbox.
11. Click Next to continue.
12. Specify the IP address for synchronization.
13. Set node priority using the Priority box.
Note: In order to prevent data corruption in case of synchronization channel malfunction secondary node will be blocked until the synchronization channel operation is restored. You can also disable the automatic synchronization after node failure by clearing the Auto synchronization after failure checkbox.
14. Click Next to continue.
10 Copyright © StarWind Software 2008-2011. All rights reserved.
15. Specify one of the HA device initialization methods.
16. Click Next to continue.
17. Select the cache type, size and the expiry period in milliseconds.
18. Click the Next button to continue.
12 Copyright © StarWind Software 2008-2011. All rights reserved.
19. Make sure that the device parameters are correct. Click Back should any changes be required.
20. Click Next to continue.
21. A summary is displayed on the last wizard page.
22. Click Finish to close the wizard.
14 Copyright © StarWind Software 2008-2011. All rights reserved.
The procedures described in this chapter have to be performed on both servers.
To install Failover Clustering and MPIO features:
1. Open Server Manager by clicking Start -> Administrative Tools -> Sever Manager.
2. Click the Features item.
3. Click Add Features. An Add Features Wizard appears.
4. From the Features list, select the Failover Clustering and Multipath I/O checkboxes.
5. Click Next.
16 Copyright © StarWind Software 2008-2011. All rights reserved.
To install Hyper-V Role:
1. Open Server Manager by clicking Start -> Administrative Tools -> Sever Manager.
2. Click the Roles item.
3. Click Add Roles. Add Roles Wizard appears.
4. From the roles list, select the Hyper-V checkbox.
5. Follow the wizard instructions.
Note: The server will reboot during the installation.
To connect targets:
1. Open the Microsoft iSCSI Initiator by clicking Start -> Administrative Tools -
> iSCSI Initiator.
2. Click the Discovery tab.
3. Click the Discover Portal ... button and specify servers IP address in order to add the client connection interface IP of both local and partner server NIC.
18 Copyright © StarWind Software 2008-2011. All rights reserved.
4. Switch to the Targets tab.
20 Copyright © StarWind Software 2008-2011. All rights reserved.
The targets marked as connected should be connected through the client connection interface.
5. In the dialog window that appears, select the Add this connection to the list of Favorite Targets and Enable multi-path checkboxes.
6. Click the Advanced... button.
22 Copyright © StarWind Software 2008-2011. All rights reserved.
The inactive targets should be connected using the local server's Client interface
9. Click OK to connect the targets.
10. Follow the same procedure for the remaining target.
11. Do the same for another node.
To enable Mutlipath Support:
1. Open the MPIO manager by clicking Start -> Administrative Tools -> MPIO.
2. Click the Discover Multi-Paths tab.
3. Select the Add support for iSCSI devices checkbox.
24 Copyright © StarWind Software 2008-2011. All rights reserved.
you will do using physical hard drives. The procedures on the first server will be automatically shown on the second one.
To create a cluster:
1. Open Server Manager by clicking Features -> Failover Cluster Manager.
2. Click the Validate a Configuration... link to ensure that your servers meet the requirements to build a cluster.
3. In the Failover Cluster Manager window, click the Create a Cluster... link, and follow the wizard instructions.
26 Copyright © StarWind Software 2008-2011. All rights reserved.
As soon as cluster is created, you will be redirected to to cluster Summary page.
To enable Cluster Shared Volumes:
1. Click the Enable Cluster Shared Volumes... link.
2. Read the notice and select the I have read the above notice checkbox.
3. Click OK.
4. In the Cluster Shared Volumes section, click the Add Storage link on the Actions panel.
28 Copyright © StarWind Software 2008-2011. All rights reserved.
5. In the window that appears, select the HA Disk.
6. Click OK.
To make the VM Highly Available:
1. In your cluster management section, click Services and applications.
30 Copyright © StarWind Software 2008-2011. All rights reserved.
2. In the Actions panel, click Configure a Service or Application... link . 3. In the High Availability Wizard, click the Virtual Machine item.
4. Click Next. Follow the instructions to complete configuration.
5. Now select Services and application -> New Virtual Machine.
6. Select node. New Virtual Machine Wizard window appears.
7. On the Specify Name and Location step, select the Store the virtual machine in a different location checkbox.
8. Specify location of the cluster shared volume you have defined before.
32 Copyright © StarWind Software 2008-2011. All rights reserved.
10. After configuring HA for the Virtual machine, power it on. The Live migrate and Quick migrate features are now available and you have a fully functional HA virtual machine without using a dedicated shared storage.
Contacts
Support:
Support Forum:
Sales E-mail:
US Headquarters
EMEA, APAC
www.starwindsoftware.com/support www.starwindsoftware.com/forums [email protected]
Direct phone numbers: +44-0-2071936727 +44-0-2071936350
Voice Mail: 1-866-790-2646
Direct phone number: 1-617-449-7717
Fax: 1-617-507-5845