
Version 3.4
User Manual

Copyright© 2008 Emulex Corporation. All rights reserved worldwide. No part of this document may be reproduced by any means nor translated to any electronic medium without the written consent of Emulex Corporation.
Information furnished by Emulex Corporation is believed to be accurate and reliable. However, no responsibility is assumed by Emulex Corporation 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 or patent rights of Emulex Corporation.
Emulex, AutoPilot Installer, BlockGuard, cLAN, FabricStream, FibreSpy, Giganet, HBAnyware, InSpeed, IntraLink, LightPulse, MultiPulse, SAN Insite, SBOD and Vixel are registered trademarks, and AutoPilot Manager, EZPilot, SLI and VMPilot are trademarks of Emulex Corporation. 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 Corporation may make improvements and changes to the product described in this manual at any time and without any notice. Emulex Corporation 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 Corporation disclaims any undertaking to give notice of such changes.




Emulex® drivers have many properties that you can modify using the HBAnyware® configuration utility. The utility is client/server based and provides 'remote' configuration capability to other host platforms running the utility. This remote configuration capability can be provided by either Fibre Channel (FC) access (host systems on the same FC Storage Area Network (SAN) or by Transmission Control Protocol/Internet Protocol (TCP/IP) access (from IP addresses of remote machines). The HBAnyware utility also enables local discovery of Emulex and OEM branded Emulex host bus adapters (HBAs).
This manual supports the following versions of the HBAnyware application.

* Supported by only hbacmd on VMware ESX Server. Remote management clients can perform these func- tions on ESX Server HBAs using the HBAnyware GUI. ** Temporary (not persistent) driver parameters are supported only by hbacmd on VMware ESX Server.

The following issues have been reported at the time of publication. These issues may not have been verified or confirmed and may apply to another product, such as hardware.
Emulex Corporation HBAnyware Demo of HBAnyware WebStart web n.n.n.n
If you verified that the HBAnyware Web Launch Services package is installed and is running on the target server, try one of these two workarounds:
To disable automatic periodic polling of remote servers:
Emulex recommends that remote management of other Windows, Linux and Solaris servers take place in an environment separate from management of ESX servers. For example, other servers should exist in a separate zone so that the HBAnyware client that manage them does not automatically discover ESX servers.

In Windows:
The AutoPilot Installer® software streamlines the Emulex driver and HBAnyware utility installation. See the Quick Installation Manual for more information. This manual is available on the Emulex Web site for your driver version.
In Solaris LPFC, Solaris emlxs (SFS) and Linux:
The following must be installed before you can install the utilities:
the beginning of the PATH environment variable to avoid conflicts with earlier versions of java that may still be installed on the system. For example, if the java runtime binaries are in /usr/java/bin, then include this path in the PATH environment variable. For example: (bash> export PATH="/usr/java/bin:$PATH")
To install the HBAnyware utilities in Solaris LPFC and Solaris emlxs (SFS):
./unpack_apps 3. Unzip the file. Type:
gunzip HBAnyware--.tar.gz 4. Untar the file. Type:
tar -xvf HBAnyware--.tar 5. Run the pkgadd utility. Type:
pkgadd -d . 6. When prompted by pkadd, choose to install HBAnyware.

To install the HBAnyware utilities in Linux:
application helper module allows HBAnyware to communicate with the Emulex driver for Linux. The 'elxlpfc' init script is also installed and configured to start and stop the 'lpfcdfc' driver during system startup and shutdown.
tar xvf ElxLinuxApps-.tar 6. Uninstall any previously installed versions. Type:
./uninstall 7. Run the install script. Type:
./install 8. Enter the type of management you want to use:
1 Local Mode : HBA's on this Platform can be managed by HBAnyware clients on this Platform Only. 2 Managed Mode: HBA's on this Platform can be managed by local or remote HBAnyware clients. 3 Remote Mode : Same as '2' plus HBAnyware clients on this Platform can manage local and remote HBA's. 9. You are prompted as to whether or not to allow users to change management mode after installation. Enter 'y' for yes, or 'n' for no.
You can also install the applications kit on an upgraded kernel. The lpfc driver must be part of the target kernel distribution and the utilities package must have been installed on the current kernel.
To install the applications kit on an upgraded kernel:
./install upgradekernel
To install the HBAnyware Agent in VMware ESX Server:
The LPFC driver must be loaded before you can install the HBAnyware Agent.
rpm -i .rpm
The rpm contents are installed in /opt/hbanyware. The hbacmd utility is also located in this direc- tory.

In addition to the driver and HBAnyware utilities, the following must be installed before you can install the Web Launch feature:
Server.
The system on which you are installing the Web Launch services package (the server) requires:
MIME type: application/x-java-jnlp-file File Extension: jnlp • The HTTP server must be configured and running.
The system on which you are running the browser (the client) requires:
See the appropriate vendor documentation for detailed instructions about configuring MIME types, configuring and starting the HTTP server and installing the JRE.
To install the HBAnyware utility with Web Launch:
In Windows:
Click Programs>Emulex >HBAnyware WebLaunch Install. Web Launch installation begins.
In Solaris LPFC, Solaris emlxs (SFS) and Linux:
cd /opt/hbanyware • Linux:
cd /usr/sbin/hbanyware

./wsinstall 4. When prompted, enter the Web server's document root directory. For example:
/srv/www/htdocs 5. You are provided with the IP address of the host and asked if that is the IP address that is being used by your Web server. Answer Y or N as appropriate. If you answer N, you are prompted for the IP address you wish to use.
You are notified when the installation of the HBAnyware Web Launch package is complete.
Once the necessary information is entered, you are notified when the installation of the HBAny- ware Web Launch package is complete. The Web Launch configuration files are created and Web Launch Services automatically starts.
http://IP_ADDR:PORT_NUM/hbanyware.jnlp
where IP_ADDR is the IP address of host on which you installed the HBAnyware Web Launch service, and PORT_NUM is the TCP port number of the listening hosts' Web server. The stan- dard HBAnyware user interface is displayed.
The Emulex driver and the HBAnyware utilities must be installed before you can install the HBAnyware Security Configurator.
Server.
To install the HBAnyware utility Security Configurator:
In Windows:
C:\Program Files\HBAnyware
In Solaris LPFC and Solaris emlxs (SFS):
gzcat .tar.gz | tar xvf- 4. Log on as ‘root’.
pkgadd -d `pwd`

In Linux:
./install ssc
To uninstall the HBAnyware Security Configurator:
In Windows:
In Solaris LPFC and Solaris emlxs (SFS):
uninstalling the HBAnyware and driver utilities.
In Linux:
Configurator you want to remove. If the uninstall script resides in the usr/src directory, be sure to copy it to a temporary directory before you run it.
./uninstall ssc
pkgrm HBAnywareSSC

To uninstall HBAnyware Web Launch, but leave the HBAnyware utility installed:
In Windows:

In Solaris LPFC, Solaris emlxs (SFS) and Linux:
HBAnyware.
/opt/hbanyware/wsuninstall • Linux:
This script stops the HBAnyware Web Launch Service daemons (if they are running) and removes all Web Launch related files from the host.
To uninstall the HBAnyware utility and HBAnyware Web Launch:
In Windows:
In Solaris LPFC and Solaris emlxs (SFS):
/usr/sbin/hbanyware/wsuninstall · pkgrm HBAnyware

In Linux (also uninstalls the application helper module):
./uninstall
In VMware ESX Server (uninstalls the HBAnyware Agent):
rpm -qa | grep elx 3. Locate the .rpm file. The .rpm contents are installed in /usr/sbin/hbanyware. The hbacmd utility is also located in this directory.
rpm -e .rpm

display requirements: For Windows systems the display resolution must be set to 800 by 600 or better. For UNIX systems the display resolution must be set to 1024 by 768 or better. The display must run in 256-color mode or higher. HBAnyware icons use 256 colors. If the display is set for 16 color mode, HBAnyware icons will not be displayed.
To start the HBAnyware utility:
In Windows:
On the Windows desktop, select Start>All Programs>Emulex>HBAnyware. If you have a Vista system, right-click and select Run As Administrator.
In Solaris LPFC, Solaris emlxs (SFS) and Linux:
cd /opt/hbanyware/hbanyware • Linux:
After the HBAnyware Web Launch software is installed and the Web Launch server is initialized, you can launch the HBAnyware utility directly with your Web browser.
client. All HBA discovery and remote management operations are performed by resources running on the remote host that served up the GUI component. Therefore, the SAN view displayed by the GUI is not from the client running the GUI, but rather from the host from which this GUI was retrieved.
To launch the HBAnyware utility with your Web browser:
http://138.239.20.30/hbanyware.jnlp
Before starting the HBAnyware Security Configurator:
cd /usr/sbin/hbanyware/hbanyware

HBAnyware utility Security Configurator for the first time, that system becomes the Master Security Client (MSC). For more information, see “Creating the Access Control Group” on page 100.
To start the HBAnyware Security Configurator:
In Windows:
On the desktop, click Start>All Programs>Emulex>HBAnyware Security Configurator. The HBAnyware Security Configurator Discovery window appears. After discovery is completed, the HBAnyware Security Configurator appears.
In Solaris LPFC, Solaris emlxs (SFS) and Linux:
cd /opt/hbanyware/ssc • Linux:
Not all HBAs for a specific host can run FC. Therefore, if you run with TCP/IP access, that host may display HBAs that do not appear when running FC.
To start HBAnyware from the command line:
From the directory in which the HBAnyware utility is installed, type hbanyware and press <Enter>. This starts the HBAnyware utility with FC access.
and must be entered in all lowercase.
The HBAnyware utility will show HBAs in the host with the IP address 138.239.82.2.
The HBAnyware utility will show HBAs in the host named Util01.
The HBAnyware utility will show HBAs in the host named Util01.
Run this modified command line to launch the HBAnyware utility for a single, remote host in local mode.
cd /usr/sbin/hbanyware/ssc

The HBAnyware utility window contains five basic components: the menu bar, the toolbar, the discovery- tree, the property tabs and the status bar.

toolbar icon is active. For example, if you select the local host or other system host, the Reset Adapter item on the Adapter menu is unavailable. The Reset Adapter toolbar button is unavailable as well.
may vary slightly.
which an older version of HBAnyware is installed, features that are not available through the server’s version of HBAnyware are grayed out.

The menu bar contains command menus that enable you to perform a variety of tasks such as exiting the HBAnyware utility, resetting HBAs and sorting items in the discovery-tree view. Many of the menu bar commands are also available from the toolbar.
Many of the toolbar functions are also available from the menu bar. The toolbar is visible by default. Use the Toolbar item in the View menu to hide the toolbar. If the item is checked, the toolbar is visible.

The toolbar buttons perform the following tasks:
Click the Rediscover button to refresh the discovery-tree display.
Click the Reset button to reset the selected HBA.
You can sort discovered HBAs by host name or fabric addresses. You can also choose to display only local or remote HBAs. See page 24 for details on sort buttons.
Sort by Host Name button (default)
Sort by Fabric ID button
Local HBAs Only button
Help button

The discovery-tree (left pane) has icons that represent discovered network (SAN) elements (local host name, system host names and all HBAs active on each host). Targets and LUNs are also displayed.

Discovery-tree icons represent the following:
This icon represents the local host.
This icon represents other hosts connected to the system.
A green HBA icon with black descriptive text represents an online HBA.
A gray HBA icon with a red X and red text represents an offline or otherwise temporarily inacces- sible HBA. Several situations could cause the HBA to be offline or inaccessible:
The Target icon represents connections to individual storage devices.
The LUN icon represents connections to individual LUNs.

The Tape LUN icon represents LUNs that are tape devices.
The Target Controller LUN icon represents LUNs that are storage controllers.
The Switch icon represents connections to the switch.
The property tabs display configuration, statistical and status information for network elements. The set of available tabs is context-sensitive, depending on the type of network element or HBA currently selected in the discovery-tree.
The status bar is located near the bottom of the HBAnyware utility window. The status bar displays messages about certain HBAnyware utility functions, such as “Discovery in process”.
The status bar is visible by default. Use the Status Bar item in the View menu to hide the status bar. If checked, the status bar is visible.

During installation you selected a management mode, however you can change it if you enabled that option during installation. The HBAnyware utility enables you to choose three types of host/HBA management:
To change HBAnyware management mode using the Management Mode dialog box:
In Windows:

In Solaris LPFC, Solaris emlxs (SFS) and Linux:
cd /opt/hbanyware/set_operating_mode • Linux:
cd /usr/sbin/hbanyware/set_operating_mode 2. Choose the management type you want.

You can reset remote and local HBAs.
corruption.
To reset the HBA:
The following warning appears:

The reset may require several seconds to complete. While the HBA is resetting, the status bar shows “Reset in progress.” When the reset is finished, the status bar shows “Ready”.

The HBAnyware utility enables you to change HBA names. For example, you may want to identify a particular HBA with the function it supports, such as a tape drive, scanner, or some other device.
Use any characters you want for names, and names can be up to 255 characters in length. You may also revert to the HBA's default name if you wish.
change occurs in the discovery-tree only. The WWPN is still active, it is simply replaced for display purposes with the name you enter. For example, the Port WWPN field of the General tab is not changed. Also, any change you make to the HBA names in your discovery-tree will be seen only by you; people running the HBAnyware utility on another host will not see your name changes

To change the name of an HBA:
To use the HBA's default name:

Automatic Fibre Channel Discovery
HBAs that have a physical FC connection to the same SAN are discovered automatically when HBAnyware is launched. HBAs that don't have a physical FC connection to the SAN where HBAnyware is launched can be discovered by sending management requests to a remote host using TCP/IP.
the HBAnyware utility’s remote management server. Remote FC capabilities of the HBAnyware utility are subject to fabric zoning and whether HBAnyware security is being utilized. Hosts you want to discover and manage using the HBAnyware utility must be in the same zone or discovered and managed through TCP/IP access.
Discovery Refresh ( ) or restart the HBAnyware utility to display the new HBA in the discovery-tree.

You can discover HBAs on TCP/IP hosts. Remote SAN management over TCP/IP sends remote management requests on another LAN using TCP/IP access protocol to remote hosts. TCP/IP access enables you to access HBAs via their host IP-address or by the name of the host on which they reside. Since HBAs may exist on a host but not be a part of a FC network, they will not appear during normal FC discovery. Thus, TCP/IP access enlarges the number of HBAs that can be queried or modified.
server to the firewall’s exception list. This remote server’s path is: \Program Files\Emulex\Util\Common\rmserver.exe

The principle differences between FC and TCP/IP access are:
The HBAnyware utility enables you to specify a single TCP/IP host to manage. If the host is successfully discovered, it is added to the static list of hosts. If it has not been discovered over FC, the host and its HBAs are added to the discovery-tree.
To add a single host:

You can find the TCP/IP accessed manageable hosts by searching a range of IP addresses using the Add Range of IP Hosts dialog box. The Add Range of IP Hosts dialog box enables you to build the initial list of TCP/IP accessed manageable hosts.


To add a range of hosts:
to the discovery-tree. For example, some of the addresses discovered may be for hosts that have already been discovered over FC. However, new HBAs may be discovered on those hosts that were not discovered over FC. Also, a host may have more than one HBA installed and both IP addresses for that host are discovered during the search, but only one host will possibly be added to the discovery-tree.

Removing hosts that can no longer be discovered improves the operation of the discovery server. For example, you may want to remove a host when it is removed from the network or detect hosts that are no longer being discovered.
To remove hosts:
Use the HBAnyware Discovery Settings dialog box to configure several discovery server parameters. You can define when to start the discovery server, when to refresh FC and TCP/IP accessed discoveries and when to remove previously discovered HBAs that are no longer being discovered.

To configure discovery settings:

You can sort discovered HBAs by host name, fabric ID, HBA name, target name and LUN number. You can also view local or remote HBAs. By default, both local and remote HBAs are sorted by host name.
To sort HBAs, switch between host name or fabric ID in one of two ways:
The HBAnyware utility sorts in ascending order. The sort recognizes letters, numbers, spaces and punctuation marks.
The Local HBAs Only menu item and button both work with the Sort by Host Name and Sort by Fabric ID buttons. The first time you select this menu item or click this button, only local HBAs are displayed. To change the view back to remote HBAs, select the menu item or click the Local HBAs Only button again.
Toggle between remote and local HBA views in one of two ways:

Viewing Discovery Information
Discovery Information contains a general summary of the discovered elements. The Host or Fabric icon, depending upon which view you select, is the root of the discovery-tree, but it does not represent a specific network element. Expanding it reveals all hosts, LUNs, targets and HBAs that are visible on the SAN.
To view the discovery information:
Discovery Information Field Definitions

There are two tabs that show host information: the Host Information tab and the Driver Parameters tab. The Host Information tab is read-only. The Driver Parameters tab enables you to view and define HBA driver settings for a specific host.
To view the Host Information and Driver Parameters tabs:
The Host Information tab displays information for the selected host including the number of HBAs in the selected host, the number of fabrics to which it is connected and so on.

Host Information Field Definitions

The Driver Parameters tab enables you to view and edit the HBA driver settings contained in a specific host. The host driver parameters are global values and apply to all HBAs in that host unless they are overridden by parameters assigned to a specific HBA using the HBA Driver Parameters tab. For each parameter, the tab shows the current value, the range of acceptable values, the default value, and whether the parameter is dynamic (a dynamic parameter allows the change to take effect without resetting the HBA or rebooting the system).
lpfc_log_verbose, lpfc_nodev_tmo and lpfc_use_adisc locally.
For information on changing parameters for a single HBA, see “Setting Driver Parameters” on page 48. For information changing parameters for the host, see “Setting Driver Parameters for All HBAs in a Host” on page 50.

a list of all driver types and driver versions that are installed on the HBAs in the host.
Driver Parameters Field Definitions
Modify Adapter Parameter Area
Driver Parameter Tab Buttons

The General tab contains general attributes associated with the selected HBA.
To view general attributes:
General Field Definitions · Adapter Summary Area

After the system overheating issue is resolved and the HBA has cooled down, reboot the system or, if the system supports hot swapping, cycle the power of the HBA slot.
The Adapter Details tab contains detailed information associated with the selected HBA.
To view the detailed attributes:
Adapter Status Area


Adapter Details Field Definitions
Adapter Details Area · Port Attributes Area

Discovery Information contains information about the selected fabric.
To view the fabric information:

Discovery Information Field Definitions
Loop Map Area

Target Information contains information specific to the selected storage device.
To view target information:

Target Information Field Definitions

LUN Information contains details about the selected LUN.
To view the LUN information:

LUN Information Field Definitions
device. Other devices like tapes and scanners, etc. do not display capacity.

LUN masking refers to whether or not a LUN is visible to the operating system. A LUN that has been masked is not available and is not visible to the OS. You can use HBAnyware to mask or unmask LUNs at the host level.
level LUN unmasking override feature. If either of these driver-specific overrides are enabled, the HBAnyware utility will not permit you to configure LUN masking. In this case you must change the LUN masking level to the correct level from the LUN masking tab before you can mask or unmask LUNs (see Figure 21).

LUN Masking Conventions and Guidelines
LUN icons in the discovery-tree reflect the live mask state currently in use by the driver. Green LUN icons indicate unmasked LUNs. Grey LUN icons indicate masked LUNs. Red text indicates that a LUN mask has been changed, but not applied (saved).
LUN Masking Column Definitions

To change the mask status of a LUN:

Restore before you click Apply. Once you click Apply, changes cannot be cancelled by clicking Restore. To unmask all LUNs, click Unmask All LUNs. This button is always active. Be sure to also click Apply to commit the changes.
The Statistics tab provides cumulative totals for various error events and statistics on the port. Some statistics are cleared when the HBA is reset.
To view port statistics:


Port Statistics Field Definitions

Use the Firmware tab to view current firmware versions, enable system BIOS and update firmware on remote and local HBAs.
To view the firmware information:


The Target Mapping tab enables you to view current target mapping and to set up persistent binding.
To view target mapping:

Firmware Field Definitions · Firmware Tab Buttons

Target Mapping Field Definitions
Persistent Binding Configuration Area
Display Mode Radio Buttons
Use this tab to view target mapping. The Target Mapping tab is read-only.
To view target mapping:
Current Settings Area · Current Mappings Area · Target Mapping Buttons


Target Mapping Field Definitions
Persistent Binding Configuration Area
Display Mode Radio Buttons
Viewing and Setting Up Authentication (Windows, Linux 8.2, Solaris LPFC and Solaris emlxs (SFS))
Use the Authenticate tab to view and configure FC-SP DH-CHAP. Once DH-CHAP has been activated and configured, manually initiate authentication per HBA by clicking on the Initiate Authentication button or by inducing a fabric login (FLOGI) time per the FC-SP standard to the switch. A FLOGI can also be caused by bringing the link between the switch and HBA down and then up.
Authentication must first be enabled at the driver level. Authentication is disabled by default. Prior to enabling Authentication at the driver level, the text fields under the Authentication tab will be greyed out. The Authentication tab is used to configure the mode of authentication for each HBA port.
Current Settings Area · Current Mappings Area · Target Mapping Buttons

To enable DH-CHAP using the Drivers Parameters tab, enable the enable-auth parameter (in Windows), the auth-mode parameter (in Solaris LPFC) or lpfc-enable-auth (in Linux 8.2).

Authenticate Tab Field Definitions
Configuration Data Area

To view or change authentication configuration:
To return settings to the status before you started this procedure, click Restore before you click Apply. Once you click Apply, changes can not be cancelled.
To return all settings (the configuration) to the default configuration, click Defaults. Be careful as this also resets the password(s) to NULL for this configuration.
To initiate an immediate authentication, click Initiate Authentication. This request is sent to the driver, even if you have not made any changes to the setup.
configuration mode to enabled and set the local password. The local password must be set to the identical value as the switch for the DH-CHAP authentication to succeed.
assigned to an HBA, subsequent DH-CHAP configuration settings for that HBA including 'default configuration' or new passwords require you to enter the existing password to validate your request (i.e. no further changes can be made without the password).

You can update firmware on local and remote HBAs. The firmware file must be downloaded from the Emulex Web site and extracted to a local drive before you can perform this procedure.
service department or technical support department for the firmware files.
To update firmware:



Batch mode allows you to update boot code on multiple HBAs in a single step. Batch mode is restricted to a single boot code image.
progress.
To update boot code using batch mode:


When downloading begins, the tree-view displays the progress. As the image for a selected HBA is being downloaded, it appears orange in the tree-view. When the download is complete, the entry changes to green. Figure 31 is an example of successfully downloaded images. If the

download fails, the entry changes to red and failure information appears at the bottom of the screen.


Enabling the BIOS is a two-step process:
The Emulex boot code must be downloaded from the Emulex Web site and extracted to a local drive before you can perform this procedure.
To enable or disable the HBA BIOS:
using the BIOS utility; see the documentation that accompanies the boot code for more information.
field and the button is not be visible.
General tab, as well as the Firmware tab.

In Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux: Set driver parameters using the HBAnyware utility. In Solaris LPFC, Solaris emlxs (SFS) and Linux:, you can also specify parameters when loading the driver manually. See the appropriate driver manual for instructions.
The Driver Parameters tab and host Driver Parameter tab enable you to modify driver parameters for a specific HBA or all HBAs in a host.
For example, if you select a host in the discovery-tree, you can globally change the parameters for all HBAs in that host. If you select an HBA in the discovery-tree, you can change the lpfc_use_adisc, lpfc_log_verbose and the lpfc_nodev_tmo parameters for only that HBA.
For each parameter, the Driver Parameters tab and host Driver Parameters tab shows the current value, the range of acceptable values, the default value, and the activation requirement. You can also restore parameters to their default settings.
You can apply driver parameters for one HBA to other HBAs in the system using the Driver Parameters tab, thereby simplifying multiple HBA configuration. See “Creating and Assigning a Batch Mode Driver Parameters File” on page 52 for more information.
use_adisk driver parameters for individual HBAs. You must apply other driver parameters to all HBAs contained in the host.
To change the driver parameters for a single HBA:


If you changed parameters, but did not click Apply and you want to restore the parameters to their last saved values, click Restore.
To reset all parameter values to their default (factory) values, click Defaults.

To set an HBA parameter value(s) to the corresponding host parameter value(s):
To save HBA driver parameters, click Save (or Save Settings). Each definition is saved in a comma- delimited file with the following format:
The file is saved in the Emulex Repository directory. HBAnyware can then use the Batch Driver Parameter Update function to apply these saved settings to any or all compatible HBAs on the SAN.
To change the driver parameters for all HBAs installed in a host:
=

To change non-dynamic parameter values:
./stop_hbanyware 2. Stop all I/O to LPFC attached devices.
rmmod lpfcdfc 4. Unload the LPFC driver. Type:
rmmod lpfc 5. Reload the driver.Type:
modprobe lpfc modprobe lpfcdfc
The HBAnyware services will start automatically when you launch the application.
For these changes to persist after a reboot you must create a new ramdisk image.

You can apply driver parameters for one HBA to other HBAs in the system using the Driver Parameters tab. When you define parameters for an HBA, you create a .dpv file. The .dpv file contains parameters for that HBA. After you create the .dpv file, the HBAnyware utility enables you to assign the .dpv file parameters to multiple HBAs in the system.
To create and assign the .dpv file:



A list of the saved parameters and their current values show in the Saved Parameters box.

Batch Driver Parameters Update dialog box. The Browse button allows you to navigate to a different file.

The parameter values listed in Table 1 are applicable to driver version 2.00 or later. If you are using a version previous to 2.00, see the Storport Miniport Driver User Manual for parameter information.
A parameter has one of the following activation requirements:
The Driver Parameter table provides information such as the allowable range of values and factory defaults. Parameters can be entered in decimal or hexadecimal format.
parameter can be modified and included in the script.
Most parameters default to a setting that optimizes HBA performance.
Parameter Definitions Activation Requirement
AutoMap=n AutoMap controls the way targets are assigned SCSI IDs. Discovered targets are assigned persistent SCSI IDs according to the selected binding method. Persistent bindings do not take effect with the driver in stand-alone mode.
If set to 0 = automap is disabled. Uses the HBAnyware utility to persistently set the SCSI address of a discovered FCP capable FC node (target). If set to 1 = automap by WWNN. If set to 2 = automap by WWPN. If set to 3 = automap by DID).
Class=n Class selects the class of service on FCP commands. If set to 2, class = 2. If set to 3, class = 3.
CoalesceMsCnt=n CoalesceMsCn specifies wait time in milliseconds to generate an interrupt response if CoalesceRspCnt has not been satisfied. Zero specifies an immediate interrupt response notification. A non-zero value enables response coalescing at the specified interval in milliseconds.
Reboot · Dynamic · Reset

Parameter Definitions Activation Requirement
CoalesceRspCnt=n CoalesceRspCn specifies the number of response entries that trigger an Interrupt response.
DiscoveryDelay=n DiscoveryDelay controls whether the driver waits for ‘n’ seconds to start port discovery after link up.
If set to 0 = immediate discovery after link up. If set to 1 or 2 = the number of seconds to wait after link-up before starting port discovery.
Value: 0 - 2 seconds (decimal) Default = 0.
EnableAck0=n Set to 1 to force sequence rather than frame level acknowledgement for class 2 traffic over an exchange. This applies to FCP data exchanges on IREAD and IWRITE commands.
EnableAUTH EnableAUTH enables fabric authentication. This feature requires the authentication to be supported by the fabric. Authentication is enabled when this value is set to 1.
EnableFDMI=n If set to 1, enables management server login on fabric discovery. This allows Fabric-Device Management Interface (FDMI) to operate on switches that have FDMI-capable firmware. If set to 2, FDMI operates and uses the host name feature of FDMI.
EnableNPIV=n If set to 1, enables N_Port_ID virtualization (NPIV). Requires NPIV supported firmware and HBA.
FrameSizeMSB=n FrameSizeMSB controls the upper byte of receive FrameSize if issued in PLOGI. This allows the FrameSize to be constrained on 256-byte increments from 256 (1) to 2048 (8).

Parameter Definitions Activation Requirement
HardALPA=0xn HardALPA allows the HBA to use a hard assigned loop address.
Value: 0x00 - 0xEF (hex) Default = 0x00 (use soft addressing, or flash stored hard address value)
InitTimeout=n Determines the number of time-out seconds during driver initialization for the link to come up. If the link fails to come up by InitTmeout, driver initialization exits but is still successful. If the link comes up before InitTimeout, the driver sets double the amount for discovery to complete.
LinkSpeed=n LinkSpeed has significance only if the HBA supports speeds other than one Gbit.
If set to 0 = auto link speed detection. If set to 1 = 1 Gbit. If set to 2 = 2 Gbit. If set to 4 = 4 Gbit. If set to 8 = 8 Gbit.
LinkTimeOut=n LinkTimeOut applies to private loop only. A timer is started on all mapped targets using the link timeout value. If the timer expires before discovery is re-resolved, commands issued to timed out devices will end up returning a SELECTIION_TIMEOUT. The Storport driver will also be notified of a Bus change event which will lead to the removal of all LUNs on the timed out devices.

Parameter Definitions Activation Requirement
LogErrors=n LogErrors determine the minimum severity level required to enable entry of a logged error into the system event log. Errors are classified as severe, malfunction or command level. A severe error requires user intervention to correct a firmware or HBA problem. An invalid link speed selection is an example of a severe error. A malfunction error indicates that the system has problems, but user intervention is not required. An invalid fabric command type is an example of a malfunction error. A command level error: an object allocation failure is an example of a command error.
If set to 0, all errors regardless of severity are logged. If set to 1, command level errors are logged. If set to 2, malfunction errors are logged. If set to 3, severe errors are logged.
NetworkOption=n NetworkOption controls whether IP over FC is disabled or enabled. A value of 1 will enable IP over FC and will allow first time installation or startup of the FC LAN driver.
NodeTimeout=n The node timer starts when a node (i.e. discovered target or initiator) becomes unavailable. If the node fails to become available before the NodeTimeout interval expires, the OS is notified so that any associated devices (if the node is a target) can be removed. If the node becomes available before NodeTimeout expires the timer is canceled and no notification is made.
QueueDepth=n QueueDepth requests per LUN/target (see QueueTarget parameter). If you expect the number of outstanding I/Os per device to exceed 32, then you must increase to a value greater than the number of expected I/Os per device (up to a value of 254). If the QueueDepth value is set too low, a performance degradation can occur due to driver throttling of its device queue.
QueueTarget=n QueueTarget controls I/O depth limiting on a per target or per LUN basis.
If set to 0 = depth limitation is applied to individual LUNs. If set to 1 = depth limitation is applied across the entire target.

Parameter Definitions Activation Requirement
PciMaxRead PciMaxRead enables override of default PCI read transfer length. The driver will auto-detect the presence of an AMD PCI bridge and adjust for this bridge. This parameter allows for override of the automatic value.
RmaDepth=n RmaDepth sets the remote management buffer queue depth. The greater the depth, the more concurrent management controls can be handled by the local node.
ScanDown=n If set to 0 = lowest AL_PA = lowest physical disk (ascending AL_PA order). If set to 1 = highest AL_PA = lowest physical disk (ascending SEL_ID order).
SLImode=n If set to 2 = implies running the HBA firmware in SLI-2 mode. If set to 0 = autoselect firmware, use the newest firmware installed.
TargetOption A value of 1 will enable target mode and will allow first time installation or startup of the Emulex SCSI target driver.
Topology=n Topology values may be 0 to 3. If set to 0 (0x0) = FC Arbitrated Loop (FC-AL). If set to 1 (0x1) = PT-PT fabric. If set to 2 (0x2) = *FC-AL first, then attempt PT-PT. If set to 3 (0x3) = *PT-PT fabric first, then attempt FC-AL.
* Topology fail-over requires v3.20 firmware or higher. If firmware does not support topology fail-over, options 0,2 and 1,3 are analogous.

Parameter Definitions Activation Requirement
TraceBufSiz=n TraceBufSiz sets the size in bytes for the internal driver trace buffer. The internal driver trace buffer acts as an internal log of the driver's activity.
*FC-AL attempt first, then attempt pt.-to-pt.
*pt.-to-pt. fabric attempt first, then attempt FC-AL.

The parameter values listed in Table 3 are applicable to driver version 6.20i or later. If you are using a version previous to 6.20i, see the Emulex Driver for Solaris User Manual for parameter information.
apply to a specific HBA. They are the global properties. These properties specify a list of persistent bindings. Each entry in this list applies to a specific instance of an HBA. You can only use one type of binding per HBA.
The LPFC.conf file contains all the driver properties that control driver initialization. In the LPFC.conf file, all HBA-specific driver properties have lpfcX-prefix (where X is the driver instance number); e.g., setting lpfc0-lun-queue-depth= 20 makes 20 the default number of maximum commands which can be sent to a single logical unit (disk). The LPFC man page also provides further device property details.
driver property to the modload command. For example: # modload /kernel/drv/lpfc automap=0 (for 32-bit platforms) or modload /kernel/drv/sparcv9/lpfc automap=0 (for 64-bit platforms). This will load Emulex's SCSI support driver with automap set to 0 for this session.
Property Name Scope Default Min Max Dynamic Comments
0 0=Off 1=On No Use ACK0 for class 2. If ack0 is 1, the HBA will try to use ACK0 when running Class 2 traffic to a device. If the device doesn’t support ACK0, then the HBA will use ACK1. If ack0 is 0, only ACK1 will be used when running Class2 traffic.
ack0 Controller Specific

Property Name Scope Default Min Max Dynamic Comments
Description and Values: This is the DH-CHAP related driver property for FC-SP support. It is only valid when driver property enable-auth is set to 1. This driver property is ignored when enable-auth is set to 0.
The format of this property is: "LWWN|RWWN|atov|amod|dir|tlist|hlist|dhgplist|raintval"
LWWN: The WWPN of the local entity, i.e. HBA port. Use the form of NNNNNNNNNNNNNNNN, where NNNNNNNNNNNNNNNN is a 16 digit representation of the host port World Wide Port Name. Or use 0000000000000000 to refer to the local port WWPN.
RWWN: The WWPN of the remote entity, i.e. fabric controller or any remote Nport. Use the form of NNNNNNNNNNNNNNNN, where NNNNNNNNNNNNNNNN is a 16 digit representation of the fabric controller or Nport FFFFFFFFFFFFFFFF as generic remote fabric port WWPN.
atov: The authentication timeout value in seconds. The atov range is 20 to 999 seconds in hexidecimal. For example, enter 45 seconds as 002d.
amod: The authentication mode. The valid modes are specified as 01 (Disabled), 02 (Enabled) and 03 (Passive). For detailed description of the mode, refer to the Emulex HBAnyware (3.4) utility help page.
dir: The bi-directional authentication parameter. When set to 01, bi- directional authentication is enabled. When set to 00, bi-directional authentication is disabled. When bidirectional authentication is enabled, the key associated with remote entity must be specified in driver property auth- keys.
tlist: The authentication type list. Currently Emulex LPFC driver only supports DH-CHAP, always set tlist to 01000000.
hlist: The authentication hash list. Currently the Emulex LPFC driver only supports MD5 and SHA1. 01 refers to MD5, 02 refers to SHA1. For example: 01020000 means MD5, SHA1 in order of preference. 01000000 means MD5 only.
dhgplist: The DH-CHAP group list in order of preference. Currently Emulex LPFC driver supports NULL DH-CHAP algorithm and non-NULL DH-CHAP algorithm such as DH group 1024, group 1280, group 1536 and group 2048. For example: 0102030405000000 means NULL, group 1024,1280, 1536 and 2048 in order of preference.
raintval: Reauthentication heart beat interval in minutes. For example, 0000012c means the host side will do the reauthentication every 300 minutes. When set to 00000000 then reauthentication heartbeat is disabled.
You can use lpfcX-auth-cfgparms to specify the per HBA instance DH-CHAP authentication parameters setup. Any valid setup in this way will overwrite the auth-cfgparms setup.
auth-cfgparms Controller Specific

Property Name Scope Default Min Max Dynamic Comments
Description and Values: This is the DH-CHAP authentication key driver property for FC-SP support. It is only valid when driver property enable-auth is set to 1. This driver property is ignored when enable-auth is set to 0. The format of this property is:
"LWWN:ktype:klength:key:RWWN:ktype:klength:key"
LWWN: The WWPN of the local entity, i.e. HBA port. Use the form of NNNNNNNNNNNNNNNN, where NNNNNNNNNNNNNNNN is a 16 digit representation of the host port WorldWide Port Name. Or use 0000000000000000 to refer to local port WWPN.
ktype: The key type. The valid type could be ASCII text format represented by 0001, or binary format (Hexidecimal input) represented by 0002, or 0003 ignored. When 0003 is used, the corresponding klength and key are ignored. The format is 4 digit.
klength: The length of the key in bits. The length is represented by hexidecimal format. For example: 32 bytes of key are represented by 0100. The maximum size of key is 128 bytes. The minimum size of key is 16 bytes.
RWWN: The WWPN of the remote entity, i.e. Fabric controller or any remote Nport. Use the form of NNNNNNNNNNNNNNNN, where NNNNNNNNNNNNNNNN is a 16 digit representation of the Fabric Controller or Nport FFFFFFFFFFFFFFFF as generic remote fabric port WWPN.
key: The key associated with local entity or remote entity. For example, 16 bytes of key with ASCII type: aabbccddeeffgghh. 16 bytes of key with binary type:61616262636364646565666667676868.
You can use lpfcX-auth-keys to specify the per HBA instance DH-CHAP authentication keys. Any valid setup in this way will overwrite the auth-keys setup.
1 0=Off 1=On No Automatically assign SCSI IDs to FCP targets detected. If automap is 1, SCSI IDs for all FCP nodes without persistent bindings will be automatically generated based on the bind method of the corresponding HBA port. If FCP devices are added to or removed from the FC network when the system is down, there is no guarantee that these SCSI IDs will remain the same when the system is booted again. If automap is 0, only devices with persistent bindings will be recognized by the system.
auth-keys Controller Specific · automap Controller Specific

Property Name Scope Default Min Max Dynamic Comments
1 1 255 No This value specifies a count of I/O completions after which an interrupt response is generated. This feature is disabled if cr-delay is set to 0.
0 0 63 No This value specifies a count of milliseconds after which an interrupt response generated if cr-count has not been satisfied. This value is set to 0 to disable the Coalesce Response feature as default.
0 0=Off 1=On Yes (Boolean) The driver will delay FCP RSP errors being returned to the upper SCSI layer based on the no-device- delay configuration driver property.
1 1 32 No Number of ELS commands during discovery. This value specifies the number of threads permissible during device discovery. A value of 1 serializes the discovery process.

Property Name Scope Default Min Max Dynamic Comments
1 0 128 Yes Amount to increment LUN queue depth each time. This driver property causes the LPFC driver to decrement a LUN’s queue depth, if a queue full condition is received from the target. The queue depth will be decremented down to a minimum of 1. The variables dqfull-throttle-up-inc and dqfull-throttle-up-time are used to restore the queue depth back to the original. The dqfull-throttle-up-time driver property defines a time, in seconds, that is used to tell when to increase the current queue depth. If the current queue depth isn't equal to the lun-queue-depth, and the driver stop_send_io flag is equal to 0 for that device, increment the current queue depth by dqfull-throttle-up-inc (don't exceed the lun-queue- depth). So, if both driver properties are set to 1, then the driver increments the current queue depth once per second until it hits the lun- queue-depth. The only other way to restore the queue depth (besides rebooting), back to the original LUN throttle, is by running the command /opt/lpfc/resetqdepth X. This will restore the LUN throttle of all LUNs for HBA X back to the original value.
dqfull-throttle-up- inc · Controller Specific

Property Name Scope Default Min Max Dynamic Comments
1 0 30 Yes Time interval (seconds) to increment LUN queue depth. This driver property causes the LPFC driver to decrement a LUN’s queue depth, if a queue full condition is received from the target. The queue depth will be decremented down to a minimum of 1. The variables dqfull-throttle-up-inc and dqfull-throttle-up-time are used to restore the queue depth back to the original. The dqfull-throttle-up-time driver property defines a time, in seconds, that is used to tell when to increase the current queue depth. If the current queue depth isn't equal to the lun-queue-depth, and the driver stop_send_io flag is equal to 0 for that device, increment the current queue depth by dqfull-throttle-up-inc (don't exceed the lun-queue- depth). So, if both driver properties are set to 1, then the driver increments the current queue depth once per second until it hits the lun- queue-depth. The only other way to restore the queue depth (besides rebooting), back to the original LUN throttle, is by running the command /opt/lpfc/resetqdepth X. This will restore the LUN throttle of all LUNs for HBA X back to the original value.
0 0 1 Yes This driver property specifies if the DH-CHAP is enabled or not. When set to 1, also set up two other driver properties such as auth-cfgparms and auth-keys. When set to 0, DH- CHAP support is disabled and auth-cfgparms and auth-keys are ignored. Any per HBA instance setup, for example, lpfcX-enable-auth=1, 0 will overwrite the value set by enable-auth.
dqfull-throttle-up- time · Controller Specific · enable-auth Controller Specific

Property Name Scope Default Min Max Dynamic Comments
0 0 255 Yes Extra timeout value, in seconds, to be applied to each FCP command sent. When connecting through a large fabric, certain devices may require a longer timeout value.
fcp-bind-DID Global Inactive N/A N/A No Setup persistent FCP bindings based on a target device’s Port ID. This binding guarantees that target assignments will be preserved between reboots. The format for a bind entry is “NNNNNN:lpfcXtY” where NNNNNN is a 6 digit representation of the targets Port ID, X is the driver instance number and Y is the target assignment. Multiple entries must be separated by a comma (,) with the last entry terminated with a semi-colon (;). A sample entry follows: fcp-bind DID="0000ef:lpfc0t0"; (all on one line.)
2 1 4 No Specifies the method of binding to be used. This binding method is used for persistent binding and automapped binding. A value of 1 will force WWNN binding, value of 2 will force WWPN binding and value of 3 will force DID binding. A fcp-bind- method value of 4 will cause target ID assignment in a private loop environment to be based on the ALPA array (hard addressed). If a binding method is not specified for a port, WWPN binding will be used. Any persistent binding whose method does not match with the bind method of the port will be ignored. A sample entry follows: lpfc0-fcp-bind-method=1; lpfc1-fcp-bind-method=2;
extra-io-tmo Controller Specific · fcp-bind-method Controller Specific

Property Name Scope Default Min Max Dynamic Comments
fcp-bind-WWNN Global Inactive N/A N/A No Setup persistent FCP bindings based on a target device’s WWNN. This binding guarantees that target assignments will be preserved between reboots. The format for a bind entry is “NNNNNNNNNNNNNNNN:lpf cXtY” where NNNNNNNNNNNNNNNN is a 16 digit representation of the targets WorldWide Node Name, X is the driver instance number and Y is the target assignment. Multiple entries must be separated by a comma (,) with the last entry terminated with a semi-colon (;). A sample entry follows: fcp-bind WWNN="20000020370c396f:l pfc1t0", "20000020370c27f7:lpfc0t2";
fcp-bind-WWPN Global Inactive N/A N/A No Setup persistent FCP bindings based on a target device’s WWPN. This binding guarantees that target assignments will be preserved between reboots. The format for a bind entry is “NNNNNNNNNNNNNNNN:lpf cXtY” where NNNNNNNNNNNNNNNN is a 16 digit representation of the targets WorldWide Port Name, X is the driver instance number and Y is the target assignment. Multiple entries must be separated by a comma (,) with the last entry terminated with a semi-colon (;). A sample entry follows: fcp-bind- WWPN="21000020370cf8263 :lpfc1t0";
3 2 3 Yes The LPFC driver is capable of transmitting FCP data in Class2 or Class 3. The LPFC driver defaults to using Class 3 transmission.
fcp-class Controller Specific

Property Name Scope Default Min Max Dynamic Comments
fdmi-on Global 0 0 2 No This driver property controls the FDMI capability of the LPFC driver. If set to 0 (default), FDMI is disabled. A value of 1 enables FDMI without registration of host name port attribute, while a value of 2 enables FDMI with registration of host name port attribute.
3 2 2 Yes FC is capable of transmitting IP data in Class2 or Class 3. The LPFC driver defaults to using Class 3 transmission.
0 0=auto select 1=1G 2=2G 4=4G 8=8G
No Sets link speed.
30 0 255 Yes This variable controls how long the driver will hold I/O (0 - 255 seconds) after the link becomes inaccessible. When this timer expires, all I/O waiting to be serviced is aborted. For instance, FCP commands will be returned back to the target driver with a failure. The lower the value, the quicker the driver will fail commands back to the upper levels. There is a trade-off here: small values risk retrying the commands when the link is bouncing; large values risk delaying the failover in a fault tolerant environment. linkdown-tmo works in conjunction with nodev-tmo. I/O will fail when either of the two timers expires.
1 0 1 Yes When set to 1, log messages are only logged to syslog. When set to 0, log messages are also printed on the console.

Property Name Scope Default Min Max Dynamic Comments
0x0 0x0 0xffff Yes (bit mask) When set to non- zero this variable causes LPFC to generate additional messages concerning the state of the driver and the I/O operations it carries out. These messages may go to the system log file, /var/adm/messages and/or the system console. See Error Messages for detailed information on the bit mask.
none 1 128 No The maximum number of outstanding commands to permit for any logical unit on a specific target. This value overrides lun-queue-depth.
none 1 10240 No The maximum number of outstanding commands to permit for any target, including all LUNs on that target. This value overrides tgt-queue- depth.
none 0 1 Yes The driver uses this value to determine whether or not to expose discovered LUNs to the OS. When set to 1, the discovered LUN is masked and not reported to the OS. When set to 0, the discovered LUN is reported to the OS.
none 0 1 Yes The driver uses this value to determine whether to override the LUN masking or not. When set to 1, all LUNs on all targets on the specified LPFC instance are reported to the OS regardless of their respective lunmask settings. When set to 0 (default), the override is not in effect.
none 0 1 Yes The driver uses this value to determine whether to override the LUN masking or not. When set to 1, all LUNS on a specified target are reported to the OS regardless of their respective lunmask settings. When set to 0 (default), the override is not in effect.

Property Name Scope Default Min Max Dynamic Comments
lun-queue-depth Global 30 1 128 No The driver uses this value as the default limit for the number of simultaneous commands to issue to a single logical unit on a single target on the loop. A single logical unit will never be sent more commands than allowed by lun-queue-depth; however, less may be sent when sd-max-throttle or tgt-queue-depth is reached for the entire target.
2 0 2 No This variable controls whether LPFC uses MSI-based interrupts or legacy interrupts. If set to 2 (default), the driver will try to use multiple message MSI. If multiple message MSI is not possible due to an OS or hardware limitation, then the driver will attempt single message MSI. If single message MSI fails, then the driver will attempt legacy interrupts. A value of 0 disables MSI and the driver will use legacy interrupts.
0 0 1 No This variable controls whether LPFC provides IP networking functionality over FC. This variable is a Boolean: when zero, IP networking is disabled; when non-zero, IP networking is enabled.
no-device-delay Global 1 0 30 Yes This variable (0 to 30 seconds) determines the length of the interval between deciding to fail an I/O because there is no way to communicate with its particular device (e.g., due to device failure or device removal) and actually failing the command. A value of zero implies no delay whatsoever. This delay is specified in seconds. A minimum value of 1 (1 second) is recommended when communicating with any Tachyon based device.
msi-mode Controller Specific · network-on Controller Specific

Property Name Scope Default Min Max Dynamic Comments
0 0=Off 1=On Yes This variable controls if I/O errors are held by the driver if a FCP device on the SAN disappears. If set, I/O errors will be held until the device returns back to the SAN (potentially indefinitely). This driver property is ignored, if SCSI commands are issued in polled mode. The upper layer may retry the command once the error is returned.
30 0 255 Yes This variable controls how long I/O will be held by the driver if a device on the SAN disappears. If set, I/O will be held for the specified number of seconds. If the device does not appear on the SAN before nodev-tmo seconds, then the driver will fail all held I/O and mark the device as unavailable. The upper layer may retry the command once the error is returned.
128 64 4096 No This variable specifies the number of command buffers to allocate. These buffers are used for FC Extended Link Services (ELS), and one for each FCP command issued in SLI-2 mode. If you want to queue lots of FCP commands to the HBA, then increase num-bufs for better performance. These buffers consume physical memory and are also used by the device driver to process loop initialization and re-discovery activities. Important: The driver must always be configured with at least several dozen ELS command buffers; Emulex recommends at least 128.
nodev-holdio Controller Specific · nodev-tmo Controller Specific · num-bufs Controller Specific

Property Name Scope Default Min Max Dynamic Comments
256 128 10240 No This variable indicates the number of Input/Output Control Block (IOCB) buffers to allocate. IOCBs are internal data structures used to send and receive I/O requests to and from the LightPulse hard- ware. Too few IOCBs can temporarily prevent the driver from communicating with the HBA, thus lowering per- formance. (This condition is not fatal.) If you run heavy IP traffic, increase num-iocbs for better performance.
128 64 1024 No This variable specifies the number of 4K STREAMS buffers to allocate and post to the FC IP ring. Increase this setting for better IP performance under heavy loading.
1 0=Off 1=On Yes There are two scanning algorithms used to discover a node in a private loop. If scan- down is 1, devices on the private loop are scanned starting from ALPA 0x01 through ALPA 0xEF. If scan- down is 0, devices on the private loop are scanned starting from ALPA 0xEF through ALPA 0x01. Scan- down values 0 and 1 do not apply if a loop map is obtained. See the FC-AL profile for the definition of a loop map.
tgt-queue-depth Global 0 0 10240 No The driver uses this value as the default limit for the number of simultaneous commands to issue to a single target on the loop. A value of 0 causes no target throttling to occur. A single target will never be sent more commands than allowed by tgt-queue-depth; however, less may be sent when sd- max-throttle is reached for the entire target.
num-iocbs Controller Specific · post-ip-buf Controller Specific · scan-down Controller Specific

Property Name Scope Default Min Max Dynamic Comments
0x0 0x0=loop , then P2P 0x2=P2P only 0x4=loop only 0x6=P2P, then loop
No This variable controls the FC topology expected by LPFC at boot time. FC offers point-to- point, fabric, and arbitrated loop topologies.To make the HBA operate as an N_Port, select point-to-point mode (used for N_Port to F_Port, and N_Port to N_Port connections). To make the HBA operate in a FC loop as an NL_Port, select loop mode (used for private loop and public loop topologies). The driver will reject an attempt to set the topology to a value not in the above list. The auto- topology settings 0 and 6 will not work unless the HBA is using firmware version 3.20 or higher.
0 0=Off 1=On Yes This variable controls the ELS command used for address authentication during re- discovery upon link-up. If set, ADISC is used, otherwise, PLOGI is used. For FCP-2 devices, the driver will always use ADISC. For re-discovery due to a RSCN, the driver will always use ADISC.
256 128 10,240 No This variable specifies the number of network packets that can be queued or outstanding at any time in the driver. Increase this setting for better IP performance under heavy loading.
topology Controller Specific · use-adisc Controller Specific · xmt-que-size Controller Specific

The parameter values listed in Table 4 are applicable to driver versions 1.30/2.30 or later. If you are using the SFS driver version 1.22/2.22, see the HBAnyware Utility, version 3.3 User Manual. If you are using an earlier version of the SFS driver, see the Emulex Driver for Solaris User Manual for parameter information. All parameters are controller-specific.
Property Name Default Min Max Activation Comments
ack0 0 0 1 Requires link reset
Use ACK0 for class 2. If ACK0 is 1, the HBA tries to use ACK0 when running Class 2 traffic to a device. If the device doesn’t support ACK0, then the HBA uses ACK1. If ACK0 is 0, only ACK1 is used when running Class 2 traffic.
adisc-support 1 0. 2 Dynamic Sets the level of driver support for the FC ADISC login I/O recovery method. 1= Partial support. Flush I/O's for non-FCP2 target devices at link down 0 = No support. Flush active I/O's for all FCP target devices at link down. 2 = Full support. Hold active I/O's for all devices at link down.
assign-alpa 0x00 0x00 0xef Requires link reset
This parameter is only valid if topology is set to loop. A 0x00 setting means no preference. If multiple HBA instances on the same host are on the same loop, set this value differently for each HBA.

Property Name Default Min Max Activation Comments
auth-cfgs Description and Values: This is the DH-CHAP related driver property for FC-SP support. It is only valid when driver property enable-auth is set to 1. This driver property should be ignored when enable-auth is set to 0.
This property represents a table of entries. The format of the table is:
The table can hold as many entries as needed.
LWWN: The WWPN of the local entity, i.e. HBA port. You should use the form of NNNNNNNNNNNNNNNN, where NNNNNNNNNNNNNNNN is a 16 digit hexadecimal representation of the Host port World Wide Port Name. Or you could use 0000000000000000 to refer to the local port WWPN.
RWWN: The WWPN of the remote entity, i.e. Fabric controller or any remote Nport. You should use the form of NNNNNNNNNNNNNNNN, where NNNNNNNNNNNNNNNN is a 16 digit hexadecimal representation of the Fabric Controller or Nport FFFFFFFFFFFFFFFF as generic remote fabric port WWPN.
atov: The authentication timeout value in seconds (hexadecimal format). The atov range is 20 to 999 seconds in hexidecimal. For example, 45 seconds would be entered as 002d.
amod: The authentication mode. The valid modes are specified as 1 (Disabled), 2 (Active) and 3 (Passive). For a detailed description of the mode, please see the Emulex HBAnyware utility help page.
dir: The bi-directional authentication parameter. When set to 1, bi-directional authentication is enabled. When set to 0, bi-directional authentication is disabled. When bidirectional authentication is enabled, the key associated with remote entity must be specified in the auth- keys driver property.
tlist: The authentication type list (4 digits). Currently the Emulex LPFC driver only supports DH-CHAP, tlist should always be set to 1000.
hlist: The authentication hash list (4 digits). Currently the Emulex emlxs driver only supports MD5 and SHA1. 01 refers to MD5, 02 refers to SHA1. For example: 01020000 means MD5, SHA1 in order of preference. 01000000 means MD5 only.
dhgplist: The DH-CHAP group list in order of preference (8 digits). Currently Emulex emlxs driver supports NULL DH-CHAP algorithm and non-NULL DH-CHAP algorithm such as DH group 1024, group 1280, group 1536 and group 2048. The values can be 0 (undefined), 1 (NULL group), 2 (1024), 3 (1280), 4(1536), 5 (2048). For example: 12345000 means NULL, group 1024,1280, 1536 and 2048 in order of preference.
reauth: Reauthentication heart beat interval in minutes (hexadecimal format). For example, 12c means the host side will do the reauthentication every 300 minutes. When set to 0 reauthentication heartbeat is disabled. You can use emlxsX-auth-cfgs to specify the per HBA instance DH-CHAP authentication parameters setup. Any valid setup in this way will overwrite the auth-cfgs setup.
"LWWN|RWWN|atov|amod|dir|tlist|hlist|dhgplist|reauth", "LWWN|RWWN|atov|amod|dir|tlist|hlist|dhgplist|reauth", "LWWN|RWWN|atov|amod|dir|tlist|hlist|dhgplist|reauth";

Property Name Default Min Max Activation Comments
However, since the parameter represents a table of entries the table can represent all entries across all HBA instances. This allows all HBA instances to share a common table of entries.
auth-keys Description and Values: This is the DH-CHAP authentication key driver property for FC-SP support. It is only valid when driver property enable-auth is set to 1. This driver property should be ignored when enable-auth is set to 0. This property represents a table of entries. The format of the table is:
"LWWN:RWWN:Ltype:Lkey:Rtype:Rkey", "LWWN:RWWN:Ltype:Lkey:Rtype:Rkey", "LWWN:RWWN:Ltype:Lkey:Rtype:Rkey",
The table can hold as many entries as needed.
LWWN: The WWPN of the local entity, i.e. HBA port. You should use the form of NNNNNNNNNNNNNNNN, where NNNNNNNNNNNNNNNN is a 16 digit representation of the Host port WorldWide Port Name. Or you could use 0000000000000000 to refer to local port WWPN.
RWWN: The WWPN of the remote entity, i.e. Fabric controller or any remote Nport. You should use the form of NNNNNNNNNNNNNNNN, where NNNNNNNNNNNNNNNN is a 16 digit representation of the Fabric Controller or Nport FFFFFFFFFFFFFFFF as generic remote fabric port WWPN.
Ltype: The local key type. The type field can be 1 (ASCII text formatted key) or 2 (binary hex formatted key).
Lkey: The local key to be associated with the local entity. For example a key of ASCII type could look like: abcdefgh. A key of binary type could look like: 12ef58c98274d46.
Rtype: The remote key type. The type field can be 1 (ASCII text formatted key) or 2 (binary hex formatted key).
Rkey: The remote key to be associated with the remote entity. For example a key of ASCII type could look like: abcdefgh. A key of binary type could look like: 12ef58c98274d46.
You can use emlxsX-auth-keys to specify the per HBA instance DH-CHAP authentication keys. Any valid setup in this way will overwrite the auth-keys setup. However, since the parameter represents a table of entries the table can represent all entries across all HBA instances. This allows all HBA instances to share a common table of entries.
0x00000000 0x00000000 0xFFFFFFFF Requires reboot.
Verbose mask for notice messages to the console.
0x00000000 0x00000000 0xFFFFFFFF Requires reboot.
Verbose mask for warning messages to the console.
console-errors 0x00000000 0x00000000 0xFFFFFFFF Requires reboot.
Verbose mask for error messages to the console.
auth-cfgs (continued) · console- notices · console- warnings

Property Name Default Min Max Activation Comments
cr-count 1 1 255 Requires link reset.
This value specifies a count of I/O completions after which an interrupt response is generated. This feature is disabled if cr-delay is set to 0.
cr-delay 0 0 63 Requires link reset.
This value specifies a count of milliseconds after which an interrupt response generated if cr-count has not been satisfied. This value is set to 0 to disable the Coalesce Response feature as default.
enable-auth 0 0 1 Requires link reset.
This driver property specifies if the DH-CHAP is enabled or not. When set to 1, DH-CHAP is enabled. When set to 0, DH-CHAP support is disabled.
link-speed 0 0=auto select 1=1G 2=2G 4=4G 8=8G
Requires link reset.
Sets link speed for initializing FC connection.
linkup-delay 10 0 60 Requires HBA reset.
Sets the linkup delay period (seconds) after HBA initialization.
log-notices 0xFFFFFFFF 0x00000000 0xFFFFFFFF Requires reboot.
Verbose mask for notice messages to the messages file.
log-warnings 0xFFFFFFFF 0x00000000 0xFFFFFFFF Requires reboot.
Verbose mask for warning messages to the messages file
log-errors 0xFFFFFFFF 0x00000000 0xFFFFFFFF Requires reboot.
Verbose mask for error messages to the messages file
network-on 0 0 1 Requires reboot.
Enables/disables IP networking support in the driver.
num-iocbs 1024 128 10240 Requires HBA reset.
This variable indicates the number of Input/Output Control Block (IOCB) buffers to allocate.

Property Name Default Min Max Activation Comments
num-nodes 0 0 4096 Requires HBA reset.
Number of FC nodes (NPorts) the driver will support.
pci-max-read 2048 512 4096 Requires HBA reset
Sets the PCI-X max memory read byte count [512, 1024, 2048 or 4096]
pm-support 0 . 0 1 Requires reboot.
Enable/Disable power management support in the driver. 0 = Disables power management support in the driver. 1 = Enables power management support in the driver.
ub-bufs 1000 40 16320 Requires reboot.
Sets the number of unsolicited buffers to be allocated.
topology 0 0 =loop, then P2P 2 =P2P only 4 =loop only 6 =P2P, then loop
Requires link reset.
Set to point-to-point mode if you want to run as an N_Port. Set to loop mode if you want to run as an NL_Port.

The cross-reference information listed in Table 5 is applicable to the Driver for Solaris LPFC version 6.20i and the Driver for Solaris emlxs (SFS) version 1.30/2.30. If you are using Solaris emlxs (SFS) version 1.22.2.22 see the HBAnyware Utility version 3.3 User manual. If you are using a Solaris LPFC or Solaris emlxs (SFS) driver version previous to these listed, see the appropriate User Manual for parameter information.
Solaris emlxs/ HBAnyware Property
Solaris emlxs/HBAnyware Min/Max, Defaults and Description
LPFC Min/Max, Default and Description Comments
ack0 0 = Off 1 = On Default: 0 Description: Use ACK0 for class 2. If ACK0 is 1, the HBA tries to use ACK0 when running Class 2 traffic to a device. If the device doesn’t support ACK0, then the HBA uses ACK1. If ACK0 is 0, only ACK1 is used when running Class 2 traffic.
0 = No support. Flush active I/O's for all FCP target devices at link down. 1 = Partial support. Flush I/O's for non-FCP2 target devices at link down. 2 = Full support. Hold active I/O's for all devices at link down. Default: 1 Description: Sets the level of driver support for the FC ADISC login I/O recovery method.
use-adisc 0 = Off 1 = On Default: 0 Description: Controls the ELS command used for address authentication during rediscovery upon link- up. The driver will always use ADISC for FCP-2 devices and re-discovery due to an registered state change notification (RSCN).
If there are tape devices on the SAN that support FCP2, set the use-adisc property to 1 and the adisc-support property to 1 (partial support) or 2 (full support).
assign-alpa Min:0x00 Max:0xef Default:0x00 (valid ALPA's only) Description: This is only valid if topology is loop. A zero setting means no preference. If multiple HBA instances on the same host are on the same loop, set this value differently for each HBA.
Related LPFC Property · adisc- support

Solaris emlxs/ HBAnyware Property
Solaris emlxs/HBAnyware Min/Max, Defaults and Description
LPFC Min/Max, Default and Description Comments
auth-cfgs This is the DH-CHAP related driver property for FC-SP support. It is only valid when driver property enable-auth is set to 1. This driver property is ignored when enable-auth is set to 0.
This is the DH-CHAP related driver property for FC-SP support. It is only valid when driver property enable-auth is set to 1. This driver property is ignored when enable-auth is set to 0.
For detail on this emlxs parameter, see Table 4.
For detail on this LPFC parameter, see Table 3.
auth-keys This is the DH-CHAP authentication key driver property for FC-SP support. It is only valid when driver property enable-auth is set to 1. This driver property is ignored when enable-auth is set to 0.
auth-keys This is the DH-CHAP authentication key driver property for FC-SP support. It is only valid when driver property enable-auth is set to 1.
For detail on this emlxs parameter, see Table 4.
For detail on this LPFC parameter, see Table 3.
Min: 0x00000000 Max:0xFFFFFFFF Default: 0x0000000 Verbose mask for notice messages to the console.
log-verbose Min:0x0 Max:0xffff Default:0x0 (bit mask) When set to nonzero this variable causes LPFC to generate additional messages concerning the state of the driver and the I/O operations it carries out. These messages may go to the system console.
Min: 0x00000000 Max:0xFFFFFFFF Default: 0x0000000 Verbose mask for warning messages to the console.
log-verbose Min:0x0 Max:0xffff Default:0x0 (bit mask) When set to nonzero this variable causes LPFC to generate additional messages concerning the state of the driver and the I/O operations it carries out. These messages may go to the system console.
Min: 0x00000000 Max:0xFFFFFFFF Default: 0x0000000 Verbose mask for error messages to the console.
log-verbose Min:0x0 Max:0xffff Default:0x0 (bit mask) When set to nonzero this variable causes LPFC to generate additional messages concerning the state of the driver and the I/O operations it carries out. These messages may go to the system console.

Solaris emlxs/ HBAnyware Property
Solaris emlxs/HBAnyware Min/Max, Defaults and Description
LPFC Min/Max, Default and Description Comments
cr-delay Min:0 Max:63 Default:0 Description: Specifies a count of milliseconds after which an interrupt response is generated if the cr-count has not been satisfied. This value is set to 0 to disable the Coalesce Response feature as default.
cr-delay Min:0 Max:63 Default:0 Description: Specifies a count of milliseconds after which an interrupt response is generated if the cr-count has not been satisfied. This value is set to 0 to disable the Coalesce Response feature as default.
Setting this value can minimize CPU utilization by reducing the number of interrupts that the driver generates to the operating system.
cr-count Min:1 Max:255 Default:1 Description: Specifies a count of I/O completions after which an interrupt response is generated. This feature is disabled if cr- delay is set to 0.
cr-count Min:1 Max:255 Default:1 Description: Specifies a count of I/O completions after which an interrupt response is generated. This feature is disabled if cr-delay is set to 0.
The value is often determined by your OEM. This property sets the number of I/Os to be queued in the operating system’s driver before an interrupt is initiated. The driver default settings are roughly a 1:1 I/O to interrupt ratio. If you change this property, performance varies per application.
enable-auth Min:0 Max:1 Default:0 This driver property specifies if the DH-CHAP is enabled or not.
Min:0 Max:1 Default:0 This driver property specifies if the DH-CHAP is enabled or not.
This pararmeter is dynamic for LPFC. This property requires a link reset for SFS.
link-speed 0 = auto select 1 = 1 Gb 2 = 2 Gb 4 = 4 Gb 8 = 8 Gb Default: 0 Description: Sets the link speed setting for initializing the FC connection.
link-speed 0 = auto select 1 = 1 Gb 2 = 2 Gb 4 = 4 Gb 8 = 8 Gb Default: 0 Description: Sets link speed.
This value can be changed to a specific link speed to optimize the link initialization process for a specific environment.
Related LPFC Property · enable- auth

Solaris emlxs/ HBAnyware Property
Solaris emlxs/HBAnyware Min/Max, Defaults and Description
LPFC Min/Max, Default and Description Comments
log-notices Min: 0x00000000 Max:0xFFFFFFFF Default: 0x0000000 Verbose mask for notice messages to the messages file.
log-verbose Min:0x0 Max:0xffff Default:0x0 (bit mask) When set to nonzero this variable causes LPFC to generate additional messages concerning the state of the driver and the I/O operations it carries out. These messages may go to the system log file, /var/adm/messages.
log-warnings Min: 0x00000000 Max:0xFFFFFFFF Default: 0x0000000 Verbose mask for warning messages to the messages file.
log-verbose Min:0x0 Max:0xffff Default:0x0 (bit mask) When set to nonzero this variable causes LPFC to generate additional messages concerning the state of the driver and the I/O operations it carries out. These messages may go to the system log file, /var/adm/messages.
log-errors Min: 0x00000000 Max:0xFFFFFFFF Default: 0x0000000 Verbose mask for error messages to the messages file.
log-verbose Min:0x0 Max:0xffff Default:0x0 (bit mask) When set to nonzero this variable causes LPFC to generate additional messages concerning the state of the driver and the I/O operations it carries out. These messages may go to the system log file, /var/adm/messages.
network-on Min:0 (Disables) Max:1 (Enables) Default:1 Description: Enables or disables IP networking support in the driver.
network-on Min:0 (Disables) Max:1 (Enables) Default: 0 Description: Controls whether LPFC provides IP networking functionality over FC. This variable is Boolean: when zero, IP networking is disabled: when non-zero, IP networking is enabled.
The LPFC parameter enables or disables FCIP on the Emulex HBA
Related LPFC Property

Solaris emlxs/ HBAnyware Property
Solaris emlxs/HBAnyware Min/Max, Defaults and Description
LPFC Min/Max, Default and Description Comments
num-iocbs Min:128 Max:10240 Default = 1024 Description: Sets the number of iocb buffers to allocate.
num-bufs Min:128 Max:10240 Default = 256 Description: Specifies the number of command buffers to allocate. These buffers are used for FC Extended Link Services (ELS) and one for each FCP command issued in SLI-2 mode. If you want to queue lots of FCP commands to the HBA, then increase num-bufs for better performance. These buffers consume physical memory and are also used by the device driver to process loop initialization and rediscovery activities. Important: The driver must always be configured with at least several dozen ELS command buffers; Emulex recommends at least 128.
num-nodes Min:2 Max:512 Default:512 Description: Number of FC nodes (NPorts) the driver will support.
pci-max-read Min: 512 Max: 4092 Default: 2048 Description: Sets the PCI-X max memory read byte count [512, 1024, 2048 or 4096].
pm-support 0 = Disables power management support in the driver. 1 = Enables power management support in the driver. Default: 0 Description: Enable/Disable power management support in the driver
Related LPFC Property

Solaris emlxs/ HBAnyware Property
Solaris emlxs/HBAnyware Min/Max, Defaults and Description
LPFC Min/Max, Default and Description Comments
topology 0 = loop, if it fails attempt pt- to-pt 2 = pt-to-pt only 4 = loop only 6 = pt-to-pt, if it fails attempt loop Default: 0 Description: Link topology for initializing the FC connection. Set pt-to-pt if you want to run as an N_Port. Set loop if you want to run as an NL_Port.
topology 0x0 = loop, if it fails attempt pt-to-pt 0x2 = pt-to-pt only 0x4 = loop only Default: 0 Description: Controls the FC topology expected by LPFC at boot time. FC offers pt-to- pt, fabric and arbitrated loop topologies. To make the HBA operate as an N_Port, select pt-to-pt mode (used for N_Port to F_Port and N_Port to N_Port connections). To make the HBA operate as an NL_Port, select loop mode (used for private loop and public loop topologies). The driver will reject an attempt to set the topology to a value not in the above list. The auto- topology settings 0 and 6 will not work unless the HBA is using firmware version 3.20 or higher.
The topology property controls protocol (not physical) topology attempted by the driver.
ub-bufs Min:40 Max:16320 Default:1000 Description: Sets the number of unsolicited buffers to be allocated.
Related LPFC Property

The driver parameter values listed in Table 6, Table 7 and Table 8 are applicable to driver version 8.0.16.34. If you are using a version previous to 8.0.16.34, see the Emulex Driver for Linux User Manual for parameter information
The driver parameters listed in Table 9 and Table 10 are applicable to driver version 8.2. Driver for Linux version 8.2 supports DH-CHAP authentication and configuration.
The parameters determine some aspects of the driver behavior. The following tables list the driver parameters. Some driver parameters can be modified and take effect only on a driver load while others can be modified dynamically and take effect immediately. The tables also list the default, minimum and maximum values for these parameters.
In Table 6, driver parameters marked with an asterisk are not supported by HBAnyware. You can change them via LPFC. See the Driver User Manual for more Information.
Variable Default Min Max Comments
lpfc_ack0 0 0=Off 1=On Use ACK0 for class 2. Yes
lpfc_cr_count 1 1 255 This parameter determines the values for I/O coalescing for cr_delay (msec) or cr_count outstanding commands.
lpfc_cr_delay 0 0 63 This parameter determines the values for I/O coalescing for cr_delay (msec) or cr_count outstanding commands.
Visible using sysfs · No · No

Variable Default Min Max Comments
lpfc_discovery_threads 32 1 64 Specifies the maximum number of ELS commands that can be outstanding for a discovery.
Note: The discovery_threads parameter will default to a value of 64 for private loop topologies regardless of the configured value. If there are multiple ports configured on the host the value of 64 will only be used for those ports that are connected in a private loop topology. The configured value will be used for all other ports. Note: On the VMware ESX Server only, range is 30 - 64. The default is erroneously set to 1. Set this parameter to a valid value. If you do not, when you change any parameter value, the following error message may be displayed: “Driver Parameter ‘discovery- threads’ is not within the allowed range”
lpfc_fcp_class 3 2 3 FC class for FCP data transmission.
lpfc_link_speed 0 0=auto select 1=1G 2=2G 4=4G 8=8G
Sets link speed. Yes
lpfc_hba_queue_depth* 8192 32 8192 Maximum number of FCP commands that can queue to an Emulex HBA.
lpfc_lun_queue_depth 30 1 128 Default max commands sent to a single logical unit (disk).
lpfc_topology 0 0x0=loop then P2P 0x2=P2P only 0x4=loop only 0x6=P2P then loop
FC link topology (defaults to loop, if it fails attempts point-to-point mode).

Variable Default Min Max Comments
lpfc_fcp_bind_method 2 1 4 Specifies method of binding each port. Values: 1: WWNN binding 2: WWPN binding 3: D_ID binding 4: ALPA binding
lpfc_fdmi_on 0 0 2 False (0) if disabled. (1) or (2) if enabled depending on type of support needed.
lpfc_scan_down 1 0=Off 1=On Select method for scanning ALPA to assign a SCSI ID.
lpfc_max_luns 256 1 32768 Specifies the maximum number of LUNs per target. A value of 20 means LUNs from 0 to 19 are valid.
lpfc_multi_ring_support* 1 1 2 Determines the number of primary SLI rings over which to spread IOCB entries.
* Variable not tunable in HBAnyware.
All LPFC dynamic parameters are read/write using sysfs.
Variable Default Min Max Comments
lpfc_discovery_min_wait* 3 0 60 The minimum number of seconds the driver waits for the discovery to complete.
lpfc_discovery_wait_limit* 600 0 600 (special value meaning no limit)
The maximum number of seconds the driver waits for the discovery to complete.
lpfc_linkup_wait_limit* 15 0 60 The number of seconds the driver waits for the link to come up.
lpfc_log_verbose 0x0 0x0 0xffff (bit mask) Extra activity logging.
lpfc_nodev_tmo 30 0 255 Seconds to hold I/O errors if device disappears.
lpfc_use_adisc 0 0=Off 1=On Send ADISC instead of PLOGI for device discovery or RSCN.

Variable Default Min Max Comments
lpfc_scsi_req_tmo 30 0 255 Time out value (in seconds) for SCSI request sent through lpfcdfc module. (Not available using HBAnyware GUI. Command line only.)
The Emulex driver for Linux version 8.2.0.x supports the FC-SP/Authentication DH-CHAP (Diffie- Hellmann Challenge Handshake Authentication Protocol). To activate FC-SP/Authentication between the HBA host port and Fabric F_port using DH-CHAP, you modify the DH-CHAP associated driver properties in the driver configuration file.
The Emulex driver for Linux version 8.2.0.x supports MD5 and SHA-1 hash functions and supports the following DH groups: Null, 1024, 1280, 1536, and 2048.
not support N-Port to N-Port authentication.
Enabling authentication is a two step process. To enable authentication:
Use the lpfc_enable_auth module parameter enable or disable authentication support. This module parameter can be set when loading the driver to enable or disable authentication on all Emulex HBAs in the system, or it may be set dynamically after the driver is loaded to enable or disable authentication for each port (physical and virtual). The default setting for the lpfc-enable-auth module parameter is disabled. SeeTable 10 starting on page 91 for the parameter values.
The Emulex LPFC driver requires the fcauthd daemon to perform authentication tasks for it. To enable authentication you must have this daemon running. If you want to load the driver with authentication enabled, the fcauthd daemon should be running prior to driver load. The driver can start with authentication enabled if the daemon is not running, but all ports will be placed into an error state. When the daemon is started the driver should discover the daemon and reset the HBA to enable the driver to perform authentication. To test if this daemon is running, start the daemon, or stop the daemon, you must use the /etc/init.d/fcauthd script. This script accepts the standard daemon parameters: start, stop, reload, status, restart, and condrestart.
The script syntax is /etc/init.d/fcauthd .
must first stop the fcauthd daemon. This will close the netlink connection and allow the LPFC driver to unload.

The fcauth daemon supports the following parameters:
You can configure each port’s password. See “Changing Your Password” on page 42 for more information.
The driver parameters determine some aspects of the driver behavior. The following tables list the driver parameters. Some driver parameters can be modified and take effect only on a driver load while others can be modified dynamically and take effect immediately. The tables also list the default, minimum and maximum values for these parameters.
Variable Default Min Max Comments
lpfc_ack0 0 0=Off 1=On Uses ACK0 for class 2. Yes
lpfc_cr_count 1 1 255 This parameter determines the values for I/O coalescing for cr_delay (msec) or cr_count outstanding commands.
lpfc_cr_delay 0 0 63 This parameter determines the values for I/O coalescing for cr_delay (msec) or cr_count outstanding commands.
Visible using sysfs · No · No

Variable Default Min Max Comments
lpfc_discovery_threads 32 1 64 Specifies the maximum number of ELS commands that can be outstanding for a discovery.
lpfc_enable_npiv 0 0 1 This parameter controls the driver’s ability to use NPIV to create virtual ports. It defaults to off (0) which prevents the driver from creating any virtual ports. When enabled (set to 1) it enables you to create and delete virtual ports (if supported by the fabric).
lpfc_fcp_class 3 2 3 The Fibre Channel class for FCP data transmission.
lpfc_hba_queue_depth 8192 32 8192 The maximum number of FCP commands that can queue to an Emulex HBA.
lpfc_lun_queue_depth 30 1 128 The default maximum commands sent to a single logical unit (disk).
lpfc_fdmi_on 0 0 2 False (0) if disabled. (1) or (2) if enabled depending on type of support needed.
lpfc_scan_down 1 0=Off 1=On Selects method for scanning ALPA to assign a SCSI ID.

Variable Default Min Max Comments
lpfc_max_luns 256 1 32768 Specifies the maximum number of LUN IDs per target. A value of 20 means LUN IDs from 0 to 19 are valid. The SCSI layer will scan each target until it reaches the specified LUN ID.
lpfc_multi_ring_support 1 1 2 Determines the number of primary SLI rings over which to spread IOCB entries.
lpfc_poll 0 1= poll wiith interrupts enabled 3 = poll and disable FCP ring interrupts
Sets FCP ring polling mode control.
lpfc_poll_tmo 10 1 255 Milliseconds the driver waits between polling FCP ring interrupts.
All lpfc dynamic parameters are read/write using sysfs.
Variable Default Min Max Comments
lpfc_enable_auth 0 0 1 This driver property specifies if the DH-CHAP is enabled or not. When set to 1, DH-CHAP is enabled. When set to 0, DH-CHAP support is disabled. NOTE: This property requires a link reset to activate.
lpfc_link_speed 0 0=auto select 1=1G 2=2G 4=4G 8=8G
Sets link speed.
lpfc_log_verbose 0x0 0x0 0xffff (bit mask) Extra activity logging.
lpfc_nodev_tmo 30 0 255 Seconds to hold I/O error if device disappears.
lpfc_topology 0 0x0=loop then P2P 0x2=P2P only 0x4=loop only 0x6=P2P then loop
FClink topology (defaults to loop, if it fails attempts point-to-point mode).

Variable Default Min Max Comments
lpfc_use_adisc 0 0=Off 1=On Sends ADISC instead of PLOGI for device discovery or RSCN.
All HBA-specific parameters have an lpfcX_ prefix (where X is the driver instance number); e.g., setting lpfc0_lun_queue_depth= 20 makes 20 the default number of maximum commands which can be sent to a single logical unit (disk) for lpfc instance 0.
Dynamic parameters do not require the driver to be unloaded and reloaded for changes to take effect.
Variable Default Min Max Dynamic Comments
lpfc_hba_queue_depth 8192 0 8192 Yes Maximum number of FCP commands that can queue to an Emulex HBA.
lpfc_initiator_login 0 0 1 Yes Enables logins to other virtual initiators.
lpfc_ack0 0 0=Off 1=On No Use ACK0 for class 2.
lpfc_automap 1 0=Off 1=On No Automatically assign SCSI IDs to FCP targets detected.
lpfc_check_cond_err 0 0=Off 1=On Yes Treat certain FCP check conditions as FCP RSP errors.
lpfc_cr_count 1 1 255 No This parameter determines the values for I/O coalescing for cr_delay (msec) or cr_count outstanding commands.
lpfc_cr_delay 0 0 63 No This parameter determines the values for I/O coalescing for cr_delay (msec) or cr_count outstanding commands.
lpfc_delay_rsp_err 0 0=Off 1=On Yes Treat FCP RSP errors like no- device-delay.
lpfc_discovery_threads 1 30 64 No Specifies the maximum number of ELS commands that can be outstanding for a discovery.
lpfc_dqfull_throttle_up_inc 1 0 128 Yes Amount to increment LUN queue depth each time.
1 0 30 Yes Time interval, in seconds, to increment LUN queue depth.
lpfc_extra_io_tmo 0 0 255 Yes Extra FCP cmd timeout when connected to a fabric (in seconds).
lpfc_dqfull_throttle_up_tim e

Variable Default Min Max Dynamic Comments
lpfc_fcp_bind_DID inactive N/A N/A No Bind specific SCSI IDs to targets based on FC Port ID.
lpfc_fcp_bind_method 2 1 4 No Specifies the bind method (WWWN/WWPN/DID/ALPA map) to be used.
lpfc_fcp_bind_WWNN inactive N/A N/A No Bind specific SCSI IDs to targets based on FC WWNN.
lpfc_fcp_bind_WWPN inactive N/A N/A No Bind specific SCSI IDs to targets based on FC WWPN.
lpfc_fcp_class 3 2 3 Yes FC class for FCP data transmission.
lpfc_fdmi_on 0 0 2 No False (0) if disabled. (1) or (2) if enabled depending on type of support needed.
lpfc_initiator_login: 0 0 1 Yes If this parameter is set to 1 then the driver will allow logins to and from other FCP initiators.
lpfc_inq_pqb_filter 1 0=Off 1=On No If true, the driver changes the peripheral quantifier bit from 1 to 3 for inquiry responses.
lpfc_iocb_wdog_tmo 40 0 55 No Timeout value for pending FC I/O in the driver.
lpfc_linkdown_tmo 30 0 255 Yes (seconds) How long the driver waits before deciding that the FC link is down.
lpfc_link_speed 0 0=auto select 1=1G 2=2G 4=4G 8=8G
No Sets link speed.
lpfc_log_verbose 0x0 0x0 0xffff Yes (bit mask) Extra activity logging.
lpfc_lun_queue_depth 30 1 128 Yes Default max commands sent to a single logical unit (disk).
lpfc_lun_skip 0 0=Off 1=On No Allows SCSI layers to detect all LUNs if there are LUN holes on a device.
lpfc_max_lun 256 1 256 Yes Specifies the maximum number of LUNs per target. A value of 20 means LUNs from 0 to 19 are valid.
lpfc_max_target 256 1 256 No This configuration parameter limits how many targets the driver will support.

Variable Default Min Max Dynamic Comments
lpfc_max_vpi 0xffff 0 0xffff No NPIV: Maximum number of vpis available per physical port.
lpfc_nodev_holdio 0 0=Off 1=On Yes If the device disappears, hold I/O until it comes back.
lpfc_no_device_delay 1 0 30 Yes Delay to fail back an I/O in seconds.
lpfc_nodev_tmo 30 0 255 Yes Seconds to hold I/O err if device disappears.
lpfc_ns_threads 2 1 32 Yes NPIV: Number of concurrent NameServer requests allowed to be outstanding.
lpfc_peer_vport_login 0 0 1 Yes NPIV: Allows peer Vports to log into each other.
lpfc_scan_down 1 0=Off 1=On Yes Select method for scanning ALPA to assign a SCSI ID.
lpfc_scsi_req_tmo 30 0 255 Yes Time out value (in seconds) for SCSI passthrough requests.
lpfc_tgt_queue_depth 0 0 8192 Yes Default max commands sent to a single target.
lpfc_topology 0 0x0=loop then P2P 0x2=P2P only 0x4=loop only 0x6=P2P then loop
No FC link topology (defaults to loop, if it fails attempts point-to-point mode).

I/O Coalescing
I/O Coalescing is enabled and controlled by two driver parameters: CoalesceMsCnt and CoalesceRspCnt. The effect of I/O Coalescing will depend on the CPU resources available on the server. With I/O Coalescing turned on, interrupts are batched, reducing the number of interrupts and maximizing the number of commands processed with each interrupt. For heavily loaded systems, this will provide better throughput.
With I/O Coalescing turned off (the default), each I/O processes immediately, one CPU interrupt per I/O. For systems not heavily loaded, the default will provide better throughput. The following table shows recommendations based upon the number of I/Os per HBA.
I/Os per Second Suggested CoalesceMsCnt Suggested CoalesceRspCnt
I/Os < 10000 0 8
10000 < I/Os < 18000 1 8
18000 < I/Os < 26000 1 16
!/Os > 26000 1 24
The CoalesceMsCnt parameter controls the maximum elapsed time in milliseconds that the HBA waits before it generates a CPU interrupt. The value range is 0 - 63 (decimal) or 0x0 - 0x3F (hex). The default is 0 and disables I/O Coalescing.
The CoalesceRspCnt parameter controls the maximum number of responses to batch before an interrupt generates. If CoalesceRspCnt expires, an interrupt generates for all responses collected up to that point. With CoalesceRspCnt set to less than 2, response coalescing is disabled and an interrupt triggers for each response. The value range for CoalesceRspCnt is 1 - 255 (decimal) or 0x1 - 0xFF (hex). The default value is 8.
There are four driver parameters that must be considered (and perhaps changed from the default) for better performance testing: QueueDepth, NumFcpContext, CoalesceMsCnt and CoalesceRspCnt.
for general operation.
If the number of outstanding I/Os per device is expected to exceed 32, increase this parameter to a value greater than the number of expected I/Os per device, up to a maximum of 254.The QueueDepth parameter defaults to 32. If 32 is set and not a high enough value, performance degradation may occur due to Storport throttling its device queue.
CoalesceMsCnt · CoalesceRspCnt · QueueDepth

If the number of outstanding I/Os per HBA is expected to exceed 512, increase this parameter to a value greater than the number of expected I/Os per HBA. Increase this value in stages: from 128 to 256 to 512 to 1024 to a maximum of 2048i. NumFcpContext limits the number of outstanding I/Os per HBA, regardless of how QueueDepth is set. The NumFcpContext defaults to 512. If NumFcpContext is too small relative to the total number of outstanding I/Os on all devices combined, performance degradation may occur due to I/O stream throttling.
CoalesceMsCnt defaults to zero. If you are using a performance evaluation tool such as IOMETER and if you expect the I/O activity will be greater than 8000 I/Os per second, set CoalesceMsCnt to 1 and re initializes with an HBA reset or system reboot.
CoalesceRspCnt defaults to 8. For all other values up to the maximum of 63, the HBA will not interrupt the host with a completion until either CoalesceMsCnt milliseconds has elapsed or CoalesceRspCnt responses are pending. The value of these two driver parameters reduces the number of interrupts per second which improves overall CPU utilization. However, there is a point where the number of I/Os per second is small relative to CoalesceMsCnt and this will slow down the completion process, causing performance degradation.
You execute IOMETER with an I/O depth of 1 I/O per device in a small-scale configuration (16 devices). In this case, the test does not exceed the HBA's performance limits and the number of I/Os per second are in the low thousands.
Recommendation: set CoalesceMsCnt to 0 (or leave the default value).
You execute IOMETER with an I/O depth of 48 per device in a small-scale configuration (16 devices).
Recommendation: set QueueDepth to be greater than 48 (e.g. 64) and NumFcpContext to be greater than 512 (e.g. 1024).
Automapping SCSI Devices (Windows)
The driver defaults to automatically mapping SCSI devices. The procedures in this section apply if the default has been changed.
To automap SCSI devices:

Table 13 describes LUN mapping and masking global defaults.
Field (Function) Default Description Window
Globally Automap All Targets
Enabled Emulex driver detects all FC devices attached to the Emulex HBAs.
Globally Automap All LUNs
Enabled Assigns an operating system LUN ID to a FC LUN ID for all LUNs behind all targets in the system area network.
Globally Unmask All LUNs
Enabled Allows the operating system to see all LUNs behind all targets.
Automap All LUNs (Target Level)
Disabled With Globally Automap All LUNs disabled, this parameter assigns an operating system LUN ID to a FC LUN ID for all LUNs behind the selected target.
LUN Unmasking (Target Level)
Disabled Allows the operating system to see all LUNs behind the selected target. With this parameter disabled, each individual LUN can be masked or unmasked.
You can set up persistent binding on remote and local HBAs. Global automapping assigns a binding type, target ID, SCSI Bus and SCSI ID to the device. The binding type, SCSI Bus and SCSI ID may change when the system is rebooted. With persistent binding applied to one of these targets, the WWPN, SCSI Bus and SCSI ID remain the same when the system is rebooted.
The driver refers to the binding information at bootup. When you create a persistent binding, HBAnyware tries to make that binding dynamic. However, the binding must meet all of the following criteria to be dynamic:
To set up persistent binding:

To add a persistent binding:


Persistently bound targets have entries in the second and third columns. In this case, the third column contains the SCSI Bus and target numbers you specified in the Add Persistent Binding dialog box. This binding takes effect only after the local machine is rebooted.
To bind a target that does not appear in the Persistent Binding table on the Target Mapping tab:
of a different FC target. Attempting to bind a target already in the Persistent Binding table on the Target Mapping tab results in an error message, “Target already in target list. Use the Add Binding button.”

target is not already persistently bound.
You can perform on-the-fly configuration changes, without rebooting, using the HBAnyware utility. For Solaris 8, you must first add the new targets to the sd.conf file.
To add new targets using sd.conf (Solaris 8):
#vi /kernel/drv/sd.conf . . . name="sd" parent="lpfc" target=17 lun=1; name="sd" parent="lpfc" target=18 lun=10; name="sd" parent="lpfc" target=19 lun=15; . . . 2. Save the file and exit vi.

After you install the base HBAnyware software, which includes the HBAnyware utility and remote server, on a group of systems, the HBAnyware utility on any of those systems can remotely access and manage the HBAs on any systems in the group. This may not be a desirable situation, because any system can perform actions such as resetting boards or downloading firmware.
You can use the HBAnyware utility security package to control which HBAnyware enabled systems can remotely access and manage HBAs on other systems in a FC network. HBAnyware security is systems- based, not user-based. Anyone with access to a system that has been granted HBAnyware client access to remote HBAs can manage those HBAs. Any unsecured system is still remotely accessible by the HBAnyware client software (HBAnyware utility). The HBAnyware security software provides two main security features:
When you install the HBAnyware utility Security software on a system and run the HBAnyware utility Security Configurator for the first time, that system becomes the Master Security Client (MSC). All of the available servers are discovered and are available to be part of the system Access Control Group (ACG). You select the systems to add to the ACG, and the security configuration updates on all of the selected servers as well as on the initial system. This selection constitutes the participating platforms in this security installation.
To create the ACG:



The first time you run the HBAnyware Security Configurator on any system in a FC network, that system becomes the MSC (Master Security Client). See “Running the Configurator for the First Time” on page 100 for more information.
Introduction
The Access Control Group tab shows the systems that are part of a client's Access Control Group (ACG) and, from the Master Security Client (MSC), allows you to select the systems that belong to the ACG.

On the MSC, you select or deselect the systems that are to be part of the security installation in the Access Control Group tab. When you select unsecure systems and move them to the Access Control Group Servers list, these systems updates to secure them and bring them into the MSC's ACG. When you select systems in the ACG and move them to the Available Servers list, the security configuration for those systems update to make them unsecure. After you have configured security from the MSC for the first time, the Access Control Group tab looks similar to the following:


On a non-MSC system, the Access Control Group tab shows the systems that are part of the client's ACG. You cannot modify the ACG on a non-MSC. (You can modify the ACG only on the MSC or a client higher in the security topology's hierarchy.) The ACG tab on a non-MSC system looks similar to the following:

Depending on the configured security topology, a system can be a server in one or more ACGs. It can also be a client to an ACG. The following icons indicate the state of each of the systems in the Access Control Group Servers list.
The system is a secure server in the ACG. It does not belong to an Access Sub-Group (ASG). You can remove this system from the ACG.
The system is a secure server in the ACG and belongs to one or more ASGs. You can remove this system from the ACG.
The system is a secure server in the ACG and a client to an ASG. You cannot remove this system from the ACG until you remove it as a client from the ASG.
The system is a secure server in the ACG, a secure server in one or more ASGs and a client to an ASG You cannot remove this system from the ACG until you remove it as a client from the ASGs.
The system is a Backup Master. You cannot remove this system from the ACG until you remove it as a Backup Master.

After you create the initial Access Control Group (ACG) on the Master Security Client (MSC), you may add unsecured servers to the ACG.
To add servers to the ACG:
To delete a server from the Access Control Group (ACG):
You can remove security from all systems only from the Master Security Client (MSC). Removing the entire security topology on all of the servers in the MSC's ACG puts the servers in an unsecure state. The MSC is also put in an unsecure state; consequently, it is no longer the MSC. Any participating systems that are not online will not receive the 'remove security' configuration update, and as a result will no longer be accessible remotely.
To remove security from all servers in the ACG:
You can generate new security keys only from a Master Security Client (MSC). After the new security keys are generated, they are automatically sent to all of the remote servers in the Access Control Group (ACG).
performed so that they may receive the new keys. Any servers that do not receive the new keys will no longer be accessible remotely.
To generate new security keys for all servers in the ACG:

You can restore the ACG to its last saved configuration, if there are unsaved changes to the ACG, only from the Master Security Client (MSC).
To restore the ACG to its last saved configuration:
From the Access Control Group tab on the MSC, click Restore (Figure 43).
You can enable switch access only on a Master Security Client (MSC). Switch access grants the client access rights to a switch to remotely access HBAs on servers in the Access Control Group (ACG).
To enable switch access:
From the Access Control Group tab, check Enable Switch Access. (Figure 43).
Introduction
Use the Access Sub-Group tab to create multiple Access Sub-Groups (ASGs) and multiple levels (tiers) in the security topology hierarchy. The hierarchy can be as many levels deep as desired. However, we recommend the hierarchy extend no more than three levels deep, as it becomes increasingly difficult to keep track of the topology the deeper it goes. The hierarchy shows in the Access Sub-Groups tab as a tree. You can create, modify and delete ASGs at each level in this tree.


The following icons indicate the state of each of the servers in the Access Sub-Group Servers list.
The system is a server in the ASG but not in any child ASGs. You can remove it from the ASG.
The system is a server in the ASG and at least one child ASG. You cannot remove it from the ASG until you remove it from the child ASGs.
The system is a server in the ASG and a client to a child ASG. You cannot remove it from the ASG until you remove it as a client from the child ASG (by either deleting or editing the child ASG).
The system is a server in the ASG, a server in at least one other child ASG and a client to a child ASG. You cannot remove it from the ASG until you remove it from the child ASGs and as a client from the child ASG (by either deleting or editing the child ASG).
The system is a server in the ASG and a client to a non-child ASG. You can remove it from the ASG.
The system is a server in the ASG, a server in at least one child ASG, and a client to a non- child ASG. You cannot remove it from the ASG until you remove it from the child ASGs.
Create a new Access Sub-Group (ASG) by selecting one system from the Access Control Group (ACG) to be the client, and some or all of the other systems to be servers to this client, thus defining the new client's ACG. When the HBAnyware Security Configurator is run on the new client, the ACG shows the servers that were configured in the ASG by its parent client.
To create an ASG:



A particular security installation can support the creation of several hundred access groups (ACGs and ASGs). When you create each new access group, you allocate some number of 'indices' to the client system of the new ASG. This number reflects the number of subsequent 'child' ASGs that you can subsequently create at the new client's system.

To add a server to an ASG:
ASG client system may not have discovered them yet. These servers can still be added to the Access Sub-Group Servers list.
Only a leaf node ASG may be deleted (i.e. not ASGs underneath it in the tree). If an ASG has at least one child ASG, you must delete those child ASGs first.
To delete an ASG:
You can restore an Access Sub-Group (ASG) to its last saved configuration if there are unsaved changes to it.
To restore an ASG to its last saved configuration:
You can change the name, client system or reserved indices of an Access Sub-Group (ASG).
To edit an ASG:


The name can contain any alphanumeric characters, symbols or spaces (up to 31). At each level of the security topology, each ASG name must be unique. If the name is not unique at its level, an error message informs you of this when you click OK.

Sometimes a client system may not be online when the HBAnyware Security Configurator is running. In this case, the Access Sub-Group (ASG) for the client appears offline in the ASG tree, much like the following:

The offline ASG entry serves as a placeholder for where the real ASG would be in the tree. You cannot modify or delete the entry (although it is removed from the display if all of its child ASGs are deleted).
It is possible to delete the child ASGs of an offline ASG. However, we recommend that you delete them only if the client for the offline ASG will never be put online again. It is best to delete child ASGs when the parent ASG is online.
If you choose to delete a child ASG, the operation is immediate. There is no need to click Apply.

Introduction
A Backup Master mirrors the security data of the Master Security Client (MSC) in case it has to take over as the MSC if the MSC is unable to operate or is removed from the security configuration. A Backup master system receives all the updates to the security configuration on the MSC. However, you cannot make modifications to the security configuration on a Backup Master.
When the Configurator runs on a Backup Master, the Access Control Group tab looks like the tab on a non-MSC system. The Access Sub-Group tab shows the ASGs, but you cannot change the ASGs (see Figure 43 on page 102).
The Backup Master tab is available only when the HBAnyware Security Configurator is running on the MSC or a Backup Master. Use this tab to set up a system as a Backup Master to the MSC and to replace the MSC with a Backup Master.
Each time you start the HBAnyware Security Configurator on the MSC and no Backup Master is assigned, a message warns you that no Backup Master Client is assigned to the security configuration.
If you run the HBAnyware Security Configurator on a Backup Master, a message warns you that you can only view security information on a Backup Master. Security changes must be made to the MSC.
A Backup Master system receives all the updates that the MSC makes to the security configuration, therefore it is very important that the Backup Master is online when the HBAnyware Security Configurator is running on the MSC. Otherwise, updates to the security configuration are not reflected to the Backup Master. If the Backup Master then becomes the MSC, the security configuration may be corrupted.
To be eligible to become a Backup Master, a system must not be a client or server in any ASG. In other words, it must be either a server in the MSC's Access Control Group (ACG) or an unsecure system. If it is an unsecure system, it will be secure when it becomes a Backup Master.

The first time you select the Backup Master tab on the MSC, it looks similar to the following:

To create a Backup Master:


Because a Backup Master may have to take over as the Master Security Client (MSC), it must be able to physically access all of the HBAs that the MSC can access. If the MSC connects to multiple fabrics, select its Backup Master from the Available Systems list connected to the same fabrics as the MSC.
To reassign a Backup Master as the new MSC from the old MSC:
example, if you can no longer boot the MSC or connect to the FC network. Under any other circumstances, if the Backup Master takes over as the MSC, and the MSC is still running or comes back online later, there will be two MSCs for the same security configuration. This will eventually lead to corruption of the security configuration.
To reassign a Backup Master as the new MSC from the Backup Master:



or on remote systems connected with TCP/IP access. Diagnostic tests and diagnostic dumps cannot be performed on remote systems connected with FC access.
Use the Diagnostics tab to do the following:


The Diagnostics tab enables you to run a quick diagnostics test on a selected HBA. The Quick Test consists of 50 PCI Loopback test cycles and 50 Internal Loopback test cycles.
To run a quick test:

The POST is a firmware test normally performed on an HBA after a reset or restart. The POST does not require any configuration to run.
To run the POST:
The beaconing feature enables you to force a specific HBA’s LEDs to blink in a particular sequence. The blinking pattern acts as a beacon, making it easier to locate a specific HBA among racks of other HBAs.
When you enable beaconing, the two LEDs blink rapidly in unison for 24 seconds, after which the LEDs report the HBA health status for 8 seconds. When the 8 seconds are up, the HBA returns to beaconing mode. This cycle repeats indefinitely until you disable this feature or you reset the HBA.
beaconing.
To enable or disable beaconing:

The diagnostic dump feature enables you to create a “dump” file for a selected HBA. Dump files contain various information such as firmware version, driver version and so on, that is particularly useful when troubleshooting an HBA.
To start a diagnostic dump:

Two files are created:

A PCI Register dump for the selected HBA appears in the lower left panel of the Diagnostics tab. Wakeup information for the selected HBA appears in the lower right panel of the Diagnostics tab. The information is read-only and is depicted below:

The Advanced Diagnostics feature gives you greater control than the Quick Test over the type of diagnostics tests that run. Through Advanced Diagnostics, you can specify which tests to run, the number of cycles to run and what to do in the event of a test failure.
To run advanced diagnostics tests:
Click Advanced Diagnostics Test on the Diagnostics tab to view the Advanced Diagnostics dialog box.
You can run four types of tests:
External Loopback the ECHO test section is disabled and vice versa.

Test results and the status of running tests, are time stamped and appear in the Test Log area.

To run a loopback test, use the Loopback Test section of the Advanced Diagnostics dialog box.
Run the following loopback test combinations using the appropriate check boxes:
External Loopback the ECHO test section is disabled and vice versa.
Enables you to define what is to be done in the event of a test failure.There are two error action options:

Enables you to specify test cycles three ways:
Enter a custom test pattern to be used in tests that transfer data. The test pattern can be up to 8 hexadecimal bytes.
The Test Status section displays how many completed cycles of each test ran, as well as the number of errors.
To run loopback tests:
External Loopback test.


Periodic test feedback, consisting of the current loopback test/cycle plus the completion status of each type of test, is displayed in the Test Log section of the dialog box. Click Clear to erase the contents of the log display or click Save to File to save the log file.

Run echo tests using the End-to-End (ECHO) Test section of the Diagnostics tab. The end-to-end test enables you send an ECHO command/response sequence between an HBA port and a target port.
You cannot run the ECHO test and the External Loopback test concurrently. If you select the ECHO Test the External Loopback test is disabled.
To run end-to-end echo tests:
All relevant information for the selected port is automatically added to the Target Identifier section of the Diagnostics dialog box.


You can save the test log to a log file for later viewing or printing. When new data is written to a saved file, the data is appended to the end of the file. Each entry has a two-line header that contains the identifier of the HBA being tested and the date and time of the test. Over time, the data accumulates to form a chronological history of the diagnostics performed on the HBA.
After writing an entry into the log, you are prompted to clear the display. The default name of the save file is DiagTestLog.log. The default location is:

To save the log file:

The Command Line Interface (CLI) Client component of the HBAnyware utility provides access to the capabilities of the Remote Management library from a console command prompt. This component is intended for use in scripted operations from within shell scripts or batch files. The CLI Client is a console application named hbacmd. Each time you run this application from the command line, a single operation is performed.
The first parameter of this command is the requested operation. When the specified operation is completed, the command prompt is displayed. Most operations retrieve information about an entity on the SAN and display that information on the console.
Most of the CLI Client commands require one or more additional parameters that specify the nature of the command. A parameter used by many hbacmd commands specifies the World Wide Port Name (WWPN) of the HBA that is the target of the command.
For example, run the following command from the directory in which HBAnyware is installed to display the port attributes for the HBA with the specified WWPN:
hbacmd portattrib 10:00:00:00:c9:20:20:20
hbacmd can be run in TCP/IP mode by making the first argument h=. For example:
hbacmd h=cp-hp5670 listhbas hbacmd h=138.239.91.121 listhbas
management systems remotely. To enable TCP port #23333, run the following commands:
esxcfg-firewall --openPort 23333,tcp,in,hbanyware esxcfg-firewall --openPort 23333,tcp,out,hbanyware
To verify that the port is open, run the following command:
See the VMware Server Configuration Guide for more details on how to configure the ESX firewall.
Syntax Rules
The syntax rules for hbacmd are as follows:
esxcfg-firewall -q

CLI Client commands are supported for Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux. Only CLI Client commands that are dynamic are supported for VMware ESX Server.
RemoveAllPersistentBinding, BindingCapabilities, BindingSupport and SetBindingSupport commands are not supported for Linux.
RemoveAllPersistentBinding, BindingCapabilities, BindingSupport and SetBindingSupport commands exist in the Emulex driver for ESX Server 3.5.0, but are not supported.
RescanLuns, SetLunMask, DriverConfig, SetDriverParamDefaults and GetAutoConfig commands do not exist for ESX Server 3.5.0.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Shows a summary of all commands for the HBAnyware CLI Client application.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Shows the current version of the HBAnyware CLI Client application.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Shows a list of the discovered manageable Emulex HBAs and some of their attributes. The list will contain one 6-attribute group for each discovered HBA.

Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Saves the specified HBA’s driver parameters to a file. The resulting file will contain a list of driver parameter definitions in ASCII file format with definitions delimited by a comma. Each definition is of the form: =
Saves either the values of the global set or those specific to the HBA. The file created by this command is stored in the Emulex Repository directory.
Parameters:
WWPN - World Wide Port Name of the HBA whose configuration data you wish to save.
FileName - Name of the file that will contain the driver parameters list.
Flag - G = Save the global parameter set, N = Save the local (HBA-specific) parameter set
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Shows a list of all HBA attributes.
Parameters:
WWPN - World Wide Port Name of the HBA whose attributes you wish to view.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Shows a list of all port attributes for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose port attributes you wish to view
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Shows all port statistics for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose port statistics you wish to view.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Shows a list of server attributes for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose server attributes you wish to view.

Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Shows a list of mapped targets and the LUNs for the port.
Parameters:
WWPN - World Wide Port Name of the HBA whose target mapping you wish to view.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Resets the HBA. An HBA reset may require several seconds to complete, especially for remote devices. Once the reset command is completed, the system command prompt is displayed.
Parameters:
WWPN - World Wide Port Name of the HBA you wish to reset.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Loads the firmware image to the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA to which you want to load firmware.
FileName - File name of the firmware image to load (this can be any file accessible to the CLI client application).
Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Queries for the presence of any LUNs.
Parameters:
HBA WWPN - World Wide Port Name of the HBA you wish to query.
Target WWPN - World Wide Port Name of the target you wish to query.
Option - 0 = Get information from driver, 1 = Get information from configuration
Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Queries for the presence of any unmasked LUNs by HBA.
Parameters:
HBA WWPN - World Wide Port Name of the HBA you wish to query.
Option - 0 = Get information from driver, 1 = Get information from configuration

Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Queries for the presence of any unmasked LUNs by target.
Parameters:
HBA WWPN - World Wide Port Name of the HBA you wish to query.
Target WWPN - World Wide Port Name of the target you wish to query.
Option - 0 = Get information from driver, 1 = Get information from configuration
Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Rescans for the presence of any LUNs.
Parameters:
HBA WWPN - World Wide Port Name of the HBA you wish to rescan
Target WWPN - World Wide Port Name of the target you wish to rescan.
Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Masks the specified LUNs.
Parameters:
HBA WWPN - World Wide Port Name of the HBA.
Target WWPN - World Wide Port Name of the target.
Option - 0 = Send information to the driver, 1 = Send information to configuration (make persistent), 2 = Send information to both
Lun - Starting LUN number
LunCount - Number of LUNs
MaskOp - A = Mask LUN, B = Clear unmask target level, C = Clear unmask HBA level, D = Unmask LUN, E = Unmask target level, F = Unmask HBA level
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Shows target node information for each target accessible by the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose target node information you wish to view.

Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Specifies which set of persistent binding information is requested: the configured or live state of any present binding.
Parameters:
WWPN - World Wide Port Name of the HBA whose persistent binding information you wish to specify.
Source - C = Configuration, L = Live
Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Sets a persistent binding between an FC target and a SCSI Bus and target. The binding can be to a target WWPN, target WWNN, or target D_ID.
Parameters:
WWPN - World Wide Port Name of the HBA whose persistent bindings you wish to set.
Scope - P = Binding is permanent (survives across reboot), I = Binding is immediate, B = Binding is both permanent and immediate
BindType - P = Enable binding by WWPN, N = Enable binding by WWNN, D = Enable binding by D_ID
TargetId - Target WWPN if BindType = P, Target WWNN if BindType = N, Target D_ID if BindType = D
SCSIBus - Bus number of SCSI device.
SCSITarget - Target number of SCSI device.
Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Removes all persisting bindings for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose persistent bindings you wish to remove.

Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Removes persistent binding between an FC target and a SCSI Bus and target. The binding to be removed can be to a target WWPN, target WWNN, or target D_ID.
Parameters:
WWPN - World Wide Port Name of the HBA whose persistent bindings you wish to remove.
BindType - P = Remove binding by WWPN, N = Remove binding by WWNN, D = Remove binding by D_ID
ID - Target WWPN if BindType = P, Target WWNN if BindType = N, Target D_ID if BindType = D
SCSIBus - Bus number of SCSI device.
SCSITarget - Target number of SCSI device.
Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Shows the binding capabilities present for the HBA. If a binding is configured, it means the binding is maintained across reboots.
Parameters:
WWPN - World Wide Port Name of the HBA whose binding capabilities you wish to view.
Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Shows the binding support available for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose binding support you wish to view.
Source - C = Configuration support, L = Live support
Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Enables and sets the binding support(s) for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose binding support you wish to set and enable.
BindFlag - *D = Binding by D_ID, P = Binding by WWPN, * N = Binding by WWNN, *A = Binding by Automap, DA = Binding by D_ID and Automap, PA = Binding by WWPN and Automap, NA = Binding by WWNN and Automap
* Not available for the Storport Miniport driver.

Supported by: Windows, Solaris LPFC and Solaris emlxs (SFS).
Description: Sets all driver parameters for the HBA to the driver parameter values contained in the specified .dpv file type. The .dpv file’s driver type must match the driver type of the host platform HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose driver parameters you wish to set.
FileName - Name of the .dpv file (the file is stored in the Emulex Repository directory).
Flag - G = Make change global (all HBAs on this host), N = Make change non-global (HBA-specific)
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server. For ESX Server, the driver used the DriverParams command, but it has the same format as GetDrverParams.
Description: Shows the name and values of each driver parameter for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose driver parameters you wish to view.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server. For ESX Server, the driver used the DriverParamsGlobal command, but it has the same format as GetDrverParamsGlobal.
Description: Shows the name and the global value of each driver parameter for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose driver parameter global names and values you wish to view.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description for Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux: Allows you to change the value of a driver parameter and designate the scope of that change.
Description for ESX Server: Allows you to change the values of dynamic parameters and temporarily set values.
VMware utility. See the Emulex Driver for VMware ESX user manual for more information.

Parameters:
WWPN - World Wide Port Name of the HBA whose driver parameters you wish to change.
Flag1 - L = Make change local for this HBA only, G = Make change global (all HBAs on this host)
Flag2 - P = Make change permanent (persists across reboot), T = Make change temporary
global, B = Both, N = Neither. Because P and B are not supported on VMware ESX Server you can only use G or N.
Param - Name of the parameter to modify.
Value - New value you want to assign to the parameter (Input as decimal, prefix with 0x to input as hex).
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Changes all values to the default for the HBA(s).
Parameters:
WWPN - World Wide Port Name of the HBA whose values you want to change to the default.
Flag1 - L = Make changes local for this HBA only, G = Make changes global (all HBAs on this host)
Flag2 - P = Make changes permanent (persists across reboot), T = Make changes temporary
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS), Linux and VMware ESX Server.
Description: Enables or disables the boot code on the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose boot code you wish to enable or disable.
Flag - E = Enable the boot code, D = Disable the boot code
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Retrieves the authentication configuration for the HBA.
Parameters:
WWPN1 - World Wide Port Name of the HBA whose configuration data you wish to retrieve.
WWPN2 - Must be ff:ff:ff:ff:ff:ff:ff:ff

Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Sets the authentication configuration for the HBA.
Parameters:
WWPN1 - World Wide Port Name of the HBA whose authentication configuration you wish to set.
WWPN2 - Must be ff:ff:ff:ff:ff:ff:ff:ff
PasswordType - 1 = ASCII, 2 = Hex (binary), 3 = Password not yet defined
Password - Current password value
Parameter - Parameters include Mode, Timeout, Bi-directional, Hash-priority, DH-priority, Re- authentication, Re-authentication-interval
Value - Parameter-specific value: Mode = , Timeout = time in seconds, Bi- directional = , Hash-priority = (md5 = first md5, then sha1; sha1 = first sha1, then md5), DH-priority = , any combination up to 5 digits, Re-authentication = , Re-authentication-interval = < 0, 10 - 3600>
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Sets the password for the HBA.
Parameters:
WWPN1 - World Wide Port Name of the HBA for which you wish to set a password.
WWPN2 - Must be ff:ff:ff:ff:ff:ff:ff:ff
Flag - 1 = Local (password used by HBA when HBA authenticates to the switch), 2 = Remote (password used by HBA when switch authenticates to the HBA)
Cpt - Current password type is 1 = ASCII or 2 = Hex (binary), 3 = Password not yet defined
Cpw - Current password value.
Npt - New password type is 1 = ASCII or 2 = Hex (binary)
Npw - New password value.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Deletes the authentication configuration on the HBA.
Parameters:
WWPN1 - World Wide Port Name of the HBA whose authentication configuration you wish to delete
WWPN2 - Must be ff:ff:ff:ff:ff:ff:ff:ff
PasswordType - 1 = ASCII, 2 = Hex (binary), 3 = Password not yet defined
Password - Current password value.

Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Initiates the authentication configuration on the HBA.
Parameters:
WWPN1 - World Wide Port Name of the HBA whose authentication configuration you wish to initiate.
WWPN2 - Must be ff:ff:ff:ff:ff:ff:ff:ff
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Shows PCI configuration data for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose configuration data you wish to view.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Shows wakeup parameter data for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose wakeup parameter data you wish to view.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Shows the arbitrated loop map data for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose arbitrated loop map data you wish to view.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Shows the current beacon status for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose current beacon you wish to view.

Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Sets the current beacon status for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose beacon you wish to change.
BeaconState - New state of the beacon: 0 = Off, 1= On
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Runs the POST on the HBA. Support for a remote HBA is TCP/IP access only.
Parameters:
WWPN - World Wide Port Name of the HBA on which you wish to run a POST.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Runs the echo test on HBAs.
target WWPN does not support the ECHO ELS command.
Parameters:
Source WWPN - World Wide Port Name of the originating HBA.
Destination WWPN - World Wide Port Name of the destination (echoing) HBA.
Count - Number of times to run the test. 0 = run test infinitely
StopOnError - Should the test be halted on Error? 0 = No halt, 1 = Halt
Pattern - Hexadecimal data pattern to transmit (up to 8 characters).
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Runs the loop test on the HBA specified by the WWPN.
Parameters:
WWPN - World Wide Port Name of the HBA on which you wish to run loopback.
Type - 0 = PCI LoopBack Test, 1 = Internal LoopBack Test, 2 = External LoopBack Test
Count - Number of times to run the test (0 = run test infinitely, Range = 1...99,999)
StopOnError - Should the test be halted on Error? 0 = No halt, 1 = Halt
Pattern - Hexadecimal data pattern to transmit (up to 8 characters).

Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Displays the maximum number of diagnostic dump files that be can stored for an HBA. Creates a diagnostic dump file in the hbacmd dump file directory.
Parameters:
WWPN - World Wide Port Name of the HBA whose dump information you wish to view.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Displays the maximum number of diagnostic dump files stored for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA on which you wish to get the retention count.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Specifies the maximum number of diagnostic dump files stored for the HBA. When the number reaches the retention count limit, the next dump operation will cause the oldest diagnostic dump files for that HBA to be deleted.
Parameters:
WWPN - World Wide Port Name of the HBA on which you wish to set the retention count.
Value- Value you want to assign to the set retention count.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Displays the dump file directory associated with the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA on which you wish to view the dump directory.
Supported by: Windows, Solaris LPFC, Solaris emlxs (SFS) and Linux.
Description: Deletes all diagnostic dump files for the HBA.
Parameters:
WWPN - World Wide Port Name of the HBA whose diagnostic dump files you wish to delete.

There are several circumstances in which your system may operate in an unexpected manner. The Troubleshooting section explains many of these circumstances and offers one or more workarounds for each situation.
A Fibre Channel link fails to come up. If a Fibre Channel link fails to come up, verify that an 8-Gb HBA is not attempting to connect to a 1-Gb device. Only 2-Gb, 4-Gb and 8-Gb devices are supported on 8-Gb HBAs.
When attempting to start HBAnyware the Web browser displays “Emulex Corporation HBAnyware Demo of HBAnyware WebStart web n.n.n.n...”
Operating Error Occurs When Attempting to Run HBAnyware. When you attempt to run the utility, an operating system error may occur. The computer may freeze.
Reboot the system.
Cannot See Multiple Zones from the Management Server. Cannot see multiple zones on the same screen of my management server running HBAnyware.
Provide a physical FC connection into each of the zones. For each zone you want to see, connect an HBAnyware utility enabled port into that zone.
Cannot See Other HBAs or Hosts. Although HBAnyware is installed, only local HBAs are visible. The other HBAs and hosts in the SAN cannot be seen.
to be discovered and managed. Remote capabilities of HBAnyware are subject to fabric zoning configuration. Remote hosts to be discovered and managed by HBAnyware must be in the same zone.
Situation Resolution

SAN Management Workstation Does Not Have an FC Connection. The SAN management workstation does not have a physical FC connection into the SAN because the other management tools are all out-of-band. Can HBAnyware be run on this SAN management workstation?
HBAnyware can communicate with remote HBAs using out-of- band access as long as the remote host is running HBAnyware. To solve this problem: 1. Start HBAnyware. 2. From the Main menu, select Discovery/Out-of-Band/Add Host. The Add Remote Host dialog box appears. 3. In the Add Remote Host dialog box, enter either the name or the IP-address of the host and click OK. When the selected host is discovered, that host and any HBAs running on it will be displayed in the discovery tree.
Cannot See New LUNs. Although new LUNs were created on the storage array, they do not appear in HBAnyware.
Refresh the screen.
The HBAnyware Security Configurator software package will not install. An error message states that the latest version of the HBAnyware utility must be installed first.
The system either has no HBAnyware software installed or has an older version of the HBAnyware software installed. In either case, obtain the latest version of the HBAnyware software and follow the installation instructions. Remember to install the HBAnyware software before installing the Security Configurator package.
Cannot access formerly accessible servers via the Security Configurator or the HBAnyware utility.
See Table 22 on page 147 for details regarding these problems.
Cannot run the Security Configurator on a system that is configured for only secure access. I cannot run the Security Configurator on a system that is configured for only secure server access (it has no client privileges). The following message is displayed when the Security Configurator starts: “This system is not allowed client access to remote servers. This program will exit.”
You cannot run the Security Configurator on a system that is configured for only secure server access. Click OK to close the message and the Configurator stops.
Situation Resolution

lputilnt Installs, but HBAnyware Does Not. When you run setupapps.exe, lputilnt installs but HBAnyware does not. You have attempted to manually install the utilities for the driver before manually installing the driver
Perform the installation tasks in the following order: 1. Install the driver (see the Installation section of the Storport User Manual). 2. Install the utilities (see the Installation section of the Storport User Manual).
The HBAnyware Utility Appears on Remote Servers in the SAN.
To prevent the HBAnyware utility from appearing on remote servers in the SAN, disable the elxhbamgr process:
Cannot access formerly accessible servers via the Security Configurator or the HBAnyware utility.
See Table 22 on page 147 for details regarding these problems.
If a SAN configuration has 256 targets mapped by the lpfc driver, any additional added targets do not get a target ID mapping by the driver and cause target discovery to fail. Removing targets or reinitializing the link does not solve the problem.
Unload and reload the driver to reset available target IDs. Ensure that the SAN configuration is correct prior to reloading the driver. This will clear the driver’s consistent binding table and free target IDs for new target nodes.
Situation Resolution · Situation Resolution · Situation Resolution

In some cases, after loading an OEM supplied combined firmware/OpenBoot image you will not be able to enable BootBIOS from the lputil Boot BIOS Maintenance menu. If you encounter this problem after loading the OEM combined firmware/OpenBoot image, follow the steps outlined in the resolution.
rmmod fails to unload lpfc driver module due to ERROR: Module lpfc is in use. This message can appear when you attempt to remove the driver and there is a Logical Volume Group dependent on the driver.
Make the Logical Volume Group unavailable. Type: lvchange -a n xxxxxxx where xxxxxx is the Volume Group Name.
LP1005DC-CM2 reported as the LP1050DC. When running lspci or kudzu utilities, you may see the Emulex FC Host Adapter LP1005DC-CM2 reported as the Emulex FC Host Adapter LP1050DC for the pci_id address f0a5. This is due to a delay in getting the pci_id tables updated in the Red Hat and SuSE distributions.
None at this time.
An lspci will show recent Emulex HBAs as "unknown". This is because of the delay of getting new product ID's into the Red Hat and SuSE development cycle.
None at this time.
Slow targets or extended link faults on the storage side may result in storage being marked off-line by the mid-layer and remaining off-line (not recovered) when the link faults are corrected.
This version of the driver should eliminate this problem. However, if you experience off-line device issues, increase the SCSI command timeout to a value greater than or equal to sixty seconds. Emulex also provides a script which addresses this issue (for 2.6 kernels). To access the lun_change_state.sh script, click http://www.emulex.com/support/linux/index.jsp then click the link to the appropriate driver, and click the Linux tools link.
Under certain conditions of an I/O load, some targets cannot retire an I/O issued by a Linux initiator within the default timeout of 30 seconds given by the scsi midlayer. If the situation is not corrected, the initiator-to-target condition deteriorates into abort/recovery storms leading to I/O failures in the block layer. These types of failures are preceded by a SCSI IO error of hex 6000000.
Emulex provides a script which addresses this issue. To access the set_target_timeout.sh script, click http://www.emulex.com/ support/linux/index.jsp, then click the link to the appropriate driver, and click the Linux tools link.
lpfc driver fails to recognize an HBA and logs "unknown IOCB" messages in the system log during driver load. The HBA is running outdated firmware.
Upgrade HBA firmware to minimum supported revision listed in installation guide (or newer).
Situation Resolution

Loading lpfc or lpfcdfc driver on SLES 9 reports "unsupported module, tainting kernel" in system log.
This message is logged by the SLES 9 kernel whenever a module which is not shipped with the kernel is loaded. This message can be ignored.
rmmod of lpfc driver hangs and module reference count is 0.
Due to a small race condition in the kernel it is possible for an rmmod command to hang. Issue the rmmod -w command. If this does not help, reboot the computer.
System panics when booted with a failed HBA installed.
Remove the failed HBA and reboot.
lpfc driver unload on SLES 9 causes messages like the following to be logged in the system log: "umount: /dev/disk/by- path/pci-0000:02:04.0-scsi-0:0:1:0: not mounted"
These messages are normal output from the SLES 9 hotplug scripts and can be safely ignored.
rmmod fails to unload driver due to Device or resource busy. This message occurs when you attempt to remove the driver without first stopping HBAnyware, when HBAnyware is installed and running or when FC disks connected to a LightPulse HBA are mounted.
Stop HBAnyware before attempting to unload the driver. The script is located in the /usr/sbin/hbanyware directory. Type: ./stop_hbanyware Unmount any disks connected to the HBA. Unload the driver. Type: rmmod lpfcdfc Type: rmmod lpfc
Driver Install Fails. The lpfc-install script fails to install the driver.
"No module lpfc found for kernel" error message. When upgrading the kernel, rpm generates the following error: "No module lpfc found for kernel KERNELVERSION".
A recently upgraded kernel cannot find the ramdisk. After upgrading the kernel, the kernel cannot find the ramdisk which halts or panics the system.
The driver is not loaded after a system reboot after upgrading the kernel.
Driver uninstall fails. The lpfc-install -- uninstall script fails with an error.
lpfc-install script exit code. The lpfc-install script contains exit codes that can be useful in diagnosing installation problems. See the lpfc-install script for a complete listing of codes and definitions.
Situation Resolution

The HBAnyware software package will not install. An error message states that: "inserv Service Elxlpfc has to be enabled for service ElxDiscSrvinserv: exiting now/sbin/ inserv failed exit code 1."
Reinstall the driver with the lpfc-install script.
The Emulex driver for Linux does not load in ramdisk for a custom built kernel.
The Linux SCSI subsystem only sees 8 LUNs when more are present.
Some SCSI drivers will not scan past 8 LUNs when the target reports as a SCSI-2 device. Force SCSI Bus scan with /usr/sbin/ lpfc/lun_scan. SuSE supplies /bin/rescan-scsi-bus.sh which can be changed to scan everything.
Cannot See Any HBAs. You launch HBAnyware and no HBAs are visible.
Situation Resolution

Cannot See Other HBAs or Hosts. Although HBAnyware is installed, only local host bus adapters (HBAs) are visible. The other HBAs and hosts in the SAN cannot be seen.
hosts that are to be discovered and managed. If the HBAnyware Security Configurator is running, only the master or Access group client can see the servers.
Cannot See New LUNs. Although new LUNs were created on the storage array, they do not appear in HBAnyware.
Try the following: 1. Refresh the screen. 2. Exit HBAnyware and restart HBAnyware. If new LUNs are visible, you are finished. If that doesn't work, try the following: 1. Exit HBAnyware. 2. Navigate to /usr/sbin/hbanyware. 3. Run ./stop_hbanyware to stop both the elxhbamgr and elxdiscovery processes. 4. Run ./start_elxhbamgr and ./start_elxdiscovery to restart both processes. 5. Start HBAnyware.
Unwanted Remote Servers Appear in HBAnyware
To prevent unwanted servers from appearing in HBAnyware, do the following: 1. Navigate to /usr/sbin/hbanyware. 2. Run ./stop_hbanyware to stop both the elxhbamgr and elxdiscovery processes. 3. Run ./start_elxhbamgr and ./start_elxdiscovery to restart both processes. Disabling this service or process prevents the local servers from being seen remotely.
Cannot access formerly accessible servers via the Security Configurator or the HBAnyware Utility.
Situation Resolution

All servers are not displayed. When I run the Security Configurator on the Master Security Client (MSC), I do not see all of the systems in available servers or ACG Servers lists. When I run the Security Configurator on a non-MSC, I do not see all of the systems I should see in the ACG Servers list.
Make sure all of the systems are connected to the FC network and are online when you start the Configurator. Discovery of the systems is done only once, at startup. Unlike the HBAnyware utility, there is no Rediscover Devices button. Therefore, the Security Configurator must be restarted to rediscover new systems.
Cannot add or remove a server. The Security Configurator shows only a list of the systems in this system's ACG. I cannot add or remove systems from the ACG.
This is normal. You can modify the ACG for your system only on the MSC or on a parent client system.
HBAnyware utility shows non-ACG Servers. The HBAnyware utility shows servers that are part of the ACG and that are not part of the ACG.
The HBAnyware utility discovers unsecured servers as well as servers that are part of its ACG. The servers you see that are not part of the ACG are unsecured. They will be discovered by any system running the HBAnyware utility on the same FC fabric.
ASG Appears to Be Non-Hierarchical. It is possible from a higher-level client (such as the MSC) to create an ASG 1 with system A as the client and systems B, C, D, and E as servers. Then create an ASG 2 with system E as the client, but with systems F and G as servers even though F and G are not part of ASG 1. This makes the topology non- hierarchical.
See “Non-Hierarchical and Hierarchical ASG” on page 148 for a discussion and a resolution to this situation.
Cannot add or remove a server. When all of the systems in an ACG are running on a single fabric, they are all available to be added to any ASG. However, if the client is connected to more than one fabric, it is possible that not all of the servers in the client's ACG are physically accessible by a chosen client for an ASG. In this case, those servers are not available to be added to that ASG. If you add a system to an ASG as a server, and then make the system a client to a child ASG, you cannot remove it from the ACG it belongs to as a server until you delete the ASG to which it is a client. Before you delete a server from an ASG, you must first remove the server from any lower level ASGs to which it belongs.
Situation Resolution · Situation Resolution

In the ASG tree of the Access Sub-Groups tab, one or more of the names of the ASGs is displayed as "- ASG (Client Offline) -".
See Table 22 on page 147 for details regarding these problems.
Not All Servers are available to an ASG. When you create a new ASG or modify an existing ASG, not all of the servers in the ACG are available to be added to the ASG.
A client system can be connected to more than one fabric. While the system the Security Configurator is running on may be able to access all of the servers in its ACG, it is not necessarily the case that the selected client for the ASG can access all of the servers. Only those that can be accessed by the selected server will be available.
Situation Resolution

Cannot create a backup master. Select a system (or group of systems) from the MSC to be the Backup Master. The system must be either an unsecured system (which will be secured by being made a Backup Master), or a system that is not part of any ASG (client or server). These systems will mirror the MSC's security configuration. Because the Backup Master may some day take over as the MSC, the Backup Master must be able to physically access all of the systems that the MSC can access. Therefore, if the MSC is connected to multiple fabrics, the Backup Master also must be connected to those same fabrics. When you select a Backup Master, the HBAnyware Security Configurator displays a warning if it detects that the system selected to be a Backup Master is not able to physically access the same systems that the MSC can access.
Cannot modify the Security Configurator. Select a system (or group of systems) from the MSC to be the Backup Master. The system must be either an unsecured system (which will be secured by being made a Backup Master), or a system that is not part of any ASG (client or server). These systems will mirror the MSC's security configuration. The Backup Master has client access from the HBAnyware utility to all of the servers in the MSC's ACG. However, the Backup Master does not have client access to the MSC and it cannot modify the security configuration (create, modify or delete ASGs).
No Backup Master and the MSC is no longer available. I do not have a Backup Master and the MSC system is no longer available. The servers are still secure. I installed the Security Configurator on another system, but I cannot access those servers to remove the security from them.
The servers are no longer part of a valid security configuration because there is no MSC to provide master control of the configuration. In order to reset the security on the affected servers, you must contact Emulex Technical Support to receive a special application and instructions on the reset procedure. After the servers have been reset, they should be seen by the Security Configurator and the HBAnyware utility. At this point, you can set up security again through another MSC. At this time, also create a Backup Master.
The Backup Master tab is not available. The Backup Master tab is displayed only when the Security Configurator is running on the MSC or a Backup Master. You use this tab to set up a system or systems to be backups to the MSC and to replace the MSC with a Backup Master. Each time you start the Security Configurator on the MSC and there is no Backup Master assigned, a warning message urges you to assign at least one Backup Master to prevent the loss of security information if the MSC were to become disabled.
Situation Resolution

The Access Sub-Group name already exists. Please use a different name. This message appears when you create an ASG.
You entered a duplicate ASG name in the Access Sub- Group Name field. At each level of the security topology, each ASG name must be unique. Click OK on the message and enter a unique ASG name.
The Access Sub-Group parent’s ASG is offline. You should delete the ASG when the parent ASG is available. This ASG should only be deleted if the parent ASG will not be available again. Are you sure you want to delete this ASG? This error message appears when you delete an ASG.
The offline ASG entry serves as a placeholder for where the real ASG would be in the tree. You can neither modify nor delete it (although it is removed from the display if all of the child ASGs are deleted). It is possible to delete the child ASGs of the offline ASG. However, it is recommended that you delete them only if the client for the offline ASG will never be put online again. It is best to delete child ASGs when the parent ASG is online. Click Yes on the error message to delete the ASG or No to close the message without deleting.
This system is not allowed client access to remote servers. This program will exit.This message appears when you start the Security Configurator:
The system you are running the Security Configurator on is already under the security umbrella as a server to one or more clients. To make this server a client (so that it can successfully run the Security Configurator), click OK to close the message and exit the program, then do the following: 1. Run the Security Configurator on the MSC or on any client that has this server in its ASG. 2. Make this server a client to a group of servers.
There are no Backup Master Client Systems assigned to this security configuration. At least one should be assigned to avoid loss of the security configuration should the Master Client System become disabled.This message appears when you start the Security Configurator.
Use the Backup Master tab to assign a Backup Master for the MSC.
This utility is running on an unsecure system. Continuing will allow you to set up a new security configuration making this system the Master Client System. This message appears the first time you start the Security Configurator in an unsecure environment.
Click OK on the message and complete the ACG setup. The system on which the Security Configurator is running will become the MSC.
Because each Backup Master system receives all the updates that the MSC makes to the security configuration, the Backup Master systems must be online when the Security Configurator is running on the MSC. Otherwise, updates to the security configuration are not reflected to the Backup Master. If the Backup Master becomes the MSC, corruption of the security configuration may occur. Click OK to close the message.
Situation Resolution

The MSC is no longer bootable or able to connect to the FC network.
You must reassign a Backup Master as the new MSC from the Backup Master.
relinquish control to a Backup Master. For example, if the MSC is no longer bootable or able to connect to the FC network. Under any other circumstances, if the Backup Master takes over as the MSC and the MSC is still running or comes back online later, there will be two MSCs for the same security configuration. This will eventually lead to corruption of the security configuration.
New Keys Were Generated While Servers Were Offline. A "Generate New Keys" operation was performed while one or more of the servers were offline. Now those servers can no longer access the HBAnyware Security Configurator or the HBAnyware utility.
The servers are no longer part of the security configuration. In order to reset the security on the affected servers, you must contact Emulex Technical Support to receive a special application and instructions on the reset procedure. After the servers have been reset, they can be added back into the security topology by the MSC.
when you run the Security Configurator on the MSC or a parent client of this client, its label in the ASG tree of the Access Sub-Group tab will be "- ASG (Offline Client) -". You must delete the ASG (after deleting the child ASGs) and recreate the ASG configuration of this client and its child ASGs.
Security Removed While Servers Were Offline. Security was removed while one or more servers were offline. I can no longer access those servers from the Security Configurator or the HBAnyware utility.
The servers are no longer part of the security configuration. In order to reset the security on the affected servers, contact Emulex Technical Support to receive a special application and instructions on the reset procedure. After the servers have been reset, they should be seen by the Security Configurator or the HBAnyware utility.
Situation Resolution

It is possible from a higher-level client (such as the MSC) to create an ASG 1 with system A as the client and systems B, C, D, and E as servers. Then create an ASG 2 with system E as the client, but with systems F and G as servers even though F and G are not part of ASG 1. This makes the topology non- hierarchical (see Figure 63).

System E is part of ASG 1, but has been made a client of ASG 2, and both of the servers in ASG 2 are not part of ASG 1. You could not create this ASG on system A, but you could on the MSC (or on a parent client) because it can access systems F and G. Although not shown in the picture, it is also possible to make system A a server in ASG 2, creating a case where system A and system E are both clients and servers to/of each other.
While the Security Configurator will allow you to set up ASGs this way, it is best not to create a topology like this as it can lead to confusion. The best way is to set up the ASG on the MSC (or a higher-level parent) where the clients and servers do not cross over into other ASGs. Then set up ASGs on clients of those ASGs in the same manner, keeping the topology hierarchical (see Figure 64)


Pages referenced in this manual — manufacturer, support and downloads.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.