Home

Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS Network Card User Manual

image

Contents

1. Ge b Add additional software repositories 2t Modify repository You can further customize the software selection now or after install via the software management application Customize later C Customize now Figure 2 41 Selecting the Installation Type 2 30 180054604 00 A 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 TO pEEEEEEEIEIENIIIZZZZZZZXT 15 Theinstaller creates the partitions on the disk and begins to copy files to it as shown in Figure 2 42 RED HAT ENTERPRISE LINUX 6 Copyright 2003 2010 Red Hat Inc and others All rights reserved pleted 107 of 233 Installing mingetty 1 08 5 el6 x86 64 33 KB A compact getty program for virtual consoles only Figure 2 42 Installation in Progress 1S0054604 00 A 2 31 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 16 Once the files have been copied the installer will prompt you to reboot the machine as shown in Figure 2 42 Congratulations your Red Hat Enterprise Linux installation is complete hba Please reboot to use the installed system Note that updates may be available to ensure the proper 3 J functioning of your system and installation of these updates is recommended after the reboot Figure 2 43 Installation Completed 2 32 1S0054604 00 A 2 Boot from SAN ql4xdisablesysfsboot Settings and Adapter Boot Mode TE Sz ql4xdis
2. Back l m Next Figure 2 33 Selecting the Language for the Installation 2 22 1S0054604 00 A 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 TO En 7 Select the type of keyboard that is connected to your system as shown in Figure 2 34 Select the appropriate keyboard for the system k manan N Italian IBM Italian it2 Japanese Korean Latin American Macedonian Norwegian Polish Portuguese Romanian Russian Serbian Jl Serbian latin i Slovak qwerty Slovenian Spanish Swedish Swiss French Swiss French latin1 Swiss German Swiss German latin1 Turkish U S International Ukrainian United Kingdom Figure 2 34 Selecting the Keyboard IS0054604 00 A 2 23 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 E o 8 Select one the two options shown in Figure 2 35 Basic Storage Devices or Specialized Storage Devices You may select either option since the LUN has been added in the adapter s BIOS What type devices will your installation involve Basic Storage Devices Installs or upgrades to typical types of storage devices If you re not sure which option is right for you this is probably it Specialized Storage Devices Installs or upgrades to enterprise devices such as Storage Area Networks SANs This option will allow you to add FCoE iSCSI zFCP disks and to filter out devices the installer should i
3. 0 0 2 33 Configuration and Persistent Database Files 0 00000 eee eee eee 3 4 Hardware iSCSI Interface Config File Fields 0 0 02 c eee eee 3 6 1S0054604 00 A Preface Starting with Red Hat Enterprise Linux RHEL 6 2 and Novell SUSE Linux Enterprise Server SLES 11 SP2 the QLogic q1a4xxx driver iSCSI driver for Linux supports the Open iSCSI tool iscsiadm As a result iscsiadm can now be used to perform management functions configuring network settings managing iSCSI targets and so on on QLogic 4000 Series 1GbE iSCSI Adapters and 8200 Series 10GbE Converged Network Adapters What is in This Guide This document describes the differences between the legacy IOCTL based and Open iSCSI management models of the QLogic q1a4xxx driver and provides brief guidelines for migrating from the legacy to the Open iSCSI model This preface specifies the intended audience lists related documents describes the typographic conventions used in this guide and provides technical support and contact information The remainder of this user s guide is organized into the following chapters B Section 1 Legacy vs Open iSCSI describes the major differences between the legacy driver which has an IOCTL based interface for user space application communications and the Open iSCSI model W Section 2 Boot from SAN provides information on configuring Boot from SAN BFS when migrating to the Open iS
4. A Session object creation and destruction iSCSI target logout i e iSCSI login and logout Iscsiadm m node u Sania Session state transition event Figure 1 9 Open iSCSI State Transition Diagram 1 14 1S0054604 00 A 1S0054604 00 A Boot from SAN This section provides information on configuring Boot from SAN BFS when migrating to the Open iSCSI model This section includes the following topics New Parameter ql4disablesysfsboot on page 2 2 Boot from SAN Configuration Matrix on page 2 2 Configuring Boot from SAN on page 2 4 Configuring Boot from SAN on RHEL 6 2 on page 2 19 ql4xdisablesysfsboot Settings and Adapter Boot Mode on page 2 33 2 1 2 Boot from SAN New Parameter q14disablesysfsboot New Parameter q14disablesysfsboot The gl4disablesysfsboot parameter is a new driver module parameter for the Open iSCSI based driver model it is not supported by the ioct1 based driver This parameter controls the behavior of boot target login in the Open iSCSI base driver which provides two ways to log in to the boot targets B Option 1 If q14disablesysfsboot is 0 the Boot targets are exported through sysfs and iscsistart will issue a login to the boot target that is the login to the boot target will be triggered from the user space B Option2 lf q14disablesysfsboot is 1 the qla4xxx driver will handle the login to the boot targets Some environments require suppor
5. Back gp Next Figure 2 37 Specifying the Host Name 2 26 180054604 00 A 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 TO pEEEEEUUEEEENENSMSI 11 Select the time zone as shown in Figure 2 38 Please select the nearest city in your time zone e v i IB E a Use button 2 or 3 for panning and Sa the scrollwheel to zoom in or out kl jalia Selected city Kolkata Asia Asia Kolkata Back gp Next M System clock uses UTC Figure 2 38 Selecting the Time Zone 2 27 1S0054604 00 A 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 E 12 Enter the root credentials that you want to set for the system as shown in Figure 2 39 the system Enter a password for the root user 8 The root account is used for administering Root Password IIIS Confirm s s Back gp Next Figure 2 39 Entering the Root Credentials 2 28 1S0054604 00 A 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 ls 13 Select the type of partition layout you want as shown in Figure 2 40 Which type of installation would you like Use All Space as Removes all partitions on the selected device s This includes partitions created by other operating O systems Tip This option will remove data from the selected device s Make sure you have backups Replace Exis
6. Figure 2 15 Editing Alternate Boot Device Settings 1S0054604 00 A 2 11 2 Boot from SAN Configuring Boot from SAN E oe 16 Change the adapter s boot mode to Manual as Figure 2 16 shows Selected Adapter Adapter Boot Mode Address Slot Bus Device Function MAC Address iSCSI Boot Settings Boot Device Lun Target IP Boot Mode iSCSI Name Primary 0 192 168 1 2001 05 com equallog Alternate 0 192 168 1 Disable 1992 08 com netapp s IPv4 DHCP using Vendor ID Adapter Boot Mode FEYV 3 IPv4 DHCP using Rootpath Primary Boot Device Setti Alternate Boot Device Settings IPv4 DHCP Boot Settings Press C to clear selected boot device or F1 to display complete iSCSI name of boot device Use lt Arrow keys gt and lt Enter gt to scan devices or change settings lt Esc gt to exit Figure 2 16 Setting the Boot Mode to Manual 17 Save the settings for the port 18 Repeat steps 2 14 but select the second port and configure the boot targets on the port 19 Save the settings and reboot the system with the installation disk 2 12 180054604 00 A 2 Boot from SAN Configuring Boot from SAN Boot from SAN Installation on SLES 11 SP2 To configure the adapter for BFS on SLES 11 SP2 follow these steps 1 Boot from the SLES 11 SP2 DVD as shown in Figure 2 17 Firmware Test Memory Test Boot Options F1 Help F2 Language F3 Video Mode F4 Source F5 Kernel F6 Driver English US 800
7. Display iface Configuration Details iscsiadm m iface I lt iface name gt Example iscsiadm m iface I qla4xxx 00 c0 dd 0b 13 f1 ipv4 0 BEGIN RECORD 2 0 872 28 e16 1031 iface iscsi ifacename qla4xxx 00 c0 dd 0b 13 f1 ipv4 0 iface net ifacename empty 192 168 2 214 00 c0 dd 0b 13 f1 iface transport name qla4xxx iface ipaddress iface hwaddress iface initiatorname lt empty gt iface bootproto lt empty gt iface subnet mask empty iface gateway lt empty gt iface ipv6 autocfg empty iface linklocal autocfg empty iface router autocfg lt empty gt iface ipv6 linklocal lt empty gt iface ipv6 router empty iface state lt empty gt iface vlan_id 0 iface vlan priority 0 iface vlan state empty iface iface num 0 iface mtu 0 iface port 0 END RECORD Create an iface iscsiadm m iface I lt iface name gt o new The iface transport_name is set to tcp by default for a software initiator The iface transport name should be updated to q1a4xxx for Hardware Offload iface The iface parameters ipaddress hwaddress and initiatorname can be updated using the o update option as shown in Update iface Network Parameters on page 3 9 3 8 180054604 00 A 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm LSE Example f iscsiadm m iface I qla4xxx
8. User s Guide IOCTL to Open iSCSI Interface QLogic 4000 Series iSCSI Adapters and 8200 Series Converged Network Adapters 1S0054604 00 A User s Guide IOCTL to Open iSCSI Interface QLogic 4000 Series iSCSI Adapters and 8200 Series Converged Network Adapters EE S Information furnished in this manual is believed to be accurate and reliable However QLogic Corporation assumes no responsibility for its use nor for any infringements of patents or other rights of third parties which may result from its use QLogic Corporation reserves the right to change product specifications at any time without notice Applications described in this document for any of these products are for illustrative purposes only QLogic Corporation makes no representation nor warranty that such applications are suitable for the specified use without further testing or modification QLogic Corporation assumes no responsibility for any errors that may appear in this document Document Revision History Revision A June 19 2012 Changes Sections Affected Initial release i 1S0054604 00 A Table of Contents Preface What is in This Guide 0 0 02 eee vii Intended Audience 200 00 vii Related Materials viii Documentation Conventions 0000 cece less viii Technical Support 2 0 0 00 cece ix Downloading Firmware and Documentation ix Ich Pr TC rr IX aa a es FSGS REARS ee e
9. stored in Flash 2 The QLogic management applications are iscli SANsurfer iSCSI CLI and qauc1i QConvergeConsole CLI Functional Flows This section provides functional flow diagrams for discovery target login and session recovery 1S0054604 00 A 1 7 1 Legacy vs Open iSCSI Functional Flows Discovery Figures 1 1 through 1 3 provide functional flow diagrams of the discovery process for IOCTL and Open iSCSl Ts Target add amp Save a Ti Target add amp save Save a Target Save Target in Flash And discover Discovery Login Discovery Login Response Login to Discovered Target Add this points all targes are oggedin Login Response sl d j Hem N LT Aeyne Event Noticaton NE oces T App Response l Figure 1 1 Noninteractive Discovery in IOCTL Mode Legacy Add a died Add tendat AY entere Save Target in Flash And discover Discovery Login Send sendtargets Sendtargets Text Response Login amp Persist a discovered target Save Target in Flash And Login Create transport A Nore Login Request Login Response Async Event Notification Persist amp Login Response Figure 1 2 Interactive Discovery in IOCTL Mode Legacy 1 8 180054604 00 A 1 Legacy vs Open iSCSI Functional Flows Discovery login iscsiadm m
10. target portal I lt iface name L all manual automatic Logout from a Target 4 iscsiadm m node T target name p target portal I lt iface gt u Example iscsiadm d 7 m node targetname iqn 1986 03 com hp storage msa2012i 0911d7el61 b portal 192 168 2 24 3260 I qla4xxx 3 u Logging out of iface qla4xxx 3 target iqn 1986 03 com hp storage msa2012i 0911d7el161 b portal 192 168 2 24 3260 Logout of sid 32 target iqn 1986 03 com hp storage msa2012i 0911d7el161 b portal 192 168 2 24 3260 successful Logout from All Targets f iscsiadm m node u To log out from all portals on a node target through each interface iscsiadm m node T target name u To log out from all targets from the specified initiator port iscsiadm m node I iface name u 3 16 1S0054604 00 A 3 Open iSCSI User s Guide Features Not Supported ls NOTE If targets are logged in through Open iSCSl all targets should be logged out before unloading the QLogic iSCSI driver otherwise driver unload will fail with the following error ERROR Module qla4xxx is in use Features Not Supported The features below are not supported in Red Hat Enterprise Linux 6 2 These features will be supported in Red Hat Enterprise Linux 6 3 1 ISNS 2 Ping Migrating to Open iSCSI Driver On a system that was successfully upgraded from RHEL 6 1 to RHEL 6 2 discovery and login of targets in Flash is m
11. 1S0054604 00 A 2 33 2 Boot from SAN ql4xdisablesysfsboot Settings and Adapter Boot Mode E Table 2 2 Configurations and Tools for Checking iSCSI Sessions Continued Target ql4xdisable info sysfsboot Adapter Boot Mode iscsiadm command Remarks Configu No ration 2 Non Boot from SAN 3 Boot from SAN 4 Boot from SAN No target info is in the firm ware Boot tar get info is in the firm ware Flash Boot tar get info is in the firm ware Flash 1or0 E Disable Manual Manual Use iscsiadm for discov ery and login to targets The correct qla4xxx iface must be used Discovery iscsiadm m discovery t st p target IP I lt qla4xxx iface gt Login iscsiadm m node 1 To check the sessions iscsiadm m session To check sessions iscsiadm m session To check boot target info iscsiadm m fw To check sessions iscsiadm m session If login is not done automati cally use iscsiadm m fw 1 Since there are no entries in Flash or firm ware target manage ment is done by iscsiadm and isc sid The driver is just pass through Since q14xdisable sysfsboot 1 the qla4xxx driver does the login to the target b Since q14xdisable sysfsboot 0 the driver will not log in to boot targets The iscsi initiator tools such as iscsistart in RHEL do the login to the boot targets n this configuration
12. 3 2 Default Behavior on SLES 11 SP2 04 3 3 Persistence through Flash and Open iSCSI Database 3 3 Managing QLogic iSCSI Adapters Using iscsiadm sus 3 4 iSCSI Configuration Files and Persistent Databases 3 4 Configuring Targets for q1a4xxx Using Open iSCSl 3 4 iSCSI Interface Configuration lille 3 6 iSCSI Configuration Parameters llslsus 3 6 List All ifaces issues ERR Reese ena gek den ee eee ree 3 7 Display iface Configuration Details 3 8 Create an TAGE curs sacDeda cob aao CA ei one T cd ere eas 3 8 Update iface Network Parameters 2205 3 9 Unidirectional and Bidirectional CHAP settings 3 11 Target Discovery x eaae e ERR RR RC ROS ea Ree Peak UR RA eae 3 12 Discover Targets using sendtarget 0 005 3 12 Adding a New discoverydb for sendtarget 3 13 Remove sendtarget Node 0 2 e ees 3 14 Adding and Deleting Targets 0 0 cee eee 3 14 Adding a New Target 0 2 2 ee 3 14 List All WaIQGlS PPP 3 15 Deleting a Target Node 2 0 02 3 15 Target Login and Logout icis er RR A eR ee RR 3 15 Login to a TANGA ss cc been dp diabete RO Reed cedat adr 3 15 Login to All TOROIelS sicui cae Qe Riche Rr e ye dd aola es 3 16 Login All Sessions with Specified Parameters 3 16 Logout from a Target icis vo
13. 3260 multiple Logging in to iface gla4xxx 00 0e 1e 05 38 42 ipv4 0 target iqn 1992 04 com emc cx ckm00101200392 5b3 portal 192 168 1 9 3260 multiple Login to iface qla4xxx 00 0e 1e 05 38 42 ipv4 0 target iqn 1992 04 com emc cx ckm00101200392 a3 portal 192 168 1 8 3260 successful Login to iface qla4xxx 00 0e 1e 05 38 42 ipv4 0 target iqn 1992 04 com emc cx ckm00101200392 a2 portal 192 168 1 11 3260 successful Login to iface qla4xxx 00 0e 1e 05 38 42 ipv4 0 target ign 1992 04 com emc cx ckm00101200392 b2 portal 192 168 1 12 3260 successful Login to iface qla4xxx 00 0e 1e 05 38 42 ipv4 0 target igqn 1992 04 com emc cx ckm00101200392 5b3 portal 192 168 1 9 3260 successful 5 List all sessions iscsiadm m session qla4xxx 2 192 168 1 qla4xxx 3 192 168 1 gla4xxx 4 192 168 1 gla4xxx 5 192 168 1 11 3260 1 iqn 1992 04 com emc cx ckm00101200392 a2 8 3260 3 iqn 1992 04 com emc cx ckm00101200392 a3 12 3260 2 iqn 1992 04 com emc cx ckm00101200392 b2 9 3260 4 iqn 1992 04 com emc cx ckm00101200392 53 1S0054604 00 A 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm iSCSI Interface Configuration iSCSI Configuration Parameters Each iSCSI Host Bus Adapter NIC or network interface to which sessions are bound should have its own iSCSI interface config file in etc iscsi ifaces For hardware offload iSCSI iscsiadm creates ifaces for QLogic iSCSI por
14. 4 BEGIN RECORD 2 0 872 iface iscsi ifacename qla4xxx 4 iface net ifacename empty iface ipaddress empty hwaddress iface empty iface transport name qla4xxx iface initiatorname lt empty gt iface bootproto empty iface subnet mask empty ifac gateway empty iface ipv6 autocfg empty iface linklocal autocfg empty iface router autocfg empty iface ipv6 linklocal empty iface ipv6 router empty iface state empty 0 vlan priority iface vlan id 0 empty iface iface vlan state ifac END iface num 0 RECORD Update iface Network Parameters iscsiadm m iface I iface name o update n rec name v value iscsiadm m iface I lt iface name o apply iscsiadm m iface I lt iface name gt o applyall Where update updates the record lt rec_name gt with the specified lt value gt appl appl Ly causes the network settings to take effect on the specified iface Lyall causes the network settings to take effect on every i face 1S0054604 00 A 3 9 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm E Example IPv4 Settings static iscsiadm m iface I qla4xxx 00 c0 dd 0b 13 f1 ipv4 0 o update n iface ipaddress v 192 168 2 214 qla4xxx 00 c0 dd 0b 13 f1 ipv4 0 updated iscsiadm m
15. 6 Provide the initiator IP address as shown in Figure 2 6 QLE8242 Disable FA400000 01 41 00 00 0E 1E 05 36 ER 255 255 128 0 Figure 2 6 Providing the Initiator IP Address 7 Press ESC repeatedly until the screen shown in Figure 2 7 appears Then select the iSCSI Boot Settings option QLE8242 Disable FA400000 01 41 00 00 0E 1E 05 36 ER iSCSI Boot Settings Figure 2 7 Configuration Settings Menu 1S0054604 00 A 2 7 2 Boot from SAN Configuring Boot from SAN E oe 8 Select Primary Boot Device Settings as shown in Figure 2 8 QLE8242 Disable FA400000 01 41 00 00 0E 1E 05 36 ER Primary Boot Device Settings Figure 2 8 Selecting Primary Boot Device Settings 9 Provide the target IP address as shown in Figure 2 9 QLE8242 Disable FA400000 01 41 00 00 0E 1E 05 36 ER 192 168 101 27 Figure 2 9 Providing Target IP Address for Primary Boot Device 2 8 1S0054604 00 A 2 Boot from SAN Configuring Boot from SAN I 10 Select Alternate Boot Device Settings as shown in Figure 2 10 QLE8242 Disable FA400000 01 41 00 00 GE 1E 05 36 EA Alternate Boot Device Settings Figure 2 10 Selecting Alternate Boot Device Settings 11 Provide the target IP address as shown in Figure 2 11 DN LE8242 Manual FA400000 01 00 0E 1E 05 36 EA 192 168 101 16 Figure 2 11 Providing Target IP Address for Alternate Boot Device 1S0054604 00 A 2 9 2 Boot from SAN Configuring Boot from
16. Enterprise Linux 6 2 Install or upgrade an existing system Install system uith basic video driver Rescue installed system Boot from local drive Memory test Press Tabl to edit options fiutomatic boot in 36 seconds RED HAT ENTERPRISE LINUX Copyright 2003 2010 Red Hat Inc and Figure 2 28 Booting From the Installation Media 2 Choose either to test the media disk or skip the test as Figure 2 29 shows elcome to Red Hat Enterprise Linux for x86 64 Disc Found To begin testing the media before installation press OK Choose Skip to skip the media test and start the installation Ei icra Figure 2 29 Pieces to Test Media Disk or Skip Test 1S0054604 00 A 2 19 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 3 Select the network interface through which the installation is to be done as Figure 2 30 shows elcome to Red Hat Enterprise Linux for x86 64 Networking Device You have multiple network devices on this system Which would you like to install through Ethernet device eth Ethernet device Ethernet device Ethernet device Ethernet device Ethernet device Identify lt Tab gt lt Alt Tab gt between elements i lt Space gt selects i lt Fi2 gt next screen Figure 2 30 Selecting Network Interface for Installation 4 Configure the IP address either statically or using as Figure 2 31 shows elcome to Red Hat Enterprise Linux for x86 64 Configure T
17. IOCTL and Open iSCSI Driver Models Feature IOCTL based Driver Open iSCSI based Driver Remarks 1 Firmware Operational Mode 2 Target Persistence Firmware is configured in AUTO CONNECT MODE In this mode W The firmware reads the DDB entries from the predefined area in the Flash W Fora Send Target the firmware initiates dis covery discovers the target and initiates login to the discov ered target E The firmware posts an AEN to the driver identifying each dis covered target E For the DDBs that rep resent a Normal tar get the firmware logs into them and posts an AEN to the driver to report the login status Persistence is main tained by storing Discov ery Target and Normal Target records on the adapter Flash using the QLogic application Firmware is configured in NON AUTO CONNECT MODE In this mode W The driver reads the DDB entries from the predefined area in the Flash W Fora Send Target the driver initiates a discovery session through the mai1 box command queries the firmware for discovered tar gets and then initiates login to the targets using the mailbox command E The firmware posts an AEN to the driver to report login status after login completes W For DDBs which represent a Normal Target driver initi ates login using mailbox command Then the firm ware posts an AEN to the driver to report the login status after login com pletes Pe
18. SAN N 12 Press ESC until the menu in Figure 2 12 appears Select Reinit Adapter to save all IP settings QLE8242 Disable FA400000 01 41 00 00 GE 1E 05 36 EA Configuration Settings Figure 2 12 Fast UTIL Options 13 In iSCSI Boot Settings select Primary LUN as shown in Figure 2 13 QLE8242 Manual FA400000 01 41 00 00 GE 1E 05 36 EA Figure 2 13 Selecting the Primary LUN 2 10 180054604 00 A 2 Boot from SAN Configuring Boot from SAN I 14 Alist of the port s devices is displayed as shown in Figure 2 14 Select the device to be used as the boot device and press ENTER QLogic FasttUTIL elect iSCSI Device Vendor Product Rev iSCSI Name No device present No device present EQLOGIC 100E 00 2001 05 equallogic EQLOGIC 100E 00 c 2001 05 equallogic EQLOGIC 100E 00 2001 05 equallogic EQLOGIC 100E 00 2001 05 equallogic EQLOGIC 100E 00 c 2001 05 equallogic No device present No device present No device present No device present No device present No device present No device present device present WON OWA Ww a Use lt PageUp PageDown gt keys to display more devices Press lt Fi gt to display complete iSCSI name of selected device Figure 2 14 List of Devices on the Port 15 Repeat steps 13 14 to edit the alternate boot device setting as in Figure 2 15 QLE8242 Disable FA400000 01 41 960 00 GE 1E 05 36 EA 192 168 101 16 iqn 1992 08 com netapp s
19. SP2 discovery and login to iSCSI targets was hardware offloaded and managed by the QLogic iSCSI adapter firmware In RHEL 6 2 and SLES 11 SP2 the Open iSCSl infrastructure allows the system administrator to manage QLogic iSCSI target discovery and login through the QLogic adapter This provides the system administrator with a uniform and standard way to manage different vendor interfaces Boot Target Login Default Behavior on RHEL 6 2 Open iSCSl is enabled by default on RHEL 6 2 and login to boot targets is triggered by iscsistart through sysfs The default behavior can be changed by setting q14xdisablesysfsboot to 1 this disables exporting boot targets in Flash to sysfs and login to boot targets is done by the driver 1 With q14xdisablesysfsboot O0 list boot targets if present iscsiadm m fw 2 Disable sysfs boot f echo options qla4xxx ql4xdisablesysfsboot 1 gt gt etc modprobe d qla4xxx conf 3 Reload the q1a4xxx driver f rmmod qla4xxx f modprobe qla4xxx 4 Update ramdisk Reboot the system if the system is booted using the iSCSI boot target 3 2 180054604 00 A 3 Open iSCSI User s Guide Open iSCSI Supported Features ls Refer to the following Red Hat Technical Note about issues and workarounds when upgrading from RHEL 6 1 to RHEL 6 2 http docs redhat com docs en US Red_Hat_Enterprise_Linux 6 html 6 2_T echnical Notes kernel issues html Default Behavior on SLES 11 SP2 Open iSCS
20. discovery i Connection open mbox Discovery Login Async Event we Login Response Netlink Event iscsi_conn_loginevent SS iscsi mulicast sb m Sendtargets Txt Request _ Send_pdu Send IOCB iSCSI Txt Request IOCB Response Txt Response I iscsi_complete pau iscsi _recv_pdu Node records created lt y k i Discovery logout conn_stop l Connection close l l Discovery Logout Logout Response I Figure 1 3 Open iSCSI Discovery 1S0054604 00 A 1 1 Legacy vs Open iSCSI Functional Flows Target Login Figures 1 4 through 1 5 provide functional flow diagrams of the target login process for IOCTL and Open iSCSl Target add amp Save Add a target Target add amp Save a Target aid ae Save Target in Flash And discover iSCSI target Login iSCSI Login Response Async Event Notification N Add this point target is logged in Figure 1 4 IOCTL iSCSI Target Login iscsiadm m node iSCSI target node login Connection open mbox iSCSI target login req iSCSI Login Response Netlink Ewit eenn Figure 1 5 Open iSCSI Target Login 1 10 180054604 00 A 1 Legacy vs Open iSCSI Functional Flows Session Recovery Figures 1 6 through 1 7 provide functional flow diagrams of the session recovery process for IOCTL and Open iSCSl
21. ipaddress v 192 168 1 115 4 iscsiadm m iface I qla4xxx 00 0e 1e 05 38 42 ipv4 0 o apply 3 4 180054604 00 A 2 Discover the iSCSI target 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm a 192 168 1 192 168 1 192 168 1 192 168 1 f iscsiadm m discovery t st p 192 168 1 11 I qla4xxx 00 0e 1e 05 38 42 ipv4 0 11 3260 1 iqn 1992 04 com emc cx ckm00101200392 a2 8 3260 3 iqn 1992 04 com emc cx ckm00101200392 a3 12 3260 2 ign 1992 04 com emc cx ckm00101200392 b2 9 3260 4 iqn 1992 04 com emc cx ckm00101200392 53 3 Listall discovered targets f iscsiadm m node 192 168 1 8 3260 3 ign 1992 04 com emc cx ckm00101200392 a3 192 168 1 11 3260 1 ign 1992 04 com emc cx ckm00101200392 a2 192 168 1 12 3260 2 ign 1992 04 com emc cx ckm00101200392 b2 192 168 1 9 3260 4 ign 1992 04 com emc cx ckm00101200392 53 4 Login to all discovered targets iscsiadm m node 1 Logging in to iface qla4xxx 00 0e 1 05 38 42 ipv4 0 target igqn 1992 04 com emc cx ckm00101200392 a3 portal 192 168 1 8 3260 multiple Logging in to iface gla4xxx 00 0e 1e 05 38 42 ipv4 0 target ign 1992 04 com emc cx ckm00101200392 a2 portal 192 168 1 11 3260 multiple Logging in to iface gla4xxx 00 0e 1e 05 38 42 ipv4 0 target ign 1992 04 com emc cx ckm00101200392 b2 portal 192 168 1 12
22. session recovery time out is equal to the firmware keep alive timeout The default value is 30 seconds This can be modified by the driver command line parameter ql4xkeepalive Use the following command iscsiadm m session Login and target scanning is done by user space as follows 1 When the driver receives an AEN for the DDB indi cating that the target is logged in it sends an event to the iscsid user space indicating that the session is in the logged in state 2 iscsid then unblocks the session and kicks off the target LUN scanning No change in the behavior of session and SCSI device state handling For Open iSCSl default recovery time out is 120 sec onds This can be configured on an individual session basis dynamically that is it does not require driver unload Session recovery time out can be configured by modifying the replacement timeout parameter in the node record 180054604 00 A 1 Legacy vs Open iSCSI Summary of Major Differences TO E Table 1 1 Differences Between IOCTL and Open iSCSI Driver Models Continued 10 11 Feature Dynamic map ping unmap ping of LUNs added to the back end stor age Tearing Down Session Con nection objects Multisession handling IOCTL based Driver The driver handles the following check condi tion sense data UNIT_ATTENTION ASC ASCQ 0x3F 0x0E to figure out that a new LUN has been added on t
23. size 3 46 MB a Installing libgnomeui lang 2 24 2 1 1 187 x86 64 rpm installed size 2 42 MB Installing gstreaner 0_10 plugins good 0 10 30 5 6 36 x86_64 rpm installed size 4 52 MB 2 Installing evolution data server lang 2 28 2 0 26 29 22 x86 64 rpm installed size 6 78 MB Check Installation Installing nautilus share 0 7 2 78 21 15 x86 64 rpm installed size 75 00 kB Installing nautilus open terminal lang 0 17 1 2 87 x86 64 rpm installed size 153 00 kB Installing gnome mount lang 0 8 5 19 51 x86 64 rpm installed size 707 00 kB Network Installing file roller lang 2 29 2 0 1 147 x86_64 rpm installed size 4 01 MB 3 Configuration Hostname Installing evince lang 2 28 2 0 7 2 x86_64 rpm installed size 2 96 MB ist Cent d N Installing vast2 profile rmanager 2 17 2 0 4 61 x86 64 rpm installed size 476 00 kB Installing yast2 profile manager 2 17 2 0 4 61 x86_64 rpm installed size 476 00 kB Notes Hardware Configuration Installing Packages Remaining 150 65 MB 02 27 reece He set Ree mm Figure 2 27 Performing the Installation 5 When the installation is completed reboot the system and boot from the iSCSI adapter 2 18 180054604 00 A 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 HEN Configuring Boot from SAN on RHEL 6 2 Installing RHEL 6 2 To install RHEL 6 2 follow these steps 1 Boot from the installation media as shown in Figure 2 28 Welcome to Red Hat
24. x 600 CD ROM Default No Figure 2 17 Entering the Boot BIOS 2 Provide the withiscsi 1 boot option as shown in Figure 2 18 Boot from m d Repair installed System Rescue System Check Installation Media Firmware Test Memory Test Boot Options withiscsi 1 Fl Help F2 Language F3 Video Mode F4 Source F5 Kernel F6 Driver English US 800 x 600 CD ROM Default No Figure 2 18 Providing the withiscsi Boot Option 1S0054604 00 A 2 13 2 Boot from SAN Configuring Boot from SAN E The Welcome screen appears as shown in Figure 2 19 Follow the instructions on this screen to begin the installation as SUSE Linux Enterprise Preparation P Welcome System Analysis Time Zone Installation Server Scenario Installation Summary Perform Installation Configuration Check Installation Hostname Network Customer Center Se Clean Up Release Notes Hardware Configuration amp Welcome E Language English US FJ Keyboard Layout English us License Agreement Novell r End User License m for Beta Software AUTHORIZATION FROM NOVELL if any and accompanying online or printed documentation Help PLEASE READ THIS BETA AGREEMENT CAREFULLY BY INSTALLING DOWNLOADING OR OTHERWISE USING THE SOFTWARE YOU AGREE TO THE TERMS OF THIS BETA AGREEMENT AND ANY SUPPLEMENTAL NOVELL LICENSE AGREEMENT INCLUDED WITH THE SOFTWARE IF YOU DO NOT AGREE WITH THESE TERMS D
25. you can use the iscsi client from yast to add targets and login to the targets gt This configuration is basically compatible with older qla4xxx infrastructure in SLES 11 SP1 In all these configurations you can use the iscsiadm command to do additional discovery and login The only exception is boot targets for Boot from SAN For Boot from SAN target information must be in the firmware or Flash having been added using the CTRL Q option of BIOS 2 34 180054604 00 A 3 Open iSCSI User s Guide This section provides a User s Guide for Open iSCSI It includes the following topics B Open iSCSI Supported Features on page 3 2 B Managing QLogic iSCSI Adapters Using iscsiadm on page 3 4 WB Features Not Supported on page 3 17 B Migrating to Open iSCSI Driver on page 3 17 B Linux Open iSCSI README on page 3 18 1S0054604 00 A 3 1 3 Open iSCSI User s Guide Open iSCSI Supported Features EE PC O L Open iSCSI Supported Features Open iSCSI support has been added to the QLogic iSCSI driver in Red Hat Enterprise Linux 6 2 and SUSE Linux Enterprise Server 11 Service Pack 2 Open iSCSl infrastructure supports discovery login to and logout from iSCSI targets and modification and display of iSCSI configuration parameters The QLogic iSCSI driver provides persistence through Flash and Open iSCSI nodes and sendtargets databases Discovery Login and Logout Prior to RHEL 6 2 and SLES 11
26. 60 1 equallogic 0 8a0906 ef 84893203 e99000ece484e721 karen 3 2001 05 com 168 2 104 3260 1 2001 05 com equallogic 0 8a0906 32e33f 6e02 517000ecd724ea83 karen 1 equallogic 0 8a0906 16d93203 92d000ece4b4e721 karen 4 180054604 00 A 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm SE Adding a New discoverydb for sendtarget iscsiadm m discoverydb t st p 192 168 2 105 I qla4xxx 3 o new New discovery record for 192 168 2 105 3260 added cat var lib iscsi send targets 192 168 2 105 3260 st config f BEGIN RECORD 2 0 872 28 e16 1031 discovery startup manual discovery type sendtargets discovery sendtargets address 192 168 2 105 discovery sendtargets port 3260 discovery sendtargets auth authmethod None discovery sendtargets timeo login timeout 15 discovery sendtargets use discoveryd No discovery sendtargets discoveryd poll inval 30 discovery sendtargets reopen max 5 discovery sendtargets timeo auth timeout 45 discovery sendtargets timeo active timeout 30 discovery sendtargets iscsi MaxRecvDataSegmentLength 32768 END RECORD iscsiadm m discoverydb t st p 192 168 2 105 I qla4xxx 3 o update n discovery sendtargets auth authmethod v CHAP 4 iscsiadm m discoverydb t st p 192 168 2 105 o update n discovery sendtargets auth username v joe iscsiadm m discoverydb t st p 192 168 2 105 o upd
27. APP LUN SCSI Disk 1 00 GB dev sdg NETAPP LUN SCSI Disk 1 00 GE dev sdh NETAPP LUN 8 SCSI Disk 1 00 GB dev sdi NETAPP LUN 9 SCSI Disk 1 00 GB dewsd NETAPP LUN k 1 00 GB Jdevisdk NETAPP LUN k 1 00 GB devisdl NETAPP LUN k 1 01 GB deufsdm EQLOGIC 100E 00 k 1 01 GB Jdev sdn EQLOGIC 100E 00 k 1 01 GB Jdevisdo EQLOGIC 100E 00 15 SCSI Disk 1 01 GB Jdewisdp EQLOGIC 100E 00 Preparation w Welcome w System An EEIT wv TimeZone Installation w Server Scenario gt Installation Summary Perform Installation Configuration 16 SCSI Disk 1 01 GB devfsdq EQLOGIC 100E 00 17 SCSI Disk 1 01 GB Jdevisdr EQLOGIC 100E 00 Check Installation 18 SCSI Disk 1 01 GB Jdevisds EQLOGIC 100E 00 1 TERET N CEEE EOLOGIC 100E 00 Hetwork Customer Center Online Update Service Release Notes Hardware Configuration Custom Partitioning for experts Help Abort ack E Clean Up Figure 2 26 Preparing the Hard Disk 1S0054604 00 A 2 17 2 Boot from SAN Configuring Boot from SAN aue E Perform Installation SUSE Linux Media size Packages Time Enterprise Total 150 19 M8 55 0227 SUSE Linux Erterprise Server 11 5P2 11 2 2 Prep E Medium 1 15019 MB 55 0227 Ww Welcome w System Analysis v Tim Installation r Scenario em Actions performed gt Perform installation E Installing metacity 2 28 1 0 9 4 x86_64 rpm installed
28. CP IP Enable IPv4 support Dynamic IP configuration DHCP Manual configuration Cx Enable IPu6 support Automatic neighbor discovery Dynamic IP configuration DHCPu6 Manual configuration lt Tab gt lt Alt Tab gt between elements i lt Space gt selects i lt Fi2 gt next screen Figure 2 31 Configuring the IP Address 2 20 1S0054604 00 A 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 TO EE 5 Once the network interface is configured the installation starts as shown in Figure 2 32 RED HAT ENTERPRISE LINDE 6 Copyright 2003 2010 Red Hat Inc and others All rights reserved Figure 2 32 Start of RHEL 6 2 Installation 1S0054604 00 A 2 21 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 E 6 Select the language to use during the installation as shown in Figure 2 33 wit language would you like to use during the installation process Arabic a l Assamese six 5a Bengali ar zT Bengali India arsi sTas Bulgarian benrapcku Catalan Catal Chinese Simplified 2 iBHR Chinese Traditional 3z 3ERB Croatian Hrvatski Czech Cestina Danish Dansk Dutch Nederlands Estonian eesti keel Finnish suomi French Francais German Deutsch Greek EAAnuvika Gujarati 2 2Icfl Hebrew nay Hindi Hungarian Magyar Icelandic Icelandic Iloko Iloko Indonesian Indonesia
29. CSI model a Section 3 Open iSCSI User s Guide provides a User s Guide for Open iSCSl W Section 4 Known Issues provides a list of currently known issues Intended Audience This document is intended for end users who manage QLogic 4000 Series iSCSI adapters or 8200 Series Converged Network Adapters on Linux RHEL 6 2 SLES 11 SP2 or later using the IOCTL based management model 1S0054604 00 A vii Preface Related Materials E Related Materials For additional information refer to the following Technical Note 2 10 Kernel http docs redhat com docs en US Red Hat Enterprise Linux G html 6 2 T echnical Notes kernel issues html Release Notes for SUSE Linux Enterprise Server 11 Service Pack 2 http Awww novell com linux releasenotes i386 SUSE SLES 11 SP2 Linux Open iSCSI README http Awww open iscsi org docs README Documentation Conventions This guide uses the following documentation conventions viii NOTE provides additional information Text in blue font indicates a hyperlink jump to a figure table or section in this guide and links to Web sites are shown in underlined blue For example L Table 9 2 lists problems related to the user interface and remote agent O See Installation Checklist on page 3 6 Q For more information visit www glogic com Text in bold font indicates user interface elements such as a menu items buttons check boxes or column headings For examp
30. Failed Event Async Event Notification e g Link Down Block session i e change session state to failed Issue Set DDB mailbox cmds Feed 1 Async Event Notification Try Relogin iSCSI Login Success Response Unblock session i e change session state to Login Figure 1 6 IOCTL Session Recovery 1S0054604 00 A 1 11 1 Legacy vs Open iSCSI Functional Flows Netlink Event iscsi multicast skb Netlink event from user to kernel 7 am Netlink Event Netlink Event iscsi_multicast_skb Conn error event i e Block session Change session to failed state and call Conn start Issue set ddb And conn open mbx cmd Notification Async Event p 7 iSCSI Login ce Failed Event i e Link Down iSCSI Login request Async Event Success Notification Figure 1 7 Open iSCSI Session Recovery 180054604 00 A 1 Legacy vs Open iSCSI State Transition Diagrams ls State Transition Diagrams Figures 1 8 through 1 9 provide state transition diagrams for IOCTL and Open iSCSI These diagrams illustrate the management of the session target life cycle Firmware discovered new targets for e g 1 Driver initialization 2 dynamic addition 3 firmware re initialization Searching for existing target mapping if found update ddb mapping If not found alloc n
31. Guide Managing QLogic iSCSI Adapters Using iscsiadm TO EEA The target should be logged out before updating the network parameters iscsiadm will give the following warning if a network parameter of an iface with active sessions is updated iscsiadm Updating iface while iscsi sessions are using n Es in for the new settings to take affect You must logout the running sessions then log back Unidirectional and Bidirectional CHAP settings is upda is upda is upda is upda is upda csiadm te n csiadm te n csiadm Ce n csiadm te n csiadm te n m node session a m node session a m node session a m node session a m node session a node p 192 node p 192 node p 192 node p 192 node p 192 168 1 84 3260 th authmethod v CHAP 168 1 84 3260 th username v 168 1 84 3260 th password v 168 1 84 3260 th username in 168 1 84 3260 th password in T iqn 2011 com T ign 2011 chapuser com I idgn 201l1 chapsecret com ign 2011 biuser com bidirsecret Vm Vm Vm Vm iqn 2011 com vm base base base base base diskl diskl diskl diskl diskl Example Display changes made to the 192 168 1 84 3260 CHAP settings iscsiadm m node p 192 168 1 84 3260 node node node node node sessi sessi sessi sessi sessi on auth au
32. O NOT DOWNLOAD INSTALL OR USE THE SOFTWARE THE SOFTWARE MAY NOT BE SOLD TRANSFERRED OR FURTHER DISTRIBUTED WITHOUT PRIOR WRITTEN collectively the Software is protected by the copyright laws and Remit ME bie eibet beim cad esie serere E This Novell End User License Agreement for Beta Software Beta Agreement together with any Supplemental Novell License Agreement included with the Software constitutes a legsl agreement between You an entity or a person and Novell Inc Novell The software product s accompanying this Beta Agreement software updates media License Translations oe C JR Figure 2 19 Installation Welcome Screen Complete the installation by following the instructions on all subsequent screens as shown in Figures 2 20 through 2 27 as SUSE Linux Enterprise Preparation P Welcome System Analysis Time Zone Installation Server Scenario Installation Summary Perform installation Configuration Check Installation Hostname Network Customer Center Online Update Clean Up Release Notes Hardware Configuration Media Check It is recommended to check all installation media to avoid installation problems CD or DVD Drive Raritan Virtual Disc 3 devisro Start Check Eject Check ISO File Status Information Help Abort Back wet Figure 2 20 Media Check 2 14 180054604 00 A Gre SUSE Linux Enter
33. ablesysfsboot Settings and Adapter Boot Mode This section demonstrates the effect of the q14xdisablesysfsboot parameter under different adapter boot modes For target discovery and login to work the adapter s IP address must be configured using either BIOS settings or iscsiadm The following examples show the iscsiadm commands to use to set the IP address iscsiadm m iface I qla4xxx 00 c0 dd 07 59 f2 ipv4 0 n iface ipaddress v 10 0 10 183 o update iscsiadm m iface I qla4xxx 00 c0 dd 07 59 f2 ipv4 0 n iface subnet mask v 255 255 0 0 o update iscsiadm m iface I qla4xxx 00 c0 dd 07 59 f2 ipv4 0 n iface gateway v 10 0 0 1 o update iscsiadm m iface I qla4xxx 00 c0 dd 07 59 2 ipv4 0 o apply Use the following sysfs path to check if the IP address has been applied sys class iscsi_host host lt Number gt ipaddress Table 2 2 shows the various configurations one can have as well as the iscisadm commands or yast tool to use to check iSCSI sessions Table 2 2 Configurations and Tools for Checking iSCSI Sessions Adapter No Configu Target ql4xdisable Boot iscsiadmcommand Remarks ration info sysfsboot Mode 1 Non Boot Target info 1 or 0 Disable To check sessions Since the target info is from SAN is in the n igcsiadii i session in the firmware keep firmware ql4xdisablesysfs set up boot setto 1 The using the driver does the login to BIOS the target
34. anaged by the QLogic iSCSI driver and firmware These targets except boot targets are exported to sysfs and can be viewed from sysfs For information about upgrading from RHEL 6 1 to RHEL 6 2 refer to the following Technical Note http docs redhat com docs en US Red Hat Enterprise Linux 6 html 6 2 T echnical Notes kernel issues html Because the RHEL 6 2 Inbox driver does not support the QLogic management applications iscli SANsurfer iSCSI CLI and qauc1i QConvergeConsole CLI Open iSCSI must be used for all new target management Targets added through iscsiadm are saved in the Open iSCSI persistent database The operations listed in Managing QLogic iSCSI Adapters Using iscsiadm on page 3 4 are available for management of targets added through Open iSCSl Targets added from Flash cannot be managed using the iscsiadm interface 1S0054604 00 A 3 17 3 Open iSCSI User s Guide Linux Open iSCSI README N Linux Open iSCSI README Go to http www open iscsi org docs README for more detailed information about Linux Open iSCSl 3 18 180054604 00 A 4 Known Issues This section lists currently known issues and provides a brief explanation of each issue QLogic Application Limitations B The RHEL 6 2 and SLES 11 SP2 inbox drivers do not support the following QLogic applications C iscii SANsurfer iSCSI CLI Oh gqaucli QConvergeConsole CLI B The QLogic iSCSI driver and firmware handle disc
35. ases 1S0054604 00 A 3 3 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm Managing QLogic iSCSI Adapters Using iscsiadm iSCSI Configuration Files and Persistent Databases The Open iSCSI daemon iscsid can be configured to use the default node configuration and persistent database to automatically start discovery on startup Table 3 1 lists the configuration and persistent database files for SLES 11 SP2 and RHEL6 2 Table 3 1 Configuration and Persistent Database Files File Path and Name Description Configuration File SLES 11 SP2 and RHEL 6 2 etc iscsi iscsid conf Read by iscsid and iscsiadm on startup applied to all newly created nodes Persistent Database Files SLES 11 SP2 etc iscsi nodes node iqn name gt Contains node specific configuration ip address port number etc iscsi nodes Persistent node database etc iscsi sendtargets Persistent Sendtargets discovery database Persistent Database Files RHEL 6 2 var lib iscsi nodes node iqn name Contains node specific configuration ip address port number var lib iscsi nodes Persistent node database var lib iscsi sendtargets Persistent Sendtargets discovery database Configuring Targets for q1a4xxx Using Open iSCSI To configure targets for q1a4xxx using Open iSCSl follow these steps 1 Configure the q1a4xxx port iscsiadm m iface I qla4xxx 00 0e 1e 05 38 42 ipv4 0 o update n iface
36. ate n discovery sendtargets auth password v secret 4 iscsiadm m discoverydb t st p 192 168 2 105 I qla4xxx 3 discover 192 168 2 105 3260 1 ign 2001 05 com equallogic 0 8a0906 32e33fe02 517000ecd724ea83 karen 1 192 168 2 105 3260 1 iqn 2001 05 com equallogic 0 8a0906 edd d93203 dc1000ece454e721 karen 2 192 168 2 105 3260 1 ign 2001 05 com equallogic 0 8a0906 ef8d93203 e99000ece484e721 karen 3 192 168 2 105 3260 1 ign 2001 05 com equallogic 0 8a0906 16d93203 92d000ece4b4e721 karen 4 1S0054604 00 A 3 13 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm E cat var lib iscsi send targets 192 168 2 105 3260 st_config BEGIN RECORD 2 0 872 28 e16 1031 discovery startup manual discovery type sendtargets discovery sendtargets address 192 168 2 105 discovery sendtargets port 3260 discovery sendtargets auth authmethod CHAP discovery sendtargets auth username joe discovery sendtargets auth password secret discovery sendtargets timeo login timeout 15 discovery sendtargets use discoveryd No discovery sendtargets discoveryd poll inval 30 discovery sendtargets reopen max 5 discovery sendtargets timeo auth timeout 45 discovery sendtargets timeo active timeout 30 discovery sendtargets iscsi MaxRecvDataSegmentLength 32768 END RECORD Remove sendtarget Node is
37. clude Add On Products from Separate Media due SUSE Linux Enterprise Preparation gt Time Zone Installation Server Scenario Installation Summary Perform Installation li Asia Kolkata Date and Time _ Hardware Clock Set To UTC 2011 12 01 12 38 45 Change ne ne KE Figure 2 24 Setting the Clock and Time Zone 2 16 1S0054604 00 A 2 Boot from SAN Configuring Boot from SAN o 9 9 7 ENSE Ge P Server Base Scenario SUSE Linux Enterprise Preparation w Welcome w System An Tara Zone SUSE Linux Enterprise Server offers several base scenarios v s Choose the one that matches your server the best Installation gt Server Scenario Choose Scenario Installation Summary Perform Installation Physik chi Al fe Pei ese Physical Machine Also for Fully Virtualized Guests Check Installation Virtual Machine For Paravirtualized Environments Like Xen Hostname Xen Virtualization Host Local X11 Not Configured by Default Release Notes Hardware Configuration Help Abort Back Figure 2 25 Selecting the Server Base Scenario aee Preparing Hard Disk Hard Disk SUSE Linux Enterprise Available Disks 1 SCSI Disk 148 50 GB dev sdb Dell IRTUAL DISK SCSI Disk 1 00 GB dew sde NETAPP LUN SCSI Disk 1 00 GB dev sdd NETAPP LUN SCSI Disk 1 00 GB dev sde NETAPP LUN SCSI Disk 1 00 GB dewsdf NET
38. csiadm m discoverydb t st p lt target IP gt I lt iface gt o delete Example iscsiadm m discoverydb t st p 192 168 2 105 I qla4xxx 3 o delete Adding and Deleting Targets Adding a New Target 4 iscsiadm m node T target name p target portal I lt iface gt o new Example iscsiadm m node T iqn 2001 05 com equallogic 0 8a0906 2d733fe02 d25000ecd 7a4eac6 bfs 2 p 192 168 2 104 3260 I qla4xxx 3 o new New iSCSI node qla4xxx hw 00 0e 1e 04 11 e6 i1p 192 168 2 212 net if iscsi if qla4xxx 3 192 168 2 104 3260 1 iqn 2001 05 com equallogic 0 8a0906 2d733fe02 d25000ecd7a4eac6 bfs 2 added 3 14 180054604 00 A 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm a List All Targets iscsiadm m node Example iscsiadm m node 192 168 2 105 3260 1 192 168 2 105 3260 1 192 168 2 105 3260 1 192 168 2 105 3260 1 192 168 2 104 3260 1 iqn 2001 05 com equallogic 0 8a0906 ef84d93203 ign 2001 05 com equallogic 0 8a0906 32e33fe02 517000ecd724ea83 karen 1 iqn 2001 05 com equallogic 0 8a0906 edd d93203 dc1000ece454e721 karen 2 99000ece484e721 karen 3 ign 2001 05 com equallogic 0 8a0906 16d93203 92d000ece4b4e721 karen 4 iqn 2001 05 com equallogic 0 8a0906 2d733f602 d25000ecd7a4eac6 bfs 2 Deleting a Target Node iscsiadm m node T target name p target portal I lt iface gt o delete Example iscs
39. ct design or specifications
40. del driver iscsiadm has no control Flash target over these sessions Session entries management of Flash DDB Before migrating to entries is done by the driver the Open iSCSI itself model save this DDB target infor mation to node records using iscsiadm and use the QLogic application to delete Flash entries apart from boot targets before the upgrade Then upgrade to the Open iSCSI model Boot tar gets are always in the Flash in both models 1 6 1S0054604 00 A 1 Legacy vs Open iSCSI Functional Flows ls Table 1 1 Differences Between IOCTL and Open iSCSI Driver Models Continued Feature IOCTL based Driver Open iSCSl based Driver Remarks 13 CHAP CHAP settings are With CHAP support in Note Before you applied using the QLogic iscsiadm CHAP entries can migrate delete all application now be added deleted and CHAP information listed from the user space from Flash using the QLogic applica tion and then update the same CHAP information in the respective node records using iscsiadm com mands When migration begins any CHAP information in the Flash will be hon ored but it must be updated in the node records using iscsiadm Open iSCSI CHAP management is not supported in RHEL 6 2 and SLES 11 SP2 CTRL Q options let you set unidi rectional and bidi rectional CHAP only for boot tar gets In both mod els CHAP information for boot targets is always
41. details about available service plans or for information about renewing and extending your service visit the Service Program web page at http Awww glogic com services Downloading Firmware and Documentation To download firmware and documentation 1 1S0054604 00 A Go to the QLogic Downloads and Documentation page http driverdownloads qlogic com Under QLogic Products type the QLogic model name in the search box Alternatively you can click Guided Search to obtain assistance in locating the firmware and documentation to download In the search results list locate and select the firmware and documentation for your product View the product details Web page to ensure that you have the correct firmware and documentation Click the Read Me and Release Notes icons under Support Files for additional information Click Download Now Save the file to your computer If you have downloaded firmware follow the installation instructions in the Readme file Preface Technical Support RO P OO Training QLogic Global Training maintains a Web site at www glogictraining com offering online and instructor led training for all QLogic products In addition sales and technical professionals may obtain Associate and Specialist level certifications to qualify for additional benefits from QLogic Contact Information QLogic Technical Support for products under warranty is available during local standard working hours excl
42. e MAC address of the iSCSI interface Required to set the IPv6 router discovery protocol Set to enable by default To disable the iface set it to disable Used when more than one interface is configured for a transport 180054604 00 A 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm SSS Example IPv4 sample config file with static IP address BEGIN RECORD 2 0 872 iface iscsi ifacename qla4xxx 3 iface ipaddress 192 168 1 75 iface hwaddress 00 0e 1e 04 93 92 iface transport name qla4xxx iface bootproto static iface subnet mask 255 255 255 0 iface gateway 192 168 1 1 iface state enabl iface vlan lt empty gt iface iface num 0 END RECORD List All ifaces iscsiadm m iface Example iscsiadm m iface default tcp lt empty gt lt empty gt lt empty gt lt empty gt iser iser lt empty gt lt empty gt lt empty gt lt empty gt qla4xxx 4032 2 gqla4xxx 00 c0 dd 0b 13 f1 192 168 2 214 lt empty gt lt empty gt qla4xxx 00 c0 dd 05b 13 f1 ipv6 0 gqla4xxx 00 c0 dd 0b 13 f1 lt empty gt lt empty gt lt empty gt qla4xxx 00 0e 1e 04 11 e2 ipv4 0 qla4xxx 00 0e 1e 04 11 e2 192 168 7 9 empty empty bnx2i 00 00 00 00 00 00 bnx21 00 00 00 00 00 00 empty empty empty 1S0054604 00 A 3 7 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm EE o
43. edia silere 2 19 Choosing to Test Media Disk or Skip Test 002000000000 000s 2 19 Selecting Network Interface for Installation llle 2 20 Configuring the IP Address 00 2 es 2 20 Start of RHEL 6 2 Installation i2 ud od ise doe dor ERR em Pob Rte P hom 2 21 Selecting the Language for the Installation lille 2 22 Selecting the Keyboard 1 62 ce e eee 2 23 Selecting Storage Device Type 1 eee 2 24 Verifying Paths to the DISK ec Reed kcu RR aire a ae eed Kaew a a ake RC RUR CARTAS 2 25 Specifying the Host Narrie 2cu2ees2endess Fax ed eu ie hp oh s here cewer 2 26 Selecting the Time Zone is sek gu Ren ERE RERAGREESGRERERSRARGA RACE A RAE 2 27 Entering the Root Credentials i a rh ow ene Vee gon Rx n 2 28 Selecting the Partition Layout Type ille 2 29 1S0054604 00 A V User s Guide IOCTL to Open iSCSI Interface QLogic 4000 Series iSCSI Adapters and 8200 Series Converged Network Adapters EE Se 2 41 2 42 2 43 Table 1 1 2 1 2 2 3 1 vi Selecting the Installation Type nnana 0 eee 2 30 Installation in PIOOTeSS a xci kaka Seiwa Rew REP QUACADROR Ree ek we a 2 31 Installation Completed 0 0 000 00 cette eens 2 32 List of Tables Page Differences Between IOCTL and Open iSCSI Driver Models 1 2 Boot from SAN Configuration Matrix 2 0 0 2 ee 2 3 Configurations and Tools for Checking iSCSI Sessions
44. ew target and reserve no os target id DDB State sue Normal path Special case path Connection loss A detected for e g NOP timeout State change event Session recovery timeout expired i e recovery failed default is 30 Sec Special case removal Firmware re initialization and discovered target is no longer discovered Removal required to keep firmware and driver in sync User remove target using qaucli and ddb is logout and destroyed state changes to DEAD i e after session recovery tmo expires default 30 sec If scsi layer or recovery error handler unble to recover then sdev changes from SDEV RUNNING to SDEV OFFLINE Figure 1 8 IOCTL State Transition Diagram 1S0054604 00 A 1 Legacy vs Open iSCSI State Transition Diagrams Scsi device state Sdev is in SDEV RUNNING when state changes to FREE i e after session recovery tmo expires If scsi layer or recovery error handler unble State change event State change event Session recovery Iscsi session failed timeout expired i e events e g Link recovery failed Down session failed default is 120 Sec fw reset etc N N to recover then sdev changes from SDEV RUNNING to SDEV OFFLINE N I i iSCSI target login j iSCSI target logout Iscsiadm m node I 1 Iscsiadm m node u dealloc LOGGED IN FAILED alloc SDEV RUNNING SDEV BLOCK Session State
45. gnore Back gp Next Figure 2 35 Selecting Storage Device Type 2 24 1S0054604 00 A 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 ls 9 Select the disk that was added in the adapter s BIOS and verify that it has two paths to it as shown in Figure 2 36 Please select the drives you d like to install the operating system on as well as any drives you d like to automatically mount to your system below Basic Devices Firmware RAID Multipath Devices Other SAN Devices Search Filter By v Show Only Devices Using v O Identifier Capacity MB Vendor Interconnect Paths m 3 60 90 a0 88 a0 03 7c 89 ba e0 44 51 85 10 d2 fe 10245 EQLOGIC Device Options Add Advanced Target 1 device s 10245 MB selected out of 1 device s 10245 MB total Tip Selecting a drive on this screen does not necessarily mean it will be wiped by the installation process Also note that post installation you may mount drives you did not select here by modifying your etc fstab file a Back B Next Figure 2 36 Verifying Paths to the Disk 1S0054604 00 A 2 25 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 E O9 91A P 10 Enter the host name as shown in Figure 2 37 f Please name this computer The Ble hostname identifies the computer on a network Hostname Phoenix Configure Network
46. he back end storage and makes an upcall to the SCSI midlayer to trigger a LUN scan for that particu lar target The session object can be destroyed using QLogic applications The QLogic application allows you to create mul tiple sessions using the duplicate target option This duplicate target is persistent in the Flash Open iSCSI based Driver No explicit support to dynami cally discover newly added LUNS on the back end stor age Requires manual rescan ning using iscsiadm command line option The session object lifecycle is completely determined by Open iSCSl If the node record exists sessions will be created by iscsid and will remain there unless logout is explicitly issued using iscsi adm Open iSCSI also has multiple session support i scsiadm allows creating multiple ses sions for a single iface or a sin gle port The main difference is that target records are persis tent in user space as part of node records Remarks Multisession using qla4xxx will be available from RHEL 6 3 and above 1S0054604 00 A 1 5 1 Legacy vs Open iSCSI Summary of Major Differences E Table 1 1 Differences Between IOCTL and Open iSCSI Driver Models Continued Feature IOCTL based Driver Open iSCSl based Driver Remarks 12 Flash DDBs Not applicable The Open iSCSI driver will Note iscsiadm with support existing Flash DDB is not capable of Open iSCSI entries in the adapter managing the mo
47. iadm m node T iqn 2001 05 com equallogic 0 8a0906 2d8733fe02 d25000ecd7a4eac6 bfs 2 p 192 168 2 104 3260 I qla4xxx 3 o delete Target Login and Logout Login to a Target iscsiadm m node T target name gt Example p target portal I lt iface gt 1 iscsiadm d 7 m node targetname iqn 1986 03 com hp storage msa2012i 0911d7e16061 I qla4xxx 3 1 Logging in to iface qla4xxx 3 target iqn 1986 03 com hp storage msa2012i 0911d7e16061 multiple Login to iface qla4xxx 3 target iqn 1986 03 com hp storage msa2012i 0911d7e1601 successful 1S0054604 00 A b portal 192 168 2 b portal b portal 192 168 2 192 168 2 24 3260 24 3260 24 3260 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm EENENNNM Login to All Targets Not specifying the target name portal and iface name results in login to all portals on all nodes targets through each interface specified in the node configuration iscsiadm m node 1 To login to all portals on a node target through each interface iscsiadm m node T lt target name gt 1 To login to all targets from the specified initiator port iscsiadm m node I lt iface name gt 1 Login All Sessions with Specified Parameters For node mode login all sessions with the node or conn startup values passed in except ones marked onboot if all is passed in iscsiadm m node T target name p
48. iface I qla4xxx 00 c0 dd 0b 13 f1 ipv4 0 o apply qla4xxx 00 c0 dd 0b 13 f1 ipv4 0 applied Example IPv4 Settings DHCP iscsiadm m iface I qla4xxx 00 c0 dd 0b 13 f1 ipv4 0 o update n iface bootproto v dhcp qla4xxx 00 c0 dd 0b 13 f1 ipv4 0 updated iscsiadm m iface I qla4xxx 00 c0 dd 0b 13 f1 ipv4 0 o apply qla4xxx 00 c0 dd 0b 13 f1 ipv4 0 applied Example IPv6 Settings manual iscsiadm m iface I qla4xxx 00 c0 dd 0b 13 f1 ipv6 0 o update n iface ipaddress v fec0 ce00 7014 0041 1111 2222 1e04 9392 qla4xxx 00 c0 dd 0b 13 f1 ipv6 0 updated iscsiadm m iface I qla4xxx 00 c0 dd 0b 13 f1 ipv6 0 o update n iface ipv6 linklocal v fe80 0000 0000 0000 0000 0000 1e04 9392 qla4xxx 00 iscsiadm iface ipv6 qia4xxx 00 iscsiadm qia4xxx 00 c0 dd 0b 13 f1 ipv6 m iface I qla4xxx router v fe80 0000 c0 dd 0b 13 f1 ipv6 m iface I qla4xxx c0 dd 0b 13 f1 ipv6 0 updated 00 c0 dd 0b 13 fl ipv6 0 o update 0000 0000 7ae7 d1 e72 4048 0 updated 00 c0 dd 0b 13 fl ipv6 0 o apply 0 applied Example IPv6 Settings neighbor discovery iscsiadm iface ipv6 qia4xxx 00 iscsiadm qia4xxx 00 m iface I qla4xxx autocfg v nd c0 dd 0b 13 f1 ipv6 m iface I qla4xxx c0 dd 0b 13 f1 ipv6 00 c0 dd 0b 13 fl ipv6 0 o update n 0 updated 00 c0 dd 0b 13 fl ipv6 0 o apply 0 applied 180054604 00 A 3 Open iSCSI User s
49. l is enabled by default on SLES 11 SP2 and login to boot targets is triggered by iscsiadm during installation B The additional command line kernel parameter withiscsi 1 must be passed before beginning the OS installation If not the iSCSI disks will not be detected B The modules q1a3xxx and qlcnic should be loaded respectively for the 1G and 10G QLogic iSCSI initiator entries to appear in the iscsi client through YaST The default behavior can be changed by setting the driver parameter ql4xdisablesysfsboot to 1 in which case the boot targets in Flash are not exported to sysfs and the driver logs in to the boot targets The kernel parameter withiscsi 1 is not used when qi4xdisablesysfsboot is setto 1 Refer to the following Release Notes for SLES 11 SP2 for the kernel parameter withiscsi 1 http Awww novell com linux releasenotes i386 SUSE SLES 11 SP2 Persistence through Flash and Open iSCSI Database Prior to RHEL 6 2 and SLES 11 SP2 targets were made persistent by saving the entries in Flash In RHEL 6 2 and SLES 11 SP2 targets managed by Open iSCSI are made persistent by saving them in the user space node and sendtarget persistent database For targets in Flash auto login is triggered by the QLogic iSCSI driver and firmware For targets saved in the Open iSCSI persistent database the iSCSI daemon iscsid can be configured to automatically start discovery and login through the sendtarget and node persistent datab
50. le Q Click the Start button point to Programs point to Accessories and then click Command Prompt Q Under Notification Options select the Warning Alarms check box Text in Courier font indicates a file name directory path or command line text For example Q To return to the root directory from anywhere in the file structure Type cd root and press ENTER Q Enter the following command sh install bin Key names and key strokes are indicated with UPPERCASE Q Press CTRL P Q Press the UP ARROW key 180054604 00 A Preface Technical Support TO MMMM Text in italics indicates terms emphasis variables or document titles 1 Fora complete listing of license agreements refer to the QLogic Software End User License Agreement What are shortcut keys QO To enter the date type mm dd yyyy where mm is the month dd is the day and yyyy is the year Topic titles between quotation marks identify related topics either within this manual or in the online help which is also referred to as the help system throughout this document Technical Support Customers should contact their authorized maintenance provider for technical support of their QLogic products QLogic direct customers may contact QLogic Technical Support others will be redirected to their authorized maintenance provider Visit the QLogic support Web site listed in Contact Information for the latest firmware and software updates For
51. overy and login to targets in Flash and also export them to sysfs where they can be viewed m Target entries that have been made persistent in Flash on RHEL 6 2 and SLES 11 SP2 cannot be managed by the Open iSCSI iscsiadm interface All newly added targets can be managed by Open iSCSl CHAP Limitations WB Atpresent the CHAP entries in Flash cannot be updated or deleted using iscsiadm 1S0054604 00 A 4 1 4 Known Issues CHAP Limitations Ba 4 2 1S0054604 00 A E Corporate Headquarters QLogic Corporation 26650 Aliso Viejo Parkway Aliso Viejo CA 92656 949 389 6000 www qlogic com QLOGIC International Offices UK Ireland Germany France India Japan China Hong Kong Singapore Taiwan 2012 QLogic Corporation Specifications are subject to change without notice All rights reserved worldwide QConvergeConsole QLogic the QLogic logo and SANsurfer are registered trademarks of QLogic Corporation Linux is a registered trademark of Linus Torvalds Novell SLES and SUSE are registered trademarks of Novell Inc Red Hat and RHEL are trademarks or registered trademarks of Red Hat Inc All other brand and product names are trademarks or registered trademarks of their respective owners Information supplied by QLogic Corporation is believed to be accurate and reliable QLogic Corporation assumes no responsibility for any errors in this brochure QLogic Corporation reserves the right without notice to make changes in produ
52. prise Preparation w Welcome b Disk Activation System Analysis Time Zone Installation Server Scenario Installation Summary Perform Installation Configuration Clean Up lotes Hardware Configuration SUSE Linux Enterprise Preparation w Welcome gt System Analysis Time Zone Installation Server Scenario Installation Summary Perform Installation Configuration Check Installation Hostname Network Customer Center figuration iSCSI Initiator Overview 2 Boot from SAN Configuring Boot from SAN Service Connected Targets Interface Portal Address System Probing XS cx 0S RR Li Probe USB devices Probe FireWire devices Probe floppy disks devices Probe hard disk controllers Load kernel modules for hard disk controllers Probe hard disks Search for Linux partitions Search for system files Evaluate update possibilty Initialize package manager Searching for Linux partitions Figure 2 22 Selecting System Probing 1S0054604 00 A 2 15 2 Boot from SAN Configuring Boot from SAN EENNNNNM eee aue B Installation Mode SUSE Linux Enterprise Preparation wv Welcome gt System Analysis Select Mode Installation E New Installation Server Scenario Perform Installation tB Update an Existing System Configuration Check Installation Ve O Repair Installed System C In
53. r IP Address 02 ee ee 2 7 Configuration Settings Menu 0 0 ee eh 2 7 Selecting Primary Boot Device Settings auauna aeaaaee 2 8 Providing Target IP Address for Primary Boot Device 45 2 8 Selecting Alternate Boot Device Settings llis 2 9 Providing Target IP Address for Alternate Boot Device 2 9 Fast UTIL Options 0 0 ee 2 10 Selecting the Primary LUN iiiiiuusseseeeee emn han 2 10 List of Devices on the POL sss pa RR RR Ex ERA RR A eakes eek eae SR Mad 2 11 Editing Alternate Boot Device Settings liliis 2 11 Setting the Boot Mode to Manual 0 0 e ee 2 12 Entering the Boot BIOS ies trum eR RE RR Ee urades REPRE UR anew es 2 13 Providing the withiscsi Boot Option 0 0 cece eee 2 13 Installation Welcome Screen 00 00 eee eee 2 14 PC ie esate xt cca da p a RE eia EE ra ES Taia A E a AE a r a Aa 2 14 iSCSI Initiator OVerVviBW ciega Rad REESE ER RE EEXGRE RE ERR EE RR 2 15 Selecting System Probing uus ies ox evwewa Wena kr RENEE ipe hope e woe de Rx re RR 2 15 Selecting the Installation Mode 00 0 cee ees 2 16 Setting the Clock and Time Zone 2 ce ee 2 16 Selecting the Server Base Scenario 0 00 ee 2 17 Preparing the Hard DISK icu xw eee RR RE ER PRG RUE ERE RUE ned 2 17 Performing the Installation 000 ee ee 2 18 Booting From the Installation M
54. rsistence is maintained by storing Discovery Target and Normal Target records in the local file system using the iscsiadm tool 1 2 180054604 00 A e om d ES vC T To EDIAN 1 Legacy vs Open iSCSI Summary of Major Differences o 7 7 7 7 NENNEN Table 1 1 Differences Between IOCTL and Open iSCSI Driver Models Continued Open iSCSI based Driver Remarks Feature 3 Boot Target 4 Re login Handling 5 Network con figuration During driver load the firmware performs auto discovery and login to the boot targets based on the target information saved in the Flash and posts an AEN to inform the driver of the targets and their login status Session management or re login is handled by the driver Adapter ports are config ured using the QLogic application Login to boot targets is trig gered by the driver or the user space is dependent on the gql4xdisablesysfsboot driver command line parame ter W For RHEL 6 2 it is enabled by default so that the driver initiates the login B For SLES 11 SP2 it is dis abled by default so that yast2 iscsi client must be used to perform login Re login is handled either by iscsiadm and iscsid or by the driver depending how the session is initiated W f iscsiadm created the session session manage ment is handled using iscsid in other words handled by the user space E For the target record which is pe
55. rsistent in the Flash the driver initiates the ses sion and is responsible for re login or session man agement Adapter ports are configured using iscsiadm for network configuration By default iscsiadm creates an iface for each QLogic adapter port The iface name is of the form qla4xxx 00 0e 1e 04 8b 2e You can change or update the network setting for the port using various iface parameters and iface operations Note For more details on adapter mode and the ql4xdisables y sfsboot driver refer to Configur ing Boot from SAN on RHEL 6 2 on page 2 19 Session re login is also initiated on chip or adapter reset 1S0054604 00 A 1 3 1 Legacy vs Open iSCSI Summary of Major Differences E Table 1 1 Differences Between IOCTL and Open iSCSI Driver Models Continued Feature IOCTL based Driver Open iSCSI based Driver Remarks 6 How to view sessions logged in 7 Target scan ning 8 Link Down impact on SCSI Device Handling Qlogic application Login and target scanning is done in kernel space as follows 1 When the driver receives an AEN for the DDB indicating that the target is logged in the driver publishes the session to the iSCSI transport layer and unblocks the session 2 This triggers the SCSI midlayer LUN scan ning to discover all LUNs behind the tar get No change in the behav ior of session and SCSI device state handling The default
56. s X Contact Information 20 02 00 0 llle X Knowledge Database 2 2 0 2 cee eee X 1 Legacy vs Open iSCSI Summary of Major Differences 000 00 eee eee eee 1 2 Functional Flows 000 000 cee eee 1 7 DISCOVENY 4 cinch ERR RE ROKRRE Ra Rede A RR RR oe ee ae eres 1 8 Target L g iua d aca whe cei Se E Ce e OR i bebe ne teen oe 1 10 Session Recovery uses acc ea demon XGA E EORR ROCA TCR ewe uc 1 11 State Transition Diagrams 222 9 nas dee ohm doped mr benc eed 1 13 2 Boot from SAN New Parameter q14disablesysfsboot llle ess 2 2 Boot from SAN Configuration Matrix llle 2 2 Configuring Boot from SAN iussus tr ah RR x ne rx md 2 4 Boot from SAN Installation on SLES 11 SP2 and RHEL 6 2 2 4 Boot from SAN Installation on SLES 11 SP2 2 13 Configuring Boot from SAN on RHEL 6 2 0 00 2 2 19 Installing RHEL 6 2 aoa kn hice ic mos Ranae RC cn 2 19 ql4xdisablesysfsboot Settings and Adapter Boot Mode 2 33 3 Open iSCSI User s Guide Open iSCSI Supported Features nannaa 0c ccc eel 3 2 Discovery Login and Logout 0 02 e eee ee 3 2 1S0054604 00 A iii User s Guide IOCTL to Open iSCSI Interface QLogic 4000 Series iSCSI Adapters and 8200 Series Converged Network Adapters EN V P bvp x Boot Target Login 2 35 23 ca eaa cni e cro RO eg eae Pe ee P tna 3 2 Default Behavior on RHEL 6 2 0 00002 e eae
57. t for driver login Option 2 to the boot targets for these reasons m Ifthe bootentry isa sendtarget entry then iscsistart or open iscsi cannot discover and log in to the discovered target m The system will not boot up if you only do the kernel upgrade and do not upgrade the iSCSI tools Boot from SAN Configuration Matrix Table 2 1 lists the different boot from SAN combinations for the ql4xdisablesysfsboot module parameter and its corresponding effect on the behavior of sysfs iscsistart andthe qla4xxx driver when using the sendtarget entry ST and the iSCSI target entry NT All boot from SAN cases assume that iSCSI BIOS is enabled 2 2 180054604 00 A Export boot target through sysfs sys firmware iscsi_bootx where x is 1 2 iscsistart Driver qla4xxx 2 Boot from SAN Boot from SAN Configuration Matrix ls Table 2 1 Boot from SAN Configuration Matrix ql4xdisablesysfsboot 0 Boot Target as sendtarget ST The Boot Target will be exported through sysfs with IP address and port only Note If the iSCSI BIOS login is dis abled the entry made at the boot index will not be exported to sysfs iscsistart does not do discovery and login to the dis covered targets The driver scans the Flash entries cre ates the list of send targets and discovers and logs in to the targets Boot Target as Normal target NT The Boot Target will be exported thro
58. thmethod CHAP on auth username chapuser on auth password x x x on auth username in biuser on auth password in x 1S0054604 00 A 3 11 3 Open iSCSI User s Guide Managing QLogic iSCSI Adapters Using iscsiadm Target Discovery Discover Targets using sendtarget iscsiadm m discovery t st p lt target ip target port gt I lt iface name gt o new delete update nonpersistent In discovery mode iscsiadm will use the iscsid conf discovery settings and overwrite the discovery record settings with it By default it will remove records for portals not returned For portals returned the discovery command will create a new record or modify an existing one with values from iscsid conf and the command line Values passed with the o option B new iscsiadm will add records for portals that do not yet have records in the database B delete iscsiadm deletes records for portals that were not returned during discovery a update iscsiadm updates records for portals returned during discovery using info from iscsid conf and command line B nonpersistent iscsiadm will not store the portals found in node database Example ign 192 ign 192 j 2001 05 com 192 ign 192 ign iscsiadm m discovery t st p 192 168 2 104 I qla4xxx 3 o new 168 2 104 3260 1 2001 05 com 168 2 104 3260 1 equallogic 0 8a0906 edd493203 dc1000ece454e721 karen 2 168 2 104 32
59. ting Linux System s os Removes only Linux partitions created from a previous Linux installation This does not remove other n partitions you may have on your storage device s such as VFAT or FAT32 Tip This option will remove data from the selected device s Make sure you have backups Shrink Current System on Shrinks existing partitions to create free space for the default layout o Use Free Space Retains your current data and partitions and uses only the unpartitioned space on the selected device s assuming you have enough free space available n Create Custom Layout z Manually create your own custom layout on the selected device s using our partitioning tool C Encrypt system C Review and modify partitioning layout Figure 2 40 Selecting the Partition Layout Type 1S0054604 00 A 2 29 2 Boot from SAN Configuring Boot from SAN on RHEL 6 2 14 Select the type of installation as shown in Figure 2 41 The default installation of Red Hat Enterprise Linux is a basic server install You can optionally select a different set of software now Basic Server Database Server Web Server Enterprise Identity Server Base CO Virtualization Host Desktop O Software Development Workstation Minimal Ke Please select any additional repositories that you want to use for software installation O High Availability Load Balancer v Red Hat Enterprise Linux
60. ts Before the iface can be used the IP address for the port must be set as shown in Update iface Network Parameters on page 3 9 Table 3 2 lists hardware iSCSI interface config file fields Needed Yes No Field Name iface transport_name iface initiatorname iface hwaddress iface ipaddress iface bootproto iface vlan priority iface vlan state disable enable iface ipv6 linklocal iface ipv6 autocfg nd neighbor discovery iface linklocal autocfg iface router autocfg iface state iface iface num Table 3 2 Hardware iSCSI Interface Config File Fields Description The iscsi_transport or driver to use for iface Set if the etc iscsi initiatorame iscsi initiatorname is not to be used for normal ses sions For discovery sessions etc iscsi initiatorname iscsi is used Sets MAC address to bind by hardware address The IP address configured for the iface on the same subnet as the target Set to dhcp if IPv4 address must be obtained dynamically through DHCP or set to static if IPv4 address is set to a static IP address Used to set VLAN priority for the iSCSI interface Used to enable or disable the VLAN on the iSCSI interface Used to specify the IPV6 Link Local Address with the link local prefix of FE80 0 64 Used to set the discovery protocol to obtain IPV6 address For transport like q1a4xxx this allows you to autoconfigure the IPV6 link local address based on th
61. ttUTIL IOS for Adapter O is disabled IOS for Adapter 1 is disabled OM BIOS NOT INSTALLED PCI3 0 iSCSI ROM BIOS Version 2 11 opyright C QLogic Corporation 1993 2011 All rights reserved ww qlogic com Press lt CTRL Q gt or lt ALT Q gt for Fast tUTIL BIOS for Adapter O is disabled BIOS for Adapter 1 is disabled ROM BIOS NOT INSTALLED Figure 2 1 Entering Fast UTIL from the Adapter s BIOS 2 4 1S0054604 00 A 2 Boot from SAN Configuring Boot from SAN ls 2 Once in select the port to be configured as shown in Figure 2 2 QLE8242 Disable FA400000 01 41 00 4 00 0E 1E 05 36 ER Figure 2 2 Selecting the Port to Be Configured 3 Select Configuration Settings as shown in Figure 2 3 QLE8242 Disable FA400000 01 41 00 00 0E 1E 05 36 ER Configuration Settings Figure 2 3 Fast UTIL Options Menu Selecting Configuration Settings 1S0054604 00 A 2 5 2 Boot from SAN Configuring Boot from SAN 4 Select Host Adapter Settings as shown in Figure 2 4 QLE8242 Disable FA400000 01 41 00 00 0E 1E 05 36 ER Host Adapter Settings Figure 2 4 Selecting the Host Adapter Settings Option 5 Select the Initiator IP Settings field as shown in Figure 2 5 QLE8242 Disable FA400000 01 41 60 00 0E 1E 05 36 ER CD000 2 11 AFE1114C07082 15 Initiator IP Settings Figure 2 5 Selecting the Initiator IP Settings 2 6 180054604 00 A 2 Boot from SAN Configuring Boot from SAN ls
62. uding QLogic Observed Holidays For customers with extended service consult your plan for available hours For Support phone numbers see the Contact Support link at support glogic com Support Headquarters QLogic Corporation 4601 Dean Lakes Blvd Shakopee MN 55379 USA QLogic Web Site www qlogic com Technical Support Web Site http support glogic com Technical Support E mail support qlogic com Technical Training E mail trainin logic com Knowledge Database The QLogic knowledge database is an extensive collection of QLogic product information that you can search for specific solutions We are constantly adding to the collection of information in our database to provide answers to your most urgent questions Access the database from the QLogic Support Center http support qlogic com 1S0054604 00 A 1S0054604 00 A Legacy vs Open iSCSl This section describes the major differences between the legacy driver which has an IOCTL based interface for user space application communications and the Open iSCSI model This section includes the following topics BH Summary of Major Differences on page 1 2 W Functional Flows on page 1 7 W State Transition Diagrams on page 1 13 1 1 1 Legacy vs Open iSCSI Summary of Major Differences EENENNNNM Summary of Major Differences Table 1 1 summarizes the major differences between the legacy IOCTL based and Open iSCSI models Table 1 1 Differences Between
63. ugh sysfs Note If the iSCSI BIOS login is dis abled the entry made at the boot index will not be exported to sysfs iscsistart logs in to the NT Note If the iSCSI BIOS login is dis abled the driver will handle logging in to the boot target The driver does not log in to normal tar gets The open iscsi tools iscsistart log in to boot targets ql4xdisablesysfsboot 1 Boot Target as sendtarget ST The Boot Target will not be exported through sysfs iscsistart will not log in to ST targets The driver scans the Flash entries creates the list of sendtargets and discovers and logs in to the tar gets ELME 1S Normal target NT The Boot Target will not be exported through Sysfs iscsistart Will not log in to NT targets The driver does the login to the normal target which is config ured as boot tar gets 1S0054604 00 A 2 3 2 Boot from SAN Configuring Boot from SAN E Configuring Boot from SAN Boot from SAN Installation on SLES 11 SP2 and RHEL 6 2 To configure the adapter for BFS on SLES 11 SP2 or RHEL 6 2 follow these steps 1 While the system is booting up press CTRL Q to enter Fast UTIL on the iSCSI BIOS banner as shown in Figure 2 1 Press Ctrl Q to enter setup menu PCI3 0 Fibre Channel ROM BIOS Version 3 06 opyright C QLogic Corporation 1993 2011 All rights reserved ww qlogic com Press lt CTRL Q gt or lt ALT Q gt for Fas
64. us REPRE newee ea bee bas 3 16 Logout from All Targets 00 e eee ee eee 3 16 Features Not Supported a na asaan araea 3 17 Migrating to Open iSCSI Driver uuaa anuanua 3 17 Linux Open iSCSI README 0 0c eee eee ee 3 18 4 Known Issues List of Figures Figure Page 1 1 Noninteractive Discovery in IOCTL Mode Legacy 00 e eee eee 1 8 1 2 Interactive Discovery in IOCTL Mode Legacy 0000 e eee eee 1 8 1 3 Open iSCSI Discovery ausus ie opm P Rb S RR on dee d re dud det dd VR 1 9 1 4 IOCTL iSCSI Target Login da ade OR CR aco Aaa ee a Ge nae 1 10 iv 1S0054604 00 A User s Guide IOCTL to Open iSCSI Interface QLogic 4000 Series iSCSI Adapters and 8200 Series Converged Network Adapters Open iSCSI Target Login ccc ee 1 10 IOC TL Session Recovery kn ck edad istvineken eee banka RR kak eRe eens 1 11 Open iSCSI Session Recovery 0 2 6 00 ce eee 1 12 IOCTL State Transition Diagram 0 eee 1 13 Open iSCSI State Transition Diagram 0 00 ee ee 1 14 Entering Fast UTIL from the Adapter s BIOS 0 00 00 eee 2 4 Selecting the Port to Be Configured 20 0c cee ee 2 5 Fast UTIL Options Menu Selecting Configuration Settings 2 5 Selecting the Host Adapter Settings Option 2 0005 2 6 Selecting the Initiator IP Settings llsleelsseeeesssseenneene 2 6 Providing the Initiato

Download Pdf Manuals

image

Related Search

Related Contents

GDA 280 E Professional  Sony 4-115-539-45(1) Clock Radio User Manual  CONTRAT D`ACCEPTATION DES CARTES BANCAIRES CHINA  TECHNICAL & SERVICE MANUAL Ceiling  En este número paso a paso: LÁMPARAS DE DISEÑO  Sales Sheet. Page 1-C2    dout16b digital output module user manual  

Copyright © All rights reserved.
Failed to retrieve file