QNAP and Failover Technologies



Similar documents
Introduction to MPIO, MCS, Trunking, and LACP

Drobo How-To Guide. Topics. What You Will Need. Configure Windows iscsi Multipath I/O (MPIO) with Drobo iscsi SAN

Server Virtualization with QNAP Turbo NAS and Microsoft Hyper-V

Our target is an EqualLogic PS100 Storage Array with a portal address of

Drobo How-To Guide. Topics. What You Will Need. Prerequisites. Deploy Drobo B1200i with Microsoft Hyper-V Clustering

istorage Server: High-Availability iscsi SAN for Windows Server 2008 & Hyper-V Clustering

How To Set Up A Two Node Hyperv Cluster With Failover Clustering And Cluster Shared Volume (Csv) Enabled

StarWind iscsi SAN Software: Providing shared storage for Hyper-V's Live Migration feature on two physical servers

StarWind iscsi SAN Software: Using an existing SAN for configuring High Availability storage with Windows Server 2003 and 2008

Package Contents. D-Link DSN-3200/3400 Installation Guide. DSN-3200/3400 xstack Storage Area Network (SAN) Array. CD-ROM with User Guide.

Biznet GIO Cloud Connecting VM via Windows Remote Desktop

Configuring Windows Server Clusters

Package Contents. D-Link DSN-3200/3400 Installation Guide. DSN-3200/3400 xstack Storage Area Network (SAN) Array. CD-ROM with User Guide.

Compellent Storage Center

Use QNAP NAS for Backup

Using iscsi with BackupAssist. User Guide

Lab Conducting a Network Capture with Wireshark

istorage Server: High Availability iscsi SAN for Windows Server 2012 Cluster

StarWind iscsi SAN Software: Using StarWind with MS Cluster on Windows Server 2008

StarWind iscsi SAN & NAS: Configuring HA Shared Storage for Scale- Out File Servers in Windows Server 2012 January 2013

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

StarWind iscsi SAN Configuring HA File Server for SMB NAS

StarWind iscsi SAN Software: Tape Drives Using StarWind and Symantec Backup Exec

StarWind iscsi SAN Software: Using StarWind with VMware ESX Server

QNAP in vsphere Environment

vsphere Networking ESXi 5.0 vcenter Server 5.0 EN

Host Installation on a Terminal Server

a) Network connection problems (check these for existing installations)

FactoryTalk View Site Edition V5.0 (CPR9) Server Redundancy Guidelines

How to Join QNAP NAS to Microsoft Active Directory (AD)

Scan to SMB(PC) Set up Guide

High Availability Cluster for RC18015xs+

Contents. ST9612 Model WIC Printer. Get the original printer s information. Edited 11/04/15

Step by step guide for connecting PC to wired LAN at dormitories of University of Pardubice

Category: Design & Spec Note Sub-category: Streaming & Networking, Recording & Storage Model: All Firmware: N/A

Using iscsi NAS with NVR

Deploying Windows Streaming Media Servers NLB Cluster and metasan

Option nv, Gaston Geenslaan 14, B-3001 Leuven Tel Fax Page 1 of 14

N5 NETWORKING BEST PRACTICES

ION-NAS Network Storage Solutions

StarWind iscsi SAN & NAS: Configuring HA Storage for Hyper-V October 2012

StarWind iscsi SAN & NAS: Configuring HA File Server on Windows Server 2012 for SMB NAS January 2013

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Non-ThinManager Components

vsphere Networking vsphere 5.5 ESXi 5.5 vcenter Server 5.5 EN

Drobo How-To Guide. Deploy Drobo iscsi Storage with VMware vsphere Virtualization

Configuring a Microsoft Windows Server 2012/R2 Failover Cluster with Storage Center

Purple Sturgeon Standard VPN Installation Manual for Windows XP

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

DCOM settings for computer-to-computer communication between OPC servers and OPC clients

NAS 206 Using NAS with Windows Active Directory

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

GE Healthcare Life Sciences UNICORN Administration and Technical Manual

Enabling Internet Connection Sharing on Windows Enabling ICS On Windows XP As The Host 4 Enabling ICS On Windows XP As The Client 11

Configuration of a Load-Balanced and Fail-Over Merak Cluster using Windows Server 2003 Network Load Balancing

StarWind iscsi SAN Software: Configuring High Availability Storage for VMware vsphere and ESX Server

QuickStart Guide vcenter Server Heartbeat 5.5 Update 2

IntraVUE Plug Scanner/Recorder Installation and Start-Up

Chapter 2 Preparing Your Network

1 crossover cable. the PCs. network

Steltronic Focus. Main Desk Internet connection

Tufts VPN Client User Guide for Windows

Immotec Systems, Inc. SQL Server 2005 Installation Document

Installation Guide July 2009

Nexio Connectus Cluster Set Up with SQL Server Backend

Clustering VirtualCenter 2.5 Using Microsoft Cluster Services

Setup for Windows XP Connect to your Windows XP machine with: FileBrowser, NetPortal & ServerControl

How to configure Failover Clustering for Hyper-V hosts on HP ProLiant c-class server blades with All-in-One SB600c storage blade

vsphere Networking vsphere 6.0 ESXi 6.0 vcenter Server 6.0 EN

GlobalSCAPE DMZ Gateway, v1. User Guide

Windows Host Utilities 6.0 Installation and Setup Guide

Windows Vista: Connecting to the wireless network at Hood College

1 PC to WX64 direction connection with crossover cable or hub/switch

HYPERLINK Internet PC setup guide. HYPERLINK Internet support helpdesk at

If you already have your SAN infrastructure in place, you can skip this section.

1. Hardware Installation

To install the SMTP service:

SiteCount v2.0 Revised: 10/30/2009

NAS 323 Using Your NAS as a VPN Server

How To Configure A Kiwi Ip Address On A Gbk (Networking) To Be A Static Ip Address (Network) On A Ip Address From A Ipad (Netware) On An Ipad Or Ipad 2 (

How to Program a Commander or Scout to Connect to Pilot Software

Self Help Guide IMPORTANT! Configuring Your Router With Your Modem. Please read the following carefully; This Guide refers to the following Products:

Windows 98 and Windows Me

How to Install the Active Directory Domain Services (AD DS) Role in Windows Server 2008 R2 and Promote a Server to a Domain Controller

Scan to Quick Setup Guide

Kepware Technologies Remote OPC DA Quick Start Guide (DCOM)

StarWind iscsi SAN Software: Using StarWind with MS Cluster on Windows Server 2003

HP StoreVirtual DSM for Microsoft MPIO Deployment Guide

Windows Peer-to-Peer Network Configuration Guide

Configuring TCP/IP Networking for Windows Me:

Load Balancing. Outlook Web Access. Web Mail Using Equalizer

How To Set Up A Backupassist For An Raspberry Netbook With A Data Host On A Nsync Server On A Usb 2 (Qnap) On A Netbook (Qnet) On An Usb 2 On A Cdnap (

ESX Configuration Guide

Setting Up Internet Connection Sharing (ICS) on a Server

Device Interface IP Address Subnet Mask Default Gateway

Installing and Configuring a. SQL Server 2012 Failover Cluster

Interfacing Basler GigE Cameras With Cognex VisionPro 7.2

WEB CONFIGURATION. Configuring and monitoring your VIP-101T from web browser. PLANET VIP-101T Web Configuration Guide

How to Create a Virtual Switch in VMware ESXi

Transcription:

QNAP and Failover Technologies USE MC/S WITH QNAP NAS Copyright 2009. QNAP Systems, Inc. All Rights Reserved.

How to connect an iscsi initiator on Windows 2008 with MC/S feature QNAP provides you what others cannot! MC/S (Multiple Connections per Session) enables you to have multiple TCP connections per session to reach an iscsi target. This ensures better performance, and provides load balancing and failover. MC/S is part of all x86-based QNAP NAS, e.g. TS-239, TS-439, TS-509, TS-639, TS-809 (see http://www.qnap.com/images/products/comparison/comparison_nas.html) In this application note, we will connect an iscsi target with multiple connections. Benefits of using MC/S with a QNAP NAS: - It allows better performance! Using several TCP connections for data transmission will enhance network throughput. - It allows Failover! In case of network problem (e.g. faulty cable, switch power unit malfunction), it will avoid downtime! All applications will remain online! - It allows load balancing! Whenever a large transfer occurs, it can use different switches for the transfer to avoid a possible switch overload if only one is used! Before getting started, please know: DO NOT use NIC Teaming on the server: NIC Teaming used with iscsi is not supported by Microsoft. DO NOT use MC/S and MPIO together to connect to a target. Microsoft does not support that configuration: Although it is technically possible to layer Microsoft MPIO and MC/S together since they function at different layers in the Windows stack, Microsoft does not support the layering of MPIO and MC/S due to complexities this can introduce if troubleshooting is needed on a configuration. (See Microsoft iscsi Software Initiator Version 2.X Users Guide http://download.microsoft.com/download/a/e/9/ae91dea1-66d9-417c-ade4-92d824b871af/uguide.doc ) Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 2

In this Application note, you will find: Some Possible Physical Network architectures 4 1 network link 4 2 network links 4 MC/S over a single network interface 5 MC/S over a 2 network interfaces 6 Different possible failures and failover concept 7 Handled by MC/S feature 7 Handled by QNAP Trunking mode (failover setting) 8 Pre-requisites of using MC/S (detailed later) 8 Steps review 8 Set up an iscsi target on your QNAP NAS 9 Connect to your QNAP iscsi portal 9 Connect to your iscsi target (first connection) 12 Add the second connection 15 Check the settings 23 Example of a failover 27 Advices 28 On your Windows 2008 server, configure your network interface properties. 28 On your NAS administration interface 29 You can also unbind unnecessary protocols from your iscsi NICs 30 Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 3

Two different configurations will be demonstrated in this application note. - The first one is based on a simple network architecture. - The second one will use a more advanced configuration to allow failover and load balancing. Some Possible Physical Network architectures 1 network link The simplest way to try MC/S is to have a simple connection with 1 physical interface on each side. 2 network links Dual connection: 2 network interfaces on each side. This architecture offers failover, load balancing and performance enhancement. We will see in details how to set up the MC/S feature on this network architecture to allow failover. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 4

MC/S over a single network interface In this example, we will have only one network connection on each side. Without MC/S, one connection to an iscsi target would result in 1 session each time you click logon to logon and connect to an iscsi target. Each session is composed in this case with 1 TCP connection. It would look like: With MC/S, we can have more than 1 TCP connection for each session. That means you can logon onto the target and add several connections for the same session. It would look like: Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 5

MC/S over a 2 network interfaces MC/S can also provide failover. If your server has multiple network interfaces, it is possible to use MC/S in that purpose. As we ve seen previously, after an iscsi logon, we can add TCP connections to the same session (this procedure will be explained in details later). When adding a TCP connection to a session, it is possible to specify the source interface. In that case, if we connect through the first interface, then add a connection through the second interface. The session will remain alive even if one on the network interface fails. If your QNAP NAS has 2 network interfaces, you can enable failover mode (trunking mode) to allow failover on both sides. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 6

Different possible failures and failover concept Handled by MC/S feature If the cable or the switch linked to IP1 or IP2 failed, one of the 2 connections will fail, but the other connection will remain connected: Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 7

Handled by QNAP Trunking mode (failover setting) If one of the cable linked to the QNAP NAS failed, the all path will remain UP, because it is protected by the QNAP port trunking mode: Pre-requisites of using MC/S (detailed later) Have an existing iscsi target created on the NAS (firmware version 3.2.0 or later). To allow full network failover, have trunking mode enabled on the QNAP NAS. Steps review The following procedure will guide you to: - Set up an iscsi target on your QNAP NAS - Add your QNAP iscsi portal - Connect to your iscsi target - Add a second connection to your current iscsi session Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 8

Set up an iscsi target on your QNAP NAS Set up an iscsi target on your QNAP NAS. You can refer to the online application note Create and use the iscsi target service on the QNAP NAS on http://www.qnap.com/pro_features.asp. Connect to your QNAP iscsi portal You can add an iscsi LUN. From the administrative tools, launch the iscsi Initiator menu: You will obtain a new window. From there you will be able to connect the first path to your iscsi target. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 9

Click the "Discovery" tab, then click "Add Portal" to add your QNAP NAS, Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 10

Enter the IP address or DNS name of your QNAP NAS, Then click OK. Return to the initiator window; go to the Targets tab. You will see all the targets on your QNAP NAS. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 11

Connect to your iscsi target (first connection) Select the target you want to connect to, and click Log on... On the new window, check Automatically restore this connection when computer starts to make that iscsi target to be connected at Windows startup. DO NOT check Enable multi-path. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 12

If you have only 1 network interface, just click OK. If you have 2 network connections, click Advanced. On the Advanced tab you can add the specific target-initiator pair in one of the iscsi networks ONLY by choosing the initiator, IP source (first IP) and portal. Assuming we have 2 IP addresses: 172.17.23.210 and 172.17.23.211, we choose the first one: 172.17.23.210: Click OK Click OK again. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 13

Then, you can see your iscsi target connected. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 14

Add the second connection Once you are connected with a first connection, we can add the second TCP connection to the same iscsi session. To do so, click Details after selecting the connected target. You can see on the next windows the session you have connected before. You can also see that there is only 1 connection 1. Click Connections to add another connection. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 15

A new window will appear. The load balancing policy is shown. The default policy is Round Robin. You can also see the previous connection that has been done before. Note that the connection may appear different depending on your configuration: With 1 network interface, it may appear without source IP address, because we didn t precise it when we ve connected to the target. With 2 network interfaces, we can see the source IP address that we used to connect to the target. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 16

Click Add to add a connection. A new window appears. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 17

If you have only 1 network interface, click OK. If you have 2 network connections, click Advanced. Select the initiator, IP source (second IP) and portal for the second connection. Assuming we have 2 IP addresses: 172.17.23.210 and 172.17.23.211 and that we already connected the first one, we now choose 172.17.23.211 for the second one. Click OK. Click OK again. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 18

You will see the second connection. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 19

Click OK. On the new windows, you will find one connected session and two connections. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 20

On the Devices tab, you will see only 1 disk. Click OK. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 21

Return to the iscsi initiator properties, click OK. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 22

Check the settings - In the main iscsi initiator panel, select your target LUN and click Details. You will see your two connected sessions. On the iscsi initiator panel, the LUN is connected. Click Details. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 23

You can see the 1 session with 2 connections. If you have only 1 network interface: You can also find those 2 connections by opening a command prompt window (cmd.exe) and using netstat.exe. We can see the 2 connections that you made from the same IP address: C:\Users\Administrator>netstat -n Active Connections Proto Local Address Foreign Address State TCP 172.17.23.210:49173 10.8.12.134:3260 ESTABLISHED TCP 172.17.23.210:49174 10.8.12.134:3260 ESTABLISHED TCP 172.17.23.214:3389 10.8.12.35:53523 ESTABLISHED C:\Users\Administrator> If you have 2 network connections, you can also find those 2 connections by opening a command prompt window (cmd.exe) and using netstat.exe. We can see the 2 connections that you made from the 2 different IP addresses. C:\Users\Administrator>netstat -n Active Connections Proto Local Address Foreign Address State TCP 172.17.23.210:49164 10.8.12.98:3260 ESTABLISHED TCP 172.17.23.211:49165 10.8.12.98:3260 ESTABLISHED TCP 172.17.23.214:3389 10.8.12.35:56117 ESTABLISHED C:\Users\Administrator> Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 24

- In Server Manager console, go to Storage > Disk Management. You can configure the newly added disks as appropriate. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 25

You can format your newly added disk and use it: Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 26

Example of a failover During the formatting of the disk, one of the network cables has been disconnected, the system started to use only the remaining connection (1). When the cable is plugged back, the first connection is reestablished (2). Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 27

Advices According to Microsoft iscsi Software Initiator Version 2.X Users Guide, you can enable Jumbo Frame (Jumbo packet) on all your equipment to enhance performance. if Jumbo Frames if supported in your network infrastructure. Jumbo Frames can be used to allow more data to be transferred with each Ethernet transaction and reduce the number of frames. This larger frame size reduces the overhead on both your servers and iscsi targets. For end to end support, each device in the network needs to support Jumbo frames including the NIC and Ethernet switches. (Beware that Jumbo Frame are available on TS-119, TS-219, TS-219P, TS-410, TS-419P, TS- 419U, TS-239 Pro, SS-439 Pro, TS-439 Pro, TS-439U-SP/RP, TS-639 Pro, SS-839 Pro. Cf: http://www.qnap.com/images/products/comparison/comparison_nas.html ) On your Windows 2008 server, configure your network interface properties. Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 28

On your NAS administration interface Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 29

You can also unbind unnecessary protocols from your iscsi NICs This has to be done only on DEDICATED network interfaces that are used only for iscsi! Clear the checkbox for Client for Microsoft Networks Clear the checkbox for QoS Packet Scheduler Clear the checkbox for File and Printer Sharing for Microsoft Networks Clear the checkboxes for the Link-Layer Topology options Clear the checkbox for Register this connection's address in DNS Clear the checkbox for Enable LMHOSTS Lookup Select the radio button for Disable NetBIOS over TCP/IP Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 30

Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 31

Copyright 2009. QNAP Systems, Inc. All Rights Reserved. 32