Configuring HA File Server for SMB NAS

Published on April 2017 | Categories: Documents | Downloads: 60 | Comments: 0 | Views: 795
of 36
Download PDF   Embed   Report

Comments

Content

StarWind iSCSI SAN:
Configuring HA File Server for SMB NAS
February 2012

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS

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.

Copyright ©2008-2012 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 | 2

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS CONTENTS
INTRODUCTION .................................................................................................................................... 4 CONFIGURING SHARED STORAGE ......................................................................................................... 5 CONFIGURING WINDOWS SERVER 2008 ............................................................................................. 12 INSTALLING FEATURES ........................................................................................................................... 12 INSTALLING FILE SERVICE ROLE .............................................................................................................. 13 CONNECTING TARGETS .......................................................................................................................... 15 ENABLING MULTIPATH SUPPORT .......................................................................................................... 16 INITIALIZING DISKS ................................................................................................................................. 17 CREATING A CLUSTER ......................................................................................................................... 21 MAKING THE FILE SERVER HIGHLY AVAILABLE .................................................................................... 25 SHARING A FOLDER ............................................................................................................................ 29 CONTACTS .......................................................................................................................................... 36

Page | 3

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS INTRODUCTION

Page | 4

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS CONFIGURING SHARED STORAGE
Two virtual disks are required for the storage configuration. Both of them have to be HA devices. We will describe only the process of creation of the first disk, since the procedure of creating the second one is alike, except for the second device is used for a file server, so it has to be of a sufficient size (e.g. 100 GB). To configure a virtual disk: 1. Launch StarWind Management Console: Start -> All Programs -> StarWind Software -> StarWind Management Console Note: When the Management Console is running, its icon appears in the system tray. To access StarWind Management Console: Double-click the StarWind Management Console icon Right click the StarWind Management Console icon and select Start Management Console from the popup menu 2. On the Console tree select a server, where iSCSI target device is to be created. Double-click it to connect. 3. In the Login dialog that appears specify login and password in the corresponding text fields. Note:The default login and password are “root” and “starwind”, respectively. You can change them later.

4. Optionally select the Save password check box to log in automatically next time. 5. Click OK to continue. 6. As you are connected to the StarWind Service, click Add Device button to add a device to the selected server. 7. Add Device Wizard appears. Please, follow the Wizard's steps to complete creation of a new HA device. 8. Go to Hard Disk->Advanced Virtual->High Availability Device to select the HA device type.

Page | 5

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
9. In the Target Alias and Target Name text fields, specify corresponding information. Note: The name must be a unique. Under this name the device is declared to the iSCSI initiators connecting to the StarWind Service over an IP network.

10. Click Next to continue. 11. Enter the server's IP-address in the Host text field, and specify username and password for the StarWind Service in the corresponding text fields.

12. Click Next to continue.

Page | 6

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
13. In the Partner Target Alias and Partner Target Name text fields specify corresponding information.

14. Click Next to continue. 15. Specify the virtual disks to be created. Note: The HA device is made up of two virtual disks. 16. In the Virtual disk parameters of the current server field and the Virtual disk parameters of the partner server field specify name and location of HA virtual disks on the current and partner host, respectively. Press to browse and select appropriate location. 17. Type the size in the Size box.

18. Click Next to continue.

Page | 7

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
19. Specify synchronization channel parameters of the current server.

20. Click Next to continue. 21. Specify synchronization channel parameters of the partner server.

22. Click Next to continue.

Page | 8

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
23. Specify number of iSCSI sessions in synchronization channel.

24. Click Next to continue. 25. Select initialization method of HA device.

26. Click Next to continue.

Page | 9

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
27. Specify cache parameters of HA device.

28. Click Next to continue. 29. Check whether device parameters are correct. Click Back to make any changes.

30. Click Next to add StarWind target.

Page | 10

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
31. Click Finish to close the Wizard.

Page | 11

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS CONFIGURING WINDOWS SERVER 2008
Installing Features
1. Open Server Manager: Start->Administrative Tools->Sever Manager. 2. Go to the Features item. 3. Click Add Features. 4. Add Features Wizard appears. In the features list select Multipath I/O and Failover Clustering features. 5. Follow the Wizard's steps to install the selected features. Note: Restart the server after installation is completed.

Page | 12

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
Installing File Service Role
1. Open Server Manager: Start->Administrative Tools->Sever Manager. 2. Go to the Roles item. 3. Click Add Roles. 4. Add Roles Wizard appears. In the roles list select the File Services role and install it.

5. Click Next to continue. 6. Select File Server check box.

Page | 13

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
7. Click Next to continue. 8. Check whether everything is correct, and click Install to install the File Server role on the server.

9. Review installation results and click Close to exit the Wizard. Note: Restart the server after installation is completed.

Page | 14

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
Connecting Targets
1. Open Microsoft iSCSI Initiator: Start -> Administrative Tools -> iSCSI Initiator. 2. Click the Discovery tab. 3. To add StarWind server click Discover Portal and specify server's IP-address.

4. Switch to the Targets tab.

5. Select the needed target and click Connect to connect to it. 6. In the Connect to Target dialog select Add this connection to the list of Favorite Targets and Enable multi-path check boxes.

7. Click OK. 8. Repeat the same operations for the rest of 3 targets.

Page | 15

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
Enabling Multipath Support
1. Open the MPIO manager: Start->Administrative Tools->MPIO. 2. Go to the Discover Multi-Paths tab. 3. Select the Add support for iSCSI devices check box.

4. Click Add. 5. When prompted to restart the server, click Yes to proceed. 6. After the server is restarted, initialize the disk and create partitions, as if it were physical hard drive. Note: The procedures performed on the first server are automatically shown on the second one.

Page | 16

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
Initializing Disks
The StarWind disks must be initialized and formatted, before they can be utilized as cluster disks. To initialize disks and create partitions: 1. Launch the Server Manager console.

2. Select the Disk Management item. 3. Right click each disk and select Online Disk to bring it online. 4. Right click each disk and select Initialize Disk to initialize it. Follow the Wizard to initialize disks.

5. Click OK to continue.

Page | 17

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
6. Format disks with default settings, and optionally, set Volume labels. Follow the Wizard's steps.

7. In case the operation is completed successfully, the disks will be formatted as shown in the screenshot below.

8. Switch to the second node and connect the targets in the same way.

Page | 18

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
9. Bring disks online. Note: Windows automatically assigns drive letters to the mounted volumes. As these are local drive letters, they may differ from those assigned on the first node. However, you can change drive letters manually: Right click Quorum or Generic volumes and select Change Drive Letter and Paths in the shortcut menu.

Page | 19

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
If drive letters are changed successfully, the Server Manager console looks as shown in the screenshot below.

Page | 20

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS CREATING A CLUSTER
To create a cluster: 1. Open Server Manager. 2. Expand the Features item on the Console tree and select the Failover Cluster Manager item. 3. Click Validate a Configuration to verify whether your servers are suitable for building a cluster. As validation is completed, you are returned to the Failover Cluster Manager window.

4. Click Create a Cluster and follow Create Cluster Wizard's steps.

Page | 21

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
5. Add the names of all servers, which are to form the cluster, in one of the following ways: • • Enter the domain name manually Click Browse. Type first letters of the domain name, and click Check Names. Select the name from the offered list.

6. Click Next to continue. 7. Fill in the Cluster Name field with the corresponding information, and type the cluster address.

8. Click Next to continue.

Page | 22

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
9. Check whether specified information is correct. Click Next to proceed.

When finished successfully, the Wizard should look as shown in the screenshot below.

10. Click Finish to close the Wizard. The created cluster is displayed in the left pane.

Page | 23

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
11. Click + next to the cluster to expand it, and then click the Storage item. The Failover Cluster Manager console should look as shown in the screenshot below. Both cluster disks will have online status.

Page | 24

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS MAKING THE FILE SERVER HIGHLY AVAILABLE
To make the File Server Highly Available: 1. Open Server Manager. 2. Expand the Features item on the Console tree and select the Services and applications item.

3. Click Configure a Service or application in the Actions pane.

Page | 25

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
4. Select the File Server item from the list in High Availability Wizard.

5. Click Next. Follow High Availability Wizard's steps to complete the configuration. 6. Fill in the Name field with the corresponding information, and type the cluster address.

7. Click Next.

Page | 26

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
8. Select the storage volume to be assigned to the service or application.

9. Click Next. 10. Check whether specified information is correct. Click Next to proceed.

Page | 27

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
When finished successfully, the Wizard should look as shown in the screenshot below.

10. Click Finish to close the Wizard. When you are finished, High Availability Wizard should look as shown in the screenshot below.

Page | 28

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS SHARING A FOLDER
To share a folder: 1. If the cluster that you want to configure is not displayed in the Failover Cluster Manager snap-in, right click Failover Cluster Manager in the Console tree, and then click Manage a Cluster. 2. Select the need cluster. If the Console tree is collapsed, expand it under the cluster to be configured. Expand Services and applications, and then select the clustered file server. 3. You can either click Add a shared folder in the left pane, or right click under the configured service, and select Add a shared folder from the shortcut menu.

Page | 29

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
4. Click Browse in Shared Folder Wizard.

5. Select a folder, or create a new one. Click OK.

Page | 30

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
6. The Location text field now contains the folder path. Click Next to continue.

7. Specify NTFS permissions for the shared folder.

8. Click Next to continue.

Page | 31

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
9. Select the SMB protocol check box as a protocol to access this shared folder, and then specify share name in the corresponding text field.

10. Click Next to continue. 11. Specify how this shared folder is to be used by clients accessing it over SMB protocol.

12. Click Next to continue.

Page | 32

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
13. Specify share permissions for SMB-based access to the shared folder.

14. Click Next to continue. 15. If needed to publish the SMB share to a DFS namespace, select the corresponding check box.

16. Click Next to continue.

Page | 33

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
17. Check whether specified settings are correct. Click Previous to make any changes.

18. Click Create to proceed the creation of a shared folder . 19. Check a summary, and click Close to close the Wizard.

Page | 34

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS
To manage created shares: 1. Start Server Manager. 2. Go to Features->Failover Cluster Manager->"Cluster_name.domain"->Services and applications. 3. Right click the just created file server and select Manage shares and storage from the shortcut menu.

Page | 35

StarWind iSCSI SAN : Configuring HA File Server for SMB NAS CONTACTS

Customer Support Portal: Support Forum: Sales: Sales (Germany): General Information: US Headquarters Phone: Fax: EMEA and APAC Phone: Voice Mail: Germany Phone:

http://www.starwindsoftware.com/support http://www.starwindsoftware.com/forums [email protected] [email protected] [email protected] 1-617-449-7717 1-617-507-5845 +44-0-2071936727 +44-0-2071936350 +33-0-977197857 (French) 1-866-790-2646 Monikastr. 13 53757 Sankt Augustin +49-1715109103

StarWind Software Inc. 40 Mall Rd., Burlington, MA 01803, USA www.starwindsoftware.com

Page | 36

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close