28

ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

  • Upload
    doannhu

  • View
    250

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide
Page 2: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide
Page 3: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

P

Preface

This document briefly explains the operations that need to be performed by the user in order toconnect an ETERNUS2000 model 100 or 200, ETERNUS4000 model 300, 400, 500, or 600, orETERNUS8000 model 700, 800, 900, 1100, 1200, 2100, or 2200 Disk storage system to aserver running Linux via an FCoE interface.

This document should be used in conjunction with any other applicable user manuals, such asthose for the ETERNUS2000 model 100 or 200, ETERNUS4000 model 300, 400, 500, or 600, orETERNUS8000 model 700, 800, 900, 1100, 1200, 2100, or 2200 Disk storage system, server,OS used, Converged Network Adapter cards, drivers, etc.Note that this manual refers the following documents.

• Server Support Matrix• Server Support Matrix for CEE/FCoE-SWITCH-Linux• ETERNUS Disk storage systems Server Connection Guide (Fibre Channel)

ETERNUS Disk Storage System Settings• ETERNUS Disk storage systems Server Connection Guide (Fibre Channel)

Fibre Channel Switch Settings• ETERNUS Disk storage systems Server Connection Guide (Fibre Channel) for Linux

device-mapper multipath• ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

- Driver Settings for PRIMERGY Converged Network Adapter Cards- Driver Settings for Red Hat Enterprise Linux on Other Brand Servers with Emulex

Converged Network Adapter Cards- Driver Settings for SUSE Linux Enterprise Server on Other Brand Servers with Emulex

Converged Network Adapter Cards• Converged Enhanced Ethernet Administrator’s Guide• Fabric OS Administrator’s Guide• ETERNUSmgr Install Guide• ETERNUSmgr User Guide

Also, note that in this document the ETERNUS2000 models 100 and 200, ETERNUS4000models 300, 400, 500, and 600, and ETERNUS8000 models 700, 800, 900, 1100, 1200, 2100,and 2200 Disk storage systems are collectively referred to as ETERNUS Disk storage systems.

First EditionDecember 2010

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

3 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 4: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Preface

P

The Contents and Structure of this Manual

This document is composed of the following 11 chapters.

• Chapter 1 Workflow

This describes how to connect the ETERNUS Disk storage systems to a server runningLinux.

• Chapter 2 Checking the Server Environment

This describes which servers can be connected to ETERNUS Disk storage systems.

• Chapter 3 Notes

This describes issues that should be noted when connecting the ETERNUS Disk storagesystems and server.

• Chapter 4 Installing and Setting Up the ETERNUSmgr

This describes how to install ETERNUSmgr.

• Chapter 5 Setting Up the ETERNUS Disk Storage Systems

This describes how to use ETERNUSmgr to set up the ETERNUS Disk storage systems.

• Chapter 6 Setting the Fibre Channel Switches and the CEE/FCoE Switches

This describes how to set up Fibre Channel switches and CEE/FCoE switches.

• Chapter 7 Installing and Setting Up the Drivers

This describes how to install the Converged Network Adapter card drivers and set up theserver.

• Chapter 8 Connecting the Server to the ETERNUS Disk Storage Systems

This describes how to connect the server and ETERNUS Disk storage systems.

• Chapter 9 Logical Unit Recognition

This describes how to recognize the ETERNUS Disk storage system logical units from server.

• Chapter 10 Setting Up and Checking the Multipath Driver

This describes how to set up and check the ETERNUS Multipath Driver.

• Chapter 11 Setting Up the File System

This describes how to create a file system on the ETERNUS Disk storage systems.

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

4 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 5: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Preface

P

Safe Use of this Product

■ Using this manual

This manual contains important information to ensure the safe use of this product. Be sure tothoroughly read and understand its contents before using the product. After reading, store thismanual in a safe place for future reference.FUJITSU has made every effort to ensure the safety of the users and other personnel, and toprevent property damage. When using this product, carefully follow the instructions described inthis manual.

Acknowledgments

• Emulex is a trademark of Emulex Corp.• Linux is a trademark or registered trademark of Linus Torvalds in the USA and other

countries.• Red Hat, PRM, and all Red Hat-based trademarks and logos are trademarks or registered

trademarks of Red Hat, Inc. in the USA and other countries.• SUSE is a registered trademark of SUSE Linux AG., a subsidiary of Novell, Inc.• The company names, product names and service names mentioned in this document are

registered trademarks or trademarks of their respective companies.

Naming Conventions

■ Product Names

• Red Hat Enterprise Linux series products are as described below."xxx" in the following table indicates an architecture name (example: x86), and "x" indicates a version number.

Product Names Abbreviation

Red Hat Enterprise Linux RHEL

Red Hat Enterprise Linux 5 RHEL5

Red Hat Enterprise Linux 5.x RHEL5.x

Red Hat Enterprise Linux 5 (for xxx) RHEL5 (xxx)

Red Hat Enterprise Linux 5.x (for xxx) RHEL5.x (xxx)

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

5 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 6: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Preface

P

• SUSE Linux Enterprise Server series products are as described below."xxx" in the following table indicates an architecture name (example: x86), and "x" indicates a version number.

■ Other names

• "Channel Adapter" (CA) refers to the Fibre Channel interface module used in the ETERNUS Disk storage systems to connect to the server.

• "Converged Network Adapter card" refers to the FCoE interface module normally used in the server.

• "Fibre Channel cable" refers to the cable that is used to connect the ETERNUS Disk storage systems and server via a Fibre Channel interface. "FC cable", "optical fibre cable", or "multi mode Fibre Channel cable" may be used instead, depending on the storage system.

• Italics are used to show variables such as values and characters that appear in command parameters and output examples.

Copyright 2010 FUJITSU LIMITED

Product Names Abbreviation

SUSE Linux Enterprise Server SLES

SUSE Linux Enterprise Server 11 SLES11

SUSE Linux Enterprise Server 11 Service Packx SLES11 SPx

SUSE Linux Enterprise Server 11 for xxx SLES11 (xxx)

SUSE Linux Enterprise Server 11 Service Packx for xxx SLES11 SPx (xxx)

SUSE Linux Enterprise Server 10 SLES10

SUSE Linux Enterprise Server 10 Service Packx SLES10 SPx

SUSE Linux Enterprise Server 10 for xxx SLES10 (xxx)

SUSE Linux Enterprise Server 10 Service Packx for xxx SLES10 SPx (xxx)

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

6 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 7: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

P

Contents

Chapter 1 Workflow ...................................................................................9

Chapter 2 Checking the Server Environment........................................132.1 Server Hardware .............................................................................................. 132.2 Server OS ........................................................................................................ 132.3 Converged Network Adapter Cards ................................................................. 132.4 ETERNUS Multipath Driver .............................................................................. 142.5 device-mapper multipath .................................................................................. 14

Chapter 3 Notes .......................................................................................153.1 Connection Notes ............................................................................................. 15

3.1.1 SCSI Devices and Linux ............................................................................................................ 153.2 Converged Network Adapter Card Notes ......................................................... 153.3 Fibre Channel Switch and CEE/FCoE Switch Notes ....................................... 163.4 Server Startup and Power Supply Control Notes ............................................. 163.5 Design Sheet Notes ......................................................................................... 163.6 Notes on Connecting the ETERNUS Disk Storage System to a Server .......... 16

Chapter 4 Installing and Setting Up the ETERNUSmgr........................17

Chapter 5 Setting Up the ETERNUS Disk Storage Systems ................18

Chapter 6 Setting the Fibre Channel Switches and the CEE/FCoE Switches..................................................................................19

Chapter 7 Installing and Setting Up the Drivers ...................................20

Chapter 8 Connecting the Server to the ETERNUS Disk Storage Systems...................................................................................21

Chapter 9 Logical Unit Recognition .......................................................229.1 Displaying the Recognized Logical Units ......................................................... 22

9.1.1 For Red Hat Enterprise Linux .................................................................................................... 229.1.2 For SUSE Linux Enterprise Server ............................................................................................ 24

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

7 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 8: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Contents

P

Chapter 10 Setting Up and Checking the Multipath Driver ....................2510.1 ETERNUS Multipath Driver .............................................................................. 2510.2 device-mapper multipath .................................................................................. 25

Chapter 11 Setting Up the File System ....................................................26

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

8 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 9: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 1 Workflow

P

This chapter describes how to connect the ETERNUS Disk storage system to a server runningLinux.Procedure varies according to whether a single-path or multipath configuration is used.

The workflow is shown below.

Usable Multipath Drivers

• ETERNUS Multipath Driver• device-mapper multipath

Required Documents

• Server Support Matrix• Server Support Matrix for CEE/FCoE-SWITCH-Linux• ETERNUS Disk storage systems Server Connection Guide (Fibre Channel)

ETERNUS Disk Storage System Settings• ETERNUS Disk storage systems Server Connection Guide (Fibre Channel)

Fibre Channel Switch Settings• ETERNUS Disk storage systems Server Connection Guide (Fibre Channel) for Linux

device-mapper multipath• ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux (This manual)

- Driver Settings for PRIMERGY Converged Network Adapter Cards- Driver Settings for Red Hat Enterprise Linux on Other Brand Servers with Emulex

Converged Network Adapter Cards- Driver Settings for SUSE Linux Enterprise Server on Other Brand Servers with Emulex

Converged Network Adapter Cards• Converged Enhanced Ethernet Administrator’s Guide• Fabric OS Administrator’s Guide• ETERNUSmgr Install Guide• ETERNUSmgr User Guide• Other manuals provided with each product (server, Converged Network Adapter card,

Converged Network Adapter card driver, and Multipath Driver)

When a Fibre Channel switch and a CEE/FCoE switch are used to makethe connection, refer to "ETERNUS Disk storage systems ServerConnection Guide (Fibre Channel) Fibre Channel Switch Settings" or"Converged Enhanced Ethernet Administrator’s Guide" and "Fabric OSAdministrator’s Guide" and use the procedure described.

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

9 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 10: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 1 Workflow >

P

Workflow

Install ETERNUSmgr and Set Up the ETERNUS Disk Storage SystemIf the ETERNUSmgr is to be used, install it and set up the ETERNUS Disk storage system.

Refer

- "Chapter 4 Installing and Setting Up the ETERNUSmgr" (page 17)- "Chapter 5 Setting Up the ETERNUS Disk Storage Systems" (page 18)- Install ETERNUSmgr.

• "ETERNUSmgr Install Guide"- Check ETERNUSmgr operation.

• "ETERNUSmgr User Guide"- Set up the ETERNUS Disk storage system.

• "ETERNUS Disk storage systems Server Connection Guide (Fibre Channel) ETERNUS Disk Storage System Settings"

Set Up the Fibre Channel Switch and the CEE/FCoE SwitchIf a Fibre Channel switch and a CEE/FCoE switch are to be used, set them up.

Refer

- "Chapter 6 Setting the Fibre Channel Switches and the CEE/FCoE Switches" (page 19)

- Set up the Fibre Channel switch and the CEE/FCoE switch.• "ETERNUS Disk storage systems Server Connection Guide (Fibre Channel)

Fibre Channel Switch Settings"• "Converged Enhanced Ethernet Administrator’s Guide"• "Fabric OS Administrator’s Guide"

- Check the FCoE connection requirements.• "Server Support Matrix for CEE/FCoE-SWITCH-Linux"

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

10 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 11: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 1 Workflow >

P

Install the Converged Network Adapter Card DriverInstall the appropriate driver for the Converged Network Adapter card being used.Applicable manual varies according to the server, OS, and Converged Network Adapter card type being used. Select from the following list.

Refer

- "Chapter 7 Installing and Setting Up the Drivers" (page 20)- Mount cards, install drivers, and perform setup.

• "Driver Settings for PRIMERGY Converged Network Adapter Cards"- Mount cards, install drivers, and perform setup.

• "Driver Settings for Red Hat Enterprise Linux on Other Brand Servers with Emulex Converged Network Adapter Cards"

- Mount cards, install drivers, and perform setup.• "Driver Settings for SUSE Linux Enterprise Server on Other Brand Servers with

Emulex Converged Network Adapter Cards"- Check the Converged Network Adapter card driver versions.

• "Server Support Matrix"

When the ETERNUS Multipath Driver is used When the device-mapper multipath is used or

when the ETERNUS Multipath Driver is not used

Install ETERNUS Multipath DriverInstall ETERNUS Multipath Driver.

Refer

- "Chapter 10 Setting Up and Checking the Multipath Driver" (page 25)

- Install and set up the Multipath Driver.• Manuals provided with the

Multipath Driver- Check the corresponding Multipath

Driver.• "Server Support Matrix"

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

11 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 12: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 1 Workflow >

P

Connect the Server to the ETERNUS Disk Storage SystemsConnect the server and the ETERNUS Disk storage systems using the Fibre Channel cables.

Refer

- "Chapter 8 Connecting the Server to the ETERNUS Disk Storage Systems" (page 21)

Set the Server to Recognize the Logical UnitsSet up the server so that it can recognize the ETERNUS Disk storage systems’ LUN (logical units).

Refer

- "Chapter 9 Logical Unit Recognition" (page 22)

When the ETERNUS Multipath Driver is used or

when the device-mapper multipath is not used

When the device-mapper multipath is used

Set Up the device-mapper multipathSet up and confirm the device-mapper multipath.

Refer

- "Chapter 10 Setting Up and Checking the Multipath Driver" (page 25)

- Set up the device-mapper multipath.• "ETERNUS Disk storage systems

Server Connection Guide (Fibre Channel) for Linux device-mapper multipath"

Create a File SystemCreate a file system.

Refer

- "Chapter 11 Setting Up the File System" (page 26)

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

12 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 13: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 2 Checking the Server Environment

P

Refer to the "Server Support Matrix" to check the server environment.

2.1 Server Hardware

Refer to the "Server Support Matrix".

2.2 Server OS

Refer to the "Server Support Matrix".

2.3 Converged Network Adapter Cards

Refer to the "Server Support Matrix".

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

13 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 14: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 2 Checking the Server Environment > 2.4 ETERNUS Multipath Driver

P

2.4 ETERNUS Multipath Driver

Refer to the "Server Support Matrix" for ETERNUS Multipath Driver usage conditions.

2.5 device-mapper multipath

Refer to the "Server Support Matrix" for device-mapper multipath usage conditions.

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

14 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 15: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 3 Notes

P

Note the following issues when performing the relevant operation.

3.1 Connection Notes

3.1.1 SCSI Devices and Linux

The ETERNUS Disk storage systems are recognized by the server as a set of Fibre Channelconnected SCSI disks. The server then recognizes the ETERNUS Disk storage systems’ disksas LUN (logical units). For Linux, SCSI disk devices have the following definitions in "/dev":

3.2 Converged Network Adapter Card Notes

When a Converged Network Adapter card is installed in the server after installation of the OS, itshould be automatically recognized the next time the OS is restarted. Proceed as follows when aresponse is requested:

• Red Hat Enterprise LinuxThe kudzu starts automatically during the system reboot. Select "Ignore".

• SUSE Linux Enterprise ServerThe "New hardware detection" window appears during the system reboot. Select "No".

Device (LUN) Partition

sda sda1, sda2,. . . . sda15sdb sdb1, sdb2,. . . . sdb15 :sdz sdzl, sdz2,. . . . sdz15sdaa-sdaz sdaa1, sdaa2,. . . . sdaz15sdba-sdbz sdba1, sdba2,. . . . sdbz15sdca-sdcz sdca1, sdca2,. . . . sdcz15sdda-sddx sdda1, sdda2,. . . . sddx15 :sdia-sdiv sdia1, sdia2,. . . . sdiv15

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

15 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 16: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 3 Notes > 3.3 Fibre Channel Switch and CEE/FCoE Switch Notes

P

3.3 Fibre Channel Switch and CEE/FCoE Switch Notes

When using a Fibre Channel switch and a CEE/FCoE switch between the server and ETERNUSDisk storage systems, it is necessary to prepare and set the Fibre Channel switch and the CEE/FCoE switch in advance. When using a Fibre Channel switch and a CEE/FCoE switch, be sureto read the "ETERNUS Disk storage systems Server Connection Guide (Fibre Channel) FibreChannel Switch Settings" or "Converged Enhanced Ethernet Administrator’s Guide" and "FabricOS Administrator’s Guide".

3.4 Server Startup and Power Supply Control Notes

Before turning the server on, check that the ETERNUS Disk storage systems, Fibre Channelswitches, and CEE/FCoE switches are all "Ready". If the server is turned on and they are not"Ready", the server will not be able to recognize the ETERNUS Disk storage systems.Also, when the ETERNUS Disk storage system power supply is being controlled by a connectedserver, make sure that the ETERNUS Disk storage system does not shut down before the con-nected servers. Similarly, the Fibre Channel switches and the CEE/FCoE switches must also beturned off after the connected servers have been shut down. If turned off, data writes from the running server cannot be saved to the ETERNUS Disk storagesystems, and already saved data may also be affected.

3.5 Design Sheet Notes

The design sheet is a spreadsheet program work sheet that is used to simplify the process ofinstalling the ETERNUS Disk storage systems.It is important to save the current environment after first installing the system and also after eachpost installation system modification, addition, or maintenance operation. Creating a designsheet makes installation and maintenance of the system easy.

3.6 Notes on Connecting the ETERNUS Disk Storage System to a Server

When connecting the ETERNUS Disk storage system to a server using a Fibre Channel cable,make sure to confirm that all the settings on the ETERNUS Disk storage system are complete.The WWN Automatic Acquisition function should not be used because it requires the server to beconnected.Otherwise, LUNs in the ETERNUS Disk storage system may not be recognized properly.

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

16 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 17: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 4 Installing and Setting Up the ETERNUSmgr

P

If ETERNUSmgr is to be used, install it according to the directions given in the "ETERNUSmgrInstall Guide". After the installation, set up ETERNUSmgr following the instructions in the "ETER-NUSmgr User Guide".

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

17 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 18: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 5 Setting Up the ETERNUS Disk Storage Systems

P

Set up the ETERNUS Disk storage systems using ETERNUSmgr.

ETERNUS Disk storage systems' setup can be performed independently of server setup.For details on how to perform these settings, refer to the "ETERNUS Disk storage systemsServer Connection Guide (Fibre Channel) ETERNUS Disk Storage System Settings" and"ETERNUSmgr User Guide".

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

18 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 19: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 6 Setting the Fibre Channel Switches and the CEE/FCoE Switches

P

This chapter describes about the required settings for connecting ETERNUS Disk storagesystem via Fibre Channel switches and CEE/FCoE switches.

Set the Fibre Channel switches and the CEE/FCoE switches according to "ETERNUS Diskstorage systems Server Connection Guide (Fibre Channel) Fibre Channel Switch Settings" or"Converged Enhanced Ethernet Administrator’s Guide" and "Fabric OS Administrator’s Guide".

When setting the access path using the ETERNUS SF Storage Cruiser,Host Response No. will be set to default values.Set the Host Response No. after setting the access path using theETERNUS SF Storage Cruiser.

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

19 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 20: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 7 Installing and Setting Up the Drivers

P

Install the Converged Network Adapter card driver, and set up the server environment.

Refer to each "ETERNUS Disk storage systems Server Connection Guide (FCoE) for LinuxDriver Settings" for detailed setting procedures.

• ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux- Driver Settings for PRIMERGY Converged Network Adapter Cards- Driver Settings for Red Hat Enterprise Linux on Other Brand Servers with Emulex

Converged Network Adapter Cards- Driver Settings for SUSE Linux Enterprise Server on Other Brand Servers with Emulex

Converged Network Adapter Cards

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

20 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 21: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 8 Connecting the Server to the ETERNUS Disk Storage Systems

P

After all the required drivers have been installed, shut down the OS and make sure the server isturned off.Connect the shutdown server to the ETERNUS Disk storage systems using Fibre Channelcables, then restart the OS.The server and ETERNUS Disk storage systems must be connected for the procedures that fol-low.

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

21 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 22: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 9 Logical Unit Recognition

P

At boot up, Linux automatically recognizes all SCSI disks and assigns them successive devicenames starting from "sda". When assigning the device names, any internal SCSI disks areassigned first, followed by the assignment of the ETERNUS Disk storage systems' LUNs. Exam-ple: If there is one internal SCSI disk, it is assigned a SCSI device name as follows:

9.1 Displaying the Recognized Logical Units

The driver version and information of each LUN's SCSI device name, etc. are displayed in theconsole message when Linux is booted up. Although this console message disappears soonfrom the screen, it can be re-displayed using the following command:

9.1.1 For Red Hat Enterprise Linux

The driver version and information of each LUN's SCSI device name, etc. are displayed in theconsole message when Linux is booted up. Although this console message disappears soonfrom the screen, it can be re-displayed using the following command:

SCSI device name by-id name (Example) Explanation

/dev/sda /dev/disk/by-id/scsi-36003005700ac3fc013746ef6315e42c4 Internal SCSI disk

/dev/sdb or later

/dev/disk/by-id/scsi-3600000e00d0000000000042200000000/dev/disk/by-id/scsi-3600000e00d0000000000042200010000

:

ETERNUS Disk storage systems' LUN

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

22 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 23: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 9 Logical Unit Recognition > 9.1 Displaying the Recognized Logical Units

P

• "dmesg" command for LUN displayUse the "dmesg" command in order to confirm whether Linux has recognized the LUNs in theETERNUS Disk storage systems.The following shows an example:

• "cat" command for LUN displayUse the "cat" command to display the "/proc/scsi/scsi" file, where you can confirm therecognized SCSI devices.The following shows an example of this.

At this point the Multipath Driver has not been set up yet, so two SCSI devices are shown foreach connected LUN (i.e. if there are 3 LUNs, 6 SCSI devices are shown).

#dmemsg|less :Emulex LightPulse FC SCSI/IP 4.21qPCI:Found IRQ 10 for device 03:06.0!lpfc0:031:Link Up Event received Data:1 1 1 2PCI:Found IRQ 5 for device 04:02.0IRQ routing conflict for 04:02.0,have irq 10,want irq 5!lpfc0:031:Link Up Event received Data:1 1 1 2scsi3:Emulex LPFC SCSI on PCI bus 03 device 30 irq 10scsi4:Emulex LPFC SCSI on PCI bus 04 device 10 irq 10Vender: FUJITSU Model: E4000 Rev: 0000Type: Direct-Access ANSI SCSI revision: 03Vender: FUJITSU Model: E4000 Rev: 0000Type: Direct-Access ANSI SCSI revision: 03

# cat /proc/scsi/scsi Attached devices:Host: scsi2 Channel: 00 Id: 05 Lun: 00Vender: HP Model: SAFTE; U160/M BP Rev: 1023Type: processor ANSI SCSI revision: 02Host: scsi2 Channel: 02 Id: 00 Lun: 00Vender: MegaRAID Model: LD0 RAID0 8677R Rev: EType: Direct-Access ANSI SCSI revision: 02Host: scsi3 Channel: 00 Id: 00 Lun: 00Vender: FUJITSU Model: E4000 Rev: 0000Type: Direct-Access ANSI SCSI revision: 03Host: scsi3 Channel: 00 Id: 00 Lun: 01Vender: FUJITSU Model: E4000 Rev: 0000Type: Direct-Access ANSI SCSI revision: 03

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

23 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 24: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 9 Logical Unit Recognition > 9.1 Displaying the Recognized Logical Units

P

9.1.2 For SUSE Linux Enterprise Server

• Checking for LUNs in the boot messageOpen the /var/log/boot.msg file to confirm that Linux has recognized the ETERNUS Diskstorage systems' LUNs.The following shows an example (Messages can be scrolled (back and forth) using the arrowkeys).

• Checking for LUNs with the "cat" commandUse the "cat" command to display the "/proc/scsi/scsi" file, which contains a list of recognizedSCSI devices.The following shows an example of this.

At this point the Multipath Driver has not been set up yet, so two SCSI devices are shown foreach connected LUN (i.e. if there are 3 LUNs, 6 SCSI devices are shown).

<6>sd 3:0:0:32: reservation conflict<6>sd 3:0:0:32: reservation conflict<6>sd 3:0:0:32: reservation conflict<4>sdcc: test WP failed, assume Write Enabled<6>sd 3:0:0:32: reservation conflict<3>sdcc: asking for cache data failed<3>sdcc: assuming drive cache: write through<6> sdcc: sdcb3 sdcb8<4> sdcc3 sdcc8<5>sd 4:0:0:32: Attached scsi disk sdcb<5>sd 3:0:0:32: Attached scsi disk sdcc<5>sd 3:0:0:32: Attached scsi generic sg79 type 0<5>sd 4:0:0:32: Attached scsi generic sg80 type 0<5> Vendor: FUJITSU Model: E2000 Rev: 0000<5> Type: Direct-Access ANSI SCSI revision: 05<5> Vendor: FUJITSU Model: E2000 Rev: 0000<5> Type: Direct-Access ANSI SCSI revision: 05<5>SCSI device sdcd: 2097152 512-byte hdwr sectors (1074 MB)<6>sd 5:0:0:14: reservation conflict<6>sd 5:0:0:14: reservation conflict<6>sd 5:0:0:14: reservation conflict<4>sdcd: test WP failed, assume Write Enabled<6>sd 5:0:0:14: reservation conflict<3>sdcd: asking for cache data failed<3>sdcd: assuming drive cache: write through<5>SCSI device sdcd: 2097152 512-byte hdwr sectors (1074 MB)

# cat /proc/scsi/scsi Attached devices:Host: scsi0 Channel: 00 Id: 04 Lun: 00

Vender: FUJITSU Model: MAP3735NC Rev: 5207Type: Direct-Access ANSI SCSI revision: 03

Host: scsi0 Channel: 00 Id: 08 Lun: 00Vender: SDR Model: GEM318 Rev: 0Type: Processor ANSI SCSI revision: 02

Host: scsi1 Channel: 00 Id: 05 Lun: 00Vender: SEAGATE Model: DAT 9SP40-000 Rev: 9M38Type: Sequential-Access ANSI SCSI revision: 03

Host: scsi2 Channel: 00 Id: 00 Lun: 00Vender: FUJITSU Model: E4000 Rev: 0000Type: Direct-Access ANSI SCSI revision: 05

Host: scsi2 Channel: 00 Id: 00 Lun: 01Vender: FUJITSU Model: E4000 Rev: 0000Type: Direct-Access ANSI SCSI revision: 05

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

24 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 25: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 10 Setting Up and Checking the Multipath Driver

P

10.1 ETERNUS Multipath Driver

Refer to the "ETERNUS Multipath Driver" manual for the setup and confirmation procedures.

10.2 device-mapper multipath

Set up and confirm the device mapper multipaths.Refer to the "ETERNUS Disk storage systems Server Connection Guide (Fibre Channel) forLinux device-mapper multipath" for the setup and confirmation procedures.

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

25 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 26: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

Chapter 11 Setting Up the File System

P

After Linux has recognized the ETERNUS Disk storage systems' LUNs, access for data storagewill be possible after completing the following steps:

• Setting up Partitions• Formatting Partitions• Mounting Partitions

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

26 Copyright 2010 FUJITSU LIMITED

3AM-4712-01ENZ0

Page 27: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide

• The contents of this manual are liable to being updated without notice.• While the contents of this manual are the product of all due care and diligence, no

responsibility can be accepted for operational problems arising from any errors or missing information, or other use of the information contained in this manual.

• Fujitsu assumes no liability for damages to third party copyrights or other rights arising from the use of any information in this manual.

• Contents of this manual are not to be reproduced without permission from Fujitsu.

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

P3AM-4712-01ENZ0

Date of issuance: December 2010Issuance responsibility: FUJITSU LIMITED

Page 28: ETERNUS Disk storage systems Server Connection Guide …storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-4712... · ETERNUS Disk storage systems Server Connection Guide