Boot Code: User Manual For Emulex Adapters
Boot Code: User Manual For Emulex Adapters
P004444-01A Rev. A
Copyright 2003-2009 Emulex. All rights reserved worldwide. No part of this document may be reproduced by any means or translated to any electronic medium without the prior written consent of Emulex. 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. Emulex, the Emulex logo, AutoPilot Installer, AutoPilot Manager, BlockGuard, Connectivity Continuum, Convergenomics, Emulex Connect, Emulex Secure, EZPilot, FibreSpy, HBAnyware, InSpeed, LightPulse, MultiPulse, OneCommand, OneConnect, One Network. One Company., SBOD, SLI, and VEngine are trademarks of Emulex. All other brand or product names referenced herein are trademarks or registered trademarks of their respective companies or organizations. Emulex provides this manual "as is" without any warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability or fitness for a particular purpose. Emulex may make improvements and changes to the product described in this manual at any time and without any notice. Emulex assumes no responsibility for its use, nor for any infringements of patents or other rights of third parties that may result. Periodic changes are made to information contained herein; although these changes will be incorporated into new editions of this manual, Emulex disclaims any undertaking to give notice of such changes. Emulex, 3333 Susan Street Costa Mesa, CA 92626
Page ii
Introduction.............................................................................................................. 1 Emulex Boot Code Files .................................................................................... 1 Boot from SAN......................................................................................................... 2 Windows Server 2008 and Windows Server 2003 ............................................. 2 Configure Boot from SAN on Windows Server 2008 and Windows Server 2003 (x86 and x64) .......................................................... 2 Configure Boot from SAN on Windows Server 2008 and Windows Server 2003 (Itanium) .................................................................. 3 New Installation of Windows 2008 UEFI- Aware Operating System on a UEFI-based x64 Server................................................................. 3 Direct a UEFI-Based Server to a Windows Server 2008 OS Image (Installed as UEFI-Aware) Already Installed on the SAN....................... 4 The GUID Partition Table ...................................................................... 4 Install Windows Server 2008 on an FC Boot Disk (x86, x64 and Itanium) ... 5 Install Windows Server 2003 on an FC Boot Disk (x86, and x64 and Itanium) ................................................................................................ 6 Linux and VMware............................................................................................. 7 Configure Boot from SAN on Linux or VMware (x86 and x64)..................... 7 Configure Boot from SAN on Linux (PowerPC) ........................................... 7 Configure Boot from SAN on Linux (Itanium) .............................................. 7 Solaris ............................................................................................................... 8 Configure Boot from SAN on Solaris SFS (x86 and x64) ............................ 8 Determine LUNs to Select for Boot from SAN....................................... 8 Configure Boot from SAN on Solaris SFS (SPARC) .................................... 8 Configure Boot from SAN on Solaris LPFC (SPARC).................................. 9 Install Solaris from a Network Image .................................................. 10 Install Solaris by Migrating an Image from a Local SCSI Disk............. 11 Install, Update and Enable Boot Code ................................................................... 14 BIOS Utility ............................................................................................................ 15 Start the BIOS Utility ................................................................................. 15 Enable an Adapter to Boot from SAN........................................................ 17 Configure Boot Devices................................................................................... 17 Configure Adapter Parameters ........................................................................ 21 Change the Default AL_PA (Arbitrated Loop Physical Address)................ 22 Change the PLOGI Retry Timer ................................................................ 23 Change Topology ...................................................................................... 24 Enable or Disable the Spinup Delay .......................................................... 25 Set Auto Scan ........................................................................................... 26 Enable or Disable EDD 3.0 ....................................................................... 27 Enable or Disable the Start Unit Command ............................................... 28 Enable or Disable the Environment Variable ............................................. 29 Enable or Disable Auto Boot Sector .......................................................... 30 Change Link Speed................................................................................... 31 Reset to Default Values............................................................................. 32 Use Multi-Path Boot from SAN .................................................................. 33 OpenBoot .............................................................................................................. 34 Attribute Commands ................................................................................. 34 Functional Commands .............................................................................. 35 EFIBoot ................................................................................................................. 37 Install the EFI Utility .................................................................................. 37 Start the EFI Utility .................................................................................... 38 Boot Code User Manual Page iii
EFI Utility Conventions.............................................................................. 39 Configure EFIBoot via EFI Shell Invocation..................................................... 40 Enable or Disable the BIOS............................................................................. 40 Configure Adapter Parameters ........................................................................ 41 Change the Default AL_PA ....................................................................... 41 Change the Topology ................................................................................ 43 Change the PLOGI Retry Timer ................................................................ 43 Change the Link Speed ............................................................................. 44 Configure Boot Parameters ............................................................................. 45 Change the Device Path ........................................................................... 45 Change the Maximum LUNs per Target Setting ........................................ 46 Set Up Boot Target Scan........................................................................... 47 Configure Boot Devices ............................................................................ 49 Cancel a Boot Device................................................................................ 52 Change Device Discovery Delay ............................................................... 53 Reset to Default Values ................................................................................... 54 Save and Restore Configurations.................................................................... 55 Save the Configuration to a File ................................................................ 56 Batch Configuration................................................................................... 57 Update an Adapters Firmware or Boot Code .................................................. 60 Update a Single Adapter ........................................................................... 60 Update Firmware or Boot Code Across Multiple Adapters ........................ 61 EFIBoot Reference .......................................................................................... 64 Driver Handle Table Column Definitions .................................................... 64 Driver Handle Table Column Definitions.............................................. 64 Topology Information................................................................................. 65 Arbitrated Loop Operation................................................................... 65 Point-to-Point Operation ..................................................................... 65 Configure EFIBoot via UEFI HII (Human Interface Infrastructure) in a UEFI 2.1 System ........................................................................................... 66 Start the Emulex Configuration Utility ........................................................ 66 EFI Utility Conventions in UEFI/HII ........................................................... 69 Configure EFIBoot in UEFI/HII ........................................................................ 70 Set Boot from SAN .......................................................................................... 70 Scan for Fibre Devices .................................................................................... 71 Add Boot Devices ............................................................................................ 72 Delete Boot Devices ........................................................................................ 74 Change Boot Device Order ............................................................................. 76 Configure Adapter Parameters ........................................................................ 78 Change the Topology ................................................................................ 79 Change the PLOGI Retry Timer ................................................................ 80 Change the Link Speed ............................................................................. 81 Configure Boot Parameters ............................................................................. 82 Change the Maximum LUNs per Target .................................................... 82 Change Boot Target Scan Method ............................................................ 83 Change Device Discovery Delay ............................................................... 84 Reset Emulex Adapters to Default Values ....................................................... 85 Display Adapter Information ............................................................................ 87 Troubleshooting ..................................................................................................... 89 x86 BootBIOS.................................................................................................. 89 OpenBoot ........................................................................................................ 90 EFIBoot Diagnostic Utility ................................................................................ 91 Conventions .............................................................................................. 91 Boot Code User Manual Page iv
Access the EFI Diagnostic Utility............................................................... 91 Run Loopback Tests.................................................................................. 92 Diagnostic Test Specifics .................................................................... 93 Run Adapter Diagnostic Tests ................................................................... 95 View Adapter Data .................................................................................... 96 View Device Data ...................................................................................... 98 View the Results Log ................................................................................ 99
Page v
Introduction
This manual describes installing, updating, enabling and configuring Emulex Fibre Channel (FC) boot code. This manual also describes the Emulex boot from SAN implementation and its operation with distinct hardware and operating system requirements. Boot from SAN is booting servers directly from disk operating system images located on a storage area network (SAN) by way of Emulex LightPulse adapters using Emulex FC boot code. When booting from SAN, the storage device is typically identified by its World Wide Port Name (WWPN) and a logical unit number (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. Emulex provides the following types of boot code: x86 BootBIOS works with the existing BIOS on x64 and x86 systems. OpenBoot works with the existing system firmware on Sun SPARC systems. OpenBoot is also called FCode. EFIBoot provides system boot capability through the use of the EFI (Extensible Firmware Interface) Shell. It also functions on UEFI 2.1-based x64 platforms through the HII (Human Interface Infrastructure) interface.
Note: Emulex drivers support multipath boot configurations. Refer to your storage vendors documentation for details on how to configure multipath booting.
Page 1
SPARC and PowerPC Solaris (SFS driver) Solaris (LPFC driver) Windows 2008 Windows 2003 Itanium (IA64) and EFI-based systems Linux
4. By default, the boot adapter uses auto topology with loop first. If you want to set the boot adapter to use a different topology, change it (see Change Topology on page 10). 5. Configure boot devices (see Configure Boot Devices on page 3). 6. If desired, configure the boot options on the adapter (see Configure Adapter Parameters on page 7). 7. Install the operating system on an FC boot disk: For Windows Server 2008, see Install Windows Server 2008 on an FC Boot Disk (x86, x64 and Itanium) on page 5. For Windows Server 2003, see Install Windows Server 2003 on an FC Boot Disk (x86, and x64 and Itanium) on page 6.
Configure Boot from SAN on Windows Server 2008 and Windows Server 2003 (Itanium)
1. If necessary, install or update the boot code on the adapter (see Update a Single Adapter on page 60). 2. If necessary, enable the boot code on the adapter (see Enable or Disable the BIOS on page 40). 3. Configure boot devices (see Configure Boot Devices on page 49). 4. If desired, configure the boot options on the adapter (see Configure Adapter Parameters on page 41 and Configure Boot Parameters on page 45). 5. Install the operating system on an FC boot disk: For Windows Server 2008, see Install Windows Server 2008 on an FC Boot Disk (x86, x64 and Itanium) on page 5. For Windows Server 2003, see Install Windows Server 2003 on an FC Boot Disk (x86, and x64 and Itanium) on page 6. For a new installation of Windows 2008 UEFI Aware OS on a UEFI-based xx64 Server, see the following topic.
New Installation of Windows 2008 UEFI- Aware Operating System on a UEFI-based x64 Server
This installation procedure assumes LUN(s) are created in the SAN storage device and zoned appropriately to the host adapter's WWN. 1. From the server system UEFI setup, ensure that CD/DVD is the first device in the Boot Order list. 2. Enable Boot from SAN in the Emulex UEFI configuration utility. 3. Configure the Boot target and LUN in Emulex UEFI configuration utility to point to the desired target. 4. Boot the host server with the Windows Server 2008 DVD inserted. Follow the on-screen prompts to install the appropriate version of Windows Server 2008. 5. The Windows installation exposes all available/visible LUNs as disks and partitions numbered 0 to N, where N is the highest number available. These numbers typically are the LUN numbers assigned by the array. 6. Select the disk you want to install the operating system on. 7. Follow system prompts in the Windows installation.
Note: The OS image is installed with the GPT disk partition. See The GUID Partition Table on page 4 for a brief description of GPT disk partitions.
Page 3
8. After the installation is complete, a Boot Option variable called Windows Boot Manager is populated with a Media Device path pointing to the Windows boot loader utility. This Boot Option variable, Windows Boot Manager, can be found in the Start Options menu of the Host Server UEFI. 9. The Windows Boot Manager option is inserted as the first boot option in the Boot Order list of the Host Server UEFI. The CD/DVD boot is the second device in the Boot Order list. 10. Upon reboot, the system boots from the LUN set up on the SAN.
Direct a UEFI-Based Server to a Windows Server 2008 OS Image (Installed as UEFIAware) Already Installed on the SAN
This installation procedure assumes a LUN exists in the SAN storage device, is zoned appropriately to the host adapters WWN and an EFI-aware OS resides on the target LUN. 1. Enable Boot From SAN in the Emulex UEFI configuration utility. 2. Configure the Boot Target and LUN in Emulex UEFI configuration utility to point to your desired target. 3. Select Boot Manager from the System UEFI configuration manager. 4. Select Add Boot Option. 5. Identify the desired target in the list, and continue down the explorer path until you locate the bootmgfw.efi file. This file is the boot loader utility for your Windows 2008 EFI-aware OS install.ation. 6. Input a boot device description (e.g. Win2K8_UEFI_SAN) and optional data (if desired) for this device and select Commit Changes. 7. From the Boot Manager, select Change Boot Order. 8. Move your previous input description name (Win2K8_UEFI_SAN) to the desired position in the boot order. 9. Select Commit Changes. The Start Options list now reflects the boot order changes. Upon reboot, the server is able to boot from this target LUN on the SAN.
Page 4
Install Windows Server 2008 on an FC Boot Disk (x86, x64 and Itanium)
This procedure installs Windows Server 2008 onto an unformatted Fibre Channel disk drive and configures the system to boot from the SAN disk drive. Note: The computers system BIOS may require that another controller take precedence over the Emulex adapter during boot. If this occurs, you must disconnect or disable the other adapter. This allows you to configure and build your operating system on the drive connected to the 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. 2. In Windows Explorer, double-click the distribution executable file. A window displays the driver version information. 3. Click Next to access the Location window, or click Cancel to close the window. If you click Next, the default installation location is displayed. If desired, browse to a different location. 4. Click Install to continue the installation. A progress window is displayed. As each task is completed, the corresponding checkbox is automatically selected. After all tasks are completed, a confirmation window is displayed. 5. Clear the Run AutoPilot Installer checkbox and click Finish to close the distribution executable file. 6. In Windows Explorer, navigate to the folder you specified in step 3. 7. In the \AutoPilot Installer\Drivers\drivername folder, open the folder that corresponds to your computer type, such as x86. drivername is the type of driver you downloaded (for example, Storport Miniport). 8. Copy all the files in this folder onto a formatted floppy disk or a USB device. 9. Boot the target system with the Windows Server 2008 setup media. The Install Windows splash screen is displayed. 10. Verify and if necessary change the Language, Time and Date and Keyboard values. Click Next. Another splash screen is displayed. 11. Click Install Now. The Where do you want to install Windows? screen is displayed. 12. Click Load Driver. Browse to the floppy disk or USB device specified in step 8 where the driver is located to load the Storport Miniport driver for the appropriate operating system. Once selected, the correct driver location and driver are displayed under the Select driver to be installed screen. 13. Select Next. After the driver is loaded, the Where do you want to install Windows? screen is displayed. 14. Select the same drive you configured as the boot device (for x86 and x64 systems, see Configure Boot Devices on page 3. For Itanium systems, see Configure Boot Devices on page 3).
Page 5
Install Windows Server 2003 on an FC Boot Disk (x86, and x64 and Itanium)
This procedure installs Windows Server 2003 onto a previously unformatted Fibre Channel disk drive and configures the system to boot from the SAN disk. Note: The computers system BIOS may require that another controller take precedence over the Emulex adapter during boot. If this occurs, you must disconnect or disable the other adapter. This allows you to configure and build your operating system on the drive connected to the 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. 2. In Windows Explorer, double-click the distribution executable file. A window is displayed with driver version information. 3. Click Next to access the Location window, or click Cancel to close the window. If you click Next, the default installation location is displayed. If desired, browse to a different location. 4. Click Install to continue the installation. A progress window is displayed. As each task is completed, the corresponding checkbox is automatically selected. After all tasks are completed, a confirmation window is displayed. 5. Clear the Run AutoPilot Installer checkbox and click Finish to close the distribution executable file. 6. In Windows Explorer, navigate to the folder you specified in step 3. 7. In the \AutoPilot Installer\Drivers\drivername folder, open the folder that corresponds to your computer type, such as x86.drivername is the type of driver you downloaded (for example, Storport Miniport). 8. Copy all the files in this folder onto a formatted floppy disk or USB floppy. 9. Boot the target system with the Windows Server 2003 setup media. 10. Follow the prompts that appear on the screen until the following message is displayed:
Press F6 if you need to install a third party SCSI or RAID driver
12. Press <S> to specify additional devices. The following message is displayed:
Please insert the disk labeled Manufacturer-supplied hardware support disk into Drive A:. Press ENTER when ready. ENTER=continue ESC=cancel F3=Exit
13. Insert the floppy disk or USB floppy onto which you copied the driver files in step 8 and press <Enter>. A list of devices is displayed. 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. 17. Follow the remaining prompts to complete the installation. Boot Code User Manual Page 6
3. See the system documentation for instructions on accessing the System Management Services (SMS) feature to set the boot list. SMS is resident in the system firmware.
Page 7
Solaris
Configure Boot from SAN on Solaris SFS (x86 and x64)
1. If necessary, install or update the boot code on the adapter (see Install, Update and Enable Boot Code on page 14). 2. If necessary, enable the boot code on the adapter (see Install, Update and Enable Boot Code on page 14). 3. Enable the adapter to boot from SAN (see Enable an Adapter to Boot from SAN on page 3). 4. By default, the boot adapter uses auto topology with loop first. If you want to set the boot adapter to use a different topology, change it (see Change Topology on page 10). 5. Configure boot devices (see Configure Boot Devices on page 3). 6. If desired, configure the boot options on the adapter (see Configure Adapter Parameters on page 7). 7. Boot the Solaris installation CD and follow the prompts.
Note: If you need help determining the LUNs to select for boot from SAN, see Determine LUNs to Select for Boot from SAN on page 8.
3. Copy the /dev/rdsk/nnn part of the path statement for a drive. 4. In the terminal window, use the luxadm display command to show the WWPN or the LUN for which you selected the path in the prior step:
luxadm display </dev/rdsk/nnn>
Page 8
4. Enable boot from SAN on each Emulex adapter in the system by typing the following set of commands, replacing adapter_id with the ID information (such as shown above), for each Emulex adapter in turn. There is a space between the first quotation mark and the first character of the adapter ID.
" adapter_id" select-dev [for example, /pci@5d,700000/lpfc@1 select-dev] set-sfs-boot unselect-dev
5. After all Emulex adapters have been enabled to boot from SAN, reboot the system with the following command:
reset-all
6. After the system reboots, boot the Solaris installation CD and follow the prompts.
1. If necessary, install or update the boot code on the adapter (see Install, Update and Enable Boot Code on page 14). 2. If necessary, enable the boot code on the adapter (see Install, Update and Enable Boot Code on page 14). 3. Type the following at the OBP prompt:
show-devs
4. Enable boot from SAN on each Emulex adapter in the system by typing the following set of commands, replacing adapter_id with the ID information (such as shown above), for each Emulex adapter in turn. There is a space between the first quotation mark and the first character of the adapter ID.
" adapter_id" select-dev [for example, /pci@5d,700000/emlx@2 select-dev] set-sd-boot unselect-dev
5. After all Emulex adapters have been enabled to boot from SAN, reboot the system with the following command:
reset-all
6. Install the operating system on an FC boot disk: To install the operating system from a network image, see Install Solaris from a Network Image on page 10. To migrate an operating system image from a local SCSI disk to an FC device, see Install Solaris by Migrating an Image from a Local SCSI Disk on page 11.
Page 9
1. Log on as a superuser or equivalent. 2. Insert the Solaris DVD in the system's drive. 3. Create a directory to contain the DVD image.
# mkdir -p install_dir_path
Install_dir_path specifies the directory where the DVD image is to be copied. 4. Change to the Tools directory on the mounted disc.
# cd /cdrom/cdrom0/Solaris_10/Tools Note: For Solaris 10 only: remove the SUNWemlxu and SUNWemlxs from the /install_dir_path/Solaris/Tools/Boot Unzip the lpfc driver /temp pkgadd -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.
# ./setup_install_server install_dir_path install_dir_path specifies the directory where the DVD image is to be copied. Note: The setup_install_server command indicates whether you have enough disk space available for the Solaris Software disc images. To determine available disk space, use the df -kl command.
6. Decide whether you need to make the install server available for mounting: If the install server is on the same subnet as the system to be installed or you are using DHCP, you do not need to create a boot server. Proceed to Step 7. If the install server is not on the same subnet as the system to be installed and you are not using DHCP, complete the following steps. a. Verify that the path to the install server's image is shared appropriately.
# share | grep install_dir_path
install_dir_path specifies the path to the installation image where the DVD image was copied: If the path to the install server's directory is displayed and anon=0 is displayed in the options, proceed to Step 7. If the path to the install server's directory is not displayed or you do not have anon=0 in the options, continue and make the install server available to the boot server. Using the share command, add this entry to the /etc/dfs/dfstab file.
share -F nfs -o ro,anon=0 -d "install server directory" install_dir_path
b. Verify that the nfsd daemon is running. If the install server is running the current Solaris release, or compatible version, type the following command.
# svcs -l svc:/network/nfs/server:default
Page 10
If the nfsd daemon is online, continue to Step c. If the nfsd daemon is not online, start it.
# svcadm enable svc:/network/nfs/server
If the install server is running the Solaris 9 OS, or compatible version, type the following command.
# ps -ef | grep nfsd
If the nfsd daemon is running, continue to Step c. If the nfsd daemon is not running, start it.
# /etc/init.d/nfs.server start
c.
8. Eject the Solaris DVD. 9. (Optional) Patch the files that are located in the miniroot on the net install image that was created by setup_install_server. Patching a file might be necessary if a boot image has problems. Refer to the Sun Microsystems Solaris 10 10/08 Installation Guide.
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
Make a note of the WWPN, DID or ALPA returned from the probe and write down the corresponding boot entry.
Page 11
4. To enable boot from SAN, set the boot device ID to the SAN device you want to boot from, for example:
" /pci@5d,700000/lpfc@1" select-dev wwpn|did|alpa lun target_id set-boot-id unselect-dev
where wwpn|did|alpa is the device WWPN, DID, or AL_PA of the storage device. lun is the LUN number in hexadecimal. To enter it in decimal, enter d# [lun]. target_id is the target ID in hexadecimal. To enter it in decimal, enter d# [target_id]. Note: Emulex recommends using the WWPN in most cases. The DID and AL_PA may change between boots, causing the SAN boot to fail, unless the DID and AL_PA are specifically configured to not change between boots. Example 1: alpa=e1, lun=100 (decimal) and target id=10 (decimal):
alpa e1 d# 100 d# 10 set-boot-id
5. Boot to the original local disk to set up the newly defined FC disk. Type:
boot local_disk
where local_disk is the complete path or the alias of the original boot disk. Note: If the Fibre Channel disk is not found when the system is rebooted, enter touch / reconfigure and reboot. If the disk is still not discovered, edit the /kernel/drv/lpfc.conf file and change the topology from 4 to 2 (or from 2 to 4). It may also be necessary to add an entry for the boot drive to the sd.conf file. 6. Run the format utility:
format
7. Select the target disk to 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". 10. Install the boot on partition 0 of the target disk. (Type this command as one line.)
installboot /usr/platform/ `uname -i`/lib/fs/ufs/bootblk /dev/rdsk/clt1d0s0
11. Create a filesystem for each partition that contains a mounted filesystem:
newfs -v /dev/rdsk/clt1d0s0 (becomes root) newfs -v /dev/rdsk/clt1d0s6 (becomes usr) newfs -v /dev/rdsk/clt1d0s7 (becomes export/home)
Page 12
16. Edit /root2/etc/vfstab, changing the controller number, target number and LUN number to point to the new Fibre Channel boot disk. For example, if the Fibre Channel boot disk is c1t1d0, replace all local disk entries of c0t0d0 with c1t1d0.
Currently file shows: /dev/dsk/c0t0d0s1 (swap) /dev/dsk/c0t0d0s0 and /dev/rdsk/c0t0d0s0 (root) /dev/dsk/c0t0d0s6 and /dev/rdsk/c0t0d0s6 (usr) /dev/dsk/c0t0d0s7 and /dev/rdsk/c0t0d0s7 (export) Edit file to show: /dev/dsk/c1t1d1s1 (swap) /dev/dsk/clt1d0s0 and /dev/rdsk/c1t1d0s1 (root) /dev/dsk/clt1d0s6 and /dev/rdsk/c1t1d0s6 (usr) /dev/dsk/clt1d0s7 and /dev/rdsk/c1t1d0s7 (export)
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 13
Linux
Solaris LPFC
X X
After you decide which utility to use, see the appropriate procedure: HBAnyware utility: See the HBAnyware Utility User Manual. HBAcmd utility: See the HBAnyware Utility User Manual. EFI utility: See EFIBoot on page 37. emlxadm: See the FCA Utilities User Manual. Offline utility: See the Offline Utilities User Manual.
HBAnyware Utility X X X
HBAcmd Utility X X X
EFI Utility X X
Offline Utilities X X X
a. Boot code for Solaris emlxs (SFS) systems in enabled automatically when it is installed, so no utility is needed.
Page 14
BIOS Utility
Before using the BIOS utility, ensure that the boot code is loaded and enabled on the adapter as described in Install, Update and Enable Boot Code on page 14.
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.
Note: If the bootup message does not appear, you must enable x86 BootBIOS. See Enable an Adapter to Boot from SAN on page 3 for more information.
Page 1
2. Select the adapter to configure by entering its number. The main configuration menu is displayed (Figure 2).
Under normal circumstances, you would first configure boot devices using the BIOS Utility (page 3). However, in the following two situations, you must perform the indicated procedure first: The adapter is not enabled to boot from SAN: You must enable the adapters BIOS to boot from SAN (See Enable an Adapter to Boot from SAN on page 3). You want to use a topology other than the default (auto topology with loop first): You must change the topology setting before configuring boot devices (See Change Topology on page 10).
Page 2
To configure boot devices: 1. On the main configuration menu (Figure 2), select Configure Boot Devices. A list of 8 boot devices is shown (Figure 4). 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 3
If the first boot entry fails due to a hardware error, the system can boot from the second bootable entry. If the second boot entry fails, the system boots from the third bootable entry and so on.
Note: To minimize the amount of time needed to locate the boot device, Emulex recommends that you select the drive with the lowest AL_PA as the boot device.
3. Select <00> to clear the selected boot entry, or select a device to configure booting by WWPN or DID.
Page 4
4. If you select a device, you are asked for the starting LUN. Enter the starting LUN (Figure 6). The starting LUN can be any number from 0 to 255.
You can define 256 LUNs per adapter, but the screen displays only 16 consecutive LUNs at a time. In front of each entry, B#D or B#W specifies the boot entry number and whether the device boots by DID or WWPN. For example, B1D means that boot entry 1 boots from the DID. B2W means that boot entry 2 boots from WWPN. 5. Type the two digits corresponding to the entry you are selecting. The boot devices menu (Figure 7) displays the following options:
Page 5
6. 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). Then, based on this DID, it continues with the remainder of the scanning. If you select to boot this device by DID, the earlier selected entry is saved in the flash memory.
7. Press <Esc> until you exit the BIOS utility. 8. Reboot the system for the new boot path to take effect.
Page 6
Note: The default topology is auto topology with loop first. Change this topology setting, if necessary, before configuring boot devices.
To access the adapter configuration menu, when the main configuration menu (Figure 2) is displayed, select Configure Advanced Adapter Parameters. The adapter configuration menu is displayed.
Default settings are acceptable for most installations. To reset all values to their defaults, from the main configuration menu (Figure 2) select Reset Adapter Defaults.
Page 7
To change the default AL_PA: 1. On the main configuration menu (Figure 2), select Configure Advanced Adapter Parameters. The adapter configuration menu is displayed (Figure 9). 2. Select Change Default ALPA of this adapter. Information similar to Figure 10 is displayed.
3. Change the default AL_PA, use the arrow keys to scroll through the valid AL_PAs. Table 4 below lists the valid AL_PA values. 4. Press <Esc> until you exit the BIOS utility. 5. Reboot the system.
Note: If the adapter's AL_PA is changed, it does not show on the NVRAM AL_PA until the system has been reset.
Page 8
To set the interval for the PLOGI retry timer: 1. On the main configuration menu (Figure 2), select Configure Advanced Adapter Parameters. The adapter configuration menu is displayed (Figure 9). 2. Select Change PLOGI Retry Timer. Information similar to Figure 11 is displayed.
3. Select the retry timer interval. Boot Code User Manual Page 9
4. Press <Esc> until you exit the BIOS utility. 5. Reboot the system
Change Topology
Emulex drivers support arbitrated loop and point-to-point topologies. If it is necessary to change the topology, do so before you configure boot devices. The default topology is auto topology with loop first. For FC-AL, each adapter has a default AL_PA of 01 (Hex).You can configure: Auto topology with loop first - default Auto topology with point-to-point first FC-AL Fabric point-to-point.
To select the adapter topology: 1. On the main configuration menu (Figure 2), select Configure Advanced Adapter Parameters. The adapter configuration menu is displayed (Figure 9). 2. Select Topology Selection. Information similar to Figure 12 is displayed.
3. Select the topology for the adapter. 4. Press <Esc> until you exit the BIOS utility. 5. Reboot the system.
Page 10
If no boot devices have been defined, and auto scan is enabled, then the BIOS waits for five minutes before scanning for devices. In a private loop, the BIOS attempts to boot from the lowest target AL_PA it finds. In an attached fabric, the BIOS attempts to boot from the first target found in the NameServer data.
To enable or disable the spinup delay: 1. On the main configuration menu (Figure 2), select Configure Advanced Adapter Parameters. The adapter configuration menu is displayed (Figure 9). 2. Select Enable or Disable Spinup Delay.Information similar to Figure 13 is displayed.
3. Enable or disable spinup delay. 4. Press <Esc> until you exit the BIOS utility. 5. Reboot the system.
Page 11
To set auto scan: 1. From the main configuration menu (Figure 2), select Configure Advanced Adapter Parameters. The adapter configuration menu is displayed (Figure 9). 2. Select Auto Scan Setting. Figure 14 is displayed.
3. Select the auto scan option: 4. Press <Esc> until you exit the BIOS utility. 5. Reboot the system.
Page 12
To enable or disable EDD 3.0: 1. From the main configuration menu (Figure 2), select Configure Advanced Adapter Parameters. The adapter configuration menu is displayed (Figure 9). 2. Select Enable or Disable EDD 3.0. Figure 15 is displayed.
3. Enable or disable EDD 3.0. 4. Press <Esc> until you exit the BIOS utility. 5. Reboot the system.
Page 13
3. Enable or disable the start unit command. 4. Press <Esc> until you exit the BIOS utility. 5. Reboot the system.
Page 14
3. Enable or disable the environment variable. 4. Press <Esc> until you exit the BIOS utility. 5. Reboot the system.
Page 15
3. Enable or disable auto boot sector. 4. Press <Esc> until you exit the BIOS utility. 5. Reboot the system.
Page 16
To change the adapters link speed: 1. From the main configuration menu (Figure 2), select Configure Advanced Adapter Parameters. The adapter configuration menu is displayed (Figure 9). 2. Select Link Speed Selection. A menu similar to Figure 19 is displayed.
3. Change the link speed. 4. Press <Esc> until you exit the BIOS utility. 5. Reboot the system.
Page 17
EDD 3.0
EDD 2.1
Disabled
Spinup Delay Auto Scan Start Unit Environmental Variable Auto Boot Sector Topology
Link Speed
Page 18
To reset parameters to their factory default settings: 1. On the main configuration menu (Figure 2) select Reset Adapter Defaults. A screen is displayed that asks if you want to reset to the defaults.
Page 19
OpenBoot
OpenBoot commands are supported by the Sun SPARC system.
Attribute Commands
boot - id Syntax: .boot - id Description: Shows the current boot device id. Parameters: None .devalias Syntax: .devalias Description: Shows the boot list. Parameters: None .fcode Syntax: .fcode Description: Shows the current version of OpenBoot. Parameters: None .host-did Syntax: .host-did Description: Shows the actual current AL_PA of the adapter. Parameters: None .nvram Syntax: .nvram Description: Shows the current flags for OpenBoot.
show-devs "/pci@1f,0/pci@1/lpfc@1" select-dev /* select lpfc@1 (for example) */ .nvram
Parameters: None .probe-scsi-all Syntax: .probe-scsi-all Description: Shows the current SCSI and FC devices. Parameters: None .show-devs Syntax: .show-devs Description: Shows a list of the devices found. Parameters: None
Page 34
.topology Syntax: .topology Description: Shows 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 /* to clear boot id settings */ unselect-dev or "/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: set-default-mode Description: Resets to the default value mode. Parameters: None set-link-speed Syntax: set-link-speed Description: Shows the current link-speed setting. Changes and sets the link speed. The default is 0=Auto Select Link Speed. Parameters: 0=Auto Select Link Speed (Default),1=1 Gb/s Link Speed -- Only, 2=2 Gb/s Link Speed -Only, =4 Gb/s Link Speed -- Only set-max-lun Syntax: set-max-lun Description: Shows the current maximum LUN support. Changes and sets the support setting, the default max lun is 256. Parameters: 0=Set Max Lun to 255 (Default), 1=Set Max Lun to 1023, 2=Set Max Lun to 2047, 3=Set Max Lun to 4095 set-post-linkup Syntax: set-post-linkup Description: Controls if a linkup is to occur during a POST. The default is off. Parameters: 0=Set Linkup Switch OFF (Default), 1=Set Linkup Switch ON
Page 35
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 36
EFIBoot
The Emulex EFIBoot boot code can be used on server platforms with EFI or UEFI-based system firmware, with or without an EFI shell. If your system firmware is EFI version 1.1 or UEFI version 2.0, the EFI utility can be invoked from the EFI Shell prompt. If your system firmware is UEFI 2.1, it expects the HII (Human Interface Infrastructure) interface to be present and implemented by the server manufacturer. Using EFIBoot code with the HII interface is described later in the chapter.
Note: This section reflects the most recent release of the EFI utility. Some selections may not be available if you are using an older version of the utility. Note: EFIBoot is not supported on converged network adapters (CNAs) such as the LP21000 and LP21002. Note: If you have several adapters in your system, the EFI system firmware or boot code uses the highest version driver that is on one of your adapters. Adapters with older versions of EFIBoot are managed by the more recent version, but only as long as the adapter with the most recent version is in the system. The adapters must be updated to actually update and not just use the most recent version available.
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 37
4. Change to the desired drive by entering the drive name followed by a colon. For example, type: fs0: 5. Load the EFI utility file: load filename.efi <Enter> where filename is the The following message is displayed: load elxcli400A2.efi load:Image fs0: \elxcli400A2.efi loaded at 0x3FCD7000 - Success The EFI utility is now resident in memory, and can be accessed through the drvcfg shell command.
Note: The utility is available only until the next reboot. However, if the driver.prg file has been stored in the flash memory on the adapter, the utility is available at every startup as long as the adapter is in the system.
Page 38
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> A list of all the adapters in the system is displayed (Figure 24). 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>.
Page 39
Note: You must issue a connect -r command in the EFI shell or reboot for any
2. Select 1. Enable or Disable BIOS and press <Enter>. The current BIOS status is displayed (Figure 27).
Page 40
3. If the current status is disabled, select Enabled and press <Enter>. The status changes to enabled (Figure 28).
Note: You can configure EFIBoot systems for up to eight boot devices. Configure one boot device at a time. Note: Press <Esc> to return to the EFI utility menu.
From the EFI-BIOS Setup Utility menu (Figure 26) select 2. Configure HBA Parameters and press <Enter>. The Adapter Configuration (Figure 29) is displayed.
Page 41
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 7. Table 7: Valid AL_PA Values
0x00 0x18 0x27 0x32 0x43 0x4D 0x59 0x6A 0x74 0x82 0x9D 0xAA 0xB4 0xC6 0xD1 0xDC 0x01 0x1B 0x29 0x33 0x45 0x4E 0x5A 0x6B 0x75 0x84 0x9E 0xAB 0xB5 0xC7 0xD2 0xE0 0x02 0x1D 0x2A 0x34 0x46 0x51 0x5C 0x6C 0x76 0x88 0x9F 0xAC 0xB6 0xC9 0xD3 0xE1 0x04 0x1E 0x2B 0x35 0x47 0x52 0x63 0x6D 0x79 0x8F 0xA3 0xAD 0xB9 0xCA 0xD4 0xE2 0x08 0x1F 0x2C 0x36 0x49 0x53 0x65 0x6E 0x7A 0x90 0xA5 0xAE 0xBA 0xCB 0xD5 0xE4 0x0F 0x23 0x2D 0x39 0x4A 0x54 0x66 0x71 0x7C 0x97 0xA6 0xB1 0xBC 0xCC 0xD6 0xE8 0x10 0x25 0x2E 0x3A 0x4B 0x55 0x67 0x72 0x80 0x98 0xA7 0xB2 0xC3 0xCD 0xD9 0xEF 0x17 0x26 0x31 0x3C 0x4C 0x56 0x69 0x73 0x81 0x9B 0xA9 0xB3 0xC5 0xCE 0xDA
To change the default AL_PA: 1. On the Adapter Configuration menu, select 1. Default ALPA of this adapter and press <Enter>. A screen similar to Figure 30 is displayed.
2. Select the HardALPA value field, use the up/down arrows to change the default value, and press <Enter>. The new value is displayed.
Note: Press <Esc> to return to the EFI utility menu.
Page 42
2. Use the up/down arrows to select a different topology and press <Enter>. The screen is refreshed with the new value.
Note: The presence of a fabric is detected automatically. Press <Esc> to return to the EFI utility menu.
Page 43
2. Use the up/down arrows to select a retry timer option and press <Enter>. The screen is refreshed with the new value.
Note: Press <Esc> to return to the EFI utility menu.
The time it takes for one PLOGI to scan the whole loop (if 126 AL_PAs are on the loop) is shown below: 50 msec takes 5 to 6 seconds per device. 100 msec takes 12 seconds per device. 200 msec takes 22 seconds per device.
2. Use the up/down arrows to select a link speed and press <Enter>. Possible link speed choices: 1 Gb/s 1 and 2 Gb/s 1, 2 and 4 Gb/s 2, 4 and 8 Gb/s
Note: Emulexs 8 Gb/s adapters do not support 1 Gb/s link speed.
Page 44
To configure boot parameters, from the EFI-BIOS Setup Utility menu (Figure 26) select 3. Configure Boot Parameters and press <Enter>. The menu shown in Figure 34 is displayed.
Page 45
2. Use the up/down arrows to change the path and press <Enter>. The screen is refreshed with the new value.
Note: The device path is typically not changed. The SCSI device path is used for legacy systems. Press <Esc> to return to the EFI utility menu.
2. Use the up/down arrows to change the maximum LUN value (between 1 and 4096) and press <Enter>. The screen is refreshed with the new value.
Note: 256 is the default and typical number of LUNs in a device. Press any key to return to the configuration menu.
Page 46
2. Use the up/down arrows to select a boot scan setting and press <Enter>. The boot scan options are: Boot Path from NVRAM Targets - Boot scan discovers only LUNs that are saved to the adapters 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. Boot Path from Discovered Targets - Boot scan discovers all devices that are attached to the FC port. Discovery can take a long time on large SANs if this option is used. Boot Scan from EFIFcScanLevel - Allows 3rd party software to toggle between Boot Path from NVRAM and Boot Path from Discovered Targets by manipulating an EFI system NVRAM variable. After the scan is set to EFIFcScanLevel, the scan method can be changed without entering the EFI Boot configuration utility. If EfiFcScanLevel is selected, the scan is determined by the value of the EfiFcScanLevel variable maintained by the EFI system firmware or boot code. The value of this variable can be changed either by using the menu in the EFIBoot Configuration utility, or by using 3rd party software from the EFI shell command prompt. If you select Boot Scan from EfiFcScanLevel:
Page 47
If the EfiFcScanLevel variable already exists, the screen in Figure 38 shows the current setting and allows you to select a new setting.
If the EfiFcScanLevel variable does not exist in the EFI BIOS NVRAM store, the EFIBoot configuration utility prompts you to create it, as shown in Figure 39.
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, discovery takes a long time. Press <Esc> to return to the EFI utility menu.
Page 48
To configure an EFI boot device: 1. On the Boot Configuration menu, select 4. Configure Boot Devices and press <Enter>. The screen shown in Figure 40 is displayed.
2. Select a device row and press <Enter>. The screen shown in Figure 41 displays the selected device row.
Page 49
3. Select 1. Scan Targets and press <Enter>. The system scans the adapter and shows your targets, as shown in Figure 42.
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.
4. Select a target row and press <Enter>. LUNs for the target are displayed, as shown in Figure 43.
Note: Eight LUNs are displayed per screen. If more than eight LUNs are configured for the target, press the right arrow key to view more LUNs.
Page 50
5. Select a LUN and press <Enter>. The screen shown in Figure 44 is displayed.
6. Select 1. Boot this device via WWN and press <Enter>. Figure 45 shows the LUN selected in step 5.
Figure 45: Device Rows with a Selected LUN to Boot with WWNN screen
Page 51
2. Select a device row and press <Enter>. The screen shown in Figure 47 is displayed.
3. Select 2. Clear Flash Boot Info and press <Enter>. The system clears the target as the remote boot device.
Page 52
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. On the Boot Configuration menu, select 5. Delay Device Discovery and press <Enter>. The screen shown in Figure 48 is displayed.
2. Use the left /right arrows to select values in 10-second increments and press <Enter>.
Page 53
Page 54
To reset parameters to their factory default settings: 1. From the EFI-BIOS Setup Utility menu (Figure 26) select 4. Reset to Default Values and press <Enter>. The screen shown in Figure 49 is displayed.
Page 55
2. After you enter the directory path, you are prompted to enter the file name. Do so, and then press <Enter>. The screen shown in Figure 52 displays the status of the save.
Page 56
Batch Configuration
Batch configuration migrates an adapters configuration across several adapters at the same time.
Note: No other adapter functions can be performed while batch configuration is in progress.
There are two ways to perform batch configuration: Migrate the configuration of one adapter to other adapters in the system. Migrate the configuration stored in a previously saved configuration file to the adapters in the system. This allows configurations to be migrated across systems.
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 53).
2. Select 1. Read Configuration from NVRAM and press <Enter>. A list of the adapters in the system is displayed (Figure 54).
Page 57
3. Use the up and down arrows on your keyboard to select the source adapter for the configuration and press <Enter>. A menu of all adapters in your system, except the source adapter, is displayed (Figure 55).
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, a screen similar to Figure 56 is displayed.
Page 58
If all adapters are not configured successfully, a screen similar to Figure 57 is displayed.
To migrate the configuration stored in a configuration file to the 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 53). 2. Select 2. Read Configuration From File. The screen shown in Figure 58 prompts you to enter a directory path to the previously saved configuration file.
3. Enter the directory path and file name and press <Enter>. A list of the adapters in the system is displayed (Figure 55). 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 56 is displayed. If all adapters are not configured successfully, the screen shown in Figure 57 is displayed.
Page 59
To update the boot code using the EFI utility: 1. On the main EFI utility menu, select 2. Firmware Update, and press <Enter>. 2. On the Firmware Update Utility menu, select 1. Update Selected Adapter, and press <Enter>.
3. Enter the directory path and filename in the screen that is displayed (Figure 60). Press <Enter>.
Page 60
The boot code is updated on the selected adapter. Information similar to Figure 61 is displayed.
3. Check the adapters you want to update. To select an adapter, use the up/down arrow keys to highlight it, and press the space bar.
Page 61
4. Press <P> to update the firmware or boot code. You are prompted for a directory path and file name for the firmware or boot code image file (Figure 63). Enter the path and file name, and then press <Enter>.
The boot code update begins on the first adapter. Information similar to Figure 64 is displayed for each adapter:
Page 62
After all adapters are updated, a listing with success or failure status is displayed (Figure 65).
Page 63
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.
Page 64
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
If F_PORT (point-to-point) login is successful, fabric mode is used. If F_PORT login is unsuccessful, N_PORT-to-N_PORT direct connection topology is used. If a switch is discovered, the driver performs the following tasks: FL_PORT login (FC-AL topology) or F_PORT login (Point-to-Point topology). Simple Name Server login. State Change Registration. Symbolic Name Registration. FCP Type Registration if RegFcpType is set to 1. Driver logs out and re-logs in. The name server indicates that registration is complete. Simple Name Server Query for devices (the registry parameter SnsAll determines whether all N_PORTS are requested or only SCSI FCP N_PORTS). Discovery/device creation occurs for each target device described by the name server. RSCN and LOGO/PRLO are handled by the driver. Reception of either causes new discovery/logins to take place.
Note: In a fabric environment, the order in which disk devices are created is based on the name server response data (which is not guaranteed to be in any special order). Between successive boots, the same device may be identified with a different physical device number. However, any devices that have been assigned a device letter through the disk administrator continue to use that letter regardless of the physical device number.
Page 65
Configure EFIBoot via UEFI HII (Human Interface Infrastructure) in a UEFI 2.1 System
Note: EFIBoot is not supported on converged network adapters (CNAs) such as the LP21000 and LP21002. Note: If you have several adapters in your system, the UEFI system firmware or boot code uses the highest version driver that is on one of your adapters. Adapters with older versions of EFIBoot are managed by the more recent version, but only as long as the adapter with the most recent version is in the system. The adapters must be updated to actually update and not just use the most recent version available.
Page 66
2. The Emulex Configuration Utility screen appears with Emulex Configuration Setup Utility selected. Press <Enter>.
A list of all the adapters in the system is displayed. Your list may vary depending on the installed adapters. Locate the adapter you want to configure. Use the up/down arrows on your keyboard to select it, and press <Enter>.
Page 67
The Emulex Adapter Configuration Main Menu is displayed. Select the function you want and press <Enter>.
Page 68
Page 69
Page 70
3. Make your selection and press <Enter>. The utility displays the new boot from SAN setting.
Page 71
2. From the Main menu, select Scan for Fibre Devices and press <Enter>. A list of the discovered targets is displayed. This is only a list of discovered target devices to determine SAN connectivity. To add or configure boot devices, see the following sections.
Page 72
2. From the Main menu, select Add Boot Device and press <Enter>. A screen appears displaying the discovered targets.
3. Select the target you want and press <Enter>. A list of bootable LUNS is displayed.
Page 73
4. Select the boot device you want to add and press <Enter>. A menu appears enabling you to commit or discard your changes.
Page 74
2. From the Main menu, select Delete Boot Device and press <Enter>. A list of boot devices is displayed.
3. Select the boot device you want to delete and press <Space>. The device appears with an X beside it.
Page 75
Page 76
3. Select Boot Device Order and press <Enter>. A screen appears displaying the boot device order.
Page 77
5. From the menu, select the device whose boot order you want to change. Use the <+> or <-> keys to change the order of the selected device and press <Enter>. A screen appears showing the new boot device order. 6. Press <Enter> and choose Commit Changes.
To configure adapter parameters: 1. From the Adapter Selection screen, select the adapter whose parameters you want to configure and press <Enter>. 2. From the Main menu, select Configure HBA and Boot Parameters and press <Enter>. The Configuration menu screen appears.
Page 78
To change the topology: 1. From the Adapter Selection screen, select the adapter whose topology you want to change and press <Enter>. 2. From the Configure HBA Parameters menu, navigate to Topology Selection and press <Enter>. The Topology menu screen appears.
3. Select a topology and press <Enter>. The screen is refreshed with the new value.
Note: The presence of a fabric is detected automatically. Press <Esc> to return to the EFI utility menu.
Page 79
To change timer values: 1. From the Adapter Selection screen, select the adapter whose PLOGI retry timer information you want to change and press <Enter>. 2. From the Configure HBA Parameters menu, navigate to PLOGI Retry Timer and press <Enter>. The PLOGI Retry Timer menu appears.
3. Select a retry timer option and press <Enter>. The screen is refreshed with the new value.
Note: Press <Esc> to return to the EFI utility menu.
Page 80
To change the link speed: 1. From the Adapter Selection screen, select the adapter whose link speed you want to change and press <Enter>. 2. From the Configure HBA Parameters menu, navigate to Force Link Speed and press <Enter>. The Force Link Speed menu appears.
Page 81
3. Type the maximum LUN value (between 1 and 4096) and press <Enter>. The screen is refreshed with the new value.
Note: 256 is the default and typical maximum number of LUNs in a target device. A higher number of maximum LUNs causes the discovery to take more time.
Page 82
Page 83
3. Select a boot scan setting and press <Enter>.The screen is refreshed with the new value.
Note: If you have a large SAN and set the boot path to Boot Path Discovered Targets, discovery takes a long time. Press <Esc> to return to the EFI utility menu.
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. From the Adapter Selection screen, select the adapter whose device discovery delay settings you want to change and press <Enter>. 2. From the Configure Boot Parameters menu, Delay Device Discovery and press <Enter>. The screen becomes editable.
Page 84
3. Use the +/- keys to change the delay device discovery value in increments of 10 seconds and press <Enter>. The screen is refreshed with the new value. 4. Select Commit Changes and press <Enter>.
To set Emulex adapters to their default settings: 1. From the Adapter Selection screen, select the adapter whose default settings you want to change and press <Enter>.
Page 85
2. From the Main menu, select Set Emulex Adapters to Default Settings and press <Enter>. A menu screen appears enabling you to set defaults or cancel default settings.
3. Select Set Adapter Defaults and press <Enter>. The Adapter Selection screen appears.
4. Select the adapter whose setting you want to return to their defaults and press <Enter>. The Main Configuration Menu appears.
Page 86
5. Select Set Emulex Adapter to Default Settings and press <Enter>. The Adapter Default Settings menu screen appears.
6. Select Set Adapter Defaults and press <Enter>. The adapter is returned to its default settings. Press <Esc> to return to the adapter list.
To display adapter information: 1. From the Adapter Selection screen, select the adapter whose information you want to view and press <Enter>.
Page 87
2. From the Adapter configuration Main menu, select Display Adapter Info and press <Enter>. A screen appears displaying information about the selected adapter.
Page 88
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
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. Resolution: Make sure that x86 BootBIOS has been loaded and enabled. Retry This Adapter Message Situation: The message "Retry This Adapter" appears during BIOS scanning. Resolution: Check the hardware configuration or reconfigure the adapter BIOS using the BIOS utility. Cannot Mount Root File System Message (Solaris SFS Driver) Situation: The message Cannot Mount Root File System appears during bootup. Resolution: Make sure the correct storage device is identified in the scsi_vhci.conf file. The XP128 storage array is used in the following example: # cd /kernel/drv # pg scsi_vhci.conf # # Copyright 2004 Sun Microsystems, Inc. # Use is subject to license terms. # # pragma ident "@(#)scsi_vhci.conf # name="scsi_vhci" class="root"; . . . device-type-scsi-options-list = "HP OPEN-3*4", "symmetric-option"; symmetric-option = 0x1000000; # Cannot Find UNIX Kernel Message (Solaris SFS Driver) Situation: The message Cannot Find UNIX Kernel appears during bootup. Resolution: Set up the correct LUN to boot in the BIOS utility. The correct LUN can be seen at the end of the Device Address line when you issue a luxadm display <device> command; See the luxadm documentation from Sun for more information. No Such Partition Message (Solaris SFS Driver) Situation: The message No Such Partition appears during bootup: Resolution: Make sure the correct boot device is selected at the GRUB menu. See the GRUB documentation from Sun and the /boot/grub/menu.lst for more details.
1.9
04/08/26 SMI"
Page 89
OpenBoot
The System Cannot mount or fsck /etc/vfstab a FC Boot Disk (Solaris LPFC Driver) Situation: During the boot process, the system cannot mount or fsck /etc/vfstab a FC boot disk. Resolution: Make sure that persistent binding is implemented correctly. A Loaded File Is Not Executable (Solaris LPFC Driver) Situation: After entering boot disk, a message states that the file that was loaded is not executable. Resolution: The boot block may not be installed correctly to the FC drive. See Configure Boot from SAN on Solaris LPFC (SPARC) on page 9. The System Hangs or Reboots After Displaying Driver Information (Solaris LPFC Driver) Situation: The system hangs for a long time after displaying driver information, or it reboots after displaying driver information. Resolution: Possible incorrect topology set in the /kernel/drv/lpfc.conf file on the target disk. FC Disk Is Not Found (Solaris LPFC Driver) Situation: You have performed the setup tasks and the FC disk is not found when you reboot the system. Resolution: If the FC disk is not found when the system is rebooted, it may be necessary to do the following: 1. Type "cfgadm -a" to list the target. 2. Type "cfgadm -vc configure c1::c5t2200002037AE0091" to configure the FC target. 3. Type "cfgadm -c unconfigure c1" to remove the FC target.
It may also be necessary to add an entry for the boot drive to the sd.conf file.
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: /pci@1f,4000/lpfc@2 Resolution: The OpenBoot code is not loaded in the adapters firmware. You must install OpenBoot before you
can set up boot from SAN on the adapter (see page [insert cross reference]).
Page 90
Conventions
Press the up/down arrows on your keyboard to move through and highlight menu options or configuration fields. Menus with adapter listings and information display up to eight rows at a time. If applicable, press the up/down arrows to scroll to additional adapters. Press the left/right arrows on your keyboard to scroll through pages of information. Press <Enter> to select a menu option. Press <Esc> to return to the previous menu. Press the space bar to select or check a test data pattern. All patterns are selected by default. Press <F1> to view online help for a menu item. Press <F2> to clear the status (Passed, Failed or Unsupported) of each test on a data test pattern menu. This clears the menu, but does not clear the results log. Press <F3> to execute a selected test pattern. Press <F4> to reset the data patterns back to the default (all checked). When you view any of the Adapter Data information, press any key to return to the Diagnostic Main menu.
Page 91
4. Use the up/down arrows and to select (highlight) an adapter and press <Enter>. The Diagnostic Main menu is displayed:
2. Use the up/down arrow keys to highlight a test and press the space bar. That test is checked. 3. Press <F3>. The selected test runs. To run multiple tests from the Diagnostic Tests menu: 1. On the Diagnostic Main menu (Figure 94), select <1>. Diagnostic Tests. Press <Enter>. The Diagnostic Tests menu is displayed (Figure 95). 2. Use the up/down arrow keys to highlight tests and press the space bar to select or deselect. 3. Highlight <5>. Execute Selected Diagnostics. Press <Enter>. The selected tests run.
Page 92
To run individual Loopback test patterns: 1. Access the Diagnostic Main menu (Figure 94) and select <1>. Diagnostic Tests. Press <Enter>. The Diagnostic Tests menu is displayed (Figure 95). 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:
4. Press <Esc> one or more times as necessary to display the Diagnostic Tests menu. 5. Use the up/down arrow keys to highlight <5>. Execute Selected Diagnostic. and press <Enter>. The selected tests run. After tests are performed, the status of each selected pattern is displayed. For example:
Page 93
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 96).
Internal and external loopback link speeds have the same three options. Link speed defaults to one Gb for both internal and external tests.
Page 94
Test results are displayed on the Test Data Pattern menu and saved to results log.
If all tests pass, Passed is displayed on the Diagnostic Utility menu. For example:
Figure 103: Select Diagnostic Tests - Adapter Diagnostic Tests Passed screen
If any one of these tests fail, Failed is displayed on the Select Diagnostic Tests screen.
Page 95
Examples
Page 96
Page 97
Note: View up to 256 bytes of PCI configuration space using paging. 128 bytes are displayed at a time. Use the <F2> key to select byte, word, or dword display.
Note: Up to eight devices are displayed per page. If there are more than eight devices, use the left/right arrow keys to scroll to the previous/next page.
Figure 111: Device Data Target Selection menu
2. Use the up/down arrow keys to highlight an attached block I/O device and press <Enter>. A screen similar to Figure 112 is displayed.
Page 98
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:
To scroll through the results log: Use the up/down arrow keys to scroll one row at a time. Use the Home/End keys to scroll one page at a time.
Note: The Page Up and Page Dn keys do not navigate the results log.
Page 99
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.
3. Enter the directory path and press <Enter>. The Filename field is displayed. 4. Enter the filename and press <Enter>.
Note: The filename must be unique.
Once the file is successfully saved, a screen similar to the following is displayed:
To clear the log result, press <F2>. The results on the diagnostic tests are erased, and a new time and date is written to the log.
Page 100