iSCSI Boot for PRIMERGY Servers with Intel Network...

48
iSCSI Boot for PRIMERGY Servers with Intel Network Controllers Installation and Configuration with Linux ® June 2015

Transcript of iSCSI Boot for PRIMERGY Servers with Intel Network...

iSCSI Boot for PRIMERGY Servers with Intel Network Controllers Installation and Configuration with Linux®

June 2015

Copyright and Trademarks

Comments… Suggestions… Corrections…The User Documentation Department would like toknow your opinion of this manual. Your feedback helpsus optimize our documentation to suit your individual needs.

Feel free to send us your comments by e-mail to [email protected].

Certified documentation according to DIN EN ISO 9001:2008To ensure a consistently high quality standard anduser-friendliness, this documentation was created tomeet the regulations of a quality management system which complies with the requirements of the standardDIN EN ISO 9001:2008.

cognitas. Gesellschaft für Technik-Dokumentation mbHwww.cognitas.de

Copyright © 2015 Fujitsu Technology Solutions GmbH.

All rights reserved.

Delivery subject to availability; right of technical modifications reserved.

All hardware and software names used are trademarks of their respective manufacturers.

iSCSI Boot with Intel Controllers (Linux)

Contents

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2 iSCSI Boot with SuSE Linux Enterprise Server 11 SP 3/11 SP4 / 12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.1 Installation Overview . . . . . . . . . . . . . . . . . . . . . . . 9

2.2 iSCSI Boot with Linux . . . . . . . . . . . . . . . . . . . . . . 9

2.3 Installing SLES on an iSCSI Target . . . . . . . . . . . . . . 10

3 iSCSI Boot with Red Hat Enterprise Linux 6.5 and 6.6 . . . . 15

3.1 Installation Overview . . . . . . . . . . . . . . . . . . . . . . 15

3.2 iSCSI Boot with Linux . . . . . . . . . . . . . . . . . . . . . 15

3.3 Installing Red Hat Enterprise Linux 6.5 and 6.6 on an iSCSI Target . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

4 iSCSI Boot with Red Hat Enterprise Linux 7.1 . . . . . . . . 19

4.1 Installation Overview . . . . . . . . . . . . . . . . . . . . . . 19

4.2 iSCSI Boot with Linux . . . . . . . . . . . . . . . . . . . . . 19

4.3 Installing Red Hat Enterprise Linux 7.1 on an iSCSI Target . 20

5 Intel iSCSI Boot Configuration Utility . . . . . . . . . . . . . 23

5.1 iSCSI Boot Configurations in Legacy Mode . . . . . . . . . 235.1.1 Configuring Controller for iSCSI Boot . . . . . . . . . . . . . . 235.1.1.1 Activating the Option ROM Scan . . . . . . . . . . . . . . . 235.1.1.2 Configuring Network Controller for iSCSI Boot . . . . . . . . 245.1.2 Intel iSCSI Boot Configuration Utility . . . . . . . . . . . . . . 255.1.2.1 iSCSI Port Selection Menu . . . . . . . . . . . . . . . . . . 255.1.2.2 iSCSI Port Configuration Menu . . . . . . . . . . . . . . . 265.1.2.3 iSCSI Boot Configuration Menu . . . . . . . . . . . . . . . 27

iSCSI Boot with Intel Controllers (Linux)

Contents

5.1.2.4 iSCSI CHAP Configuration Menu . . . . . . . . . . . . . . . 295.1.3 Checking the Connection . . . . . . . . . . . . . . . . . . . . . 31

5.2 iSCSI Boot Configurations in UEFI Mode . . . . . . . . . . . 325.2.1 Configuring Controller for iSCSI Boot . . . . . . . . . . . . . . . 325.2.2 Configuring Network Controller for iSCSI Boot . . . . . . . . . . 335.2.2.1 iSCSI Boot Configuration Menu . . . . . . . . . . . . . . . . 335.2.2.2 iSCSI CHAP Configuration . . . . . . . . . . . . . . . . . . 375.2.3 Checking the Connection and Preparing for Installation . . . . . 395.2.3.1 Checking the Connection . . . . . . . . . . . . . . . . . . . 395.2.3.2 Preparing the Operating System Installation . . . . . . . . . 39

6 Configuring a DHCP Server . . . . . . . . . . . . . . . . . . . 41

7 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . 43

Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

iSCSI Boot with Intel Controllers (Linux) 5

1 Introduction

iSCSI (Internet SCSI) is a protocol for linking servers and data storage facilities, similar to the Fibre Channel Protocol (FCP). iSCSI means “SCSI over Internet Protocol”. iSCSI boot allows a server to be booted remotely from a drive in an iSCSI-based Storage Area Network (SAN).

Bild 1: iSCSI connection

This manual describes how to configure a PRIMERGY server equipped with Intel network controllers for iSCSI boot, focusing on the following issues:

● Configuring the system BIOS and network controllers

● Associating an iSCSI initiator with the iSCSI target

● Recording the iSCSI target name, TCP port number, iSCSI LUN, and authentication details

6 iSCSI Boot with Intel Controllers (Linux)

Introduction

Configuring the iSCSI Target

Configuration of the iSCSI target varies according to the iSCSI target vendor. In this document the various vendors cannot be covered in detail. The general steps include:

● Creating an iSCSI target

● Associating an iSCSI initiator with the iSCSI target

● Recording the iSCSI target name, TCP port number, iSCSI LUN, and authentication details

Refer to the iSCSI target vendor’s documentation for the specific steps associated with the selected iSCSI target device. After the target has been configured the following information should be collected from the target:

● The iSCSI target IQN

● The iSCSI target IP address

● The iSCSI target TCP port number

● The iSCSI target CHAP ID & secret

The exact configuration process of a PRIMERGY server for iSCSI depends on the operating system.

References

RFC 3720, “Internet Small Computer Systems Interface (iSCSI)”, http://www.ietf.org/rfc/rfc3720.txt

RFC 4173, “Bootstrapping Clients using the Internet Small Computer System Interface (iSCSI) Protocol”, http://www.ietf.org/rfc/rfc4173.txt

Please begin by finding out about the requirements of your PRIMERGY system as well as those of the Intel controllers you use.

I iSCSI via IPv4 is used in this document. It is also possible to use IPv6.

iSCSI Boot with Intel Controllers (Linux) 7

Introduction

Supported network adapters for iSCSI

Installation via ServerView is also supported for these adapters. However, an installation of this type is not possible for onboard LAN cards.

Model FTS Code No. Part No.

Fujitsu Dual Port 10G Adapter D2755

S26361-F3629-E2/E202 A3C40120708

Intel X540-T Dual Port 10GBase-T Network Adapter

S26361-F3752-E2/E202 A3C40157065

8 iSCSI Boot with Intel Controllers (Linux)

Introduction

iSCSI Boot with Intel Controllers (Linux) 9

2 iSCSI Boot with SuSE Linux Enterprise Server 11 SP 3/11 SP4 / 12

This chapter describes how to configure your server with SuSE Linux Enterprise Server (SLES) 11 SP3 / 11 SP4/ 12 to support iSCSI boot with Intel LAN controllers.

2.1 Installation Overview

The following steps are necessary to configure a system to support iSCSI boot processes under SuSE Linux:

● Configuring the iSCSI Target (for general information, see the similarly named section on page 6. For further information, please see the documentation provided by the iSCSI target manufacturer.)

● "iSCSI Boot with Linux" on page 9

● "Installing SLES on an iSCSI Target" on page 10

All these steps are described in detail in this document with appropriate examples.

2.2 iSCSI Boot with Linux

iSCSI boot is possible both in legacy mode and in UEFI mode.

If you want to perform the iSCSI boot in legacy mode, follow the information for configuring the LAN controllers in section "iSCSI Boot Configurations in Legacy Mode" on page 23.

If you want to perform the iSCSI boot in UEFI mode, refer to the information for configuring the LAN controllers in section "iSCSI Boot Configurations in UEFI Mode" on page 32.

10 iSCSI Boot with Intel Controllers (Linux)

Installing SLES on an iSCSI Target

2.3 Installing SLES on an iSCSI Target

I For an operating system setup via network (NFS/FTP), the iSCSI target and the server to be installed must be allowed to be accessed via the same LAN port.

Starting the Installation

This section explains the iSCSI boot with SLES 11 SP3 / SP4 and with SLES 12. The installation process differs only slightly, which is why only screenshots of SLES 12 are used in the following.

Ê Start the operating system setup for SLES 11 SP3 / SP4 or SLES 12 from the installation medium.

I You only need to specify additional boot parameters for a UEFI boot. Therefore only follow the next two screens if booting in this mode. In the case of a legacy boot, you can skip the next section and continue to page 12.

Additional Boot Parameters for a UEFI Boot

Ê Start the installation and call the editor on the next screen by pressing [e]:

Bild 2: First installation screen (for installation via UEFI only)

iSCSI Boot with Intel Controllers (Linux) 11

Installing SLES on an iSCSI Target

Bild 3: Editor with parameter already inserted

Ê Go to the end of the third line (see figure above).

Ê Add the parameter withiscsi=1.

Ê Then confirm this by pressing [F10] to start the installation.

You can now continue with the operating system installation on page 12.

12 iSCSI Boot with Intel Controllers (Linux)

Installing SLES on an iSCSI Target

Ê Follow the wizard as far as the Disk Activation step:

Bild 4: Installation screen Disk Activation.

Ê Click Configure iSCSI Disks.

iSCSI Boot with Intel Controllers (Linux) 13

Installing SLES on an iSCSI Target

Ê Check under Connected Targets to see whether the required LUN has been recognized.

Bild 5: iSCSI Initiator Overview, Connected Targets tab

Ê Confirm by clicking Ok, and follow the wizard until you reach the end of the installation.

14 iSCSI Boot with Intel Controllers (Linux)

Installing SLES on an iSCSI Target

iSCSI Boot with Intel Controllers (Linux) 15

3 iSCSI Boot with Red Hat Enterprise Linux 6.5 and 6.6

This chapter describes how to configure your server with Red Hat Enterprise Linux (RHEL) 6.5 and 6.6 to support iSCSI boot with Intel LAN controllers.

3.1 Installation Overview

The following steps are necessary to configure a system to support iSCSI boot processes under RHEL:

● Configuring the iSCSI Target (for general information, see page 6. For further information, please see the documentation provided by the iSCSI target manufacturer.)

● "iSCSI Boot with Linux" on page 15

● "Installing Red Hat Enterprise Linux 6.5 and 6.6 on an iSCSI Target" on page 16

All these steps are described in detail in this document with appropriate examples.

3.2 iSCSI Boot with Linux

iSCSI boot is possible both in legacy mode and in UEFI mode.

If you want to perform the iSCSI boot in legacy mode, follow the information for configuring the LAN controllers in section "iSCSI Boot Configurations in Legacy Mode" on page 23.

If you want to perform the iSCSI boot in UEFI mode, refer to the information for configuring the LAN controllers in section "iSCSI Boot Configurations in UEFI Mode" on page 32.

16 iSCSI Boot with Intel Controllers (Linux)

Installing RHEL on an iSCSI Target

3.3 Installing Red Hat Enterprise Linux 6.5 and 6.6 on an iSCSI Target

I For an operating system setup via network (NFS/FTP), the iSCSI target and the server to be installed must be allowed to be accessed via the same LAN port.

Starting the Installation

This section explains the iSCSI boot with RHEL 6.5 and 6.6. The installation process differs only slightly, which is why only screenshots of RHEL 6.6 are used in the following.

Ê Start the operating system setup for RHEL 6.5 / 6.6 from the installation medium. It is not necessary to specify additional boot parameters.

The welcome screen appears:

Bild 6: Welcome Screen RHEL 6.6

iSCSI Boot with Intel Controllers (Linux) 17

Installing RHEL on an iSCSI Target

Ê Follow the wizard as far as the What type of devices will your installation involve step.

Bild 7: Selecting the installation device, Specialized Storage option

Ê Proceed by selecting the Specialized Storage Devices option here.

18 iSCSI Boot with Intel Controllers (Linux)

Installing RHEL on an iSCSI Target

Ê In the Other SAN Devices tab, check that the required LUN is selected.

Bild 8: Selecting the boot medium, confirming the recognized LUN

Ê If the LUN is correct, confirm this by clicking Next, and follow the wizard until you reach the end of the installation.

iSCSI Boot with Intel Controllers (Linux) 19

4 iSCSI Boot with Red Hat Enterprise Linux 7.1

This chapter describes how to configure your server with Red Hat Enterprise Linux (RHEL) 7.1 to support iSCSI boot with Intel LAN controllers.

4.1 Installation Overview

The following steps are necessary to configure a system to support iSCSI boot processes under RHEL:

● Configuring the iSCSI Target (for general information, see page 6. For further information, please see the documentation provided by the iSCSI target manufacturer.)

● "iSCSI Boot with Linux" on page 19

● "Installing Red Hat Enterprise Linux 7.1 on an iSCSI Target" on page 20

All these steps are described in detail in this document with appropriate examples.

4.2 iSCSI Boot with Linux

iSCSI boot is possible both in legacy mode and in UEFI mode.

If you want to perform the iSCSI boot in legacy mode, follow the information for configuring the LAN controllers in section "iSCSI Boot Configurations in Legacy Mode" on page 23.

If you want to perform the iSCSI boot in UEFI mode, refer to the information for configuring the LAN controllers in section "iSCSI Boot Configurations in UEFI Mode" on page 32.

20 iSCSI Boot with Intel Controllers (Linux)

Installing RHEL on an iSCSI Target

4.3 Installing Red Hat Enterprise Linux 7.1 on an iSCSI Target

I For an operating system setup via network (NFS/FTP), the iSCSI target and the server to be installed must be allowed to be accessed via the same LAN port.

Starting the Installation

This section explains the iSCSI boot with RHEL 7.1.

Ê Start the operating system setup for RHEL 7.1.

Ê Press the Tab key to go directly to the line for entering boot parameters.

Ê Enter rd.iscsi.ibft=1, and confirm by pressing "Enter".

Bild 9: Welcome Screen RHEL 7.1

iSCSI Boot with Intel Controllers (Linux) 21

Installing RHEL on an iSCSI Target

Ê In the next steps you can enter other important parameters for localizing the required software as well as for the system.

Bild 10: Configuration area in the installation wizard for RHEL 7.1

You now need to confirm the automatically selected LUN in the "System" category under Installation Destination.

22 iSCSI Boot with Intel Controllers (Linux)

Installing RHEL on an iSCSI Target

Bild 11: Selecting / confirming the recognized LUN

Ê Confirm the LUN as the installation medium by clicking Done.

Ê Then after configuring all other parameters, click Begin Installation to start the installation.

Ê Work your way through the wizard until you are requested to reboot. The installation is then completed.

iSCSI Boot with Intel Controllers (Linux) 23

5 Intel iSCSI Boot Configuration Utility

This chapter explains the configuration options for the iSCSI boot. For information on the legacy mode configuration options, see the next section iSCSI Boot Configurations in Legacy Mode. For information on the UEFI mode configuration options, see "iSCSI Boot Configurations in UEFI Mode" on page 32.

5.1 iSCSI Boot Configurations in Legacy Mode

5.1.1 Configuring Controller for iSCSI Boot

5.1.1.1 Activating the Option ROM Scan

In the system BIOS, you must activate the Option ROM Scan for the controller in question to be able to call the Intel iSCSI Boot Configuration Utility for configuring the controller.

V Caution

Activate the Option ROM Scan only for the controller you want to use for iSCSI boot.

The procedure for activating the Option ROM Scan depends on the BIOS setup of your system. An example for a PRIMERGY Server RX1330 M1 server is provided below.

Ê In the Advanced menu of the BIOS setup, select Onboard Devices Configuration, and open the submenu.

Ê Select the entry of the LAN controller that you want to configure for iSCSI boot and set the parameter for this controller to iSCSI.

Ê Save the changes and exit the BIOS Setup.

24 iSCSI Boot with Intel Controllers (Linux)

Configuring the LAN Controller

Bild 12: BIOS Setup menu under Advanced -> Onboard Devices Configuration

5.1.1.2 Configuring Network Controller for iSCSI Boot

Ê To configure the network controller for iSCSI boot, restart the system.

Ê When the message Press <Ctrl-D> to run setup... is displayed, press {Ctrl}[D].

The Intel iSCSI Boot Configuration Utility starts.

Ê Continue as described in section "Intel iSCSI Boot Configuration Utility" on page 25.

iSCSI Boot with Intel Controllers (Linux) 25

Port Selection Menu

5.1.2 Intel iSCSI Boot Configuration Utility

The menus of the Intel iSCSI Boot Configuration Utility allow you to make the settings for the iSCSI boot.

5.1.2.1 iSCSI Port Selection Menu

The first menu of the Intel iSCSI Boot Configuration Utility displays a list of iSCSI boot-capable adapters. For each adapter port the associated PCI device ID, PCI bus/device/function location, and a field indicating iSCSI boot status is displayed. Up to 10 iSCSI boot-capable ports can be displayed within the port selection menu. If there are more iSCSI boot-capable adapters, these are not listed in the menu.

Bild 13: iSCSI Port Selection menu

Ê One network port in the system can be selected as the primary boot port by pressing the [P] key when highlighted. The primary boot port will be the first port used by the Intel iSCSI Boot Configuration Utility to connect to the iSCSI target. Only one port may be selected as a primary boot port.

Ê One network port in the system can be selected as the secondary boot port by pressing the [S] key when highlighted. The secondary boot port will only be used to connect to the iSCSI target disk if the primary boot port fails to establish a connection. Only one port may be selected as a secondary boot port.

Ê Pressing the [D] key with a network port highlighted will disable iSCSI boot on that port.

26 iSCSI Boot with Intel Controllers (Linux)

Port Configuration Menu

Ê Pressing the [B] key with a network port highlighted will blink an LED on that port.

Ê Use the arrow keys to select the required controller and press the "Enter" key to go to the iSCSI Boot Configuration menu (see section "iSCSI Port Configuration Menu").

Ê Press the [Esc] key to leave the screen.

5.1.2.2 iSCSI Port Configuration Menu

Bild 14: iSCSI Port Configuration menu

iSCSI Boot ConfigurationSelecting this option will take you to the iSCSI Boot Configuration menu. This menu is described in detail in the section below and will allow you to configure the iSCSI parameters for the selected network port.

iSCSI CHAP ConfigurationSelecting this option will take you to the iSCSI CHAP Configuration menu. This menu is described in detail in the section below.

Discard changes and ExitSelecting this option will discard all changes made in the iSCSI Boot Configuration and iSCSI CHAP Configuration menus, and return back to the iSCSI Port Configuration menu.

iSCSI Boot with Intel Controllers (Linux) 27

Boot Configuration Menu

Save changes and ExitSelecting this option will save all changes made in the iSCSI Boot Configuration and iSCSI CHAP Configuration menus. After selecting this option, you will return to the iSCSI Port Configuration menu.

5.1.2.3 iSCSI Boot Configuration Menu

This menu allows you to configure the iSCSI boot and IP parameters for a specific port. The iSCSI settings can be configured manually or retrieved dynamically from a DHCP server.

Bild 15: iSCSI Boot Configuration menu

Use Dynamic IP Configuration (DHCP)Selecting this checkbox will cause iSCSI boot to attempt to get the client IP address, subnet mask, and gateway IP address from a DHCP server. If this checkbox is enabled, these fields will not be visible (see also chapter "Configuring a DHCP Server" on page 41).

28 iSCSI Boot with Intel Controllers (Linux)

Boot Configuration Menu

Initiator NameEnter the iSCSI initiator name to be used by iSCSI boot when connecting to an iSCSI target. The value entered in this field is global and used by all iSCSI boot enabled ports in the system. This field may be left blank if the Use DHCP for iSCSI Target information checkbox is enabled. For information on how to retrieve the iSCSI initiator name dynamically from a DHCP server see chapter "Configuring a DHCP Server" on page 41.

Initiator IPEnter the client IP address to be used for this port as static IP configuration in this field. This IP address will be used by the port during the entire iSCSI session. This option is visible if DHCP is not enabled.

Subnet MaskEnter the IP subnet mask in this field. This should be the IP subnet mask used on the network which the selected port will be connecting to for iSCSI. This option is visible if DHCP is not enabled.

Gateway IPEnter the IP address of the network gateway in this field. This field is necessary if the iSCSI target is located on a different sub-network than the selected iSCSI boot port. This option is visible if DHCP is not enabled.

Use DHCP for iSCSI Target InformationSelecting this checkbox will cause iSCSI boot to attempt to gather the iSCSI target's IP address, IP port number, iSCSI target name, and SCSI LUN ID from a DHCP server on the network. For information on how to configure the iSCSI target parameters using DHCP see chapter "Configuring a DHCP Server" on page 41. When this checkbox is enabled, these fields will not be visible.

Target NameEnter the IQN name of the iSCSI target in this field. This option is visible if DHCP for iSCSI target is not enabled.

Target IPEnter the target IP address of the iSCSI target in this field. This option is visible if DHCP for iSCSI target is not enabled.

Target PortTCP Port Number (default: 3260 for iSCSI).

Boot LUNEnter the LUN ID of the boot disk on the iSCSI target in this field. This option is visible if DHCP for iSCSI target is not enabled.

iSCSI Boot with Intel Controllers (Linux) 29

CHAP Configuration Menu

5.1.2.4 iSCSI CHAP Configuration Menu

iSCSI boot supports Mutual CHAP MD5 authentication with an iSCSI target. iSCSI boot uses the MD5 Message Digest Algorithm developed by RSA Data Security, Inc.

Bild 16: iSCSI CHAP Configuration menu

Use CHAPSelecting this checkbox will enable CHAP authentication for this port. CHAP allows the target to authenticate the initiator. After activating CHAP, you must enter a user name and password for the target.

User NameEnter the CHAP user name in this field. This must be the same as the CHAP user name configured on the iSCSI target.

Target SecretEnter the CHAP password in this field. This must be the same as the CHAP password configured on the iSCSI target and must be between 12 and 16 characters in length. This password must differ from the password in the Initiator Secret field.

30 iSCSI Boot with Intel Controllers (Linux)

CHAP Configuration Menu

Use Mutual CHAPSelecting this checkbox will enable Mutual CHAP authentication for this port. Mutual CHAP allows the initiator to authenticate the target. After enabling Mutual CHAP authentication, an initiator password must be entered. Mutual CHAP can only be selected if Use CHAP is selected.

Initiator SecretEnter the Mutual CHAP password in this field. This must be the same as the CHAP password configured on the iSCSI target and must be between 12 and 16 characters in length. This password must differ from the password in the Target Secret field.

The CHAP Authentication feature of this product requires the following acknowledgments:

This product includes cryptographic software written by Eric Young ([email protected]). This product includes software written by Tim Hudson ([email protected]).

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit http://www.openssl.org. A complete licensing statement can be found here.

VLAN ID

The VLAN ID field was grayed out in the iSCSI boot firmware screen because the Microsoft iSCSI Boot Initiator does not support Vlans.

iSCSI Boot with Intel Controllers (Linux) 31

CHAP Configuration Menu

5.1.3 Checking the Connection

During the boot process you can see whether a connection to the target was established:

The following screen is displayed for a short time in legacy mode if it was possible to establish a connection to the iSCSI target.

Bild 17: Connecting to the iSCSI target

32 iSCSI Boot with Intel Controllers (Linux)

Configuring the LAN Controller

5.2 iSCSI Boot Configurations in UEFI Mode

5.2.1 Configuring Controller for iSCSI Boot

Before starting with the configuration of the iSCSI boot in UEFI mode, you need to configure various settings in the BIOS. Examples of the settings selected on the PRIMERGY Server RX1330 M1 are provided below.

Ê In the Boot menu of the BIOS Setup, first select CSM Configuration, and open the submenu.

Ê Set the parameter for Launch CSM to Disabled.

Bild 18: Setup under Boot -> CSM Configuration

Ê Next, in the Advanced tab of the BIOS Setup, select Network Stack, and open the submenu.

Ê Set all parameters to Enabled.

iSCSI Boot with Intel Controllers (Linux) 33

Configuring the LAN Controller

Bild 19: Setup under Advanced -> Network Stack

Ê Save the changes and exit the BIOS Setup.

5.2.2 Configuring Network Controller for iSCSI Boot

5.2.2.1 iSCSI Boot Configuration Menu

To configure the network controller for iSCSI boot, restart the system. Boot into the BIOS again.

In the Advanced tab, you can first view the adapter properties and configurations.

If several adapters are connected, you can then use this and other information to decide which adapter you want to configure, or whether you wish to configure two adapters to make the system less prone to failure.

34 iSCSI Boot with Intel Controllers (Linux)

Configuring the LAN Controller

Bild 20: Menu under Advanced

You then need to call the iSCSI configurations in the BIOS.

Bild 21: Setup under Advanced -> iSCSI Configuration

Ê Enter the name of the initiator. Note that the iSCSI initiator name as well as the other information below must comply with a specific syntax.

Initiator NameEnter the iSCSI initiator name to be used by iSCSI boot when connecting to an iSCSI target. The value entered in this field is global and used by all iSCSI boot enabled ports in the system.

Now add a new attempt with the required adapter in Add an Attempt.

iSCSI Boot with Intel Controllers (Linux) 35

Configuring the LAN Controller

Bild 22: Setup options under Advanced -> iSCSI Configuration -> Add an Attempt

Ê Enter the parameters to be used in Add an Attempt , and confirm these by clicking Save Changes.

You can configure the following information:

Enable DHCPBy selecting Enabled, iSCSI boot will attempt to retrieve the client IP address, subnet mask, and gateway IP address from a DHCP server. If the parameter is set to Enabled, the input fields for the settings obtained automatically (initiator IP, subnet mask, gateway IP) are not visible (see also chapter "Configuring a DHCP Server" on page 41).

Initiator IPEnter the client IP address to be used for this port as static IP configuration in this field. This IP address will be used by the port during the entire iSCSI session. This option is visible if DHCP is not enabled.

Subnet MaskEnter the IP subnet mask in this field. This should be the IP subnet mask used on the network which the selected port will be connecting to for iSCSI. This option is visible if DHCP is not enabled.

36 iSCSI Boot with Intel Controllers (Linux)

Configuring the LAN Controller

Gateway IPEnter the IP address of the network gateway in this field. This field is necessary if the iSCSI target is located on a different sub-network than the selected iSCSI boot port. This option is visible if DHCP is not enabled.

Use DHCP for iSCSI Target InformationThis option appears if the general DHCP is set to Enabled. If this option is also set to Enabled, iSCSI boot will attempt to retrieve the iSCSI target's IP address, IP port number, iSCSI target name, and SCSI LUN ID from a DHCP server on the network.

For information on how to retrieve the iSCSI target parameters dynamically from a DHCP server, see "Configuring a DHCP Server" on page 37. You can now enter the following information (Target Name, Target IP, Target Port, Boot LUN) if this option is set to disabled.

Target NameEnter the IQN name of the iSCSI target in this field. This option is visible if DHCP for iSCSI target is not enabled.

Target IPEnter the target IP address of the iSCSI target in this field. This option is visible if DHCP for iSCSI target is not enabled.

Target PortTCP Port Number (default: 3260 for iSCSI).

Boot LUNEnter the LUN ID of the boot disk on the iSCSI target in this field. This option is visible if DHCP for iSCSI target is not enabled.

Authentication TypeHere you can configure whether you want to use an authentication method. If you select None, all other parameters are hidden. If you select CHAP, these parameters are shown. For more information, see the next chapter … (iSCSI CHAP Configuration)

iSCSI Boot with Intel Controllers (Linux) 37

Configuring the LAN Controller

5.2.2.2 iSCSI CHAP Configuration

If the authentication type is set to CHAP for the iSCSI configurations, additional options appear.

Bild 23: Setup options for CHAP under Advanced -> iSCSI Configuration -> Add an Attempt

CHAP TypeHere you can configure whether the authentication method is to be one-way CHAP (the target authenticates the initiator, but the initiator does not authenticate the target) or "Mutual CHAP" (both the target and initiator authenticate each other). If one-way CHAP authentication is enabled, only the following two options CHAP Name and CHAP Secret are displayed. If mutual CHAP authentication is enabled, the options Reverse CHAP Name and Reverse CHAP Secret are also displayed.

CHAP NameEnter the CHAP user name in this field. This must be the same as the CHAP user name configured on the iSCSI target.

CHAP SecretEnter the CHAP password in this field. This password must

38 iSCSI Boot with Intel Controllers (Linux)

Configuring the LAN Controller

be identical to the password configured on the iSCSI target. It must contain 12 to 16 characters. This password must differ from the password in the Reverse CHAP Secret field.

Reverse CHAP NameEnter the Mutual CHAP user name in this field. This must be the same as the CHAP user name configured on the iSCSI target.

Reverse CHAP Secret

Enter the Mutual CHAP password in this field. This password must be identical to the password configured on the iSCSI target. It must contain 12 to 16 characters. This password must differ from the password in the CHAP Secret field.

I The CHAP Authentication feature of this product requires the following acknowledgments:

This product includes cryptographic software written by Eric Young ([email protected]). This product includes software written by Tim Hudson ([email protected]).

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit http://www.openssl.org/. A complete licensing statement can be found here.

VLAN ID

The Microsoft iSCSI Boot Initiator does not support VLANS in UEFI mode.

iSCSI Boot with Intel Controllers (Linux) 39

Configuring the LAN Controller

5.2.3 Checking the Connection and Preparing for Installation

5.2.3.1 Checking the Connection

For iSCSI booting in UEFI mode, the connection to the iSCSI target can be tested by booting to the EFI Shell.

When doing so, the following entry is displayed:

Bild 24: Checking the connection via the EFI Shell

5.2.3.2 Preparing the Operating System Installation

If you then want to install the operating system, it is important that you select the image next to the UEFI in the boot menu if there are several possible entries.

Bild 25: Boot menu for the iSCSI UEFI boot

Confirm this to boot, and then follow the steps described in the chapter for the operating system you wish to install.

40 iSCSI Boot with Intel Controllers (Linux)

Configuring the LAN Controller

iSCSI Boot with Intel Controllers (Linux) 41

6 Configuring a DHCP Server

If you want to use Dynamic Host Configuration Protocol (DHCP) for the iSCSI boot, the DHCP server needs to be configured to provide the iSCSI boot configurations to the iSCSI initiator. It is necessary to set up the DHCP server to specify Root Path option 17 and Host Name option 12 to respond iSCSI target information back to the iSCSI initiator. DHCP option 3, router list may be necessary, depending on the network configuration.

DHCP Root Path Option 17

The iSCSI root path option configuration string uses the following format:

iscsi:<server name or IP address>:<protocol>:<port>:<LUN>:<target name>

server name or IP addressDHCP server name or valid IPv4 address literal. Example: 192.168.0.20

protocolTransportation protocol used by iSCSI. Default is tcp (6). No other protocols are currently supported.

portPort number of the iSCSI. A default value of 3260 will be used if this field is left blank.

LUNLUN ID configured on iSCSI target system. Default is zero.

target nameiSCSI target name to uniquely identify an iSCSI target in IQN format. Example: iqn.1986-03.com.intel:target1

DHCP Host Name Option 12

Configure option 12 with the host name of the iSCSI initiator.

DHCP Option 3, Router List

Configure option 3 with the gateway or router IP address, if the iSCSI initiator and iSCSI target are on different subnets.

42 iSCSI Boot with Intel Controllers (Linux)

Configuring a DHCP Server

iSCSI Boot with Intel Controllers (Linux) 43

7 Troubleshooting

This chapter lists problems that can occur when using Intel iSCSI Boot.

● iSCSI Boot does not load on system startup and the sign-on banner is not displayed.

– While the system logon screen may display for a longer time during system startup, iSCSI Boot may not be displayed during POST.It may be necessary to disable a system BIOS feature in order to display messages from iSCSI Boot. From the system BIOS menu, disable any quiet boot or quick boot options. Also disable any BIOS splash screens. These options may be suppressing output from iSCSI Boot.

– Option ROM Scan is disabled in the system BIOS. Enable Option ROM Scan if you want to use the legacy mode.

– The system BIOS may be suppressing output from iSCSI Boot.

– Sufficient system BIOS memory may not be available to load iSCSI Boot. Attempt to disable unused disk controllers and devices in the system BIOS setup menu. SCSI controllers, RAID controller, PXE enabled network connections, and shadowing of system BIOS all reduce the memory area available to iSCSI Boot. Disable these devices and reboot the system to see if iSCSI Boot is able to initialize. If disabling the devices in the system BIOS menu does not resolve the problem then attempt to remove unused disk devices or disk controllers from the system.

● After installing iSCSI Boot, the system will not boot to a local disk or network boot device. The system becomes unresponsive after iSCSI Boot displays the signon banner or after connecting to the iSCSI target.

– A critical system error has occurred during iSCSI Boot initialization. Power on the system and press the [s] key or [ESC] key before iSCSI Boot initializes. This will bypass the iSCSI Boot initialization process and allow the system to boot to a local drive.

– Update the system BIOS.

44 iSCSI Boot with Intel Controllers (Linux)

Troubleshooting

● Intel(R) iSCSI Remote Boot does not show up as a boot device in the system BIOS boot device menu.

– The system BIOS may not support iSCSI Boot. Update the system BIOS with the most recent version available from the system vendor.

– A conflict may exist with another installed device. Attempt to disable unused disk and network controllers. Some SCSI and RAID controllers are known to cause compatibility problems with iSCSI Boot.

● ERROR: Failed to detect link

– iSCSI Boot was unable to detect link on the network port. Check the link detection light on the back of the network connection. The link light should illuminate green when link is established with the link partner.

● ERROR: DHCP Server not found!

iSCSI was configured to retrieve an IP address from DHCP but no DHCP server responded to the DHCP discovery request. This issue can have multiple causes:

– The DHCP server may have used up all available IP address reservations.

– The client iSCSI system may require static IP address assignment on the connected network.

– There may not be a DHCP server present on the network.

– Spanning Tree Protocol (STP) on the network switch may be preventing the iSCSI Boot port from contacting the DHCP server. Refer to your network switch documentation on how to disable Spanning Tree Protocol.

● ERROR: Invalid iSCSI connection information

– The iSCSI configuration information received from DHCP or statically configured in the setup menu is incomplete and an attempt to login to the iSCSI target system could not be made. Verify that the iSCSI initiator name, iSCSI target name, target IP address, and target port number are configured properly in the iSCSI setup menu (for static configuration) or on the DHCP server (for dynamic BOOTP configuration).

iSCSI Boot with Intel Controllers (Linux) 45

Troubleshooting

● ERROR: Unsupported SCSI disk block size!

– The iSCSI target system is configured to use a disk block size that is not supported by iSCSI Boot. Configure the iSCSI target system to use a disk block size of either 512, 1024, or 2048 in bytes.

● ERROR: Could not establish TCP/IP connection with iSCSI target system.

– iSCSI Boot was unable to establish a TCP/IP connection with the iSCSI target system. Verify that the initiator and target IP address, subnet mask, port and gateway settings are configured properly. Verify the settings on the DHCP server if applicable. Check that the iSCSI target system is connected to a network accessible to the iSCSI Boot initiator. Verify that the connection is not being blocked by a firewall.

● ERROR: CHAP authentication with target failed.

– The CHAP user name or secret does not match the CHAP configuration on the iSCSI target system. Verify the CHAP configuration on the iSCSI Boot port matches the iSCSI target system CHAP configuration. Disable CHAP in the iSCSI Boot setup menu if it is not enabled on the target.

● ERROR: Login request rejected by iSCSI target system.

– A login request was sent to the iSCSI target system but the login request was rejected. Verify the iSCSI initiator name, target name, LUN number, and CHAP authentication settings match the settings on the iSCSI target system. Verify that the target is configured to allow the iSCSI Boot initiator access to a LUN.

● When installing Linux to Net App Filer, after a successful target disk discovery, error messages may be seen similar to those listed below.

Iscsi-sfnet:hostx: Connect failed with rc 113 : No route to host

Iscsi-sfnet:hostx: establish_session failed. Could not connect to target

46 iSCSI Boot with Intel Controllers (Linux)

Troubleshooting

– If these error messages are seen, unused iSCSI interfaces on Net App filer should be disabled.

– Continuous=no should be added to the iscsi.conf file.

● ERROR: iSCSI target not found.

– Target IP address, however an iSCSI target with the specified iSCSI target name could not be found on the target system. Verify that the configured iSCSI target name and initiator name match the settings on the iSCSI target.

● ERROR: iSCSI target can not accept any more connections.

– The iSCSI target cannot accept any new connections. This error could be caused by a configured limit on the iSCSI target or a limitation of resources (no disks available).

● ERROR: iSCSI target has reported an error.

– An error has occurred on the iSCSI target. Inspect the iSCSI target to determine the source of the error and ensure it is configured properly.

● ERROR: There is an IP address conflict with another system on the network.

– A system on the network was found using the same IP address as the iSCSI Option ROM client.

– If using a static IP address assignment, attempt to change the IP address to something which is not being used by another client on the network.

– If using an IP address assigned by a DHCP server, make sure there are no clients on the network which are using an IP address which conflicts with the IP address range used by the DHCP server.

iSCSI Boot with Intel Controllers (Linux) 47

Glossary

CHAPChallenge Handshake Authentication Protocol. An authentication protocol in which the authentication agent (typically a network server) sends the client program a random value that is used only once.

DHCPDynamic Host Configuration Protocol. A protocol for assigning dynamic IP addresses to devices on a network.

FQDNFully Qualified Domain Name. An Internet address which consists of a hostname and a domain name of the form www.intel.com.

IQNiSCSI Qualified Name. A naming convention supported by iSCSI to uniquely identify an iSCSI initiator or target.

iSCSI InitiatorA client device that connects to the iSCSI service offered by an iSCSI target. Similar in concept to a SCSI controller that plugs into a PC system.

iSCSI TargetA server device that offers the iSCSI service to an iSCSI initiator. Similar in concept to a SCSI drive used in a PC system.

PXEPre-Boot eXecution Environment. An environment to bootstrap computers using a network interface card rather than using local media.

UNDIUniversal Network Device Interface. An application programming interface (or API) for network interface cards. Most commonly associated with PXE.

48 iSCSI Boot with Intel Controllers (Linux)

Glossary