3PAR Windows 2008 Implementation Guide
3PAR Windows 2008 Implementation Guide
3PAR Windows 2008 Implementation Guide
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.
Copyright 201 Hewlett-Packard Development Company, L.P. 1 Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.21 and 12.212, Commercial 1 Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor'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 express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not 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.
Contents
1 Introduction...............................................................................................5
Supported Configurations..........................................................................................................5 HP X3000 and XP3000 G2 Storage Systems...............................................................................5 InForm Operating System Upgrade Considerations........................................................................6 Audience.................................................................................................................................6 Related Documentation..............................................................................................................6 Typographical Conventions........................................................................................................6 Advisories................................................................................................................................7
3 Setting Up a Windows 2008/HP 3PAR Storage System Configuration for Fibre Channel.....................................................................................................20
Checking the Host Server for Required Drivers............................................................................20 Installing and Configuring an Emulex Fibre Channel HBA............................................................20 Installing the Emulex Support Driver......................................................................................20 Configuring the Emulex Support Driver..................................................................................20 Checking Emulex HBA Parameters and Connection Status.......................................................20 Installing and Configuring a QLogic Fibre Channel HBA..............................................................21 Installing the QLogic Support Driver.....................................................................................21 Configuring the QLogic Support Driver.................................................................................21 Checking QLogic HBA Parameters and Connection Status.......................................................21 Installing Veritas DMP Multipathing on the Windows 2008 Host...................................................22 Disabling the Write Cache Option for HP 3PAR LUNs..................................................................23
4 Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage......................................................................................................25
Setting Up the Ethernet Switch..................................................................................................25 Configuring the HP 3PAR Storage System for iSCSI......................................................................25
Contents 3
Using the Microsoft iSNS Server to Discover Registrations............................................................26 Configuring the iSCSI Initiator and Target for iSNS Server Usage.............................................26 Using the iSNS Server to Create a Discovery Domain.............................................................27 Establishing a Connection with the iSCSI Initiator Software...........................................................27 Establishing an iSCSI Session and Enabling Multipathing.............................................................31 Configuring Host and Target CHAP...........................................................................................34 Setting Host CHAP.............................................................................................................34 Setting Target CHAP..........................................................................................................36 Setting Mutual (Bidirectional) CHAP.....................................................................................37 Removing CHAP................................................................................................................37
8 Using Failover Clustering with Microsoft MPIO..............................................48 9 Using Failover Clustering in a Virtualized Environment...................................49 10 Using the Veritas Cluster Server................................................................50
Symantec SF 5.1 SP1, SP2.......................................................................................................50 Installing the Veritas Cluster Server............................................................................................50 Setting SCSI-3 Persistent Reservation Support for the HP 3PAR Storage System................................50
Contents
1 Introduction
This implementation guide provides the information needed to configure an HP 3PAR Storage System with Microsoft Windows 2008. Information in the guide applies to Windows 2008 Service 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 unless otherwise specified.
Supported Configurations
A Windows 2008 OS in a configuration with the HP 3PAR Storage System supports fibre channel-connected storage, iSCSI storage, and Microsoft Hyper-V connected storage. For complete details on supported host configurations, consult the appropriate HP 3PAR InForm OS Configuration Matrix, 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 your product page, click HP Support & Drivers, and then click Manuals. A configuration with a Windows 2008 host requires the following software on the host, depending on 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 Version 2.8 Users Guide, downloadable from the Microsoft web site. In addition, HP 3PAR Host Explorer software is recommended for Windows 2008 servers connected to 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 Customer Support.
Supported Configurations
Audience
This implementation guide is for system and storage administrators who monitor and direct system configurations and resource allocation for HP 3PAR Storage Systems. The tasks described in this manual assume that the administrator is familiar with Windows 2008 servers and with the HP 3PAR InForm OS. NOTE: This Implementation Guide does NOT intend to reproduce any third-party product documentation. 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 Documentation
The following documents also provide information related to HP 3PAR Storage Systems and the InForm operating system:
For information about Specific platforms supported InForm CLI commands and their usage Using the InForm Management Console to configure and administer HP 3PAR Storage Systems HP 3PAR Storage System concepts and terminology Determining HP 3PAR Storage System hardware specifications, installation considerations, power requirements, networking options, and cabling Identifying storage server components and detailed alert information Using HP 3PAR Remote Copy Using HP 3PAR CIM Updating the InForm OS Read the HP 3PAR InForm OS Configuration Matrix InForm OS Command Line Interface Reference HP 3PAR InForm OS Management Console Online Help HP 3PAR InForm OS Concepts Guide HP 3PAR E-Class/F-Class Storage Server Physical Planning Manual,HP 3PAR S-Class/T-Class Storage Server Physical Planning Manual, or HP 3PAR V-Class Storage Server Physical Planning Manual HP 3PAR InForm OS Messages and Operators Guide HP 3PAR Remote Copy Users Guide HP 3PAR CIM API Programming Reference HP 3PAR InForm OS Update Pre-Planning Guide
Typographical Conventions
This guide uses the following typographical conventions:
Typeface ABCDabcd Meaning Example
Used for dialog elements such as titles, When prompted, click Finish to button labels, and other screen complete the installation. elements. Used for paths, filenames, and screen Open the file output. \os\windows\setup.exe
ABCDabcd
Introduction
Used for variables in filenames, paths, createhost <options> and screen output. <host_name> <iSCSI_name> Used for variables in user input. # createhost <options> <host_name> <iSCSI_name>
<ABCDabcd>
Advisories
To avoid injury to people or damage to data and equipment, be sure to observe the cautions and warnings in this guide. Always be careful when handling any electrical equipment. CAUTION: NOTE: guide. Cautions alert you to actions that can cause damage to equipment, software, or data.
Notes are reminders, tips, or suggestions that supplement the procedures included in this
REQUIRED
Requirements signify procedures that must be followed as directed in order to achieve a functional and supported implementation based on testing at HP. WARNING! Warnings alert you to actions that can cause injury to people or irreversible damage to data or the operating system.
Advisories
Configuring the HP 3PAR Storage System Host Persona and Ports (InForm 3.1.x)
For an HP 3PAR Storage System running InForm OS 3.1.x and OS 2.3.x, each HP 3PAR Storage System port connecting to a host HBA port through a fabric or direct connection must be set to the correct host persona.
2.
After all ports have been configured, verify that the ports are configured for a host in a direct connection 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 0:0:1 0:0:2 0:0:3 0:0:4 0:4:1 0:4:2 0:5:1 0:5:2 0:5:3 0:5:4 1:0:1 1:0:2 1:0:3 1:0:4 1:2:1 1:2:2 1:4:1 1:4:2 1:5:1 1:5:2 1:5:3 1:5:4 Connmode ConnType CfgRate disk loop auto disk loop auto disk loop auto disk loop auto host point auto host point auto host point auto host loop auto host point auto host loop auto disk loop auto disk loop auto disk loop auto disk loop auto host point auto host loop auto host point auto host point auto host loop auto host loop auto host loop auto host loop auto MaxRate 2Gbps 2Gbps 2Gbps 2Gbps 4Gbps 4Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 4Gbps 4Gbps 4Gbps 4Gbps Class2 disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled UniqNodeWwn disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled VCN disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled IntCoal enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled
# showport -par N:S:P 0:0:1 0:0:2 0:4:1 0:4:2 0:5:1 0:5:2 1:0:1 1:0:2 1:2:1 1:2:2 1:4:1 1:4:2 1:5:1 1:5:2 1:5:3 1:5:4 Connmode ConnType CfgRate disk loop auto disk loop auto host point auto host point auto host point auto host loop auto disk loop auto disk loop auto host point auto host loop auto host point auto host point auto host loop auto host loop auto host loop auto host loop auto MaxRate 2Gbps 2Gbps 4Gbps 4Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 4Gbps 4Gbps 4Gbps 4Gbps Class2 disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled UniqNodeWwn disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled VCN disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled IntCoal enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled
Configuring the HP 3PAR Storage System Host Persona and Ports (InForm 3.1.x)
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 is fabric 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. 6. 7.
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. Complete zoning; consult Section Setting Up and Zoning the Fabric (page 15). Issue showhost to verify that the host has connected to the HP 3PAR Storage System.
For example:
# createhost -persona 1 windowshost 10000000C9606724
NOTE: See the HP 3PAR InForm OS CLI Reference or the IMC help for complete details on using the controlport, createhost,and showhost commands. To verify that the host is created, issue the showhost command; for example:
Persona Generic
10
Configuring the HP 3PAR Storage System Port Personas and Ports (InForm OS 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: 2. The required port persona value for direct connect is 1.
To verify that each port has the correct persona and connection type, issue showport -par. The following is example output:
# showport -par 0:4:1 loop auto disable disable (1) g_ven, g_hba, g_os, 0, DC enabled
3.
4.
Connect each Host HBA port to its associated HP 3PAR Storage System port. Each host HBA port's worldwide name (WWN) should be associated with the HP 3PAR Storage System port it is connected to. 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 each fabric connect port. CAUTION: Do not take ports for fabric connection offline until you verify that the port has not been 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 3PAR Storage 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)
1 1
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 0:0:1 0:0:2 0:4:1 0:4:2 0:5:1 0:5:2 1:0:1 1:0:2 1:2:1 1:2:2 1:4:1 1:4:2 1:5:1 1:5:2 1:5:3 1:5:4 Connmode ConnType CfgRate disk loop auto disk loop auto host point auto host point auto host point auto host loop auto disk loop auto disk loop auto host point auto host loop auto host point auto host point auto host loop auto host loop auto host loop auto host loop auto MaxRate 2Gbps 2Gbps 4Gbps 4Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 2Gbps 4Gbps 4Gbps 4Gbps 4Gbps Class2 disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled UniqNodeWwn disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled VCN disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled disabled IntCoal enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled enabled 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.
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, VCN must be disabled. 4. To bring the port online, issue controlport rst [node:slot:port]; for example:
# controlport rst 1:5:1
5. 6.
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. Complete zoning; confer Section Setting Up and Zoning the Fabric (page 15).
1.
2.
To verify that the host is created, issue the showhost command; for example:
% showhost Id Name 0 windowshost
Setting Up Multipathing
For high-availability storage with load balancing of I/O and improved system and application performance, 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.x requires 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
13
6.
Reboot as directed. NOTE: You can also use MPIO-cli to add 3PARdataVV. The command is:
"mpclaim -r -I -d "3PARdataVV"
14
3.
Click OK.
REQUIRED
When you establish zoning with the HP 3PAR Storage System, there must only be a single initiator zoned 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/or corrective 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 ensure that each initiator is zoned with the correct target. In the following explanations an initiator port (initiator for short) refers to a host server HBA port and a target port (target for short) refers to an HP 3PAR Storage System HBA port.
15
NOTE: In the examples in the following sections, a fabric can be one or more fibre channel switches or directors.
Configuring Fabrics
Use the following fabric vendor guidelines before configuring ports on the fabric(s) to which the HP 3PAR Storage System connects. Brocade switch ports that connect to a host server HBA port or to an HP 3PAR Storage System port should be set to their default mode. On Brocade 3xxx switches running Brocade firmware 3.0.2 or later, verify that each switch port is in the correct mode using the Brocade telnet interface and the portcfgshow command as follows:
brocade2_1:admin> portcfgshow Ports 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 a speed setting of Negotiate. Cisco switch ports that connect to HP 3PAR Storage System ports or host HBA ports should be set to AdminMode = FX and AdminSpeed = auto port, with the speed set to auto negotiate. 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 to I/O Stream Guard disable or auto but never enable.
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 target queue full response from the HP 3PAR Storage System port. This condition can result in erratic I/O performance on each host server. If this condition occurs, each host server should
16
be throttled so that it cannot overrun the HP 3PAR Storage System port's queues when all host servers are delivering their maximum number of I/O requests. NOTE: When host server ports can access multiple targets on fabric zones, the target number assigned by the host driver for each discovered target can change when the host server is booted and some targets are not present in the zone. This situation might change the device node access point for devices during a host server reboot. This issue can occur with any fabric-connected storage, and is not specific to the HP 3PAR Storage System.
Single Initiator to Single Target Zoning with Fan-Out from One HP 3PAR Storage System Port to Multiple Host Server Ports
For single initiator to single target zoning in a fan-out configuration, the HP 3PAR Storage System port is connected to more that one host port, as shown in Single Initiator to Single Target Zoning with Fan-Out (page 17). Figure 4 Single Initiator to Single Target Zoning with Fan-Out
17
NOTE: port.
A maximum of 64 host server ports can fan out from a single HP 3PAR Storage System
Single Initiator to Single Target Zoning with Fan-In from Multiple HP 3PAR Storage System Ports to One Host Server Port
For single initiator to single target zoning in a fan-in configuration, a host server port connects to many HP 3PAR Storage System ports, as shown in Single Initiator to Single Host Target Zoning with 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 Configurations
For single initiator to single target zoning in a fan-in and fan-out configuration, one HP 3PAR Storage System connects to multiple host servers. See Single Initiator to Single Target Zoning with Fan-In and Fan-Out (page 18). Figure 6 Single Initiator to Single Target Zoning with Fan-In and Fan-Out
18
19
3 Setting Up a Windows 2008/HP 3PAR Storage System Configuration for Fibre Channel
Checking the Host Server for Required Drivers
Check the Microsoft Web site for required packages and hotfixes, including updated drivers. Also consult the HP 3PAR InForm OS Configuration Matrix for support drivers, and follow HBA vendor instructions. Use the Emulex HBAnyware or QLogic SANsurfer software to verify support for HBA driver versions.
To obtain a copy of this documentation, go to http://www.hp.com/go/3par/, navigate to your product page, click HP Support & Drivers, and then click Manuals.
20
Setting Up a Windows 2008/HP 3PAR Storage System Configuration for Fibre Channel
22
Setting Up a Windows 2008/HP 3PAR Storage System Configuration for Fibre Channel
2.
Select only 3PARDATA as your DMP device: see Setting Up Veritas Storage for the HP 3PAR Storage 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 Administration Guide and the Veritas Storage Foundation & High Availability Solutions Installation & Upgrade Guide.
23
24
Setting Up a Windows 2008/HP 3PAR Storage System Configuration for Fibre Channel
4 Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage
NOTE: HP recommends that you read the Microsoft iSCSI Software Initiator Users Guide for Windows-specific concepts and procedures discussed in this chapter.
Netmask Gateway TPGT 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0
MTU Rate DHCP iSNS_Prim iSNS_Sec n/a n/a n/a n/a 0 0 0 0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0
2.
Issue controliscsiport addr to set the IP addresses and netmask addresses of the iSCSI target 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 have a Rate of 10Gbps.
# showport -iscsi N:S:P State IPAddr Netmask Gateway iSNS_Sec iSNS_Port
TPGT
MTU
25
0:3:1 ready 10.101.1.31 255.255.0.0 0.0.0.0 0.0.0.0 3205 0:3:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 3205 1:3:1 ready 10.101.1.131 255.255.0.0 0.0.0.0 0.0.0.0 3205 1:3:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 3205
0 0 0 0
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)
5.
Configuring the iSCSI Initiator and Target for iSNS Server Usage
Follow these steps: 1. Issue showport -iscsi to verify whether the iSCSI target ports are configured for the iSNS server; for example:
# showport -iscsi N:S:P State IPAddr Netmask Gateway TPGT iSNS_Port 0:1:1 ready 10.0.0.122 255.0.0.0 0.0.0.0 11 3205 0:1:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 12 3205 1:1:1 ready 10.0.1.122 255.0.0.0 0.0.0.0 111 3205 1:1:2 offline 0.0.0.0 0.0.0.0 0.0.0.0 112 3205
MTU
Rate DHCP iSNS_Prim iSNS_Sec 0 0 0 0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0
26
Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage
2.
3.
MTU
Rate DHCP iSNS_Prim iSNS_Sec 0 0 0 0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0
4. 5.
6.
Use the Windows 2008 Add Features wizard to add the Internet Storage Name Server feature. 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 iSNS servers area. Enter the IP address or DNS name, and then click OK.
27
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 1 Starting the iSCSI Initiator 1
2.
28
Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage
3.
From the Discovery tab, Target portals area, click the Discover Portal... button, and in the Add Target 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).
29
4.
Establish the connection: click Advanced; the Advanced Settings dialog box appears, as shown in 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
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 to connect to the iSCSI target.
The CRC/Checksum is not required. Setting CHAP logon information is explained later in this chapter, in Section Configuring Host and Target CHAP (page 34). 5. Click OK in the Advanced Settings dialog box and again in the Discover Target Portal dialog box. 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 Discovery tab in the iSCSI Initiator Properties window.
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
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 will not work correctly, especially if you have multiple local adapters, Source IP addresses, and target 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 connect to the iSCSI target port Target Portal IP drop-down menu: IP address of the target portal (iSCSI target port).
6. 7.
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. 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 Verifying Connected Status for Both Targets (page 34)
33
8.
Perform step 4 through step 7 to add the connection to the second target portal. The iSCSI Initiator Properties window shows the status of both; see Verifying Connected Status for Both Targets (page 34). Figure 18 Verifying Connected Status for Both Targets
-Initiator_CHAP_Name- -Target_CHAP_Name
34
Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage
3.
4.
5.
In the iSCSI Initiator Properties window, click the Targets tab. In the Targets tab, choose the targets where the CHAP applies. Click Connect from Connect to Target, then check the Enable multi-path and click the Advanced... button. From the Advanced Settings windows, follow these steps, as shown in Setting Up the Target CHAP Secret for HP 3PAR Storage System initchap (page 35): a. Set Microsoft iSCSI Initiator for Local adapter b. Select Initiator IP c. Select Target Portal IP d. Check Enable CHAP log on box e. 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
35
-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.
36
Setting Up a Windows 2008/HP 3PAR Storage System Configuration with iSCSI Storage
4.
In the iSCSI Initiator Properties window, click the Configuration tab. Click CHAP and enter the Initiator CHAP secret, then click OK, as shown in Setting Up Host CHAP for HP 3PAR Storage System 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
Removing CHAP
To remove CHAP from the HP 3PAR Storage System, follow these steps:
37
1.
Issue sethost removechap; this command removes all CHAP information for all specified hosts. For example:
# sethost removechap sqa-dl380g5-0 Calling "sethost removechap" for host sqa-dl380g5-08. select q=quit y=yes n=no: y
Continue?
2.
3.
In the iSCSI Initiator Properties window, click the Targets tab where the CHAP applies; click the 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 IP c. Select Target portal IP d. 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
39
NOTE:
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
2.
0 10240 0 5120 0 5120 0 5120 0 5120 0 5120 0 5120 0 5120 0 5120 0 5120 0 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 following documents: HP 3PAR InForm OS Concepts Guide HP 3PAR InForm OS CLI Administrators Manual HP 3PAR InForm OS CLI Reference
Discovering LUNs
Use the Server Manager utility to display formation on the disks: click Storage, and click Disk Management. Listing Disk Devices (page 42) shows an example.
Discovering LUNs
41
You can also use the HBAnyware or SANsurfer GUI to discover devices. Listing Disk Devices SANsurfer GUI (page 43) shows an example using the SANsurfer GUI.
42
43
2.
Right-click Disk drives; in the popup that appears, select Scan for hardware changes, as shown in Scanning for New Devices (page 44). Figure 24 Scanning for New Devices
Removing Volumes
To remove a volume from the Windows 2008 host, follow standard Microsoft administrative procedures for removing a volume, and follow the HP 3PAR Storage System standard procedure to remove a volume. NOTE: Removing a disk from a Windows 2008 host does not erase the data on the disk. If there is concern about the data on the disk, you might want to use a third party utility that erases the data on the disk before you remove it from the Windows 2008 host.
44
Press Esc to return to the previous menu if you need to set up other adapters. When you are finished, press x to exit and reboot.
45
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 Name WWWPN for creating the host definition as explained later in this chapter. 5. 6. 7. 8. Press Esc to exit this window. Click Selectable Boot Settings. In the Selectable Boot Settings window, set Selectable Boot Device to Disabled. Press Esc twice to exit; when you are asked whether to save NVRAM settings, click Yes. Exit Fast!UTIL.
Persona Generic
46
1. 2. 3.
It is recommended that the connection between the HP 3PAR Storage System and the Windows 2008 host system be a single path connection. Follow standard procedures in the Microsoft documentation for installing the OS on a bootable device. Reboot the Windows 2008 system. The HP 3PAR Storage System volume is configured with the Windows 2008 OS.
47
48
49
Setting SCSI-3 Persistent Reservation Support for the HP 3PAR Storage System
For VCS 5.1 Windows, you can enable or disable the SCSI 3 support. Follow these steps: 1. Download latest DDI (DDI2.1) at http://seer.entsupport.symantec.com/docs/326334.htm. 2. Save the DDI to a folder:
3. 4. 5.
Extract DDI files. Verify the HP 3PAR enable/disable script: DisableSupportSCSI3V3paraa & EnableSupportSCSI3V3paraa By default the 3PAR Support for SCSI 3 appears as 0x00000000 (0) in the Data column. To confirm, click Start>Run>regedit>Computer>Hkey_LOCAL_MACHINE>CurrentControlSet>Services\v3paraa\Parameters.
50
6.
To enable HP 3PAR SCSI-3 support, click the EnableSupportSCSI3V3paraa script, then reboot the server after the script runs.
7.
After the script runs, the HP 3PAR Support SCSI3 appears as 0x00000000 (1) in Data column.
Setting SCSI-3 Persistent Reservation Support for the HP 3PAR Storage System
51
8.
Open the Veritas Enterprise Administrator (VEA) to verify the new settings.
52
Setting SCSI-3 Persistent Reservation Support for the HP 3PAR Storage System
SCSI-3 Persistent Reservations are required for VCS 5.1 To enable the SCSI-3 support, follow these steps: 1. Download latest DDI (DDI2.1) at http://seer.entsupport.symantec.com/docs/326334.htm. 2. Save the DDI to a folder:
Introduction
53
3. 4.
5.
By default, the HP 3PAR support for SCSI3 appears as 0x00000000 (0) in the Data column. To confirm, click Start>Run>regedit>Computer>Hkey_LOCAL_MACHINE>CurrentControlSet>Services\v3paraa\Parameters.
6.
To enable HP 3PAR SCSI3 support, click the EnableSupportSCSI3V3paraa script, then reboot the server after the script runs.
54
7. 8.
After the script runs, the HP 3PAR support SCSI3 appears as 0x00000000 (1) in Data column. Open the Veritas Enterprise Administrator (VEA) to verify the new settings.
Setting SCSI-3 Persistent Reservation Support for the HP 3PAR Storage System
55