3par windows 2008 implementation guide

55
HP 3PAR® Windows 2008® Implementation Guide Abstract This implementation guide provides the information needed to configure an HP 3PAR® Storage System with Microsoft® Windows® 2008 Service Pack 1 (SP1), SP2, and R2 servers on x86 and x64 architectures. The guide also applies to the HP X3000 G2 Storage System. HP Part Number: QL226-96043 Published: August 2011

Upload: carlos-diaz

Post on 17-Oct-2014

3.277 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: 3PAR Windows 2008 Implementation Guide

HP 3PAR® Windows 2008®Implementation Guide

AbstractThis implementation guide provides the information needed to configure an HP 3PAR® Storage System with Microsoft®Windows® 2008 Service Pack 1 (SP1), SP2, and R2 servers on x86 and x64 architectures. The guide also applies to theHP X3000 G2 Storage System.

HP Part Number: QL226-96043Published: August 2011

Page 2: 3PAR Windows 2008 Implementation Guide

© Copyright 2011 Hewlett-Packard Development Company, L.P.

Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, CommercialComputer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government undervendor's standard commercial license.

The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the expresswarranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shallnot be liable for technical or editorial errors or omissions contained herein.

Acknowledgments

Microsoft®, Windows®, Windows® XP, and Windows NT® are U.S. registered trademarks of Microsoft Corporation.

Page 3: 3PAR Windows 2008 Implementation Guide

Contents1 Introduction...............................................................................................5

Supported Configurations..........................................................................................................5HP X3000 and XP3000 G2 Storage Systems...............................................................................5InForm Operating System Upgrade Considerations........................................................................6Audience.................................................................................................................................6Related Documentation..............................................................................................................6Typographical Conventions........................................................................................................6Advisories................................................................................................................................7

2 Performing Preliminary HP 3PAR Storage System and Host Configuration...........8Configuring the HP 3PAR Storage System Host Persona and Ports (InForm 3.1.x)................................8

Configuring Ports for Direct Connect.......................................................................................8Configuring Ports for Fabric...................................................................................................9Creating the Host Definition (InForm 3.1.x).............................................................................10

Configuring the HP 3PAR Storage System Port Personas and Ports (InForm OS 2.2.x)........................11Configuring HP 3PAR Storage System Ports for Direct Topology (InForm OS 2.2.x)......................11Configuring HP 3PAR Storage System Ports for Fabric Topology (InForm OS 2.2.x)......................11Creating the Host Definition (InForm OS 2.2.x).......................................................................12

Installing the HP 3PAR Host Explorer Software............................................................................13Setting Up Multipathing...........................................................................................................13

Configuring Microsoft MPIO for HP 3PAR Storage..................................................................13Configuring MPIO for Round Robin (InForm OS 2.2.x Only).....................................................14

Setting Up and Zoning the Fabric.............................................................................................15Configuring Fabrics............................................................................................................16Target Port Limits and Specifications.....................................................................................16Configuration Diagrams for Zoning......................................................................................17

Single Initiator to Single Target Zoning No Fan-In No Fan-Out............................................17Single Initiator to Single Target Zoning with Fan-Out from One HP 3PAR Storage System Portto Multiple Host Server Ports...........................................................................................17Single Initiator to Single Target Zoning with Fan-In from Multiple HP 3PAR Storage SystemPorts to One Host Server Port..........................................................................................18Single Initiator to Single Target Zoning with Mixed Fan-In and Fan-Out Configurations...........18Noncompliant Zoning Examples......................................................................................19

3 Setting Up a Windows 2008/HP 3PAR Storage System Configuration for FibreChannel.....................................................................................................20

Checking the Host Server for Required Drivers............................................................................20Installing and Configuring an Emulex Fibre Channel HBA............................................................20

Installing the Emulex Support Driver......................................................................................20Configuring the Emulex Support Driver..................................................................................20Checking Emulex HBA Parameters and Connection Status.......................................................20

Installing and Configuring a QLogic Fibre Channel HBA..............................................................21Installing the QLogic Support Driver.....................................................................................21Configuring the QLogic Support Driver.................................................................................21Checking QLogic HBA Parameters and Connection Status.......................................................21

Installing Veritas DMP Multipathing on the Windows 2008 Host...................................................22Disabling the Write Cache Option for HP 3PAR LUNs..................................................................23

4 Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSIStorage......................................................................................................25

Setting Up the Ethernet Switch..................................................................................................25Configuring the HP 3PAR Storage System for iSCSI......................................................................25

Contents 3

Page 4: 3PAR Windows 2008 Implementation Guide

Using the Microsoft iSNS Server to Discover Registrations............................................................26Configuring the iSCSI Initiator and Target for iSNS Server Usage.............................................26Using the iSNS Server to Create a Discovery Domain.............................................................27

Establishing a Connection with the iSCSI Initiator Software...........................................................27Establishing an iSCSI Session and Enabling Multipathing.............................................................31Configuring Host and Target CHAP...........................................................................................34

Setting Host CHAP.............................................................................................................34Setting Target CHAP..........................................................................................................36Setting Mutual (Bidirectional) CHAP.....................................................................................37Removing CHAP................................................................................................................37

5 Setting Up a Windows Hyper-V Server/HP 3PAR Storage SystemConfiguration..............................................................................................39

Installing the Hyper-V Software.................................................................................................39Configuring the Hyper-V Software.............................................................................................39

6 Allocating Storage for the Windows 2008 Host...........................................40Creating Storage on the HP 3PAR Storage System.......................................................................40

Creating Virtual Volumes....................................................................................................40Exporting VLUNs to the Windows 2008 Host........................................................................41

Discovering LUNs...................................................................................................................41Scanning for New Devices on the Windows 2008 Host...............................................................43Removing Volumes..................................................................................................................44

7 Booting from the HP 3PAR Storage System...................................................45Configuring for iSCSI SAN Boot...............................................................................................45Configuring the BIOS for Fibre Channel SAN Boot......................................................................45

Configuring for HP 3PAR Storage System Boot: Emulex HBA....................................................45Configuring for HP 3PAR Storage System Boot: QLogic HBA....................................................45

Creating the Host Definition for HP 3PAR Storage System Boot: FC................................................46Connecting the HP 3PAR Storage System to the Host: Fibre Channel..............................................46Assigning LUN 0 as the Boot Volume........................................................................................46Installing the Host OS onto LUN 0: Fibre Channel.......................................................................46Connecting Multiple Paths for Fibre Channel SAN Boot...............................................................47

8 Using Failover Clustering with Microsoft MPIO..............................................489 Using Failover Clustering in a Virtualized Environment...................................4910 Using the Veritas Cluster Server................................................................50

Symantec SF 5.1 SP1, SP2.......................................................................................................50Installing the Veritas Cluster Server............................................................................................50Setting SCSI-3 Persistent Reservation Support for the HP 3PAR Storage System................................50

11 Using Microsoft Failover Cluster with Veritas DMP........................................53Introduction............................................................................................................................53Installing the Veritas DMP........................................................................................................53Setting SCSI-3 Persistent Reservation Support for the HP 3PAR Storage System................................53

4 Contents

Page 5: 3PAR Windows 2008 Implementation Guide

1 IntroductionThis implementation guide provides the information needed to configure an HP 3PAR® StorageSystem with Microsoft® Windows® 2008. Information in the guide applies to Windows 2008Service Pack 1 (SP1), SP2, and R2 servers on x86 and x64 architectures unless otherwise noted.The guide also applies to the HP X3000 G2 Storage System.

NOTE: This guide covers HP 3PAR Storage Systems running HP 3PAR InForm Operating System(InForm OS) 3.1.x, 2.3.x, and 2.2.x. Information covers all of these operating systems unlessotherwise specified.

Supported ConfigurationsA Windows 2008 OS in a configuration with the HP 3PAR Storage System supports fibrechannel-connected storage, iSCSI storage, and Microsoft Hyper-V connected storage. For completedetails on supported host configurations, consult the appropriate HP 3PAR InForm OS ConfigurationMatrix, available on HP's Business Support Center (BSC).To obtain a copy of this documentation, go to http://www.hp.com/go/3par/, navigate to yourproduct page, click HP Support & Drivers, and then click Manuals.A configuration with a Windows 2008 host requires the following software on the host, dependingon the host configuration:

• Multipathing: native Microsoft MPIO

• iSCSI only:Microsoft iSCSI Initiator◦

◦ Booting from the HP 3PAR Storage Server: the Double-Take® Flex software iSCSI storage

NOTE: For an iSCSI-connected configuration, consult the Microsoft iSCSI Software Initiator Version2.8 Users Guide, downloadable from the Microsoft web site.

In addition, HP 3PAR Host Explorer software is recommended for Windows 2008 servers connectedto an HP 3PAR Storage System running InForm OS 3.1.x and OS 2.3.x.To obtain the HP 3PAR Host Explorer software, contact your HP account manager or HP CustomerSupport.

HP X3000 and XP3000 G2 Storage SystemsAn HP 3PAR Storage System connection to an HP X3000 or HP X3000 G2 Network StorageSystem is supported via Fibre Channel with the HP X3000 operating system booted locally fromthe host server internal disk. Follow the relevant sections of this implementation guide to connectthe HP 3PAR Storage System to the HP X3000 or HP X3000 G2.The following sections of this document are relevant to X3000 configurations and must be followed:

• “Introduction” (page 5)

• “Performing Preliminary HP 3PAR Storage System and Host Configuration” (page 8)

• “Setting Up a Windows 2008/HP 3PAR Storage System Configuration for Fibre Channel”(page 20)

• “Booting from the HP 3PAR Storage System” (page 45)

• “Using Failover Clustering with Microsoft MPIO” (page 48)

Supported Configurations 5

Page 6: 3PAR Windows 2008 Implementation Guide

InForm Operating System Upgrade ConsiderationsFor complete details on supported host configurations, consult the appropriate HP 3PAR InFormOS Configuration Matrix, available on HP's Business Support Center (BSC).Refer to the appropriate HP 3PAR InForm OS Upgrade Pre-Planning Guide, available on HP's BSC,for information and planning of an online InForm OS upgrade.To obtain a copy of this documentation, go to http://www.hp.com/go/3par/, navigate to yourproduct page, click HP Support & Drivers, and then click Manuals.

AudienceThis implementation guide is for system and storage administrators who monitor and direct systemconfigurations and resource allocation for HP 3PAR Storage Systems. The tasks described in thismanual assume that the administrator is familiar with Windows 2008 servers and with the HP 3PARInForm OS.

NOTE: This Implementation Guide does NOT intend to reproduce any third-party productdocumentation. For details about devices such as host servers, HBAs, fabric and Ethernet switches,and non-HP 3PAR software management tools, consult the appropriate third-party documentation.

Related DocumentationThe following documents also provide information related to HP 3PAR Storage Systems and theInForm operating system:

Read the…For information about…

HP 3PAR InForm OS Configuration MatrixSpecific platforms supported

InForm OS Command Line Interface ReferenceInForm CLI commands and their usage

HP 3PAR InForm OS Management Console Online HelpUsing the InForm Management Console to configure andadminister HP 3PAR Storage Systems

HP 3PAR InForm OS Concepts GuideHP 3PAR Storage System concepts and terminology

HP 3PAR E-Class/F-Class Storage Server Physical PlanningManual,HP 3PAR S-Class/T-Class Storage Server Physical

Determining HP 3PAR Storage System hardwarespecifications, installation considerations, powerrequirements, networking options, and cabling Planning Manual, or HP 3PAR V-Class Storage Server

Physical Planning Manual

HP 3PAR InForm OS Messages and Operator’s GuideIdentifying storage server components and detailed alertinformation

HP 3PAR Remote Copy User’s GuideUsing HP 3PAR Remote Copy

HP 3PAR CIM API Programming ReferenceUsing HP 3PAR CIM

HP 3PAR InForm OS Update Pre-Planning GuideUpdating the InForm OS

Typographical ConventionsThis guide uses the following typographical conventions:

ExampleMeaningTypeface

When prompted, click Finish tocomplete the installation.

Used for dialog elements such as titles,button labels, and other screenelements.

ABCDabcd

Open the file\os\windows\setup.exe

Used for paths, filenames, and screenoutput.

ABCDabcd

6 Introduction

Page 7: 3PAR Windows 2008 Implementation Guide

ExampleMeaningTypeface

# showport -parUsed to differentiate user input fromscreen output.

ABCDabcd

createhost <options><host_name> <iSCSI_name>

Used for variables in filenames, paths,and screen output.

<ABCDabcd>

# createhost <options><host_name> <iSCSI_name>

Used for variables in user input.<ABCDabcd>

AdvisoriesTo avoid injury to people or damage to data and equipment, be sure to observe the cautions andwarnings in this guide. Always be careful when handling any electrical equipment.

CAUTION: Cautions alert you to actions that can cause damage to equipment, software, or data.

NOTE: Notes are reminders, tips, or suggestions that supplement the procedures included in thisguide.

REQUIREDRequirements signify procedures that must be followed as directed in order to achieve a functionaland supported implementation based on testing at HP.

WARNING! Warnings alert you to actions that can cause injury to people or irreversible damageto data or the operating system.

Advisories 7

Page 8: 3PAR Windows 2008 Implementation Guide

2 Performing Preliminary HP 3PAR Storage System and HostConfiguration

REQUIREDIf you are setting up a fabric along with your installation of the HP 3PAR Storage System, consultSection “Setting Up and Zoning the Fabric” (page 15), before configuring or connecting the storageserver and host.

Configuring the HP 3PAR Storage System Host Persona and Ports (InForm3.1.x)

For an HP 3PAR Storage System running InForm OS 3.1.x and OS 2.3.x, each HP 3PAR StorageSystem port connecting to a host HBA port through a fabric or direct connection must be set to thecorrect host persona.

Configuring Ports for Direct ConnectTo configure HP 3PAR Storage System ports for a direct connection to the host on InForm OS 3.1.xand OS 2.3.x, complete the following steps:1. To set up the HP 3PAR Storage System ports for a direct connection, issue the following set

of commands with the appropriate parameters for each direct connect port:a. controlport offline [node:slot:port]

b. controlport config host –ct loop [node:slot:port]

where -ct loop specifies a direct connection.

c. controlport rst [node:slot:port]

For example:

# controlport offline 1:5:1# controlport config host -ct loop 1:5:1# controlport rst 1:5:1

8 Performing Preliminary HP 3PAR Storage System and Host Configuration

Page 9: 3PAR Windows 2008 Implementation Guide

2. After all ports have been configured, verify that the ports are configured for a host in a directconnection by issuing the showport -par command on the HP 3PAR Storage System.In the output below, loop denotes direct connect and point denotes fabric.

# showport -par

N:S:P Connmode ConnType CfgRate MaxRate Class2 UniqNodeWwn VCN IntCoal0:0:1 disk loop auto 2Gbps disabled disabled disabled enabled0:0:2 disk loop auto 2Gbps disabled disabled disabled enabled0:0:3 disk loop auto 2Gbps disabled disabled disabled enabled0:0:4 disk loop auto 2Gbps disabled disabled disabled enabled0:4:1 host point auto 4Gbps disabled disabled disabled enabled0:4:2 host point auto 4Gbps disabled disabled disabled enabled0:5:1 host point auto 2Gbps disabled disabled disabled enabled0:5:2 host loop auto 2Gbps disabled disabled disabled enabled0:5:3 host point auto 2Gbps disabled disabled disabled enabled0:5:4 host loop auto 2Gbps disabled disabled disabled enabled1:0:1 disk loop auto 2Gbps disabled disabled disabled enabled1:0:2 disk loop auto 2Gbps disabled disabled disabled enabled1:0:3 disk loop auto 2Gbps disabled disabled disabled enabled1:0:4 disk loop auto 2Gbps disabled disabled disabled enabled1:2:1 host point auto 2Gbps disabled disabled disabled enabled1:2:2 host loop auto 2Gbps disabled disabled disabled enabled1:4:1 host point auto 2Gbps disabled disabled disabled enabled1:4:2 host point auto 2Gbps disabled disabled disabled enabled1:5:1 host loop auto 4Gbps disabled disabled disabled enabled1:5:2 host loop auto 4Gbps disabled disabled disabled enabled1:5:3 host loop auto 4Gbps disabled disabled disabled enabled1:5:4 host loop auto 4Gbps disabled disabled disabled enabled

Configuring Ports for FabricTo configure ports for Fabric using InForm OS 3.1.x and OS 2.3.x, follow these steps:1. To determine if a port has already been configured for a host port in fabric mode, issue

showport -par on the HP 3PAR Storage System.In the output below, loop denotes direct connect and point denotes fabric.

# showport -par

N:S:P Connmode ConnType CfgRate MaxRate Class2 UniqNodeWwn VCN IntCoal0:0:1 disk loop auto 2Gbps disabled disabled disabled enabled0:0:2 disk loop auto 2Gbps disabled disabled disabled enabled0:4:1 host point auto 4Gbps disabled disabled disabled enabled0:4:2 host point auto 4Gbps disabled disabled disabled enabled0:5:1 host point auto 2Gbps disabled disabled disabled enabled0:5:2 host loop auto 2Gbps disabled disabled disabled enabled1:0:1 disk loop auto 2Gbps disabled disabled disabled enabled1:0:2 disk loop auto 2Gbps disabled disabled disabled enabled1:2:1 host point auto 2Gbps disabled disabled disabled enabled1:2:2 host loop auto 2Gbps disabled disabled disabled enabled1:4:1 host point auto 2Gbps disabled disabled disabled enabled1:4:2 host point auto 2Gbps disabled disabled disabled enabled1:5:1 host loop auto 4Gbps disabled disabled disabled enabled1:5:2 host loop auto 4Gbps disabled disabled disabled enabled1:5:3 host loop auto 4Gbps disabled disabled disabled enabled1:5:4 host loop auto 4Gbps disabled disabled disabled enabled

Configuring the HP 3PAR Storage System Host Persona and Ports (InForm 3.1.x) 9

Page 10: 3PAR Windows 2008 Implementation Guide

2. If the port has NOT been configured, take the port offline before configuring it to a host server;issue controlport offline [node:slot:port]. For example:

# controlport offline 0:4:1

3. To configure the port to the host server, issue controlport config host –ct point[node:slot:port] where -ct point indicates that the connection type specified isfabric connect. For example:

# controlport config host –ct point 0:4:1

4. To bring the port online, issue controlport rst [node:slot:port]; for example:

# controlport rst 0:4:1

5. Connect each host HBA port to the fabric. Each host HBA port's worldwide name (WWN)should be associated with the HP 3PAR Storage System port it is connected to.

6. Complete zoning; consult Section “Setting Up and Zoning the Fabric” (page 15).7. Issue showhost to verify that the host has connected to the HP 3PAR Storage System.

Creating the Host Definition (InForm 3.1.x)Before connecting the host to the HP 3PAR Storage System, create a host definition for the Windows2008 host.

NOTE: HP recommends Host persona 1 or 2 for Windows 2008 OS hosts (including iSCSI) toenable Host_Explorer functionality. However, host persona 6 is automatically assigned followinga rolling InForm OS upgrade from version 2.2.x. If appropriate, you can change Host persona 6after an upgrade to host persona 1. Before changing host personas, refer to the HP 3PAR InFormOperating System 3.1.1 Upgrade Pre-Planning Guide for instructions to prevent loss of LUNmapping. Host Persona 1 enables two functional features: Host_Explorer, which requires the SESLunelement of Host persona 1 and the UARepLun, which notifies the host of newly exported VLUNsand should trigger a LUN discovery request on the host, making the VLUN automatically availableon format. However, Windows 2008 does not support this feature, so you must scan LUNs manually.Host persona 2 also enables the RTPG feature, which automatically enables Active/Activemultipathing on Windows 2008 SP1 and SP2 hosts.

• To create host definitions, issue createhost [options] <hostname> [<WWN>...].For example:

# createhost -persona 1 windowshost 10000000C9606724

NOTE: See the HP 3PAR InForm OS CLI Reference or the IMC help for complete details on usingthe controlport, createhost,and showhost commands.

• To verify that the host is created, issue the showhost command; for example:

% showhostId Name Persona -WWN/iSCSI_Name- Port 0 windowshost Generic 10000000C9606724 ---

10 Performing Preliminary HP 3PAR Storage System and Host Configuration

Page 11: 3PAR Windows 2008 Implementation Guide

Configuring the HP 3PAR Storage System Port Personas and Ports (InFormOS 2.2.x)

This section explains these procedures for an HP 3PAR Storage System running InForm OS 2.2.x,in separate subsections:

• Configuring HP 3PAR Storage System ports for direct topology

• Configuring HP 3PAR Storage System ports for fabric topology

• Creating the host definition

Configuring HP 3PAR Storage System Ports for Direct Topology (InForm OS 2.2.x)Follow these steps:1. To set the port persona for each HP 3PAR Storage System port that will connect to an HBA

on the host server, issue controlport persona 1 [node:slot:port].

NOTE: The required port persona value for direct connect is 1.

2. To verify that each port has the correct persona and connection type, issue showport -par.The following is example output:

# showport -par0:4:1 loop auto disable disable (1) g_ven, g_hba, g_os, 0, DC enabled

3. Connect each Host HBA port to its associated HP 3PAR Storage System port. Each host HBAport's worldwide name (WWN) should be associated with the HP 3PAR Storage System portit is connected to.

4. Issue showhost to verify that the host has connected to the HP 3PAR Storage System.

Configuring HP 3PAR Storage System Ports for Fabric Topology (InForm OS 2.2.x)To set up HP 3PAR Storage System ports for fabric connect, complete the following steps for eachfabric connect port.

CAUTION: Do not take ports for fabric connection offline until you verify that the port has notbeen previously defined. A previously defined fabric port might already be connected to hosts.Taking a port offline in this scenario would interrupt the host connection. In cases where the HP 3PARStorage System ports are already configured for fabric, the port will not have to be taken offline.

Follow these steps:

Configuring the HP 3PAR Storage System Port Personas and Ports (InForm OS 2.2.x) 11

Page 12: 3PAR Windows 2008 Implementation Guide

1. To determine if a port has already been configured for a host port in fabric mode, issueshowport -par on the HP 3PAR Storage System.In the output below, loop denotes direct connect and point denotes fabric.

# showport -par

N:S:P Connmode ConnType CfgRate MaxRate Class2 UniqNodeWwn VCN IntCoal0:0:1 disk loop auto 2Gbps disabled disabled disabled enabled0:0:2 disk loop auto 2Gbps disabled disabled disabled enabled0:4:1 host point auto 4Gbps disabled disabled disabled enabled0:4:2 host point auto 4Gbps disabled disabled disabled enabled0:5:1 host point auto 2Gbps disabled disabled disabled enabled0:5:2 host loop auto 2Gbps disabled disabled disabled enabled1:0:1 disk loop auto 2Gbps disabled disabled disabled enabled1:0:2 disk loop auto 2Gbps disabled disabled disabled enabled1:2:1 host point auto 2Gbps disabled disabled disabled enabled1:2:2 host loop auto 2Gbps disabled disabled disabled enabled1:4:1 host point auto 2Gbps disabled disabled disabled enabled1:4:2 host point auto 2Gbps disabled disabled disabled enabled1:5:1 host loop auto 4Gbps disabled disabled disabled enabled1:5:2 host loop auto 4Gbps disabled disabled disabled enabled1:5:3 host loop auto 4Gbps disabled disabled disabled enabled1:5:4 host loop auto 4Gbps disabled disabled disabled enabled

2. If the port has NOT been configured, take the port offline before configuring it to a host server;issue controlport offline [node:slot:port]. For example:

# controlport offline 1:5:1

3. To configure the port to the host server, issue:

controlport persona 7 [node:slot:port]controlport vcn disable [node:slot:port]

For example:

# controlport persona 7 1:5:1# controlport vcn disable 1:5:1

NOTE: The required port persona value for fabric is 7. For this port persona value, VCNmust be disabled.

4. To bring the port online, issue controlport rst [node:slot:port]; for example:

# controlport rst 1:5:1

5. Connect each host HBA port to the fabric. Each host HBA port's worldwide name (WWN)should be associated with the HP 3PAR Storage System port it is connected to.

6. Complete zoning; confer Section “Setting Up and Zoning the Fabric” (page 15).

Creating the Host Definition (InForm OS 2.2.x)Before connecting the host to the HP 3PAR Storage System, create a host definition for the Windows2008 host:

12 Performing Preliminary HP 3PAR Storage System and Host Configuration

Page 13: 3PAR Windows 2008 Implementation Guide

1. Issue createhost [options] <hostname> [<WWN>...].For example:

# createhost windowshost 10000000C9606724

2. To verify that the host is created, issue the showhost command; for example:

% showhostId Name WWN/iSCSI_Name------------- Port 0 windowshost 10000000C9606724 ---

Installing the HP 3PAR Host Explorer SoftwareThe HP 3PAR Host Explorer software is recommended for a configuration with a Windows OShost that is connected to HP 3PAR InForm OS.To install the HP 3PAR Host Explorer program, contact your HP account manager or HP CustomerSupport for the CD, and follow instructions in the Host Explorer documentation.

Setting Up MultipathingFor high-availability storage with load balancing of I/O and improved system and applicationperformance, Windows 2008 requires the native Microsoft MPIO and the StorPort miniport driver.Also, a Windows 2008 server connected to an HP 3PAR Storage System running InForm OS 2.2.xrequires the Round Robin MPIO policy.This section explains

• Installing and configuring the native Microsoft MPIO for HP 3PAR storage

• Setting the MPIO policy to round robin for InForm OS 2.2.x

Configuring Microsoft MPIO for HP 3PAR Storage

NOTE: The procedure in this subsection requires rebooting.

Follow these steps:1. If you have not already done so, check HBA vendor documentation for any required support

drivers, and install them.2. If necessary, install the StorPort miniport driver.3. Open the Windows Administrative Tools and click MPIO.4. In the MPIO-ed Devices tab, click the Add button; the Add MPIO Support popup appears.5. In the Device Hardware ID: text box, enter 3PARdataVV, and click OK. See “Adding MPIO

Support for HP 3PAR Devices ” (page 14).

Installing the HP 3PAR Host Explorer Software 13

Page 14: 3PAR Windows 2008 Implementation Guide

Figure 1 Adding MPIO Support for HP 3PAR Devices

6. Reboot as directed.

NOTE: You can also use MPIO-cli to add 3PARdataVV. The command is:"mpclaim -r -I -d "3PARdataVV"

Configuring MPIO for Round Robin (InForm OS 2.2.x Only)A Windows 2008 server connected to an InForm Storage Server running InForm OS 2.2.x or laterrequires Round Robin as the MPIO policy. For Windows 2008, the MPIO policy is Round Robinby default. To verify the MPIO policy is default, follow these steps:1. In the Server Manager, click Diagnostics; select Device Manager. Expand the Disk drives list.2. Right-click an HP 3PAR drive to display its Properties window and select the MPIO tab. Select

Round Robin from the drop-down menu. See “Specifying MPIO Policy ” (page 15).

14 Performing Preliminary HP 3PAR Storage System and Host Configuration

Page 15: 3PAR Windows 2008 Implementation Guide

Figure 2 Specifying MPIO Policy

3. Click OK.

Setting Up and Zoning the FabricFabric zoning controls which devices have access to each other on the fabric. The required useof single initiator to single target zoning isolates the host server and HP 3PAR Storage System portsfrom registered state change notifications (RSCNs) that are irrelevant to these ports.You can set up fabric zoning by associating the device World Wide Names (WWNs) or portswith specified zones in the fabric. Although you can use either the WWN or the port zoningmethod with the HP 3PAR Storage System, the WWN zoning method is recommended becausethe zone survives port changes to ports when cables are reconnected on a fabric.Use the methods provided by the switch vendor to create relationships between host server HBAports and storage server ports before you connect the host server HBA ports or HP 3PAR StorageSystem ports to the fabric(s).

REQUIREDWhen you establish zoning with the HP 3PAR Storage System, there must only be a single initiatorzoned with a single target. If a customer experiences an issue using another zoning approach,HP may require the customer to implement this zoning approach as part of troubleshooting and/orcorrective action.After connecting each host server HBA port and HP 3PAR Storage System port to the fabric(s),verify the switch and zone configurations using the InForm CLI showhost command, to ensurethat each initiator is zoned with the correct target.In the following explanations an initiator port (initiator for short) refers to a host server HBA portand a target port (target for short) refers to an HP 3PAR Storage System HBA port.

Setting Up and Zoning the Fabric 15

Page 16: 3PAR Windows 2008 Implementation Guide

NOTE: In the examples in the following sections, a fabric can be one or more fibre channelswitches or directors.

Configuring FabricsUse the following fabric vendor guidelines before configuring ports on the fabric(s) to which theHP 3PAR Storage System connects.

• Brocade switch ports that connect to a host server HBA port or to an HP 3PAR Storage Systemport should be set to their default mode. On Brocade 3xxx switches running Brocade firmware3.0.2 or later, verify that each switch port is in the correct mode using the Brocade telnetinterface and the portcfgshow command as follows:

brocade2_1:admin> portcfgshowPorts 0 1 2 3 4 5 6 7-----------------+--+--+--+--+----+--+--+--Speed AN AN AN AN AN AN AN AN Trunk Port ON ON ON ON ON ON ON ON Locked L_Port .. .. .. .. .. .. .. .. Locked G_Port .. .. .. .. .. .. .. .. Disabled E_Port .. .. .. .. .. .. .. .. where AN:AutoNegotiate, ..:OFF, ??:INVALID.

• McData switch or director ports should be in their default modes as type GX-Port with aspeed setting of Negotiate.

• Cisco switch ports that connect to HP 3PAR Storage System ports or host HBA ports shouldbe set to AdminMode = FX and AdminSpeed = auto port, with the speed set to autonegotiate.

• QLogic switch ports should be set to port type GL-port and port speed auto-detect.

CAUTION: QLogic switch ports that connect to the HP 3PAR Storage System should be set toI/O Stream Guard disable or auto but never enable.

Target Port Limits and SpecificationsTo avoid overwhelming a target port and ensure continuous I/O operations, refer to the followinglimitations on a target port:

• Maximum host server ports per HP 3PAR Storage System port: 64

• Maximum total host server ports per HP 3PAR Storage System: 1,024

• I/O queue depth on each HP 3PAR Storage System HBA model as follows:QLogic 2G: 497◦

◦ LSI 2G: 510

◦ Emulex 4G: 959

◦ HP 3PAR HBA 4G: 1638

◦ Emulex 8G: 3276

• The I/O queues are shared among the connected host server HBA ports on a first-come,first-served basis.

• When all queues are in use and a host HBA port tries to initiate I/O, it receives a targetqueue full response from the HP 3PAR Storage System port. This condition can result inerratic I/O performance on each host server. If this condition occurs, each host server should

16 Performing Preliminary HP 3PAR Storage System and Host Configuration

Page 17: 3PAR Windows 2008 Implementation Guide

be throttled so that it cannot overrun the HP 3PAR Storage System port's queues when all hostservers are delivering their maximum number of I/O requests.

NOTE: When host server ports can access multiple targets on fabric zones, the target numberassigned by the host driver for each discovered target can change when the host server is bootedand some targets are not present in the zone. This situation might change the device node accesspoint for devices during a host server reboot. This issue can occur with any fabric-connectedstorage, and is not specific to the HP 3PAR Storage System.

Configuration Diagrams for ZoningThis section describes various zoning configurations.

Single Initiator to Single Target Zoning No Fan-In No Fan-OutFor single initiator to single target zoning in a no fan-in, no fan-out configuration, each HBA portis connected to only one HP 3PAR Storage System port, as shown in “Single Initiator to SingleTarget Zoning No Fan-In/No Fan-Out” (page 17).

Figure 3 Single Initiator to Single Target Zoning No Fan-In/No Fan-Out

Single Initiator to Single Target Zoning with Fan-Out from One HP 3PAR Storage System Port toMultiple Host Server Ports

For single initiator to single target zoning in a fan-out configuration, the HP 3PAR Storage Systemport is connected to more that one host port, as shown in “Single Initiator to Single Target Zoningwith Fan-Out” (page 17).

Figure 4 Single Initiator to Single Target Zoning with Fan-Out

Setting Up and Zoning the Fabric 17

Page 18: 3PAR Windows 2008 Implementation Guide

NOTE: A maximum of 64 host server ports can fan out from a single HP 3PAR Storage Systemport.

Single Initiator to Single Target Zoning with Fan-In from Multiple HP 3PAR Storage System Ports toOne Host Server Port

For single initiator to single target zoning in a fan-in configuration, a host server port connects tomany HP 3PAR Storage System ports, as shown in “Single Initiator to Single Host Target Zoningwith Fan-In” (page 18).

Figure 5 Single Initiator to Single Host Target Zoning with Fan-In

Single Initiator to Single Target Zoning with Mixed Fan-In and Fan-Out ConfigurationsFor single initiator to single target zoning in a fan-in and fan-out configuration, one HP 3PARStorage System connects to multiple host servers. See “Single Initiator to Single Target Zoning withFan-In and Fan-Out” (page 18).

Figure 6 Single Initiator to Single Target Zoning with Fan-In and Fan-Out

18 Performing Preliminary HP 3PAR Storage System and Host Configuration

Page 19: 3PAR Windows 2008 Implementation Guide

Noncompliant Zoning ExamplesIn the following example, the zoning rule of one initiator zoned to one target is not respected, asshown in “Non-Compliant Zoning” (page 19).

Figure 7 Non-Compliant Zoning

Setting Up and Zoning the Fabric 19

Page 20: 3PAR Windows 2008 Implementation Guide

3 Setting Up a Windows 2008/HP 3PAR Storage SystemConfiguration for Fibre Channel

Checking the Host Server for Required DriversCheck the Microsoft Web site for required packages and hotfixes, including updated drivers. Alsoconsult the HP 3PAR InForm OS Configuration Matrix for support drivers, and follow HBA vendorinstructions. Use the Emulex HBAnyware or QLogic SANsurfer software to verify support for HBAdriver versions.

Installing and Configuring an Emulex Fibre Channel HBAFor HBA installation instructions, driver support and usage guidelines, refer to the Emulex installationand usage guide for each product type.

NOTE: For booting from the HP 3PAR Storage System, configuring the BIOS is required; “CreatingStorage on the HP 3PAR Storage System” (page 40) has details.

Installing the Emulex Support DriverThe required driver is on the Emulex CD or can be downloaded from the Download section of theEmulex Web site.If your configuration includes MPIO, check also for any required MPIO support driver.

Configuring the Emulex Support DriverAfter installing the driver, set HBA driver parameters; consult the HBA driver documentation fordetails.To avoid overwhelming a target port and to ensure continuous I/O operations, observe thelimitations on a target port; see “Target Port Limits and Specifications” (page 16).

NOTE: When host server ports can access multiple targets on fabric zones, the assigned targetnumber (which is assigned by the host driver) for each discovered target can change when thehost server is booted and some targets are not present in the zone. This situation might changethe device node access point for devices during a host server reboot. This issue can occur withany fabric-connected storage, and is not specific to the HP 3PAR Storage System.

NOTE: If you run InForm OS Rolling Upgrade, consult the HP 3PAR InForm Update Pre-PlanningGuide.To obtain a copy of this documentation, go to http://www.hp.com/go/3par/, navigate to yourproduct page, click HP Support & Drivers, and then click Manuals.

Checking Emulex HBA Parameters and Connection StatusUse the Emulex HBAnyware utility to check connection status; see “Checking Connection StatusUsing the HBAnyware GUI ” (page 21).In the following figure, red indicates that no connection has been made.

20 Setting Up a Windows 2008/HP 3PAR Storage System Configuration for Fibre Channel

Page 21: 3PAR Windows 2008 Implementation Guide

Figure 8 Checking Connection Status Using the HBAnyware GUI

Installing and Configuring a QLogic Fibre Channel HBAFor HBA installation instructions, driver support and usage guidelines, refer to the QLogic installationand usage guide for each product type.

NOTE: For booting from the HP 3PAR Storage System, configuring the BIOS is required; “CreatingStorage on the HP 3PAR Storage System” (page 40) has details.

Installing the QLogic Support DriverThe required driver is on the QLogic Driver CD or can be downloaded from the QLogic Web site.If your configuration includes MPIO, check also for any required MPIO support driver.

Configuring the QLogic Support DriverAfter installing the driver, set HBA driver parameters, such as maximum number of LUNs per targetand the Port Down Retry Count; consult the HBA driver documentation for details.To avoid overwhelming a target port and to ensure continuous I/O operations, observe thelimitations on a target port; see “Target Port Limits and Specifications” (page 16).

NOTE: When host server ports can access multiple targets on fabric zones, the target numberassigned by the host driver for each discovered target can change when the host server is bootedand some targets are not present in the zone. This may change the device node access point fordevices during a host server reboot. This issue can occur with any fabric-connected storage, andis not specific to the HP 3PAR Storage System.

NOTE: If you run InForm OS Rolling Upgrade, consult the HP 3PAR InForm Operating System3.1.1 Upgrade Pre-Planning Guide.

Checking QLogic HBA Parameters and Connection StatusUse the QLogic SANsurfer software to check connection status; see “Checking Connection StatusUsing the SANsurfer GUI ” (page 22).

Installing and Configuring a QLogic Fibre Channel HBA 21

Page 22: 3PAR Windows 2008 Implementation Guide

Figure 9 Checking Connection Status Using the SANsurfer GUI

Installing Veritas DMP Multipathing on the Windows 2008 HostNOTE: Check with Veritas for supported compatibility:http://www.symantec.com/business/support/index?page=content&id=TECH148533&key=50276

Otherwise, when Veritas tries to validate server components, you might see the following errormessage:Error message as (NOT a supported OS)In addition, the installation will fail.

If the configuration includes Veritas Storage Foundation software, configure it for use with theHP 3PAR Storage System. Follow these steps:1. Install the latest DDI packet from the Veritas Web site.

22 Setting Up a Windows 2008/HP 3PAR Storage System Configuration for Fibre Channel

Page 23: 3PAR Windows 2008 Implementation Guide

2. Select only 3PARDATA as your DMP device: see “Setting Up Veritas Storage for the HP 3PARStorage Server” (page 23).

Figure 10 Setting Up Veritas Storage for the HP 3PAR Storage Server

For details on this software, refer to the Veritas Storage Foundation for Windows AdministrationGuide and the Veritas Storage Foundation & High Availability Solutions Installation & UpgradeGuide.

Disabling the Write Cache Option for HP 3PAR LUNsHP 3PAR Virtual Volumes/LUNs are write cache-enabled and cannot be turned off by design. Youcan ignore the following message as the HP 3PAR Storage System is a fault-tolerant redundantarray. Disabling of the cache is not required. You can uncheck this message to prevent it fromappearing every time Veritas Enterprise Administrator is invoked.The following dialog box appears when Veritas Enterprise Administrator is invoked, and the lefttree on the Graphical User Interface (GUI) is expanded.

Disabling the Write Cache Option for HP 3PAR LUNs 23

Page 24: 3PAR Windows 2008 Implementation Guide

24 Setting Up a Windows 2008/HP 3PAR Storage System Configuration for Fibre Channel

Page 25: 3PAR Windows 2008 Implementation Guide

4 Setting Up a Windows 2008/HP 3PAR Storage SystemConfiguration with iSCSI Storage

NOTE: HP recommends that you read the Microsoft iSCSI Software Initiator Users Guide forWindows-specific concepts and procedures discussed in this chapter.

Setting Up the Ethernet SwitchConnect the iSCSI Initiator host Ethernet cable and the HP 3PAR Storage System iSCSI target ports’Ethernet cables to the Ethernet switches.If you are using VLANs, make sure that the switch ports which connect to the HP 3PAR StorageSystem iSCSI target ports and iSCSI Initiator ports reside in the same VLANs and/or that you canroute the iSCSI traffic between the iSCSI Initiator ports and the HP 3PAR Storage System iSCSItarget ports. Once the iSCSI Initiator and HP 3PAR Storage System iSCSI target ports are configuredand connected to the switch, you can use the ping command on the iSCSI Initiator host to makesure that it sees the HP 3PAR Storage System iSCSI target ports.

NOTE: Ethernet switch VLANs and routing setup and configuration is beyond the scope of thisdocument. Consult your switch manufacturer's guide for instructions of how to set up VLANs androuting.

Configuring the HP 3PAR Storage System for iSCSIFollow these steps to set up the HP 3PAR Storage System for iSCSI storage:1. Check the current iSCSI port settings: issue showport -iscsi. The following example shows

ports offline and unconfigured.

# showport -iscsiN:S:P State IPAddr Netmask Gateway TPGT MTU Rate DHCP iSNS_Prim iSNS_Sec iSNS_Port0:3:1 offline 0.0.0.0 0.0.0.0 0.0.0.0 31 1500 n/a 0 0.0.0.0 0.0.0.0 32050:3:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 32 1500 n/a 0 0.0.0.0 0.0.0.0 32051:3:1 offline 0.0.0.0 0.0.0.0 0.0.0.0 131 1500 n/a 0 0.0.0.0 0.0.0.0 32051:3:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 132 1500 n/a 0 0.0.0.0 0.0.0.0 3205

2. Issue controliscsiport addr to set the IP addresses and netmask addresses of the iSCSItarget ports; for example:

# controliscsiport addr 10.101.1.31 255.255.0.0 -f 0:3:1# controliscsiport addr 10.101.1.131 255.255.0.0 -f 1:3:1

3. Verify the configuration; the following example shows two ports ready:

NOTE: The following example is for an F-class or T-class array. A V-class array would havea Rate of 10Gbps.

# showport -iscsiN:S:P State IPAddr Netmask Gateway TPGT MTU Rate DHCP iSNS_Prim iSNS_Sec iSNS_Port

Setting Up the Ethernet Switch 25

Page 26: 3PAR Windows 2008 Implementation Guide

0:3:1 ready 10.101.1.31 255.255.0.0 0.0.0.0 31 1500 1Gbps 0 0.0.0.0 0.0.0.0 32050:3:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 32 1500 n/a 0 0.0.0.0 0.0.0.0 32051:3:1 ready 10.101.1.131 255.255.0.0 0.0.0.0 131 1500 1Gbps 0 0.0.0.0 0.0.0.0 32051:3:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 132 1500 n/a 0 0.0.0.0 0.0.0.0 3205

4. Issue createhost -iscsi [options] <hostname> [<iscsi_name>...].Here is an example of a Windows 2008 R2 createhost command:

NOTE: For None R2, - host-persona is 2)

# createhost -iscsi -persona 1 sqa-dl380g5-08 iqn.1991-05.com.microsoft:sqa-dl380g5-08

5. Check the newly set up host with showhost.

# showhostId Name Persona -------------WWN/iSCSI_Name-------------- Port1 sqa-dl380g5-08 Generic iqn.1991-05.com.microsoft:sqa-dl380g5-08 ---

Using the Microsoft iSNS Server to Discover RegistrationsUse the Microsoft iSNS Server to discover the iSCSI initiator and iSCSI targets on the dedicatednetwork. When the iSCSI Initiator and iSCSI targets are registered with the iSNS server, they candiscover registered devices by querying the iSNS server via TCP/IP.Installing and using the iSNS server consists of these procedures, explained in separate subsections:

• Installing the iSNS server

• Using the iSNS server to discover registrations

Configuring the iSCSI Initiator and Target for iSNS Server UsageFollow these steps:1. Issue showport -iscsi to verify whether the iSCSI target ports are configured for the iSNS

server; for example:

# showport -iscsiN:S:P State IPAddr Netmask Gateway TPGT MTU Rate DHCP iSNS_Prim iSNS_Sec iSNS_Port0:1:1 ready 10.0.0.122 255.0.0.0 0.0.0.0 11 1500 1Gbps 0 0.0.0.0 0.0.0.0 32050:1:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 12 1500 n/a 0 0.0.0.0 0.0.0.0 32051:1:1 ready 10.0.1.122 255.0.0.0 0.0.0.0 111 1500 1Gbps 0 0.0.0.0 0.0.0.0 32051:1:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 112 1500 n/a 0 0.0.0.0 0.0.0.0 3205

26 Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage

Page 27: 3PAR Windows 2008 Implementation Guide

2. Set up the IP addresses for iSNS; for example:

# controliscsiport isns 10.0.0.60 0:1:1

# controliscsiport isns 10.0.0.60 1:1:1

3. Verify the configuration setting for iSNS; for example:

# showport -iscsiN:S:P State IPAddr Netmask Gateway TPGT MTU Rate DHCP iSNS_Prim iSNS_Sec iSNS_Port0:1:1 ready 10.0.0.122 255.0.0.0 0.0.0.0 11 1500 1Gbps 0 0.0.0.0 0.0.0.0 32050:1:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 12 1500 n/a 0 0.0.0.0 0.0.0.0 32051:1:1 ready 10.0.1.122 255.0.0.0 0.0.0.0 111 1500 1Gbps 0 0.0.0.0 0.0.0.0 32051:1:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 112 1500 n/a 0 0.0.0.0 0.0.0.0 3205

4. Use theWindows 2008 Add Features wizard to add the Internet Storage Name Server feature.5. Once the iSNS server is installed on another Windows 2008 server, open the iSCSI Initiator,

click the Discovery tab. In the Discovery window, click the Add Server... button in the iSNSservers area.

6. Enter the IP address or DNS name, and then click OK.

Using the iSNS Server to Create a Discovery DomainFollow these steps:1. Click Start > Administrative Tools > iSNS Server > Discovery Domains tab.2. In the window that appears, click the Create button. In the Create Discovery Domain popup,

enter the discovery domain or select the default; click OK.3. To add iSNS to the iSCSI initiator, follow these steps:

1. Click Start > Administrative Tools > iSCSI Initiator.2. From the iSCSI Initiator Properties, select the Discovery tab, click the Add Server in iSNS

Servers section, and enter iSNS-Server or iSNS-IP in the popup window's Add iSNS Serversetting.

Establishing a Connection with the iSCSI Initiator SoftwareThis section explains procedures for configuring Microsoft iSCSI Initiator software to establish aconnection. Follow these steps:

Establishing a Connection with the iSCSI Initiator Software 27

Page 28: 3PAR Windows 2008 Implementation Guide

1. To start iSCSI Initiator in a Windows 2008 OS, click Start > Programs > Administrative Tools> iSCSI Initiator, as shown in “Starting the iSCSI Initiator” (page 28).

Figure 11 Starting the iSCSI Initiator

2. From iSCSI Initiator Properties select Discovery tab.

28 Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage

Page 29: 3PAR Windows 2008 Implementation Guide

Figure 12 iSCSI Initiator Properties

3. From the Discovery tab, Target portals area, click the Discover Portal... button, and in the AddTarget Portal dialog box, enter the IP address of the portal you want to add, as shown in“Specifying a Target Portal IP Address” (page 30).

Establishing a Connection with the iSCSI Initiator Software 29

Page 30: 3PAR Windows 2008 Implementation Guide

Figure 13 Specifying a Target Portal IP Address

4. Establish the connection: click Advanced; the Advanced Settings dialog box appears, as shownin “Configuring a Target Portal Connection” (page 30).

Figure 14 Configuring a Target Portal Connection

30 Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage

Page 31: 3PAR Windows 2008 Implementation Guide

In the Connect using section of this dialog box, do the following:

• In the Local Adapter text field, select Microsoft iSCSI Initiator.

• In the Initiator IP: text field, select the IP address of the NIC adapter you want to use toconnect to the iSCSI target.

The CRC/Checksum is not required.Setting CHAP logon information is explained later in this chapter, in Section “ConfiguringHost and Target CHAP” (page 34).

5. Click OK in the Advanced Settings dialog box and again in the Discover Target Portal dialogbox. The Discovery tab in the iSCSI Initiator Properties window displays the port information,as shown in “Target Portal Discovery” (page 31).

Figure 15 Target Portal Discovery

6. Repeat these steps to connect additional target ports. Check the connections in the Discoverytab in the iSCSI Initiator Properties window.

Establishing an iSCSI Session and Enabling MultipathingTo establish an iSCSI logon session with an HP 3PAR Storage System iSCSI target port, followthese steps:1. Click the Targets tab. Its window displays the names and status of the ports you have

configured.2. Click the Connect button to establish an iSCSI connection session with the HP 3PAR Storage

System iSCSI target port. The Connect to Target popup appears, as shown in “Connecting toa Target” (page 32).

3. Select the Favorite Targets and Enable multi-path check boxes.

Establishing an iSCSI Session and Enabling Multipathing 31

Page 32: 3PAR Windows 2008 Implementation Guide

Figure 16 Connecting to a Target

4. Do not click OK; instead click the Advanced... button. The Advanced Settings window appears,as shown in “Specifying Connection Parameters” (page 33).

32 Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage

Page 33: 3PAR Windows 2008 Implementation Guide

Figure 17 Specifying Connection Parameters

5. In this window, select the following in the Connect using section:

NOTE: If you leave the default settings for these options, the Microsoft iSCSI Initiator willnot work correctly, especially if you have multiple local adapters, Source IP addresses, andtarget ports.

• Local adapter drop-down menu: Microsoft iSCSI Initiator

• Initiator IP drop-down menu: IP address of the NIC adapter in your system that will connectto the iSCSI target port

• Target Portal IP drop-down menu: IP address of the target portal (iSCSI target port).6. Click OK in the Advanced Settings window and again in the Targets window.

The iSCSI initiator will establish an iSCSI session with the target port.7. If desired, verify the connection: In the in the Targets section of the iSCSI Initiator Properties

window, the Status column for the target will show the status as Connected. See “VerifyingConnected Status for Both Targets ” (page 34)

Establishing an iSCSI Session and Enabling Multipathing 33

Page 34: 3PAR Windows 2008 Implementation Guide

8. Perform step 4 through step 7 to add the connection to the second target portal. The iSCSIInitiator Properties window shows the status of both; see “Verifying Connected Status for BothTargets ” (page 34).

Figure 18 Verifying Connected Status for Both Targets

Configuring Host and Target CHAPThis section contains procedures for configuring the Challenge-Handshake Authentication Protocol(CHAP) and removing it, in separate subsections:

• Setting host CHAP

• Setting target CHAP

• Setting bidirectional CHAP

• Removing CHAP

Setting Host CHAPTo set a host CHAP secret, configure it on both the HP 3PAR Storage System server and the Windows2008 host, follow these steps:1. Make sure that an iSCSI host definition has been created on the HP 3PAR Storage System.2. Use showhost -chap to show that no CHAP secret is already set up.

# showhost -chapId Name -Initiator_CHAP_Name- -Target_CHAP_Name

34 Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage

Page 35: 3PAR Windows 2008 Implementation Guide

3. Issue sethost initchap <chap_name> <host_name> to set initchap.For example:

root@xnodee86a:~# sethost initchap MyChapSecret sqa-dl360g6-02-iscsiCalling "sethost initchap" for host sqa-dl360g6-02-iscsi. Continue?select q=quit y=yes n=no: y

4. Issue showhost -chap to verify that initchap has been created.

root@xnodee86a:~# showhost -chapId Name -Initiator_CHAP_Name- -Target_CHAP_Name-25 sqa-dl360g6-02-iscsi sqa-dl360g6-02-iscsi

5. In the iSCSI Initiator Properties window, click the Targets tab. In the Targets tab, choose thetargets where the CHAP applies. Click Connect from Connect to Target, then check the Enablemulti-path and click the Advanced... button. From the Advanced Settings windows, followthese steps, as shown in “Setting Up the Target CHAP Secret for HP 3PAR Storage Systeminitchap” (page 35):a. Set Microsoft iSCSI Initiator for Local adapterb. Select Initiator IPc. Select Target Portal IPd. Check Enable CHAP log on boxe. Enter CHAP secret for Target secret

NOTE: Enter MyChapSecret (from the example in Step 3) at the Target secret field.See “Setting Up the Target CHAP Secret for HP 3PAR Storage System initchap” (page 35).

Figure 19 Setting Up the Target CHAP Secret for HP 3PAR Storage System initchap

Configuring Host and Target CHAP 35

Page 36: 3PAR Windows 2008 Implementation Guide

Setting Target CHAPTo set a target CHAP secret, configure it on both the HP 3PAR Storage System and the Windows2008 host by following these steps:1. Issue showhost -chap to show that no CHAP secret is already set up. Is:

# showhost -chapId Name -Initiator_CHAP_Name- -Target_CHAP_Name-

2. To set a CHAP secret for a target, issue sethost targetchap -chapname <chapname>where <chapname> is the secret. For example:

# sethost targetchap -f target_secret0 sqa-dl380g5-08

3. To check results, issue showhost -chap; for example:

# showhost -chapId Name -Initiator_CHAP_Name- -Target_CHAP_Name 0 sqa-dl380g5-08 s055

36 Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage

Page 37: 3PAR Windows 2008 Implementation Guide

4. In the iSCSI Initiator Properties window, click the Configuration tab. Click CHAP and enter theInitiator CHAP secret, then click OK, as shown in “Setting Up Host CHAP for HP 3PAR StorageSystem targetchap” (page 37).

:Enter target_secret0, from the example in step 2, at the Initiator CHAP secret field. See“Setting Up Host CHAP for HP 3PAR Storage System targetchap” (page 37).

Figure 20 Setting Up Host CHAP for HP 3PAR Storage System targetchap

Setting Mutual (Bidirectional) CHAPTo set the same CHAP secret for the host and target, follow these steps:1. Set the host CHAP secret following instructions in “Setting Host CHAP” (page 34).2. Using the same secret, set the target CHAP secret following instructions in “Setting Target

CHAP” (page 36).3. Issue showhost -chap, the output shows both secrets set:

# showhost -chapId Name -Initiator_CHAP_Name- -Target_CHAP_Name 0 sqa-dl380g5-08 sqa-dl380g5-08 s055

Removing CHAPTo remove CHAP from the HP 3PAR Storage System, follow these steps:

Configuring Host and Target CHAP 37

Page 38: 3PAR Windows 2008 Implementation Guide

1. Issue sethost removechap; this command removes all CHAP information for all specifiedhosts. For example:

# sethost removechap sqa-dl380g5-0Calling "sethost removechap" for host sqa-dl380g5-08. Continue?select q=quit y=yes n=no: y

2. To check status, issue showhost -chap; for example:

# showhost -chapId Name -Initiator_CHAP_Name- -Target_CHAP_Name-0 sqa-dl380g5-08 --

3. In the iSCSI Initiator Properties window, click the Targets tab where the CHAP applies; clickthe Connect button from the Connect to Target window and check the Enable multi-path option.Then click the Advanced... button and in the Advanced Settings window, follow these steps,as shown in “Removing CHAP” (page 38):a. Set Microsoft iSCSI Initiator for Local adapter.b. Select Initiator IPc. Select Target portal IPd. Clear the Enable CHAP log on check box.

Figure 21 Removing CHAP

38 Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage

Page 39: 3PAR Windows 2008 Implementation Guide

5 Setting Up a Windows Hyper-V Server/HP 3PAR StorageSystem Configuration

NOTE: This chapter pertains to a Windows server with an x64-based processor running an x64version of Windows Server 2008 Standard, Windows Server 2008 Enterprise, Windows Server2008 Datacenter, Windows Server 2008 Enterprise (SP1, SP2) or Windows Server 2008 R2Server.For details on Hyper-V operation, consult its documentation on the Microsoft Web site.

Installing the Hyper-V SoftwareFor system requirements and known issues, consult the Microsoft Hyper-V Server 2008 GettingStarted Guide from the Microsoft Hyper-V Web page. Follow steps explained there to install theHyper-V management tool, create and set up a virtual machine, install the operating system andintegration services, and configure virtual networks.

Configuring the Hyper-V SoftwareTo configure the Hyper-V software, follow instructions in the Microsoft Hyper-V Server 2008 Setupand Configuration Tool Guide.

NOTE: No particular parameters need to be set in the Hyper-V software to work with the HP 3PARStorage System; no additional steps are necessary on the HP 3PAR Storage System to work witha Windows Hyper-V server.

Installing the Hyper-V Software 39

Page 40: 3PAR Windows 2008 Implementation Guide

6 Allocating Storage for the Windows 2008 HostCreating Storage on the HP 3PAR Storage System

This section describes the basic method for creating storage. For additional information, see theHP 3PAR InForm OS CLI Administrator’s Manual. For a comprehensive description of HP 3PARInForm CLI commands, see the HP 3PAR InForm OS CLI Reference.

Creating Virtual VolumesYou can create volumes that are provisioned from one or more Common Provisioning Groups(CPGs). Volumes can be fully provisioned from a CPG or can be thinly provisioned. You canoptionally specify a CPG for snapshot space for fully provisioned volumes.Using the InForm Management Console:1. From the Menu bar, select

Actions > Provisioning > VV > Create Virtual Volume2. Use the Create Virtual Volume wizard to create a base volume.3. Select one of the following options from the Provisioning list:

• Fully Provisioned from PDs

• Fully Provisioned from CPG

• Thinly Provisioned

NOTE: To create thin provisioned volumes, an HP 3PAR Thin Provisioning license is required.

Using the InForm CLI:1. To create a fully provisioned or thinly provisioned virtual volume, issue the following InForm

CLI command:

createvv [options] <usr_CPG> <VV_name> [.<index>] <size>[g|G|t|T]

Here is an example:

# createvv -cnt 10 demo 5g

40 Allocating Storage for the Windows 2008 Host

Page 41: 3PAR Windows 2008 Implementation Guide

2. Issue showvv to check the volumes created:

# showvv --Rsvd(MB)--- -(MB)-

Id Name Prov Type CopyOf BsId Rd -Detailed_State- Adm Snp Usr VSize

0 admin full base --- 0 RW normal 0 0 10240 10240831 demo.0 full base --- 831 RW normal 0 0 5120 5120832 demo.1 full base --- 832 RW normal 0 0 5120 5120833 demo.2 full base --- 833 RW normal 0 0 5120 5120834 demo.3 full base --- 834 RW normal 0 0 5120 5120835 demo.4 full base --- 835 RW normal 0 0 5120 5120836 demo.5 full base --- 836 RW normal 0 0 5120 5120837 demo.6 full base --- 837 RW normal 0 0 5120 5120838 demo.7 full base --- 838 RW normal 0 0 5120 5120839 demo.8 full base --- 839 RW normal 0 0 5120 5120840 demo.9 full base --- 840 RW normal 0 0 5120 5120

NOTE: To create thin provisioned volumes, an HP 3PAR Thin Provisioning license is required.For more information on creating volumes using the InForm OS CLI, see the followingdocuments:• HP 3PAR InForm OS Concepts Guide

• HP 3PAR InForm OS CLI Administrator’s Manual

• HP 3PAR InForm OS CLI Reference

Exporting VLUNs to the Windows 2008 HostFollow the instructions for creating virtual volumes (VVs) and virtual LUNs (VLUNs) in the HP 3PARInForm OS CLI Administrator’s Manual.Note the following guidelines:

• Sparse LUNs are supported (you can skip LUNs).

• You can export LUNs in nonascending order (e.g. 0, 5, 7, 3).

• The Windows 2008 system registers only LUNs 0 to 254.

• The maximum number of usable LUNs per host port is 255. Although the HP 3PAR StorageSystem can export LUNs 0 to 65535, only LUNs 0 to 254 should be used for Windowsconfigurations.

• For an InForm OS previous to OS 2.3.x, the maximum LUN size supported is 2TB; for InFormOS 2.3.1 or later, the maximum LUN size supported is 16TB.

Discovering LUNsUse the Server Manager utility to display formation on the disks: click Storage, and click DiskManagement. “Listing Disk Devices” (page 42) shows an example.

Discovering LUNs 41

Page 42: 3PAR Windows 2008 Implementation Guide

Figure 22 Listing Disk Devices

You can also use the HBAnyware or SANsurfer GUI to discover devices. “Listing Disk DevicesSANsurfer GUI” (page 43) shows an example using the SANsurfer GUI.

42 Allocating Storage for the Windows 2008 Host

Page 43: 3PAR Windows 2008 Implementation Guide

Figure 23 Listing Disk Devices SANsurfer GUI

Scanning for New Devices on the Windows 2008 HostDisk devices on Windows servers can be used as basic disks or dynamic disks. The HP 3PARStorage System already provides most of the extra capabilities of dynamic disks. HP stronglyrecommends that HP 3PAR Storage System volumes be used only as basic disks unless any of theadditional features of dynamic disks are a requirement.

NOTE: If dynamic disks are used, data corruption can occur if duplicate copies of the samevolume are never concurrently exposed to a server. If you need duplicate copies, use the HP 3PARStorage System Virtual Copy feature, or break a Windows mirrored set of disks created on twodiscrete HP 3PAR Storage System volumes. For dynamic disks with a Windows 2008 server, referto http://technet.microsoft.com/en-us/library/dd163552.aspx.

When VLUNs are exported to the Windows 2008 server, they might not appear in the WindowsDisk Manager automatically. After a new VLUN is exported from an HP 3PAR Storage SystemiSCSI port, issue a rescan from Windows Disk Manager or Windows Device Manager.

NOTE: Be sure that Windows Disk Manager is closed while you are exporting LUNs, and thenwait until the Windows Device Manager shows all of the new LUN exports before you open theWindows Disk Manager. Once all LUNs have been shown as available in the Windows DeviceManager, it is safe to proceed to the Windows Disk Manager to initialize and create disk partitions.

To scan for new devices on the Windows 2008 R2 host, follow these steps:1. In the Windows Server Manager window, click Device Manager.

Scanning for New Devices on the Windows 2008 Host 43

Page 44: 3PAR Windows 2008 Implementation Guide

2. Right-click Disk drives; in the popup that appears, select Scan for hardware changes, as shownin “Scanning for New Devices ” (page 44).

Figure 24 Scanning for New Devices

Removing VolumesTo remove a volume from the Windows 2008 host, follow standard Microsoft administrativeprocedures for removing a volume, and follow the HP 3PAR Storage System standard procedureto remove a volume.

NOTE: Removing a disk from a Windows 2008 host does not erase the data on the disk. Ifthere is concern about the data on the disk, you might want to use a third party utility that erasesthe data on the disk before you remove it from the Windows 2008 host.

44 Allocating Storage for the Windows 2008 Host

Page 45: 3PAR Windows 2008 Implementation Guide

7 Booting from the HP 3PAR Storage SystemFor details about connecting the HP 3PAR Storage System to the host, see “Performing PreliminaryHP 3PAR Storage System and Host Configuration” (page 8).

Configuring for iSCSI SAN BootFor configurations that have iSCSI connections, the Double-Take Flex software is required. See thelatest version of the Double-Take Flex User’s Guide for full instructions.

NOTE: The rest of this chapter consists of instructions for configuring for HP 3PAR Storage Systemboot with fibre channel storage.

Configuring the BIOS for Fibre Channel SAN BootThis section explains specific host HBA settings required for booting from an HP 3PAR StorageSystem in a fabric configuration. Use the Boot BIOS version listed in the Configuration Matrix forInForm OS.

NOTE: With the introduction of the Microsoft Storport driver, booting from a Storage AreaNetwork (SAN) has become less problematic. refer to http://support.microsoft.com/kb/305547.

Configuring for HP 3PAR Storage System Boot: Emulex HBATo configure the Emulex HBA, follow these steps:1. Boot the Windows 2008 system following the instructions in the BootBios update manual.2. Press ALT+E. For each Emulex adapter, set the following parameters:

• Select Configure the Adapter's Parameters.

• Select Enable or Disable the BIOS; for SAN boot, ensure that the BIOS is enabled.

• Press Esc to return to the previous menu.

• Select Auto Scan Setting; set the parameter to First LUN 0 Device; press Esc toreturn to the previous menu.

• Select Topology.◦ Select Fabric Point to Point for fabric configurations.

◦ Select FC-AL for direct connect configurations.

3. Press Esc to return to the previous menu if you need to set up other adapters. When you arefinished, press x to exit and reboot.

Configuring for HP 3PAR Storage System Boot: QLogic HBAUse the QLogic HBA Fast!UTIL utility to configure the HBA. Follow these steps:1. Boot the Windows 2008 server; as the server is booting, press the ALT+Q or CTRL+Q keys

when the HBA BIOS prompts appear.2. In the Fast!UTIL utility, click Select Host Adapter and then select the appropriate adapter.3. Click Configuration Settings > Adapter Settings.

Configuring for iSCSI SAN Boot 45

Page 46: 3PAR Windows 2008 Implementation Guide

4. In the Adapter Settings window, set the following:• Host Adapter BIOS: Enabled

• Spinup Delay: Disabled

• Connection Option:0 for direct connect◦

◦ 1 for fabric

NOTE: Record the Adapter Port NameWWWPN for creating the host definition as explainedlater in this chapter.

5. Press Esc to exit this window.6. Click Selectable Boot Settings. In the Selectable Boot Settings window, set Selectable Boot

Device to Disabled.7. Press Esc twice to exit; when you are asked whether to save NVRAM settings, click Yes.8. Exit Fast!UTIL.

Creating the Host Definition for HP 3PAR Storage System Boot: FCCreate the host for booting from the HP 3PAR Storage System running InForm OS.For example:

# createhost -persona 1 windowshost 10000000C9606724

To verify that the host is created, issue the showhost command.

% showhostId Name Persona -WWN/iSCSI_Name- Port 0 windowshost Generic 10000000C9606724 ---

Connecting the HP 3PAR Storage System to the Host: Fibre ChannelFor fibre channel HBAs in a Windows 2008 host, you do not need to set any parameters for SANboot other than those set in Sections “Installing and Configuring an Emulex Fibre Channel HBA”(page 20) and “Installing and Configuring a QLogic Fibre Channel HBA” (page 21) in Chapter3.

Assigning LUN 0 as the Boot VolumeThe Windows 2008 server must use a LUN specified as 0 as boot volume for fibre channel SANboot. To create LUN 0 and assign it as the boot volume, follow these steps:1. On the HP 3PAR Storage System, create a VV of appropriate size.2. Export it to the Windows 2008 host and specify it as 0. For details, see Section “Exporting

VLUNs to the Windows 2008 Host” (page 41).3. For easy management and troubleshooting, restrict the host to a single path connection to the

HP 3PAR Storage System.

Installing the Host OS onto LUN 0: Fibre ChannelThe HP 3PAR Storage System supports Windows 2008 host boot. You can install the Windows2008 OS to boot from the HP 3PAR Storage System. Follow all recommended settings and guides.To install the Windows 2008 OS on HP 3PAR Storage System volumes, follow these steps:

46 Booting from the HP 3PAR Storage System

Page 47: 3PAR Windows 2008 Implementation Guide

1. It is recommended that the connection between the HP 3PAR Storage System and the Windows2008 host system be a single path connection.

2. Follow standard procedures in the Microsoft documentation for installing the OS on a bootabledevice.

3. Reboot the Windows 2008 system. The HP 3PAR Storage System volume is configured withthe Windows 2008 OS.

Connecting Multiple Paths for Fibre Channel SAN BootAfter the Windows 2008 host completely boots up and is online, connect additional paths to thefabric or the HP 3PAR disk storage system directly by completing the following tasks.1. On the HP 3PAR Storage System, issue createhost -add <hostname> <WWN> to add

the additional paths to the defined HP 3PAR Storage System host definition.2. On the Windows 2008 host, rescan for devices; see “Scanning for New Devices on the

Windows 2008 Host” (page 43).3. Reboot the Windows 2008 system.

Connecting Multiple Paths for Fibre Channel SAN Boot 47

Page 48: 3PAR Windows 2008 Implementation Guide

8 Using Failover Clustering with Microsoft MPIOThe HP 3PAR Storage System supports failover clustering. Set up the cluster according to Microsoftrecommendations.

48 Using Failover Clustering with Microsoft MPIO

Page 49: 3PAR Windows 2008 Implementation Guide

9 Using Failover Clustering in a Virtualized EnvironmentThe HP 3PAR Storage System supports Failover Clustering on some VMware ESX/ESXi virtualizedenvironments as Guest OS clustering. For the purposes of setup and configuration, such anenvironment is to be considered a VMware ESX configuration.Setup of the host ESX/ESXi servers should be in accordance with the HP 3PAR VMware ESX 3.X-4.XImplementation Guide.For additional information on the configuration of a Windows 2008 Failover Cluster within a setof Virtual Machines on VMware ESX, refer to VMware KB-000269-02 (for ESX/ESXi 4.0) orVMware KB-000271-00 (for ESX/ESXi 4.1).

49

Page 50: 3PAR Windows 2008 Implementation Guide

10 Using the Veritas Cluster ServerSymantec SF 5.1 SP1, SP2

Symantec SF 5.1 SP1, SP2 introduces a feature space reclamation to reclaim space from a ThinlyProvisioned Virtual Volume (TPVV). When working with a Failover Cluster and VXDMP, this featureis not supported, as a Failover Cluster requires basic disks and the space reclamation feature isavailable only on dynamic disks.

Installing the Veritas Cluster ServerThe HP 3PAR Storage System supports use with Veritas Cluster Server and there are no specialsetup considerations for the HP 3PAR Storage System server. Refer to the Veritas Cluster ServerInstallation Guide and the Veritas Cluster Server User's Guide for installation and setup instructions.

Setting SCSI-3 Persistent Reservation Support for the HP 3PAR StorageSystem

For VCS 5.1 Windows, you can enable or disable the SCSI 3 support. Follow these steps:1. Download latest DDI (DDI–2.1) at http://seer.entsupport.symantec.com/docs/326334.htm.2. Save the DDI to a folder:

3. Extract DDI files.4. Verify the HP 3PAR enable/disable script:

DisableSupportSCSI3V3paraa & EnableSupportSCSI3V3paraa

5. By default the 3PAR Support for SCSI 3 appears as 0x00000000 (0) in the Data column.To confirm, clickStart>Run>regedit>Computer>Hkey_LOCAL_MACHINE>CurrentControlSet>Services\v3paraa\Parameters.

50 Using the Veritas Cluster Server

Page 51: 3PAR Windows 2008 Implementation Guide

6. To enable HP 3PAR SCSI-3 support, click the EnableSupportSCSI3V3paraa script, then rebootthe server after the script runs.

7. After the script runs, the HP 3PAR Support SCSI—3 appears as 0x00000000 (1) in Datacolumn.

Setting SCSI-3 Persistent Reservation Support for the HP 3PAR Storage System 51

Page 52: 3PAR Windows 2008 Implementation Guide

8. Open the Veritas Enterprise Administrator (VEA) to verify the new settings.

52 Using the Veritas Cluster Server

Page 53: 3PAR Windows 2008 Implementation Guide

11 Using Microsoft Failover Cluster with Veritas DMPIntroduction

The HP 3PAR Storage System supports Microsoft failover clustering with Veritas DMP. FollowMicrosoft recommendations when setting up the cluster, as well as Symantec recommendationswhen setting up DMP to support Microsoft clustering.See http://seer.entsupport.symantec.com/docs/306319.htm

Installing the Veritas DMPWhen installing Veritas DMP be sure that 3PARDATA is checked, see “Setting Up Veritas Storagefor the HP 3PAR Storage Server” (page 53).

Figure 25 Setting Up Veritas Storage for the HP 3PAR Storage Server

Setting SCSI-3 Persistent Reservation Support for the HP 3PAR StorageSystem

SCSI-3 Persistent Reservations are required for VCS 5.1 To enable the SCSI-3 support, follow thesesteps:1. Download latest DDI (DDI–2.1) at http://seer.entsupport.symantec.com/docs/326334.htm.2. Save the DDI to a folder:

Introduction 53

Page 54: 3PAR Windows 2008 Implementation Guide

3. Extract DDI files.4. Verify the HP 3PAR enable/disable script:

DisableSupportSCSI3V3paraa & EnableSupportSCSI3V3paraa

5. By default, the HP 3PAR support for SCSI—3 appears as 0x00000000 (0) in the Datacolumn. To confirm, clickStart>Run>regedit>Computer>Hkey_LOCAL_MACHINE>CurrentControlSet>Services\v3paraa\Parameters.

6. To enable HP 3PAR SCSI—3 support, click the EnableSupportSCSI3V3paraa script, then rebootthe server after the script runs.

54 Using Microsoft Failover Cluster with Veritas DMP

Page 55: 3PAR Windows 2008 Implementation Guide

7. After the script runs, the HP 3PAR support SCSI—3 appears as 0x00000000 (1) in Datacolumn.

8. Open the Veritas Enterprise Administrator (VEA) to verify the new settings.

Setting SCSI-3 Persistent Reservation Support for the HP 3PAR Storage System 55