Table of Contents

Advertisement

Boot Code

User Manual

®
For Emulex
Adapters
P003410-01A Rev. A
Critical Connectivity Solutions
TM

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LP10000 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Emulex LP10000

  • Page 1: User Manual

    Boot Code User Manual ® For Emulex Adapters P003410-01A Rev. A Critical Connectivity Solutions...
  • Page 2 Information furnished by Emulex is believed to be accurate and reliable. However, no responsibility is assumed by Emulex for its use; or for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent, copyright or related rights of Emulex.
  • Page 3: Table Of Contents

    Introduction... 1 Emulex Boot Code Files ... 1 Boot from SAN... 2 Windows Server 2008 and Windows Server 2003 ... 3 Configure Boot from SAN on Windows Server 2008 and Windows Server 2003 (x86 and x64) ... 3 Configure Boot from SAN on Windows Server 2008 and Windows Server 2003 (Itanium) ...
  • Page 4 Change the Default AL_PA ... 33 Change the Topology ... 35 Change the PLOGI Retry Timer ... 35 Change the Link Speed ... 36 Configure Boot Parameters ... 36 Change the Device Path ... 37 Change the Maximum LUNs per Target Setting ... 37 Set Up Boot Target Scan...
  • Page 5: Introduction

    (LUN). By extending the server system boot basic input/output system (BIOS), boot from SAN functionality is provided by the boot BIOS contained on an Emulex adapter in the server. When properly configured, the adapter then permanently directs the server to boot from a logical unit (disk) on the SAN as if it were a local disk.
  • Page 6: Boot From San

    This document provides instructions for installing and using all of the types of boot code provided by Emulex. Note that not all procedures are required. Emulex HBAs usually ship from Note: the factory with the latest version of boot code installed and enabled, so you would not need to install or enable boot code in those cases.
  • Page 7: Windows Server 2008 And Windows Server 2003

    Emulex adapter. 1. From http://www.emulex.com, download the distribution executable file for the latest version of the Emulex driver to your local drive. The file you download is an executable (.exe) file. Boot Code User Manual - Introduction...
  • Page 8: Install Windows Server 2003 On An Fc Boot Disk (X86, X64 And Itanium)

    1. From http://www.emulex.com, download the distribution executable file for the latest version of the Emulex driver to your local drive. The file you download is an executable (.exe) file. 2. In Windows Explorer, double-click the distribution executable file. A window is displayed with driver version information.
  • Page 9: Linux And Vmware

    14. Select the adapter from the list and press <Enter>. The following message is displayed: Setup will load support for the following mass storage device(s): Emulex xxxxx PCIxx Fibre Channel Adapter 15. Press <Enter>. 16. Remove the USB floppy or floppy disk that contains the driver files.
  • Page 10: Configure Boot From San On Linux (Powerpc)

    Configure Boot from SAN on Linux (PowerPC) 1. If necessary, install or update the boot code on the adapter (see Installing, Updating and Enabling Boot Code on page 13). 2. If necessary, enable the boot code on the adapter (see Installing, Updating and Enabling Boot Code on page 13).
  • Page 11: Determine Luns To Select For Boot From San

    The ID information for each found adapter is displayed, such as: /pci@5d,700000/lpfc@1 4. Enable boot from SAN on each Emulex adapter in the system by typing the following set of commands, replacing adapter_id Emulex adapter in turn. There is a space between the first quotation mark and the first character of the adapter ID.
  • Page 12: Configure Boot From San On Solaris Lpfc (Sparc)

    The ID information for each found adapter is displayed, such as: /pci@5d,700000/emlx@2 4. Enable boot from SAN on each Emulex adapter in the system by typing the following set of commands, replacing adapter_id Emulex adapter in turn. There is a space between the first quotation mark and the first character of the adapter ID.
  • Page 13 -R /install_dir_path/Solaris/Tools/Boot -d /temp Modify the lpfc.conf file to use persistent binding. For more information, refer to the Emulex LPFC Driver for Solaris User Manual. 5. Copy the DVD image in the drive to the install server's hard disk.
  • Page 14: Install Solaris By Migrating An Image From A Local Scsi Disk

    The ID information for each found adapter is displayed, such as: /pci@5d,700000/lpfc@1 select-dev 2. Select the Emulex adapter on which you want to enable boot from SAN by entering the path to the adapter, for example: " /pci@5d,700000/lpfc@1" select-dev 3.
  • Page 15 7. Select the target disk which will become the new boot disk (for example, c1t1d0). 8. Select the partition option and partition the disk as desired. 9. Select the label option and write a volume label to the target disk. For help with the format utility, see the man page "man format".
  • Page 16 18. Boot to disk: boot disk The system should boot to the Fibre Channel disk. 19. View the current dump device setting: dumpadm 20. Change the dump device to the swap area of the Fibre Channel drive: dumpadm -d /dev/dsk/c1t1d0s1 where /dev/dsk/c1t1d0s1 is a sample path to the swap area of the Fibre Channel drive.
  • Page 17: Installing, Updating And Enabling Boot Code

    Installing, Updating and Enabling Boot Code A variety of Emulex utilities allow you to install boot code, update boot code to a newer version and enable boot code. The utility that you will use depends on the operating system and, in some cases the driver type or system architecture.
  • Page 18: Bios Utility

    BIOS Utility Before using the BIOS utility, ensure that the boot code is loaded and enabled on the adapter as described in Installing, Updating and Enabling Boot Code Note: This section reflects the most recent release of the BIOS utility. Some selections may not be available if you are using an older version of the utility.
  • Page 19: Configuring Boot Devices

    1. When the Main menu is displayed, select <1>, Configure Boot Devices. A list of 8 boot devices is shown (Figure 3). Emulex recommends that you configure only the bootable devices. The primary boot device is the first entry shown, and it is the first bootable device.
  • Page 20 4. If you select a device, you are asked for the starting LUN. Enter the starting LUN (Figure 5). The starting LUN can be any number from 0 to 255. Figure 5: LUN listing screen You can define a possible 256 LUNs per adapter, but the screen displays up to 16 consecutive LUNs at a time.
  • Page 21 5. Select the boot method you want. If you select to boot the device by WWPN, the WWPN of the earlier selected entry is saved in the flash memory. However, during the initial BIOS scan, the utility issues a Name Server Inquiry GID_PN (Get Port Identifier).
  • Page 22: Configuring Adapter Parameters

    Configuring Adapter Parameters Note: The default topology is auto topology with loop first. Change this topology setting, if necessary, before configuring boot devices. To configure adapter parameters: 1. When the Main menu is displayed, select <2>, Configure This Adapter’s Parameters. The adapter configuration menu is displayed (Figure 8).
  • Page 23: Enabling An Adapter To Boot From San

    6. Auto Scan Setting (+Advanced Option+). Enable the first device in the boot entry list to issue a Name Server Inquiry. The factory default is disabled. If there is more than one adapter with the same PCI Bus number in the system, and each has a boot drive attached, the first PCI-scanned adapter is the boot adapter.
  • Page 24: Changing The Default Al_Pa

    Changing the Default AL_PA This option allows you to change the AL_PA of the selected adapter. The default value of the AL_PA for the adapter BIOS is 00 (hex). Note: This option applies only to arbitrated loop (FC-AL). To change the default AL_PA: 1.
  • Page 25: Changing Topology

    4. Press <X> to exit the BIOS utility and reboot the system. Changing Topology Note: The default topology is auto topology with loop first. Change this topology setting, if necessary, before configuring boot devices. To select the adapter topology: 1. On the Main menu, select <2>, Configure This Adapter's Parameters. The adapter configuration menu is displayed (Figure 8).
  • Page 26: Setting Auto Scan

    This option allows you to set auto scan. The factory default setting is disabled. Auto Scan is available only if none of the eight boot entries are configured to boot from DID or WWPN. Emulex strongly recommends that you use the Configure Boot Devices menu to configure eight boot entries for fabric point-to-point, public loop or private loop configurations.
  • Page 27: Enabling Or Disabling Edd 3.0

    Enabling or Disabling EDD 3.0 This option allows you to enable or disable the Enhanced Disk Drive (EDD) option, available on Intel Itanium servers only. Enabling EDD 3.0 displays the path to the boot device.The default setting is disabled. Note: An x86 series system could hang during Windows 2000 Server installation if EDD 3.0 is enabled. To enable or disable EDD 3.0: 1.
  • Page 28: Enabling Or Disabling The Environment Variable

    Enabling or Disabling the Environment Variable This option allows you to set the boot controller order if the system supports the environment variable. The default setting is disabled. To enable or disable the environment variable: 1. On the Main menu, select <2>, Configure This Adapter's Parameters. The adapter configuration menu is displayed (Figure 8).
  • Page 29: Selecting Link Speed

    BIOS setup menu. The boot disk can be an FC drive, a SCSI drive, an IDE drive, a USB device or floppy drive. The Emulex BIOS supplies the first eight drives to the system BIOS menu. The Multi-boot BIOS can override the FC drive that is selected in the BIOS utility.
  • Page 30: Openboot

    OpenBoot OpenBoot commands are supported by the Sun SPARC system. Attribute Commands boot - id Syntax: .boot - id Description: Displays the current boot device id. Parameters: None .devalias Syntax : .devalias Description: Displays the boot list. Parameters: None .fcode Syntax: .fcode Description: Displays the current version of OpenBoot.
  • Page 31: Functional Commands

    .topology Syntax : .topology Description: Displays the current topology. Parameters: None Functional Commands .remove-boot-id Syntax : .remove-boot-id Description: Removes the boot id from boot list. "/pci@1f,0/pci@1/lpfc@1" select-dev remove-boot-id unselect-dev "/pci@1f,0/pci@1/lpfc@1" select-dev set-default-mode /* to clear boot id settings */ unselect-dev Parameters: None set-default-mode Syntax...
  • Page 32 Table 4: Signature Table Signature Valid_flag Host_did Enable_flag Topology_flag Link_Speed_Flag Diag_Switch Boot_id Lnk_timer Plogi_timer WWPN Note: Target ID can be bound to either DID (destination ID) or WWPN (worldwide port name) and saved in an adapter nvram. It can also be saved in an environmental variable boot-device.
  • Page 33: Efiboot

    Figure 20: Boot Option menu 2. Select EFI Shell from the menu. An EFI shell starts and the shell prompt is displayed. 3. Change to the drive where the Emulex EFIBoot file was extracted. To see a list of drives, type: map -r <Enter>...
  • Page 34: Start The Efi Utility

    A list of drivers is displayed (Figure 22). Figure 22: Driver Listing screen 2. Run the drvcfg command followed by the driver image handle for the Emulex SCSI Pass Thru Driver, for example, C2 (your driver image handle number may be different): drvcfg-s c2 <Enter>...
  • Page 35: Efi Utility Conventions

    A list of all the adapters in the system is displayed (Figure 23). Your list may vary depending on the boot package you are using. Locate the adapter to enable, update, configure or troubleshoot. Use the up/down arrows on your keyboard to select it, and press <Enter>. Figure 23: Adapter Listing screen The EFI Main Utility menu is displayed (Figure 24).
  • Page 36: Configure Efiboot

    Configure EFIBoot The EFI utility has many options that can be modified to provide for different behavior. Use the EFI utility to do the following tasks: • Enable or disable the BIOS • Configure HBA parameters • Configure boot parameters •...
  • Page 37: Configure Adapter Parameters

    3. If the current status is disabled, select Enabled and press <Enter>. The status changes to enabled (Figure 27). Figure 27: BIOS Enabled screen. Note: You can configure EFIBoot systems for up to eight boot devices. Configure one boot device at a time. Note: Press <Esc>...
  • Page 38 when another LIP occurs, the device may be assigned a different AL_PA. The HardALPA=0xn parameter allows you to permanently assign an AL_PA to a host adapter. This does not alter the adapter flash memory. The default for this parameter is 0x00. All valid AL_PA values are listed in Table 5. Table 5: Valid AL_PA Values 0x00 0x01...
  • Page 39: Change The Topology

    Change the Topology Emulex drivers support arbitrated loop and point-to-point topologies. To change the topology: 1. On the Adapter Configuration menu, select 2. Topology Selection and press <Enter>. The screen shown in Figure 30 is displayed. Figure 30: Topology Options screen 2.
  • Page 40: Change The Link Speed

    1, 2 and 4 Gb/s • 2, 4 and 8 Gb/s Note: Emulex’s 8 G/bs adapters do not support 1 G/bs link speed. 3. The screen is refreshed with the new value. Note: Press <Esc> to return to the EFI utility menu.
  • Page 41: Change The Device Path

    To configure boot parameters, on the EFI-BIOS Setup Utility menu (Figure 25) select 3. Configure Boot Parameters and press <Enter>. The menu shown in Figure 33 is displayed. Figure 33: Boot Configuration menu Change the Device Path This option allows you to make the Fibre Channel driver appear as a SCSI driver. This is useful for older Itanium systems that do not have native support in the EFI system firmware or boot code for FC device paths.
  • Page 42: Set Up Boot Target Scan

    This option is available only if none of the eight boot entries are configured to boot from DID or WWPN. Emulex strongly recommends that you use the Configure Boot Devices menu to configure eight boot entries for fabric point-to-point, public loop or private loop configurations.
  • Page 43 • Boot Path from NVRAM Targets - Boot scan discovers only LUNs that are saved to the adapter’s non-volatile random access memory (NVRAM). Select up to eight attached devices to use as potential boot devices. Limiting discovery to a set of eight selected targets can greatly reduce the time it takes for the EFIBoot driver to complete discovery.
  • Page 44: Configure Boot Devices

    Press <Y> for Yes or <N> for no. If you press <Y> to create the variable, the utility creates it and presents you with a menu to select the initial value. Valid values are NVRAM and Discovered Targets. A new variable is created and the boot path is changed. Note: If you have a large SAN and set the boot path to “Boot Path Discovered Targets,”...
  • Page 45 3. Select 1. Scan Targets and press <Enter>. The system scans the adapter and shows your targets, as shown in Figure 41. Figure 41: Target Listing screen Note: Eight targets are displayed per screen. If more than eight targets are configured, press the right arrow key to view additional targets eight at a time.
  • Page 46 5. Select a LUN and press <Enter>. The screen shown in Figure 43 is displayed. Figure 43: LUN Boot Options menu Note: Press <Esc> to return to the list of devices. 6. Select 1. Boot this device via WWN and press <Enter>. Figure 44 shows the LUN selected in step 5.
  • Page 47: Cancel A Boot Device

    Cancel a Boot Device To cancel boot device: 1. On the Boot Configuration menu, select 4. Configure Boot Devices and press <Enter>. The screen shown in Figure 45 is displayed. Figure 45: Boot LUNs 2. Select a device row and press <Enter>. The screen shown in Figure 46 is displayed. Figure 46: Selected Boot Device 3.
  • Page 48: Reset To Default Values

    If both of the above conditions exist, typically set this parameter to 20 seconds. However, the delay only need be only enough for the array to be reliably discovered after a reset. Your value may be different. To change the delay device discovery value: 1.
  • Page 49: Save And Restore Configurations

    To reset parameters to their factory default settings: 1. On the EFI-BIOS Setup Utility menu (Figure 25) select 4. Reset to Default Values and press <Enter>. The screen shown in Figure 48 is displayed. Figure 48: Force Defaults Dialog screen 2.
  • Page 50: Batch Configuration

    1. On the Save Configuration menu, select 1. Save Configuration to File. The screen shown in Figure 50 prompts you to enter a directory path to the file where the configuration is to be saved. Figure 50: Save Configuration Path screen 2.
  • Page 51 To migrate the configuration of one adapter to other adapters in the system: 1. On the Save Configuration menu, select 2. Batch Configure Adapters. You are prompted to select a source for the configuration (Figure 52). Figure 52: Select Source for Adapter Configuration Data menu 2.
  • Page 52 5. Press <P> to configure the selected adapters. If the adapters are configured successfully, a screen similar to Figure 55 is displayed. Figure 55: Successful Batch Configuration screen If all adapters are not configured successfully, a screen similar to Figure 56 is displayed. Figure 56: Unsuccessful Adapter Configuration screen To migrate the configuration stored in a configuration file to the adapters in the system: 1.
  • Page 53: Updating An Adapter's Firmware Or Boot Code

    4. Select (check) the adapters that are to be batch configured. To select an adapter, highlight the row and press the space bar. 5. Press <P> to configure the selected adapters. If the adapters are configured successfully, the screen shown in Figure 55 is displayed. If all adapters are not configured successfully, the screen shown in Figure 56 is displayed.
  • Page 54: Update Firmware Or Boot Code Across Multiple Adapters

    The boot code is updated on the selected adapter. Information similar to Figure 60 is displayed. Figure 60: Successful Boot Code Update screen 4. Reboot the system for this change to take effect. Update Firmware or Boot Code Across Multiple Adapters 1.
  • Page 55 The boot code update begins on the first adapter. Information similar to Figure 63 is displayed for each adapter: Figure 63: Boot Code Update Progress screen After all adapters are updated, a listing with success or failure status is displayed (Figure 64). Figure 64: Successful Batch Update screen Boot Code User Manual - EFIBoot Page 51...
  • Page 56: Efiboot Reference

    EFIBoot Reference Driver Handle Table Column Definitions To view Emulex driver handle information, at the shell prompt type: drivers A list of drivers is displayed. Figure 65: Driver Listing screen Driver Handle Table Column Definitions Drv - The device driver handle number.
  • Page 57: Topology Information

    Topology Information Arbitrated Loop Operation • FC-AL (Loop) topology only is used. After successful loop initialization, the driver attempts login with FL_PORT (switched fabric loop port). • If FL_PORT login is successful, public loop operation is entered. • If FL_PORT login is unsuccessful, private loop mode is entered. Point-to-Point Operation •...
  • Page 58: Troubleshooting

    Troubleshooting There are circumstances in which your system may operate in an unexpected manner. The Troubleshooting section explains several of these circumstances and offers one or more workarounds for each situation. x86 BootBIOS Troubleshooting The Bootup Message Does Not Appear As the System Boots Situation: You want to access the BIOS utility, but the bootup message does not appear.
  • Page 59: Openboot

    The Displayed List of Emulex Adapters Ends with “fibre-channel” (Solaris LPFC Driver) Situation: After all Emulex adapters have been enabled to boot from SAN, the system has been rebooted, and you show all system devices, the path to an Emulex adapter ends with “fibre-channel”, for example: /pci@1f,2000/fibre-channel instead of “lpfc@#”, for example:...
  • Page 60: Efiboot

    Note: Before you can use the EFI utility for the first time, you must install it. To access the main EFI utility: 1. To view Emulex driver image handle information, at the shell prompt type: fs0:\> drivers A list of drivers is displayed (See “Drive List example” on page 29) 2.
  • Page 61: Running Loopback Tests

    4. Use the up/down arrows and to select (highlight) an adapter and press <Enter>. The Diagnostic Main menu is displayed: Figure 67: Diagnostic Main menu Running Loopback Tests Test patterns for the PCI Loopback, Internal Loopback and External Loopback tests may be selected to be run individually.
  • Page 62: Diagnostic Test Specifics

    1. Access the Diagnostic Main menu (Figure 67) and select <1>. Diagnostic Tests. Press <Enter>. The Diagnostic Tests menu is displayed (Figure 68). 2. Use the up/down arrow keys to highlight a test. Press <Enter>. 3. Another menu is displayed. Select one or more individual patterns for the diagnostic test. For example: Figure 69: PCI Loopback Test Data Patterns menu 4.
  • Page 63 Internal and external loopback test menus have two configurations (data patterns and link speeds). The data test patterns are the same as the PCI Loopback patterns (Figure 69). Figure 71: Internal Loopback Test Configuration menu Internal and external loopback link speeds have the same three options. Link speed defaults to one Gb for both internal and external tests.
  • Page 64: Running Adapter Diagnostic Tests

    Test results are displayed on the Test Data Pattern menu and saved to results log. Figure 74: Internal Loopback Test Data Pattern results screen Running Adapter Diagnostic Tests The Adapter Diagnostic Tests include adapter restart, display of some configuration parameters, results of linkup and target login.
  • Page 65: Viewing Adapter Data

    Viewing Adapter Data To view data for a specific adapter: 1. Access the Diagnostic Main menu (Figure 67) and select <2>. Adapter Data. Press <Enter>. The Adapter Data menu is displayed: Figure 77: Adapter Data menu Examples Figure 78: Configuration Information screen Figure 79: Firmware Information screen Boot Code User Manual - Troubleshooting Section Page 61...
  • Page 66 Figure 80: Vendor Product Data (VPD) screen Figure 81: Controller Information screen Figure 82: Service Level Interface Memory (SLIM) Information screen Boot Code User Manual - Troubleshooting Section Page 62...
  • Page 67: Viewing Device Data

    Figure 83: Peripheral Component Interconnect (PCI) Information screen Note: View up to 256 bytes of PCI configuration space using paging. 128 bytes display at a time. Use the <F2> key to select byte, word, or dword display. Viewing Device Data The device data is stored in the results log and is displayed on the console in ASCII and hex format.
  • Page 68: Viewing The Results Log

    3. To read the individual block from the media, specify the logical block address (LBA) and press <Enter>. 256 bytes of sector data display per screen. Use the left/right arrow keys to scroll through the data. Information similar to the following is displayed: Figure 86: LBA Data screen Viewing the Results Log The results log stores diagnostic test results, adapter diagnostics and device data.
  • Page 69 To view help on the results log screen. 1. Press <F1>. Help text is displayed. 2. Press <Esc>. Log results are displayed. To save results log information: 1. View the results log. 2. Press <F3>. The Log to File screen is displayed. Figure 88: Log to File screen 3.

Table of Contents