Adding a NIC or HBA to a Server- Master 1429664

25
Here is Your Customized Document Your Configuration is: Action to Perform - Add or replace server hardware Storage-System Model - CX4-120 Server Add or Replacement Type - Add CNA, HBA, or NIC to server Connection Type - Fibre Channel Switch or Boot from SAN Server Operating System - Windows Server 2003 Management Tool - EMC Navisphere Manager Reporting Problems To send comments or report errors regarding this document, please email: [email protected]. For issues not related to this document, contact your service provider. Refer to Document ID: 1429664 Content Creation Date 2011/2/1

Transcript of Adding a NIC or HBA to a Server- Master 1429664

Page 1: Adding a NIC or HBA to a Server- Master 1429664

Here is Your Customized DocumentYour Configuration is:

Action to Perform - Add or replace server hardwareStorage-System Model - CX4-120Server Add or Replacement Type - Add CNA, HBA, or NIC to serverConnection Type - Fibre Channel Switch or Boot from SANServer Operating System - Windows Server 2003Management Tool - EMC Navisphere Manager

Reporting ProblemsTo send comments or report errors regarding this document, please email:[email protected]. For issues not related to this document, contactyour service provider.Refer to Document ID: 1429664

Content Creation Date 2011/2/1

Page 2: Adding a NIC or HBA to a Server- Master 1429664

Content Creation Date 2011/2/1

Page 3: Adding a NIC or HBA to a Server- Master 1429664

Content Creation Date 2011/2/1

Page 4: Adding a NIC or HBA to a Server- Master 1429664

CX4 SeriesAdding a Fibre Channel HBA to a

Windows Server with PowerPath

This document describes how to add an HBA to a Windows Server withPowerPath that is already connected toa CX4 series storage system.

Topics include:

Before you start ............................................................................. 2Installing HBAs in the server.......................................................... 3Installing or updating the HBA driver ............................................ 5Connecting the new HBA to the storage system............................... 7Zoning the Fibre Channel switches ................................................. 10Registering new HBAs with the storage system (ESX Server 2.5 or3.x hosts) ...................................................................................... 11Setting storage-system failover values for the server initiators withNavisphere Manager..................................................................... 14Verifying the registration of the HBA .............................................. 16Assigning a server HBA to the storage group using NavisphereManager or CLI ............................................................................ 17Verifying that PowerPath for Windows servers or Windows virtualmachines sees all paths to the LUNs............................................... 19Verifying your high-availability Fibre Channel configuration ........... 20

1

Page 5: Adding a NIC or HBA to a Server- Master 1429664

Before you start

To complete this procedure, you will need

❑ One or more Fibre Channel HBAs. The HBAs must be from thesame manufacturer as the Fibre Channel HBAs already in the server.

For information on supported Fibre Channel HBAs, refer to theE-Lab Interoperability Navigator on the Powerlink website.

2 Adding a Fibre Channel HBA to a Windows Server with PowerPath

Page 6: Adding a NIC or HBA to a Server- Master 1429664

Installing HBAs in the server

For the server to communicate with the storage-system Fibre Channeldata ports, it must have one or more supported HBAs installed.

Before you start

To complete this procedure, you will need one or more supportedHBAs with the latest supported BIOS and drivers.

For information on supported HBAs, BIOS, and drivers, refer to theE-Lab™ Interoperability Navigator on the Powerlink website.

We recommend that you never mix HBAs from different vendors in the sameserver.

Installing HBAs

! CAUTION

HBAs are very susceptible to damage caused by static discharge andneed to be handled accordingly. Before handling HBAs, observethe following precautions:

Store HBAs in antistatic bags.

Use a ground (ESD) strap whenever you handle HBAs.

Never plug or unplug HBAs with the power on. Severecomponent damage can result.

1. If the server is powered up:

a. Shut down the server’s operating system.

b. Power down the server.

c. Unplug the server’s power cord from the power outlet.

2. Put on an ESD wristband, and clip its lead to bare metal on theserver’s chassis.

Adding a Fibre Channel HBA to a Windows Server with PowerPath 3

Page 7: Adding a NIC or HBA to a Server- Master 1429664

3. For each HBA that you are installing:

a. Locate an empty PCI bus slot or a slot in the server that ispreferred for PCI cards.

b. Install the HBA following the instructions provided by the HBAvendor.

c. If you installed a replacement HBA, reconnect the cables thatyou removed in the exact same way as they were connected tothe original HBA.

4. Plug the server’s power cord into the power outlet, and power upthe server.

4 Adding a Fibre Channel HBA to a Windows Server with PowerPath

Page 8: Adding a NIC or HBA to a Server- Master 1429664

Installing or updating the HBA driver

The server must run a supported operating system and HBA driver.EMC recommends that you install the latest supported version of thedriver. For information on the supported HBA drivers, refer to theE-Lab™ Interoperability Navigator on the Powerlink website.

Before you start

To complete this procedure, you will need:

❑ The latest supported version of the HBA driver.

The HBA driver is also on the installation CD that ships with the HBA.However, this version may not be the latest supported version.

For an Emulex driverYou can download the latest supported version and instructionsfor installing the Emulex HBA driver from the vendor’s website:http://www.emulex.com/products/fibre-channel-hbas.html.

For a Qlogic driverYou can download the latest supported version and instructionsfor installing the QLogic HBA driver from the vendor’s website:http://support.qlogic.com/support/oem_emc.asp.

For a Brocade driverYou can download the latest supported version and instructions forinstalling the Brocade HBA driver driver from the vendor’s website:

http://www.brocade.com/services-support/drivers-downloads/HBA/HBA_EMC.page

❑ Any updates, such as hot fixes or service packs to the server’soperating system that are required for the HBA driver version youwill install.

For information on any required updates, refer to one of thefollowing:

E-Lab™ Interoperability Navigator on the Powerlink website

Adding a Fibre Channel HBA to a Windows Server with PowerPath 5

Page 9: Adding a NIC or HBA to a Server- Master 1429664

The HBA vendor’s website

Installing the HBA driver

1. Install any updates, such as hot fixes or service packs, to the server’soperating system that are required for the HBA driver version youare installing.

2. If the hot fix or patch requires it, reboot the server.

3. Install the driver following the instructions on the HBA vendor’swebsite.

4. Reboot the server when the installation program prompts you todo so.

5. If the installation program did not prompt you to reboot, thenreboot the server when the driver installation is complete.

6 Adding a Fibre Channel HBA to a Windows Server with PowerPath

Page 10: Adding a NIC or HBA to a Server- Master 1429664

Connecting the new HBA to the storage system

Use optical cables to connect the new HBA ports to Fibre Channel (FC)switch ports. We strongly recommend that you use OM3 50 μm cablesfor all optical connections.

Handling optical cables

Optical cables are susceptible to damage, so take the followingprecautions when handling them:

Keep the covers on all optical cables until you are ready to insertthem.

Avoid tight bends. If you need to make a 90º bend, do it over 6 to12 inches.

Do not use optical cables to support weight (including their ownunsupported weight if they are long).

Do not pull long runs of cable; instead, lay the cable in place or pullonly a few feet at a time.

Place the cables where no one can step on them or roll equipmentover them.

Connecting the new Fibre Channel HBA to a switch

1. Remove the protective covers from the HBA port connector on theserver and from one end of the optical cable, and plug the cable intothe HBA connector (Figure 1).

2. Remove the protective covers from the free end of the optical cableand from the switch port that you want to use, and plug the cableinto the switch port (Figure 1 and Figure 2).

Adding a Fibre Channel HBA to a Windows Server with PowerPath 7

Page 11: Adding a NIC or HBA to a Server- Master 1429664

CL4021

Figure 1 Connecting an optical cable

CL4068

Figure 2 Sample HBA to switch connections

Connecting the switch to the storage-system Fibre Channel data ports

If the switch is not already connected to the storage system, then foreach new switch port that you want to connect to a storage-systemFibre Channel front-end Fibre port:

The Fibre Channel front-end ports are on the I/O modules with a 4 Gb Fibreor 8 Gb Fibre label on the module handle. For information on identifyingthe front-end data ports using Navisphere Manager, refer to the NavisphereManager help.

1. Remove the protective cover from the optical connector on theswitch port that you will use and from one end of the optical cable,and plug the cable into the switch port (Figure 3).

8 Adding a Fibre Channel HBA to a Windows Server with PowerPath

Page 12: Adding a NIC or HBA to a Server- Master 1429664

2. Remove the protective covers from the free-end of the optical cableand from the Fibre Channel front-end port Fibre connector on theSP, and plug the cable into the connector (Figure 3 and Figure 4).

CL4021

Figure 3 Connecting an optical cable

CL4043

10/10

0/100

00

1

01

23

10/100/1000

10/10

0/100

00

1

1

02

310/100/1000

Figure 4 Sample cabling for a Fibre Channel switch configuration (CX4-120, CX4-240)

Adding a Fibre Channel HBA to a Windows Server with PowerPath 9

Page 13: Adding a NIC or HBA to a Server- Master 1429664

Zoning the Fibre Channel switches

If you added an HBA that uses WWN zoning, use the switchmanagement software to zone the Fibre Channel switches as describedbelow.

1. Use either the EZSwitch CD (if it shipped with the switch) or theswitch management software to connect to the switch.

2. Follow the instructions in the switch administrator guide to add anew HBA’s WWN.

10 Adding a Fibre Channel HBA to a Windows Server with PowerPath

Page 14: Adding a NIC or HBA to a Server- Master 1429664

Registering new HBAs with the storage system (ESX Server 2.5 or3.x hosts)

This section describes how to register new HBAs with the storagesystem using the host agent or the server utility.

Starting the Unisphere Host Agent

Starting the host agent on a server automatically registers the server’sHBAs with the storage system.

Starting the host agent on a Windows server

1. Log in as the administrator or the equivalent.

2. Open the Services pane.

From the desktop, right-click My Computer and selectManage > Services and Applications > Services.or

Select Start > Administrative Tools > Computer Management> Services and Applications > Services.

The Services pane opens.

3. In the Services pane, right-click Unisphere Agent and select Start.

4. If you want the host agent to start automatically at system startup:

a. Right-click Unisphere Agent and select Properties.

The Unisphere Agent Properties dialog box opens.

b. Select the General tab.

c. In Startup Type, select Automatic.

5. Close the Services pane.

The host agent will now start automatically at system startup.

It may take a few minutes for the host agent to start when:

Applications are using the storage system, or

Adding a Fibre Channel HBA to a Windows Server with PowerPath 11

Page 15: Adding a NIC or HBA to a Server- Master 1429664

The SP event log is large and the host agent configuration file isnot set up.

Running the Unisphere Server Utility on a Windows server

Run the Unisphere Server Utility for Windows from the Hyper-V server.

Starting the Unisphere Server Utility on a Windows server

1. Run the Unisphere Server Utility by selecting Start > Programs> EMC > Unisphere > Unisphere Server Utility or Start > AllPrograms > EMC > Unisphere > Unisphere Server Utility.

2. Select your language, if the software prompts you for it.

A text-based version of the utility is installed automatically when you installthe utility. To start the text-based version, at a command prompt enter cdC:\Program Files\EMC\Unisphere Server Utility or cd C:\Program Files(x86)\EMC\Unisphere Server Utility, then enter ServerUtilCLI.exe.

Registering the server using the Unisphere Server Utility on a Windows server

1. If the host agent is running, stop the host agent service.

2. In the Unisphere Server Utility dialog box, select Register thisserver to all connected storage systems.

The utility automatically scans for all connected storage systemsand lists them under Connected Storage Systems.

3. Locate the WWN of the HBA you just installed. The HBA shouldappear once for every SP port to which it is connected.

If the Unisphere Server Utility does not list your storage processors, verifythat your server is properly connected and zoned to the storage systemports.

4. Click Next to register the server with the storage system.

The utility sends the server’s name and WWN of the each HBA toeach storage system. Once the server has storage on the storage

12 Adding a Fibre Channel HBA to a Windows Server with PowerPath

Page 16: Adding a NIC or HBA to a Server- Master 1429664

system, the utility also sends the device name and volume or filesystem information for each LUN (virtual disk) in the storagesystem that the server sees.

5. Click Finish to exit the utility.

6. If you stopped the host agent, restart it.

Adding a Fibre Channel HBA to a Windows Server with PowerPath 13

Page 17: Adding a NIC or HBA to a Server- Master 1429664

Setting storage-system failover values for the server initiators withNavisphere Manager

Use the Navisphere Manager Failover Setup wizard to set thestorage-system failover values for all HBA initiators belonging to theserver:

1. Start Navisphere Manager for the storage system.

2. In the Tools menu, click Failover Setup Wizard.

3. In the Start Wizard dialog box, read the introduction, and thenclick Next.

4. In the Select Host dialog box, select the server you just connected tothe storage system, and click Next.

5. In the Select Storage Systems dialog box, select the storage system,and click Next.

6. In the Specify Settings dialog box, set the following values for thetype of software running on the server.

IMPORTANT

If you enter incorrect values the storage system could becomeunmanageable and unreachable by the server, and the server’sfailover software could stop operating correctly.

If you have a Hyper-V or ESX server, set the storage-system failovervalues for the Hyper-V or ESX server.

For a Windows server or Windows virtual machine with PowerPath,set:

Initiator Type to CLARiiON Open

Array CommPath to Enabled

Failover Mode to 4 if your PowerPath version supports ALUA.

Failover Mode to 1 if your PowerPath version does not supportALUA.

14 Adding a Fibre Channel HBA to a Windows Server with PowerPath

Page 18: Adding a NIC or HBA to a Server- Master 1429664

For information on which versions of PowerPath support ALUA, referto the PowerPath release notes on the Powerlink website or to EMCKnowledgebase solution emc99467.

7. In Configuration Summary, review the configuration and allsettings.

8. If the settings are correct, click Next, and if the settings are incorrect,click Back until you return to the dialog box in which you need tore-enter the correct values.

If you clicked Next, the wizard displays a confirmation dialog box.

9. In the confirmation dialog box, click Yes.

The wizard displays a summary of the success of the operation toset the values for the storage system.

10. If the operation failed, rerun the Failover Setup Wizard again.

11. When the operation is successful, click Finish to close the wizard.

12. Reboot the server for the initiator records to take affect.

Adding a Fibre Channel HBA to a Windows Server with PowerPath 15

Page 19: Adding a NIC or HBA to a Server- Master 1429664

Verifying the registration of the HBA

Use Navisphere Manager to verify the registration of the HBA.

Verifying HBA registration with Navisphere Manager

1. From the Navisphere Manager Storage tree, right-click the icon forthe storage system for which you want to verify HBA registration,and click Connectivity Status.

The Connectivity Status dialog box opens.

2. Verify that the server to SP port connection is displayed as Yesunder the Registered columns.

If not, refer to the “Troubleshooting Flowcharts” section on theCLARiiON Tools page on the Powerlink website.

To access the CLARiiON Tools page, use the Navigator drop-down menuat the top right of the Powerlink home page.

Once all HBAs belonging to a server are registered, you can assignthe server to storage groups.

16 Adding a Fibre Channel HBA to a Windows Server with PowerPath

Page 20: Adding a NIC or HBA to a Server- Master 1429664

Assigning a server HBA to the storage group using NavisphereManager or CLI

You can assign all Fibre Channel HBAs, NICs, or iSCSI HBAs in aserver to a storage group using Navisphere Manager or CLI. If youwant to assign a specific Fibre Channel HBA, NIC, or iSCSI HBA in aserver to a storage group, you must use Navisphere CLI.

When you assign a server to a storage group, the server is:

Connected to the storage group through each server HBA, NIC, oriSCSI HBA port (initiator) that is connected to the storage system.In other words, if the server has two HBA ports and each port isconnected to one storage-system SP, the server has two connectionpaths to the storage group.

Disconnected from any other storage group in the storage systemto which it is connected.

For access security, a server can connect to only one storage group per storagesystem at a time. If you connect a server that already connects to a storagegroup to another storage group, the server will disconnect from the first storagegroup. When you disconnect a server from a storage group, the server can nolonger perform I/O to the first storage group.

Using Navisphere Manager to assign a server to a storage group

1. In the Navisphere Manager Storage tree, right-click the icon for thestorage group to which you want to connect a server, and then clickConnect Hosts. The Storage Group Properties - Hosts tab opens.

2. In Show Hosts, select which servers will display in the AvailableHosts list. Choices are Not connected or Include connected.

3. From Available Hosts, select the servers you want to connect to thisstorage group and then click the right arrow.

Adding a Fibre Channel HBA to a Windows Server with PowerPath 17

Page 21: Adding a NIC or HBA to a Server- Master 1429664

4. Click OK to connect the selected servers to the storage group. Allconnection paths from the server to the storage group are enabled.

Using Navisphere CLI to assign a storage group to the server or HBA

Use the Navisphere secure CLI command naviseccli storagegroup-connecthost to assign a storage group to all server initiators, includingHBA initiators, connected to the storage system, or the commandnaviseccli storagegroup -setpath to assign a storage group to a specificHBA in a server. For more information on these commands, refer to theEMC Navisphere Command Line Interface (CLI) Reference Guide.

18 Adding a Fibre Channel HBA to a Windows Server with PowerPath

Page 22: Adding a NIC or HBA to a Server- Master 1429664

Verifying that PowerPath for Windows servers or Windows virtualmachines sees all paths to the LUNs

IMPORTANT

If you have a Hyper-V or ESX server, perform this procedure on yourHyper-V or ESX server.

1. On the server, configure PowerPath:

powermt config

2. On the Windows taskbar, either double-click the PowerPathAdministrator icon or right-click the icon and select PowerPathAdministrator.

3. In the results pane, verify that the path metric for each LUN is n/nwhere n is the total number of paths to the LUN.

Adding a Fibre Channel HBA to a Windows Server with PowerPath 19

Page 23: Adding a NIC or HBA to a Server- Master 1429664

Verifying your high-availability Fibre Channel configuration

Use the server high-availability feature in the Unisphere Server Utilityto verify your Fibre Channel configuration is highly available (that is,each Fibre Channel HBA has at least one active path to each storageprocessor) and path management software is installed and running onthe server.

IMPORTANT

If you have a Windows virtual machine, for a complete configurationreport, run the server utility from the Windows Hyper-V server.

Starting the Unisphere Server Utility on a Windows server

1. Run the Unisphere Server Utility by selecting Start > Programs> EMC > Unisphere > Unisphere Server Utility or Start > AllPrograms > EMC > Unisphere > Unisphere Server Utility.

2. Select your language, if the software prompts you for it.

A text-based version of the utility is installed automatically when you installthe utility. To start the text-based version, at a command prompt enter cdC:\Program Files\EMC\Unisphere Server Utility or cd C:\Program Files(x86)\EMC\Unisphere Server Utility, then enter ServerUtilCLI.exe.

Using the server utility to verify your high-availability configuration

1. From the Unisphere Server Utility’s Welcome screen, select VerifyServer High-Availability.

2. Select Valid Server Configuration only.

3. In the Select Host Type screen, select Local host and click Next.

4. In the Select Report Directory screen, select the location whereyou want the system to save the high-availability status report.Click Next.

5. Read the summary and if it is accurate, click Next to generate thereport. If not, click Back to return to the screen where you needto correct the data.

20 Adding a Fibre Channel HBA to a Windows Server with PowerPath

Page 24: Adding a NIC or HBA to a Server- Master 1429664

The utility determines if the server is configured for high availabilityby verifying that the server has at least one connection path toeach storage-system SP, and that PowerPath or some other failoversoftware, such as DMP, is running. It does not detect native failoversoftware.

6. Review and resolve any issues reported on the Issues tab of thegenerated report.

Adding a Fibre Channel HBA to a Windows Server with PowerPath 21

Page 25: Adding a NIC or HBA to a Server- Master 1429664

Copyright © 2008 – 2010 EMC Corporation. All Rights Reserved.

EMC believes the information in this publication is accurate as of its publication date. Theinformation is subject to change without notice.

THE INFORMATION IN THIS PUBLICATION IS PROVIDED "AS IS." EMC CORPORATIONMAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TOTHE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIEDWARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Use, copying, and distribution of any EMC software described in this publication requires anapplicable software license.

For the most up-to-date regulatory document for your product line, go to the TechnicalDocumentation and Advisories section on EMC Powerlink.

For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks onEMC.com.

All other trademarks mentioned herein are the property of their respective owners.

22 Adding a Fibre Channel HBA to a Windows Server with PowerPath