Oracle Audio Technologies SunDual 10GbE XFP 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
81
82
83
84
85
86

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 Oracle Audio Technologies SunDual 10GbE XFP. 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 Oracle Audio Technologies SunDual 10GbE XFP 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 Oracle Audio Technologies SunDual 10GbE XFP 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 Oracle Audio Technologies SunDual 10GbE XFP devrait contenir:
- informations sur les caractéristiques techniques du dispositif Oracle Audio Technologies SunDual 10GbE XFP
- nom du fabricant et année de fabrication Oracle Audio Technologies SunDual 10GbE XFP
- instructions d'utilisation, de réglage et d’entretien de l'équipement Oracle Audio Technologies SunDual 10GbE XFP
- 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 Oracle Audio Technologies SunDual 10GbE XFP 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 Oracle Audio Technologies SunDual 10GbE XFP et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Oracle Audio Technologies 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 Oracle Audio Technologies SunDual 10GbE XFP, 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 Oracle Audio Technologies SunDual 10GbE XFP, 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 Oracle Audio Technologies SunDual 10GbE XFP. À 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

    Sun Dual 10GbE XFP PCI Express Card User’ s Guide P ar t No . 820-0184-14 May 2010, Re vision A[...]

  • Page 2

    Please Recycle Copyright © 2009, 2010, Oracle and/or its affiliates. All rights reserved. This software and related documentation ar e provided under a license agr eement containing restrictions on use and disclosure and ar e protected by intellectual property laws. Except as expressly permitted in your license agr eement or allowed by law , you [...]

  • Page 3

    iii Contents Using This Documentation vii 1. Product Overview 1 Components 1 Product Description 1 Hardware and Software Requirements 3 Features 3 Declaration of Conformity 5 2. Installing and Setting Up the Driver 7 Downloading and Installing the Driver on a Solaris SPARC or x86 Platform 7 ▼ T o Download the Driver on a Solaris Platform 7 ▼ T [...]

  • Page 4

    iv Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 Verifying the Hardware Installation 20 ▼ T o V erify the Hardwar e Installation 20 Rebooting the System 22 4. Network Conf iguration 23 Configuring the Network Host Files 23 Setting Up a 10-Gigabit Ethernet Network on a Diskless Client System 25 ▼ T o Set Up a 10-Gigabit Etherne[...]

  • Page 5

    Contents v Setting Parameters on a Linux Platform 44 ▼ T o Set Parameters Using the ethtool Utility 44 ▼ T o Set Parameters Using the Bundled configtool Utility 48 T uning for Maximum Performance on a Linux Platform 49 6. Conf iguring the Jumbo Frames Feature 51 Jumbo Frames Overview 51 Checking Jumbo Frames Configurations 51 ▼ T o Show the D[...]

  • Page 6

    vi Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 A. Specif ications 67 Connectors 67 Performance Specifications 68 Physical Characteristics 69 Power Requirements 69 B. Diagnostic Software 71 SunVTS Diagnostic Software 71 Updating SunVTS to Recognize the Adapter 72 ▼ T o Update SunVTS to Recognize the Adapter 72 Using the SunVTS [...]

  • Page 7

    vii Using This Documentation This guide provides instructions for installing both the har dware and software for the Sun Dual 10GbE XFP PCI Express car d from Oracle. This manual also describes how to configur e the nxge driver , which controls the card. These instructions are designed for enterprise system administrators with experience installing[...]

  • Page 8

    viii Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 Shell Pr ompts Shell Prompt C shell machine-name % C shell superuser machine-name # Bourne shell and Korn shell $ Bourne shell and Korn shell superuser #[...]

  • Page 9

    Using This Documentation ix Related Documentation The documents listed as online are available at: http://docs.sun.com/app/docs/prod/dual.xfpsr2.pci Documentation, Support, and T raining These web sites provide additional r esources: Documentation Feedback Submit comments about this document by clicking the Feedback[+] link at http://docs.sun.com .[...]

  • Page 10

    x Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010[...]

  • Page 11

    1 CHAPTER 1 Pr oduct Overview This chapter provides an overview of the Sun x8 Expr ess Dual 10 Gigabit Ethernet Fiber XFP Low Prof ile Adapter, including: ■ “Components” on page 1 ■ “Product Description” on page 1 ■ “Hardwar e and Software Requirements” on page 3 ■ “Features” on page 3 Components The carton in which your Sun[...]

  • Page 12

    2 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 FIGURE 1- 1 shows the adapter . FIGURE 1-1 Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Pr ofile Adapter Har dware and Softwar e Requir ements Before installing the adapter , make sure your system meets the hardwar e and software r equirements. T ABLE 1- 1 lists the supporte[...]

  • Page 13

    Chapter 1 Product Overview 3 Featur es The Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Pr ofile Adapter provides the following features: ■ T wo full-duplex 10 gigabit Ethernet interface that use a 10 gigabit Ethernet small form factor pluggable (XFP), optical transceiver with duplex LC fiber connector ■ IEEE 802.3ae 2002 compliant ■[...]

  • Page 14

    4 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 Declaration of Conformity EMC USA—FCC Class A This equipment complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: 1. This equipment may not cause harmful interference. 2. This equipment must accept any interference that may cause undesir ed [...]

  • Page 15

    Chapter 1 Product Overview 5 /S/ /S/ Dennis P . Symanski DA TE W orldwide Compliance Engineering Sun Microsystems, Inc. 4150 Network Circle, MPK15-102 Santa Clara, CA 95054 U.S.A. T el: 650-786-3255 Fax: 650-786-3723 Donald Cameron DA TE Program Manager/Customer Quality Sun Microsystems Scotland, Limited Blackness Road, Phase I, Main Bldg. Springfi[...]

  • Page 16

    6 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010[...]

  • Page 17

    7 CHAPTER 2 Installing and Setting Up the Driver This chapter explains how to download and install the nxge driver . The nxge gigabit Ethernet driver ( nxge (7D)) is a multi-threaded, loadable, clonable, GLD-based STREAMS driver . The nxge driver is managed by the dladm (1M) command line utility , which allows VLANs to be def ined on top of nxge in[...]

  • Page 18

    8 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 2. Uncompress the gzipped tar f ile: 3. Unpack the tar f ile: a. For SP ARC systems, change to the following directory: b. For x86 systems: 4. For SP ARC systems, determine which architecture your system is running: a. For sun4v systems, install the software packages by typing the fo[...]

  • Page 19

    Chapter 2 Installing and Setting Up the Driver 9 6. Select the packages you want to install: ■ Press Return or type all to accept the default and install all packages. ■ T ype the specific numbers, separated by a space, if you pr efer not to install any optional packages. 7. V erify that the nxge driver is installed on the system: ▼ T o Remov[...]

  • Page 20

    10 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 Downloading and Installing the Driver on a Linux Platform 1. Login to your system. 2. Download the driver RPM for your operating system: http://www.sun.com/download/products.xml?id=44eb1efd For example: 3. Discover the network interfaces before adding the package by using the ifconf[...]

  • Page 21

    Chapter 2 Installing and Setting Up the Driver 11 Note – In RHEL5.0 and later releases, the driver is packaged in the kmod driver binary package format. This packaging allows forward and backward driver binary compatibility within the same flavors of RHEL5 releases. Driver packages nxge version 2.0.0 and later are not compatible with the earlier [...]

  • Page 22

    12 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 7. Use the ethtool command to check the parameter conf igurations that apply to the nxge driver . ▼ T o Remove the Driver Fr om a Linux Platform ● T o remove the driver packages from a Linux Platform use the rpm -e command: (For 10G) # ethtool -i eth4 driver: nxge version: 2.0.1[...]

  • Page 23

    13 CHAPTER 3 Installing the Adapter This chapter describes how to install the Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Prof ile Adapter in your system and verify that it has been installed correctly . This chapter contains the following section: ■ “Installing the Adapter” on page 13 ■ “Installing an Optical T ransceiver” on[...]

  • Page 24

    14 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 Caution – Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Profile Adapter mechanical fit limitations: Do not install the Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Pr ofile Adapter in slot-2 of a Sun Fire T2000 system. The SA T A cables from the adjacent card slot[...]

  • Page 25

    Chapter 3 Installing the Adapter 15 Note – These illustrations show the Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Prof ile Adapter being installed into a Sun Fire T2000, which requir es a standard height bracket for the low prof ile adapter . 6. Open the retaining clip at the edge of the PCI-E opening. 7. Holding the adapter by the ed[...]

  • Page 26

    16 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 9. Secure the retaining clip Caution – Do not use excessive force when installing the adapter into the PCI-E slot. Y ou might damage the adapter ’s PCI connector . If the adapter does not seat properly when you apply even pr essure, remove the adapter and car efully reinstall it[...]

  • Page 27

    Chapter 3 Installing the Adapter 17 1 1. Install the optical transceivers. Note – Illustrations for installing the adapter and installing the optical transceiver show differ ent systems. This difference in systems pr ovides the maximum clarity for installing the optical transceiver and shows the most complicated adapter installation. Installing a[...]

  • Page 28

    18 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 ▼ T o Install an Optical T ransceiver 1. Pull the white locking handle into the full horizontal position. Y ou will feel the handle click into position when it is fully opened. Note – If you are installing an optical transceiver in a Sun Fire T1000, ensur e that the label and th[...]

  • Page 29

    Chapter 3 Installing the Adapter 19 4. Push the handle closed to lock the optical transceiver in place. 5. Repeat Step 1 through Step 4 to install the second optical transceiver 6. Detach the wrist strap. Caution – If you pull the locking handle down when the optical transceiver is installed, remove the optical transceiver entirely and r einstall[...]

  • Page 30

    20 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 7. Connect the Ethernet cables. V erifying the Har dware Installation After you have installed the Sun 10-Gigabit Ethernet adapter , but before you boot your system, perform the following tasks to verify the installation. Refer to the your Solaris documentation for the detailed inst[...]

  • Page 31

    Chapter 3 Installing the Adapter 21 3. V iew the device that you installed. Using the previous example, type: 4. Use the .properties command to display a list of device properties. The . properties command displays the specific information about the device. If you are using the Sun x8 Expr ess Dual 10 Gigabit Ethernet Fiber XFP Low Pr ofile Adapter[...]

  • Page 32

    22 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 5. T ype the following when you f inish looking at the .properties values: Rebooting the System After verifying the adapter installation, use the boot -r command to perform a reconf iguration boot on your system. ok device-end ok boot -r[...]

  • Page 33

    23 CHAPTER 4 Network Conf iguration This chapter describes how to edit the network host files after the adapter has been installed on your system. This chapter contains the following sections: ■ “Configuring the Network Host Files” on page 23 ■ “Setting Up a 10-Gigabit Ethernet Network on a Diskless Client System” on page 25 ■ “Inst[...]

  • Page 34

    24 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 1. At the command line, use the grep command to search the /etc/path_to_inst f ile for nxge interfaces. In this example, the device instance is from a Sun x8 Expr ess Dual 10 Gigabit Ethernet Fiber XFP Low Prof ile Adapter installed in slot 1. Be sure to write down your device path [...]

  • Page 35

    Chapter 4 Network Configuration 25 ■ The host name must be differ ent from any other host name of any other interface, for example: /etc/hostname.nxge0 and /etc/hostname.nxge1 cannot share the same host name. The following example shows the /etc/hostname.nxge number file r equired for a system called zardoz that has a Sun x4 PCI-Express Gigabit E[...]

  • Page 36

    26 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 ▼ T o Set Up a 10-Gigabit Ethernet Port on a Diskless Client 1. Locate the root directory of the diskless client on the host server . The root dir ectory of diskless client system is commonly installed in the host server ’s /export/root/ client-name directory , where client_name[...]

  • Page 37

    Chapter 4 Network Configuration 27 Installing the Solaris Operating System Over a 10-Gigabit Ethernet Network The Solaris Advanced Installation Guide describes the full procedure for installing the Solaris Operating System over the network. The following procedure assumes that you have created an install server , which contains the image of the Sol[...]

  • Page 38

    28 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 2. Find the root directory of the client system. The client system’s root dir ectory can be found in the install server ’s /etc/bootparams file. Use the grep command to sear ch this file for the r oot directory . In this example, the root dir ectory for the Solaris 10 client is [...]

  • Page 39

    Chapter 4 Network Configuration 29 5. Shut down and halt the client system. Use the shutdown command to go to the OpenBoot ( ok ) prompt. 6. At the ok prompt, use the show-nets command to f ind the device path of the 10-Gigabit Ethernet device. The show-nets command lists the system devices. Y ou should see the full paths and names of the network d[...]

  • Page 40

    30 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 ■ If the software is installed, the pr evious command will return the package name you typed in. In that case, skip to Step 10 . ■ If the software is not installed, install the software fr om the download center . See Chapter 2 for instructions on installing the requir ed softwa[...]

  • Page 41

    Chapter 4 Network Configuration 31 4. Plug the Ethernet cable to the adapter port. 5. Power on the system. 6. Press the F2 key or the Control/E keys to go to the BIOS. 7. Check and make sure that the boot order of Hard Drive is higher than network devices. 8. Refer the boot-device-order image. The reconf iguration boot attaches the driver to the ad[...]

  • Page 42

    32 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 10. Press the F12 key to install the OS from the network. If the cable is connected to the right port, you should see the MAC address that you assigned to your PXE server displayed by BIOS. 1 1. Y ou can now install the nxge driver and conf igure the adapter . image : pxe-mac-addr P[...]

  • Page 43

    33 CHAPTER 5 Conf iguring the nxge Device Driver Parameters The nxge device driver controls the Sun x8 Express Dual 10 Gigabit Ethernet interfaces. Y ou can manually set the nxge driver parameters to customize each device in your system. This chapter lists the available device driver parameters and describes how you can set these parameters. ■ ?[...]

  • Page 44

    34 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 processing. The Sun 10-Gigabit Ethernet Adapter utilizes Sun’s own innovative MAC Controller to map the 10-Gigabit XAUI interface onto the PCI Express form factor . It supports 10 Gb/sec bandwidth using eight transmit and eight receive lanes. Setting nxge Driver Parameters on a So[...]

  • Page 45

    Chapter 5 Configuring the nxge Device Driver P arameters 35 ▼ T o Specify Device Instances for the ndd Utility Before you use the ndd utility to get or set a parameter for a nxge device, you must specify the device instance for the utility . 1. Check the /etc/path_to_inst f ile to identify the instance associated with a particular device. ▼ T o[...]

  • Page 46

    36 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 After you enter the parameter name, the ndd utility prompts you for the parameter value. 2. T o list all the parameters supported by the nxge driver , type ? . Setting Parameters Using the nxge.conf File Specify the driver parameter properties for each device by creating a nxge.conf[...]

  • Page 47

    Chapter 5 Configuring the nxge Device Driver P arameters 37 ▼ T o Set Driver Parameters Using an nxge.conf File 1. Obtain the hardware path names for the nxge devices in the device tree. a. Check the /etc/driver_aliases f ile to identify the name associated with a particular device: b. Locate the path names and the associated instance numbers in [...]

  • Page 48

    38 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 # 10 gigabit related parameters ( i.e adv_10gfdx_cap) # apply only to 10gigabit ports. # Half duplex is not supported on any NIU card. # # adv-autoneg-cap # Advertise auto-negotiation capability. # default is 1 # adv-autoneg-cap = 1; # # adv_10gfdx_cap # Advertise 10gbps Full duplex[...]

  • Page 49

    Chapter 5 Configuring the nxge Device Driver P arameters 39 # # #------- Receive DMA Configuration ---------------------------- # # rxdma-intr-time # Interrupts after this number of NIU hardware ticks have # elapsed since the last packet was received. # A value of zero means no time blanking (Default = 8). # # rxdma-intr-pkts # Interrupt after this[...]

  • Page 50

    40 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 b. The following parameters operate on a per port basis and can be set using the /platform/sun4u/kernel/drv/nxge.conf f ile. c. In the following example, the ports of all the Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Prof ile Adapter are being set for load balancing Rx t[...]

  • Page 51

    Chapter 5 Configuring the nxge Device Driver P arameters 41 d. The following example shows ports on two different cards being set. Only one node needs to be specif ied. 3. Save the nxge.conf f ile. T uning for Maximum Performance on a Solaris Platform T uning for maximum performance in a Solaris platform depends on whether you are using an UltraSP [...]

  • Page 52

    42 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 3. Add the following to a startup script, or use ndd before plumbing the interface: Utilizing more soft-rings provided by the Solaris TCP/IP stack signif icantly improves bulk thr oughput for Rx. The default number of soft-rings is 2, but changing it to 8 improves performance. (Y ou[...]

  • Page 53

    Chapter 5 Configuring the nxge Device Driver P arameters 43 ▼ T o Obtain Higher Thr oughput Using the Generic T unables for the Solaris TCP/IP Stack ● T o obtain higher throughput, add the following to a startup script: ndd -set /dev/tcp tcp_conn_req_max_q 8192 ndd -set /dev/tcp tcp_conn_req_max_q0 8192 ndd -set /dev/tcp tcp_max_buf 4194304 ndd[...]

  • Page 54

    44 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 Setting Parameters on a Linux Platform ▼ T o Set Parameters Using the ethtool Utility 1. Determine which parameters are available using the ethtool utility: # ethtool -help eth4 ethtool version 1.8 Usage: ethtool DEVNAME ethtool -a DEVNAME ethtool -A DEVNAME [ autoneg on|off ] [...]

  • Page 55

    Chapter 5 Configuring the nxge Device Driver P arameters 45 [ rx-jumbo N ] [ tx N ] ethtool -i DEVNAME ethtool -d DEVNAME ethtool -e DEVNAME [ raw on|off ] [ offset N ] [ length N ] ethtool -E DEVNAME [ magic N ] [ offset N ] [ value N ] ethtool -k DEVNAME ethtool -K DEVNAME [ rx on|off ] [ tx on|off ] [ sg on|off ] [ tso on|o[...]

  • Page 56

    46 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 Following are some common parameters that can be changed: rx-usecs and rx-frames control the RX interrupt rate per RX DMA channel. RX interrupt will be generated after rx-frames have been received or after rx-usecs time interval if fewer than rx-frames have been received within the [...]

  • Page 57

    Chapter 5 Configuring the nxge Device Driver P arameters 47 2. T o change RX interrupt Coalesce parameters use the ethtool -C command: 3. T o get status of L4 HW checksumming, use the ethtool -k command: # ethtool -C eth4 rx-usecs 20 # ethtool -c eth4 Coalesce parameters for eth4: Adaptive RX: off TX: off stats-block-usecs: 0 sample-interval: 0 pkt[...]

  • Page 58

    48 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 ▼ T o Set Parameters Using the Bundled configtool Utility 1. T o get a list of tunable parameters, use the nxge_config if_name get command: These classification variables define how each IP class is conf igured. This parameter also controls how the f low template is constructed an[...]

  • Page 59

    Chapter 5 Configuring the nxge Device Driver P arameters 49 3. T o set a particular variable, use the /usr/local/bin/nxge_config if_name set param_name value : T uning for Maximum Performance on a Linux Platform The following tunings will improve the performance of the Sun x8 Express Dual 10 Gigabit Ethernet device driver on a system running the Li[...]

  • Page 60

    50 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 2. Set up the sysctl utility . # sysctl -p /etc/sysctl_nxge.conf[...]

  • Page 61

    51 CHAPTER 6 Conf iguring the Jumbo Frames Featur e This chapter describes how to configure the Jumbo Frames featur e. It contains the following sections: ■ “Jumbo Frames Overview” on page 51 ■ “Checking Jumbo Frames Configurations” on page 51 ■ “Enabling Jumbo Frames in a Solaris Environment” on page 53 ■ “Enabling Jumbo Fram[...]

  • Page 62

    52 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 ▼ T o Show the Driver Statistics in a Solaris Envir onment 1. Use the kstat command to display driver statistics, for example: The previous example displays the r eceive packet counts on all of the eight Receive DMA channels on interface 1. Using the kstat nxge:1 shows all the sta[...]

  • Page 63

    Chapter 6 Configuring the Jumbo F rames Feature 53 Enabling Jumbo Frames in a Solaris Envir onment This section describes how to enable jumbo frames in both a SP ARC and an x86 environment. ▼ T o Enable Jumbo Frames in a Solaris Envir onment Using nxge.conf 1. Enable Jumbo Frames for a port using the nxge.conf f ile. For example, 2. Reboot the sy[...]

  • Page 64

    54 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 ▼ T o Check Layer 3 Conf iguration ● Check the Layer 3 conf iguration by using the dladm command with the show- link option, as shown in the following example: Enabling Jumbo Frames in a Linux Envir onment This section describes how to enable jumbo frames in a Linux environment.[...]

  • Page 65

    Chapter 6 Configuring the Jumbo F rames Feature 55 ▼ T o Show the Driver Statistics in a Linux Envir onment 1. Use the ifconfig utility to display driver statistics, for example: 2. Use the ethtool utility with -S option to get more detailed information. This option displays a large amount of statistics maintained by the driver . # ifconfig eth4 [...]

  • Page 66

    56 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 3. T o get more specif ic statistics, use the grep command on the output of ethtool - S: # ethtool -S eth9 |grep tx_pac tx_packets: 8645339 tx_packets: 3418334 tx_packets: 26 tx_packets: 0 tx_packets: 22 tx_packets: 401791 tx_packets: 1466540 tx_packets: 0 tx_packets: 21 tx_packets:[...]

  • Page 67

    57 CHAPTER 7 Conf iguring Link Aggregation This chapter describes how to configure link aggr egation. It contains the following sections: ■ “Overview of Link Aggregation” on page 57 ■ “Configuring Link Aggregation in a Linux Environment” on page 60 Overview of Link Aggr egation Link Aggregation allows one or more network links to be agg[...]

  • Page 68

    58 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 Conf iguring Link Aggregation in a Solaris Envir onment This section explains how to configure link aggr egation in a Solaris environment. ▼ T o Conf igure Link Aggr egation in a Solaris Envir onment 1. Aggregate nxge0 and nxge1 to form an aggregation and a random number 33 as key[...]

  • Page 69

    Chapter 7 Configuring Link Aggregation 59 2. Plumb up the interface aggr key , which is aggr33 is this case: 3. Show link-aggregation status again, and now the state should become attached: 4. Use the dladm show-aggr -s command to display statistics: 5. Use the dladm show-aggr -L command to display LACP specif ic information: For more information r[...]

  • Page 70

    60 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 Conf iguring Link Aggregation in a Linux Envir onment This section explains how to configure link aggr egation in a Linux environment. ▼ T o Conf igure Bonding for Multiple nxge Interfaces 1. Modify the /etc/modprobe.conf f ile for 2.6 kernels f ile by adding these lines: where: ?[...]

  • Page 71

    61 CHAPTER 8 Conf iguring VLANs This chapter explains V irtual Local Area Networks (VLANs) in detail and pr ovides configuration instructions and examples. It contains the following sections: ■ “Overview of VLANs” on page 61 ■ “Configuring VLANs in a Solaris Environment” on page 63 ■ “Configuring VLANs in a Linux Environment” on p[...]

  • Page 72

    62 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 FIGURE 8-1 shows an example network that uses VLANs. FIGURE 8-1 Example of Servers Supporting Multiple VLANs W ith T agging Adapters The example network has the following features: The physical LAN network consists of a switch, two servers, and five clients. The LAN is logically org[...]

  • Page 73

    Chapter 8 Configuring VLANs 63 Gigabit Ethernet ports, which is configured for VLANs 1, 2, and 3. Both the adapter and the connected switch port have tagging turned on. The tagging VLAN capabilities of both devices enable the sever to communicate on all three IP subnets in this network, yet continue to maintain broadcast separation among the three [...]

  • Page 74

    64 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 FIGURE 8-2 Ethernet T ag Header Format By default, a single VLAN is configur ed for every port. This groups all ports into the same broadcast domain, just as if ther e were no VLANs at all, VLAN tagging for the switch port is turned off. Note – If you configur e a VLAN virtual dev[...]

  • Page 75

    Chapter 8 Configuring VLANs 65 2. Use the ifconfig(1M) to conf igure a VLAN virtual device, for example: The output of ifconfig -a on a system having VLAN devices nxge123000 and nxge224000 : 3. On the switch, set VLAN tagging and set VLAN ports to coincide with the VLANs you’ve set up on the server . Using the examples in Step 2 , you would set u[...]

  • Page 76

    66 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 2. Plumb Oracle’ s Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Prof ile Adapter interface: where xxx.xxx.xx.xxx = the IP addr ess of the interface. 3. Insert the VLAN module: 4. Add the VLAN instance (VID): 5. Conf igure the nxge VLAN ( eth2 in this example): where xxx.x[...]

  • Page 77

    67 APPENDIX A Specif ications This appendix lists the specif ications for the Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Prof ile Adapter. It contains the following sections: ■ “Connectors” on page 67 ■ “Performance Specifications” on page 68 ■ “Physical Characteristics” on page 69 ■ “Power Requirements” on page 6[...]

  • Page 78

    68 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 T ABLE A-1 lists the characteristics of the f iber connectors used by the Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Prof ile Adapter. Performance Specif ications T ABLE A-1 XFP Connector Characteristics Parameter Description Connector type LC Distance 10GBase-SR: Dependi[...]

  • Page 79

    Appendix A Specifications 69 Physical Characteristics Power Requir ements T ABLE A-3 Physical Characteristics Dimension Measurement Length 167.65 mm (6.6 inches) W idth 68.90 mm (2.713 inches) Height Component side = 14.48 mm (0.57 inches) maximum Solder side = 2.67 mm (0.105 inches) maximum T ABLE A-4 Low-Prof ile Power Requirements Specification [...]

  • Page 80

    70 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010[...]

  • Page 81

    71 APPENDIX B Diagnostic Softwar e This appendix provides an overview of the SunVTS diagnostic application and instructions for updating the SunVTS software to r ecognize the adapter . This appendix contains the following sections: ■ “SunVTS Diagnostic Software” on page 71 ■ “Updating SunVTS to Recognize the Adapter” on page 72 ■ “U[...]

  • Page 82

    72 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010 http://www.sun.com/products-n-solutions/hardware/docs/Software /system_administration/tools/testing_valid/sunvts/index.html Select the document for the Solaris release on your system. Updating SunVTS to Recognize the Adapter Use SunVTS 6.3 or later . Y ou will need to update the Sun[...]

  • Page 83

    Appendix B Diagnostic Software 73 Using the SunVTS netlbtest Y ou must have the Ethernet card and the device driver installed, a loopback connector in place, and Intervention mode enabled before running netlbtest . netlbtest cannot run if the network interface is connected to a live network, and requir es that the Ethernet device be configured off [...]

  • Page 84

    74 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010[...]

  • Page 85

    75 Index Symbols /etc/hostname.nxge number f ile ,2 4 A assigning an IP address, 24 C configuring the network host files, 23 configuring VLANs, 63 D diskless clients, 25 documentation SunVTS, 72 E editing the network host files, 23 H hardwar e components, 1 requir ements, 3 I ifconfig -a, 65 ifconfig command, 24 installing the adapter without[...]

  • Page 86

    76 Sun Dual 10GbE XFP PCI Express Card User’ s Guide • May 2010[...]