Onecommand manager application user manual (p004343-01a version 5.0, february 2010) (223 pages)
Summary of Contents for Emulex EMULEX
Page 1
FCA Utilities Reference Manual Version 1.00m for use with the Emulex®-Sun LightPulse® Fibre Channel Adapter Driver (emlxs)
Page 2
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.
Table of Contents Introduction ...1 Fibre Channel Overview ... 1 The Solaris Fibre Channel Stack ... 1 Installing the Utilities ...3 Installing or Updating the Utilities Using the emlxu_install Script ... 3 Removing the Utilities Using the emlxu_remove Script... 4 Installing the Utilities Package Manually ...
Page 4
Table of Contents h ... 24 hba ... 25 p ... 25 Using the emlxdrv Utility ...26 Modes of Operation (emlxdrv) ... 26 Interactive Mode (emlxdrv) ... 26 CLI Mode (emlxdrv) ... 27 Command Descriptions (emlxdrv)... 28 set_emlxs <alias>... 28 set_emlxs_sun ...
(I/O) interface to the rest of the system. The Emulex-Sun LightPulse® HBA device driver for Solaris, emlxs, is a Fibre Channel adapter (FCA) driver as specified by the Sun Fibre Channel architecture (also known as Leadville). The heart of the Sun Fibre Channel architecture consists of the Fibre Channel transport layer (FCTL) modules, which provide a common interface for various Fibre Channel adapters on a host.
Page 6
Figure 1 shows the software stack for network operations and SCSI operations from the standpoint of a Solaris host. Figure 1: The Solaris Software Stack FCA Utilities Reference Manual Page 2...
Foundation Software package and all the recommended patches as described in the Sun StorEdge SAN Foundation Software Installation Guide provided by Sun. The Emulex utility programs are provided as part of the emlxu utilities kit. You can download the emlxu utilities kit (for example, emlxu_kit-1.00x-sparc.tar for SPARC platforms or emlxu_kit-1.00x-i386.tar for x86/x64 platforms) from the Sun page of the Emulex Web site (http://www.emulex.com/ts/docoem/sun/...
12. Examine the output for any errors or warnings. If the installation is successful, the following message is displayed near the end of the process: Installation of <EMLXemlxu> was successful. 13. The script performs some cleanup and displays the following messages: <Cleaning directory>...
Caution: Before installing the Emulex utilities package, you must first install the Sun StorEdge SAN Foundation Software package and all the recommended patches as described in the Sun StorEdge SAN Foundation Software Installation Guide provided by Sun.
2. You are prompted to confirm the removal by the following message: Do you want to remove this package? [y,n,?,q] 3. Enter y. The package is prepared for removal, and you are prompted again for confirmation: Do you want to remove this package? [y,n,?,q] 4.
reset_link <wwpn,0> - Resets the link of a specified FC device. reset_hard - Reset the HBA. reset_hard_core - Reset the HBA firmware core. diag <test> - Perform a diagnostic test on the HBA. ns - Performs a complete query of the fabric name server. parm_get_num - Returns the total number of configurable parameters.
get_num_devs Returns the number of FC devices currently seen by this HBA port. Example: emlxadm> get_num_devs There are 4 devices reported on this port. get_dev_list Returns a list of FC devices currently seen by this HBA port. Example: emlxadm> get_dev_list ----------------------------------------------- Device 0: Dtype: 0...
Sets the symbolic FC port name of the HBA to the string provided. This operation is currently not supported by the Solaris Leadville stack. Example: emlxadm> set_sym_pname "Emulex Corporation" ioctl: FCIO_SET_SYM_PNAME: Operation not supported get_sym_nname Returns the symbolic FC node name of the HBA port. This operation is currently not supported by the Solaris Leadville stack.
dev_login <wwpn> Performs an FC login to an FC device on the network, if not already logged in. Example: emlxadm> dev_login 21000020371938fa Done. dev_logout Performs an FC logout to an FC device on the network, if not already logged in. Example: emlxadm>...
download_fcode <filename> Downloads the specified FCode image file to the HBA. Example: emlxadm> download_fcode LP10000DC-S.fcode Image Components: REL type DWC file: BOOT: version=03841512, 1.50a2 Current: Fcode: 1.50a1 New: Fcode: 1.50a2 Are you sure you want to download this image? (y or n): y Downloading...
emlxadm> get_boot_rev Firmware revision: LP10000DC-S 5.01a4 download_boot <filename> Downloads the specified boot image file to the HBA. Example: emlxadm> download_boot TL501A4.PRG Image Components: REL type DWC file: BOOT: version=03845054, 5.01a4 Current: Boot: 5.01a2 New: Boot: 5.01a4 Are you sure you want to download this image? (y or n): y Downloading...
<test [parameters]> or diag code <cmd_code (hex)> Performs the specified diagnostics function or command code on the HBA port. This command provides support for the Emulex-specific tests shown below, or generic support to issue an HBA-specific diagnostic code (in hexadecimal) to any third party HBA.
Example: emlxadm> parm_get adisc-support label: adisc-support min: 0 current: 1 max: 2 default: 1 dynamic: yes desc: Sets the Fibre Channel ADISC login support level. parm_set <label> <value> Sets the value of a specified parameter in the driver. Only dynamic parameters can be set. Example: This example sets a dynamic parameter: emlxadm>...
Fabric Name get_path <index> Displays the current Solaris device path for a specified HBA port. The total number of ports available can be seen in the "Number of HBA ports" attribute displayed using the get_host_attrs command. The <index> argument is an index into this list. Example: emlxadm>...
parm_set <label> <val> - Sets the value of a specified parameter in the driver. msgbuf all or <number> [-i interval] - Returns the driver's internal message log. get_host_attrs - Returns the host adapter and port attributes. get_port_attrs <index>, <wwn> or all - Returns the port attributes. get_path <index>...
Channel) driver and the Emulex lpfc (traditional non-Leadville Fibre Channel) driver to the various models of Emulex Fibre Channel HBAs. This allows both drivers to coexist in the same host and attach to mutually exclusive Emulex Fibre Channel HBA models. In other words, the emlxs driver can be configured to attach and operate one set of HBA models, while the lpfc driver can be configured to attach and operate a different set of HBA models.
Sun: Indicates whether this specific type of adapter is branded and sold directly by Sun Microsystems. • Models: Provides a list of Emulex HBA models that are identified by a common adapter alias. Driver bindings can be made only with a specific adapter alias and not with a specific adapter model.
This mode of operation enables you to use the emlxdrv utility as part of a script or another program capable of executing system-level calls. For a detailed explanation of each command and its arguments, Command Descriptions (emlxdrv) Command Descriptions (emlxdrv) This section provides a list of commands that can be issued with the emlxdrv utility program.
Updating fe00 ... Updating fc00 ... Done. set_lpfc <alias> Sets the lpfc driver to bind to the specified devices. You must specify one of the valid adapter aliases listed on the screen. Each alias is shared by multiple adapter models. Driver bindings can be made only with an adapter alias and not with a specific adapter model.
clear_lpfc Clears all lpfc driver bindings. You may see the message "Cannot unload module". This indicates that you must reboot the system to get a driver to unbind from that adapter alias; emlxdrv only updates the system configuration for the next boot. Example: emlxdrv>...
Will be unloaded upon reboot. Updating f800 ... Cannot unload module: emlxs Will be unloaded upon reboot. Updating f900 ... Cannot unload module: lpfc Will be unloaded upon reboot. Updating f980 ... Cannot unload module: lpfc Will be unloaded upon reboot. Updating fa00 ...
Page 36
Done. Exits the program. If changes were made to the driver bindings, a system reboot is usually required in order for all the changes to take effect. Example: emlxdrv> Exiting... NOTE: If changes were made, then a system reboot may be required. FCA Utilities Reference Manual Page 32...
Need help?
Do you have a question about the EMULEX and is the answer not in the manual?
Questions and answers