Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS devrait contenir:
- informations sur les caractéristiques techniques du dispositif Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS
- nom du fabricant et année de fabrication Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS
- instructions d'utilisation, de réglage et d’entretien de l'équipement Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Q-Logic en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    IS0054604-00 A User ’ s Guide IOCTL to Open-iSCSI Interface QLogic 4000 Series iSCSI Adapters and 8200 Series Converged Network Adapters[...]

  • Page 2

    ii IS0054604-00 A User ’s Gu ide—IOCTL to Open- iSCSI Interf ace QLogic 4000 Series iSCSI Adapters and 820 0 Series Converged Networ k Adapters Information fu rnished in this manual is believe d to be accurate and reliable. However , QLogic Corporation assumes no responsibility for its use, nor for any infringements of patent s or other right s[...]

  • Page 3

    IS0054604-00 A iii T able of Content s Preface What is in This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Related Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Page 4

    iv IS0054604-00 A User ’s Gu ide—IOCTL to Open-iSCSI Interfac e QLogic 4000 Series iSCSI Adapters and 820 0 Series Converged Networ k Adapters Boot T arget Login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Default Behavior on RHEL 6.2 . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Default Behavio[...]

  • Page 5

    IS0054604-00 A v User ’s Guide—IOCTL to Open-iSCSI Interface QLogic 4000 Series iSCSI Adapter s and 8200 Series Conver ged Network Adap ters 1-5 Open-iSCSI T arget Login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10 1-6 IOCTL Session Recovery. . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Page 6

    vi IS0054604-00 A User ’s Gu ide—IOCTL to Open-iSCSI Interfac e QLogic 4000 Series iSCSI Adapters and 820 0 Series Converged Networ k Adapters 2-41 Selecting the Installation T ype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-30 2-42 Installation in Progre ss . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Page 7

    IS0054604-00 A vii Preface S tarting with Red Hat ® Enterprise Linux ® (RHEL™) 6 .2 and Novell ® SUSE ® Linux Enterprise Server (SLES ® ) 1 1 SP2, the QLogic qla4xxx driver (iSCSI driver for Linux) supports the Open-iSCSI tool iscsiadm . As a result, iscsiadm can now be used to perform managemen t func tions (configuring network settings, ma[...]

  • Page 8

    Preface Related Materials viii IS0054604-00 A Related Materials For additional informat ion, refer to the following:  T echnical Note, 2.10. Kernel http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_L inux/6/html/6.2_T echnical_Notes/kernel_issues.html  Release Notes for SUSE Linux Enterp rise Server 1 1 Service Pack 2 http://www .novell.co[...]

  • Page 9

    Preface T echnical Support IS0054604-00 A ix  Te x t i n ital ics indicates terms, emphasis, va riables, or d ocument titles:  For a complete listing of license agreement s, refer to the QLogic Software End User License Agreement .  What are shortcut keys ?  T o enter the date type mm/dd/yyyy (where mm is the month, dd is the day , and [...]

  • Page 10

    Preface T echnical Support x IS0054604-00 A T raining QLogic Global T raining maintains a W eb site at www .qlogictraining.com offering online and instructor-led trainin g for all QLogic products . In addition, sales and technical professionals may obta in Associate and S pecialist -level certifications to qualify for additional benefit s from QLog[...]

  • Page 11

    IS0054604-00 A 1-1 1 Legacy vs. Open-iSCSI This section describes the major dif ferenc es between the legacy driver which has an IOCTL-based interface for user space app lication communications, and the Open-iSCSI model. This section includes the following top ics:  “Summary of Major Differe nces” on page 1-2  “Functional Flows” on pa[...]

  • Page 12

    1–Legacy vs. Open-iSCSI Summary of Major Dif ferences 1-2 IS0054604-00 A Summary of Major Differences T able 1-1 summarizes the major dif ferences between the legacy IOCTL-based and Open-iSCSI models. T able 1-1. Differences Between IOCTL and Open -iSCSI Driver Models Serial No. Feature IOCTL-based Driver Open-iSCSI-based Driver Re marks 1 Firmwa[...]

  • Page 13

    1–Legacy vs . Open-iSCSI Summary of Ma jor Dif ferences IS0054604-00 A 1-3 3 Boot T arget During driver load, the firmware performs auto discovery and login to the boot ta rgets based on the target informatio n saved in the Flash, and posts an AEN to inform the driver of the tar gets and th eir login status. Login to boot targ ets is trig- gered [...]

  • Page 14

    1–Legacy vs. Open-iSCSI Summary of Major Dif ferences 1-4 IS0054604-00 A 6 How to view sessions logged in Qlogic applicat ion a Use the following command: iscsiadm -m session 7 T arget scan- ning Login and t arget scanning is done in kernel sp ace as follows: 1. When the driver receives an AEN for the DDB indicating that the target is logged in, [...]

  • Page 15

    1–Legacy vs . Open-iSCSI Summary of Ma jor Dif ferences IS0054604-00 A 1-5 9 Dynamic map- ping/unmap- ping of LUNs added to the back-end stor- age The driver handles the following check condi- tion/sense dat a: UNIT_A TTENTION ASC/ASCQ : 0x3F/0x0E to figure out that a new LUN has been adde d on the back-end sto rage and makes an upcall to the SCS[...]

  • Page 16

    1–Legacy vs. Open-iSCSI Summary of Major Dif ferences 1-6 IS0054604-00 A 12 Flash DDBs with Open-iSCSI model driver Not applicable The Open -iSCSI driver will support existing Flash DDB entries in the adapter . iscsiadm has no control over these sessions. Session manageme nt of Flash DDB entries is done by the driver itself. Note: iscsiadm is not[...]

  • Page 17

    1–Legacy vs . Open-iSCSI Functional Flows IS0054604-00 A 1-7 Functional Flows This section provides functional flow diagr ams for discovery , target login, an d session recovery . 13 CHAP CHAP settings are applied using the QLogic application a . With CHAP support in iscsiadm , CHAP entries can now be added, deleted, and listed from the user spac[...]

  • Page 18

    1–Legacy vs. Open-iSCSI Functional Flows 1-8 IS0054604-00 A Discovery Figures 1-1 through 1-3 provide functional flow diagra ms of the disco very process for IOCTL and Open-iSCSI. Figure 1-1. Noninteractive Di scovery in IOCTL Mode (Legacy) Figure 1-2. Interactive Disco very in IOCTL Mode (Legacy)[...]

  • Page 19

    1–Legacy vs . Open-iSCSI Functional Flows IS0054604-00 A 1-9 Figure 1-3. Open-iSCSI Discovery[...]

  • Page 20

    1–Legacy vs. Open-iSCSI Functional Flows 1-10 IS0054604-00 A T arget Login Figures 1-4 through 1-5 provide functional flow diagrams of the targ et login process for IOCTL and Open-iSCSI. Figure 1-4. IOCTL iSCSI T arget Login Figure 1-5. Open-iSCSI T arget Login[...]

  • Page 21

    1–Legacy vs . Open-iSCSI Functional Flows IS0054604-00 A 1-1 1 Session Recovery Figures 1-6 through 1-7 provide functional flow diagrams of the session recovery process for IOCTL and Open-iSCSI. Figure 1-6. IOCTL Session Recovery[...]

  • Page 22

    1–Legacy vs. Open-iSCSI Functional Flows 1-12 IS0054604-00 A Figure 1-7. Open-iSCSI Session Recovery[...]

  • Page 23

    1–Legacy vs . Open-iSCSI S tate T ransition Diagrams IS0054604-00 A 1-13 S t ate T ransition Diagrams Figures 1-8 through 1-9 provide st ate transition diagrams for IOCTL and Open-iSCSI. These diagrams illustrate the management of the session/t arget life cycle. Figure 1-8. IOCTL S tate T ransition Diagram[...]

  • Page 24

    1–Legacy vs. Open-iSCSI S tate T ransition Diagrams 1-14 IS0054604-00 A Figure 1-9. Open-iSCSI S tate T ransition Diagram[...]

  • Page 25

    IS0054604-00 A 2-1 2 Boot from SAN This section provides information on c onfigurin g Boot from SAN (BFS) when migrating to the Open-iSCSI model. This section includes the following top ics:  “New Parameter: ql4disablesysfsboot” on p age 2-2  “Boot from SAN Configuration Matrix” on page 2-2  “Configuring Boot from SAN” on pag e[...]

  • Page 26

    2–Boot from SAN New Parameter: ql4disablesysfsboot 2-2 IS0054604-00 A New Parameter: ql4disablesysfsboot The ql4disablesysfsboot p arameter is a new driver module parameter for the Open-iSCSI based driver model (it is not supported by the ioctl based driver). This parame ter controls the behavior of boot target login in the Open-iSCSI base driver[...]

  • Page 27

    2–Boot from SAN Boot from SAN Configuration Matrix IS0054604-00 A 2-3 T able 2-1. Boot from SAN Configuration Matrix ql4xdisablesysfsboot = 0 ql4xdisablesysfsboot = 1 Boot T arget as send target (ST) Boot T arget as Normal t arget (NT) Boot T arget as send target (ST) Boot T arget as Normal target (NT) Export boot t arget through sysfs (/sys/firm[...]

  • Page 28

    2–Boot from SAN Configuring Bo ot from SAN 2-4 IS0054604-00 A Configuring Boot from SAN Boot from SAN Inst allation on SLES 1 1 SP2 and RHEL 6.2 T o configure the adapter for BFS on SLES 1 1 SP2 or RHEL 6.2, follow these steps: 1. While the system is booting up, pre ss CTRL+Q to enter Fast!UTIL on the iSCSI BIOS banner , as shown in Figure 2-1 . [...]

  • Page 29

    2–Boot from SAN Configuring Boot from SAN IS0054604-00 A 2-5 2. Once in, select the port to be configured, a s shown in Figure 2-2 . Figure 2-2. Selecting the Port to Be Configured 3. Select Configuration Settings , as shown in Figure 2-3 . Figure 2-3. Fast!UTIL Options Me nu—Selecting Configuration Settings[...]

  • Page 30

    2–Boot from SAN Configuring Bo ot from SAN 2-6 IS0054604-00 A 4. Select Host Adapter Settings , as shown in Figure 2-4 . Figure 2-4. Selecting the Ho st Adapter Settings Option 5. Select the Initiator IP Settings field, as shown in Figure 2-5 . Figure 2-5. Selecting th e Initiator IP Settings[...]

  • Page 31

    2–Boot from SAN Configuring Boot from SAN IS0054604-00 A 2-7 6. Provide the initiator IP address, as shown in Figure 2-6 . Figure 2-6. Providing th e Initiator IP Address 7. Press ESC repeatedly until the screen shown in Figure 2-7 appears. Then, select the iSCSI Boot Settings option. Figure 2-7. Configur ation Settings Menu[...]

  • Page 32

    2–Boot from SAN Configuring Bo ot from SAN 2-8 IS0054604-00 A 8. Select Primary Boot Device Settings, as shown in Figure 2-8 . Figure 2-8. Select ing Primary Boot Device Settings 9. Provide the target I P address, as shown in Figure 2-9 . Figure 2-9. Providing T arget IP Address for Primary Boot Device[...]

  • Page 33

    2–Boot from SAN Configuring Boot from SAN IS0054604-00 A 2-9 10. Select Alternate Boot Devi ce Settings, as shown in Figure 2-10 . Figure 2-10. Selecting Alternate Boot Device Settings 1 1. Provide the t arget IP address, as shown in Figure 2-1 1 . Figure 2-1 1. Providing T arget IP Address for Alternate Boot Device[...]

  • Page 34

    2–Boot from SAN Configuring Bo ot from SAN 2-10 IS0054604-00 A 12. Press ESC until the menu in Figure 2-12 appears. Select Reinit Adapter to save all IP setti ngs. Figure 2-12. Fast!UTIL Options 13. In iSCSI Boot Settings, select Primary (LUN), as shown in Figure 2-13 . Figure 2-13. Selecti ng the Primary LUN[...]

  • Page 35

    2–Boot from SAN Configuring Boot from SAN IS0054604-00 A 2-1 1 14. A list 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. Figure 2-14. List of Devices on the Port 15. Repeat step s 13 – 14 to edit the alternate b oot device setting, as in Figure 2-15 . Figure 2-15[...]

  • Page 36

    2–Boot from SAN Configuring Bo ot from SAN 2-12 IS0054604-00 A 16. Change the ad apter ’s boot mode to Manual , as Figure 2-16 shows. 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, a nd configure the boot target s on the port. 19. Save the settings and reb[...]

  • Page 37

    2–Boot from SAN Configuring Boot from SAN IS0054604-00 A 2-13 Boot from SAN Inst allation on SLES 1 1 SP2 T o configure the adapter for BFS on SLES 1 1 SP2, follow these steps: 1. Boot from the SLES 1 1 SP2 DVD, as shown in Figu re 2-17 . Figure 2-17. Ente ring the Boot BIOS 2. Provide the withiscsi=1 boot option , as shown in Figure 2-18 . Figur[...]

  • Page 38

    2–Boot from SAN Configuring Bo ot from SAN 2-14 IS0054604-00 A 3. The Welcome screen appears, as shown in Figure 2-19 . F ollow the instructions on this screen to begin the inst allation. Figure 2-19. Installation Welcome Screen 4. Complete the installatio n by following the instructions on all subsequent screens, as shown in Figures 2-2 0 throug[...]

  • Page 39

    2–Boot from SAN Configuring Boot from SAN IS0054604-00 A 2-15 Figure 2-21. iSCSI Initiator Overview Figure 2-22. Selecting System Probing[...]

  • Page 40

    2–Boot from SAN Configuring Bo ot from SAN 2-16 IS0054604-00 A Figure 2-23. Selecting the Installation Mode Figure 2-24. Setting th e Clock and T ime Zone[...]

  • Page 41

    2–Boot from SAN Configuring Boot from SAN IS0054604-00 A 2-17 Figure 2-25. Selecting th e Server Base Scenario Figure 2-26. Preparing the Hard Disk[...]

  • Page 42

    2–Boot from SAN Configuring Bo ot from SAN 2-18 IS0054604-00 A Figure 2-27. Performi ng the Installation 5. When the inst allation is completed, reboot the syste m and boot from the iSCSI adapter .[...]

  • Page 43

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 IS0054604-00 A 2-19 Configuring Boot from SAN on RHEL 6.2 Inst alling RHEL 6.2 T o install RHEL 6. 2, follow these steps: 1. Boot from the inst allation media, as shown in Figure 2-28 . Figure 2-28. Booting From the Installation Media 2. Choose either to test the media disk or skip the test, a[...]

  • Page 44

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 2-20 IS0054604-00 A 3. Select the network interface through wh ich the inst allation is to be done, as Figure 2-30 shows. Figure 2-30. Selecting Networ k Interface for Installation 4. Configure the IP address eith er st atically or using, as Figure 2-31 shows. Figure 2-31. Configuring the IP A[...]

  • Page 45

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 IS0054604-00 A 2-21 5. Once the network interface is configured, the inst allation starts, as shown in Figure 2-32 . Figure 2-32. Start of RHEL 6.2 Installation[...]

  • Page 46

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 2-22 IS0054604-00 A 6. Select the language to use during the inst allation, as shown in Figure 2-33 . Figure 2-33. Selecting the La nguage for the Installation[...]

  • Page 47

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 IS0054604-00 A 2-23 7. Select the type of keyboard that is con nected to your system, as shown in Figure 2-34 . Figure 2-34. Selecting the Keyboard[...]

  • Page 48

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 2-24 IS0054604-00 A 8. Select one the two options shown in Fig ure 2-35 : Basic Storage Devices or Specialized S torage Devices . Y ou may select either option since the LUN has been added in the ad apter ’s BI OS. Figure 2-35. Selecti ng S t orage Device T ype[...]

  • Page 49

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 IS0054604-00 A 2-25 9. Select the disk that was added in the adap ter ’s BIOS and verify that it ha s two paths to it, as sho wn in Figure 2-36 . Figure 2-36. V erifying Paths to the Disk[...]

  • Page 50

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 2-26 IS0054604-00 A 10. Enter the host name, a s shown in Figure 2-37 . Figure 2-37. Specifyi ng the Host Name[...]

  • Page 51

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 IS0054604-00 A 2-27 1 1. Select the time zone, as shown in Figure 2-38 . Figure 2-38. Selecting the Time Zone[...]

  • Page 52

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 2-28 IS0054604-00 A 12. Enter the root credentials t hat you want to set for the system, as shown in Figure 2-39 . Figure 2-39. Entering the Root Credentials[...]

  • Page 53

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 IS0054604-00 A 2-29 13. Select the type of p artition layout you want, as shown in Figure 2-40 . Figure 2-40. Selecting th e Partition Layout T ype[...]

  • Page 54

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 2-30 IS0054604-00 A 14. Select the type of inst allation, as shown in Figure 2-41 . Figure 2-41. Selecting the Installation T ype[...]

  • Page 55

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 IS0054604-00 A 2-31 15. The installer creates the p artitions on the disk and begins to cop y files to it, as show n in Figure 2-42 . Figure 2-42. Installation in Progress[...]

  • Page 56

    2–Boot from SAN Configuring Boot from SAN on RHEL 6.2 2-32 IS0054604-00 A 16. Once the files have been copied, the inst aller will prompt you to reboot the machine, as shown in Figure 2-42 . Figure 2-43. Installation Completed[...]

  • Page 57

    2–Boot from SAN ql4xdisablesysfsboot Settin gs and Adapter Boot Mode IS0054604-00 A 2-33 ql4xdisablesysfsboot Settings and Adapter Boot Mode This section demonstrates the effect of the ql4xdisablesysf sboot parameter under differen t adapter boot modes. # iscsiadm -m iface -I qla4xxx.00:c0:dd:07:59:f2.ipv4.0 -n iface.ipaddress -v 10.0.10.183 -o u[...]

  • Page 58

    2–Boot from SAN ql4xdisablesysfsboot Settings and Adap ter Boot Mode 2-34 IS0054604-00 A 2 Non-Boot from SAN a No target info is in the firm- ware 1 or 0 Disable 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 <qla4xxx iface> Login: #[...]

  • Page 59

    IS0054604-00 A 3-1 3 Open-iSCSI User ’ s Guide This section provides a User’s Guide for Open-iSCSI. It inclu des the following topics:  “Open-iSCSI Supported Features” on p age 3-2  “Managing QLogic iSCSI Adapters Using iscsiadm” on page 3-4  “Features Not Supported” on p age 3-17  “Migrating to Open-iSCSI Driver” on[...]

  • Page 60

    3–Open-iSCSI User ’s Guide Open-iSCSI Supported Features 3-2 IS0054604-00 A 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 1 1 Service Pack 2. Open-iSCSI infrastructure support s discovery , login to and logout from iSCSI target s, and m[...]

  • Page 61

    3–Open-iSCSI User’s Guide Open-iSCSI Supported Features IS0054604-00 A 3-3 Default Behavior on SLES 1 1 SP2 Open-iSCSI is enabled by default on SLES 1 1 SP2 and lo gin to boot targ ets is triggered by iscsiadm during insta llation. The default behavior can be chang ed by setting the driver p arameter ql4xdisablesysfsboot to 1, in which case the[...]

  • Page 62

    3–Open-iSCSI User ’s Guide Managing QLogic iSCSI Adapters Using iscsiadm 3-4 IS0054604-00 A Managing QLogic iSCSI Adapters Using iscsiadm iSCSI Configuration Files and Persistent Dat abases The Open-iSCSI daemon iscsid can be con figured to use the default node configuration and persistent dat abase to autom atically start discovery on st artup[...]

  • Page 63

    3–Open-iSCSI User’s Guide Managing QLogic iSCSI Adap ters Using iscsiadm IS0054604-00 A 3-5 2. Discover the iSCSI target. 3. List all discovered target s. 4. Log in to all discovered t argets. 5. List all sessions. # iscsiadm -m discovery -t st -p 192.16 8.1.11 -I qla4xxx.00:0e:1e:05:38:42.ipv4.0 192.168.1.11:3260,1 iqn.1992-04.com.emc:cx.ckm00[...]

  • Page 64

    3–Open-iSCSI User ’s Guide Managing QLogic iSCSI Adapters Using iscsiadm 3-6 IS0054604-00 A iSCSI Interface Configuration iSCSI Configuration Parameters Each iSCSI Host Bus Adapter , NIC, or network interface to which sessions a re bound should have its o wn iSCSI interface config file in /etc/ iscsi/ifaces . For hardware of fload iSCSI, iscsia[...]

  • Page 65

    3–Open-iSCSI User’s Guide Managing QLogic iSCSI Adap ters Using iscsiadm IS0054604-00 A 3-7 Example: IPv4 sample config file with st atic IP address List All ifaces # iscsiadm -m iface Example : # 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 = qla4[...]

  • Page 66

    3–Open-iSCSI User ’s Guide Managing QLogic iSCSI Adapters Using iscsiadm 3-8 IS0054604-00 A Display iface Configuration Det ails # iscsiadm -m iface -I <iface_name> Example: Create an iface # iscsiadm -m iface -I <iface_name> -o new # iscsiadm -m iface -I qla4xxx.00:c0:dd:0b:13:f1.ipv4.0 # BEGIN RECORD 2.0-872.28.el6-1031 iface.iscs[...]

  • Page 67

    3–Open-iSCSI User’s Guide Managing QLogic iSCSI Adap ters Using iscsiadm IS0054604-00 A 3-9 Example: Up date iface Network Parameters # iscsiadm -m iface -I <iface_name> -o update -n <rec_ name> -v <value> # iscsiadm -m iface -I <iface_name> -o apply # iscsiadm -m iface -I <iface_name> -o applyall Where: update upd[...]

  • Page 68

    3–Open-iSCSI User ’s Guide Managing QLogic iSCSI Adapters Using iscsiadm 3-10 IS0054604-00 A Example: IPv4 Settings (sta tic) Example: IPv4 Settings (DHCP) Example: IPv6 Settings (manual) Example: IPv6 Settings (neighbor disco very) # 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:[...]

  • Page 69

    3–Open-iSCSI User’s Guide Managing QLogic iSCSI Adap ters Using iscsiadm IS0054604-00 A 3-1 1 Unidirectional and Bidi rectional CHAP settings Example: Display changes made to the 192 .168.1.84:3260 CHAP settings: NOTE The target should be logged out before updating the network p arameters. iscsiadm will give the following warning if a network p[...]

  • Page 70

    3–Open-iSCSI User ’s Guide Managing QLogic iSCSI Adapters Using iscsiadm 3-12 IS0054604-00 A T arget Discovery Discover T arget s using sendt arget # iscsiadm -m discovery -t st -p <target_ip:target_port> -I <iface_name> -o new, delete, update, nonpersistent In discovery mode, iscsiadm will use the iscsid.conf discovery settings and[...]

  • Page 71

    3–Open-iSCSI User’s Guide Managing QLogic iSCSI Adap ters Using iscsiadm IS0054604-00 A 3-13 Adding a New discoverydb for send target # 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 # BEGIN RECORD 2.0-872.28.e[...]

  • Page 72

    3–Open-iSCSI User ’s Guide Managing QLogic iSCSI Adapters Using iscsiadm 3-14 IS0054604-00 A Remove send target Node # iscsiadm -m discoverydb -t st -p <target IP> -I <iface> -o delete Example: # iscsiadm -m discoverydb -t st -p 192.168.2.105 -I qla4xxx-3 -o delete Adding and Deleting T arget s Adding a New T arget # iscsiadm -m nod[...]

  • Page 73

    3–Open-iSCSI User’s Guide Managing QLogic iSCSI Adap ters Using iscsiadm IS0054604-00 A 3-15 List All T arget s # iscsiadm -m node Example: Deleting a T arget Node # iscsiadm -m node -T <target name> -p <target portal> -I <iface> -o delete Example: # iscsiadm -m node -T iqn.2001-05.com.equallogic:0-8a0906-2d733fe02-d25000ecd7a[...]

  • Page 74

    3–Open-iSCSI User ’s Guide Managing QLogic iSCSI Adapters Using iscsiadm 3-16 IS0054604-00 A Login to All T arget s Not specifying the t arget name, portal, and ifa ce name results in login to all portals on all nodes/target s through each interface specified in the node co nfiguration. # iscsiadm -m node -l T o login to all port als on a node/[...]

  • Page 75

    3–Open-iSCSI User’s Guide Features Not Supported IS0054604-00 A 3-17 Features Not Supported The features below are not supporte d in Red Hat Enterprise Linux 6.2. These features will be supported in Red Hat Enterpr ise 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[...]

  • Page 76

    3–Open-iSCSI User ’s Guide Linux Open-iSCSI README 3-18 IS0054604-00 A Linux Open-iSCSI README Go to http://www .open-iscsi.org/docs/README for more det ailed information about Linux Open-iSCSI.[...]

  • Page 77

    IS0054604-00 A 4-1 4 Known Issues This section lists curre ntly known issues and provides a brief explanation of each issue. QLogic Application Limit a tions  The RHEL 6.2 and SLES 1 1 SP2 inbox drivers do no t support the following QLogic applications:  iscli (SANsurfer iSCSI CLI)  qaucli (QConvergeConsole CLI)  The QLogic iSCSI driver[...]

  • Page 78

    4–Known Issue s CHAP Limitations 4-2 IS0054604-00 A[...]

  • Page 79

    [...]

  • Page 80

    Corporate Headquarters QLogic Corporation 26650 Aliso Viejo Parkway Ali so Viejo, CA 92656 949.389.6000 www .qlogic.com International Office s UK | Ireland | Germany | France | India | Japan | China | Hong Kong | Singapore | T aiwan © 2012 QLogic Corporation. Specifications ar e subject to change without notice. All ri ghts reserved worldwide. QCo[...]