Emulex EMULEX manual Command Descriptions emlxdrv, Setemlxs alias, Setemlxssun, Setemlxsall

Page 32

#

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, see Command Descriptions (emlxdrv) on page 28.

Command Descriptions (emlxdrv)

This section provides a list of commands that can be issued with the emlxdrv utility program. You can view the list of commands at any time by running the emlxdrv utility in interactive mode (see Interactive Mode (emlxdrv) on page 26).

set_emlxs <alias>

Sets the emlxs driver to bind to the specified devices. You must specify one of the valid adapter aliases listed on the screen. Note that 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.

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> set_emlxs f980

Updating f980 ...

Cannot unload module: lpfc

Will be unloaded upon reboot.

Done.

set_emlxs_sun

Sets the emlxs driver to bind to all Sun devices.

Example:

emlxdrv> set_emlxs_sun

Updating fc00 ...

Done.

set_emlxs_all

Sets the emlxs driver to bind to all devices. 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> set_emlxs_all

Updating lpfs ...

Updating f800 ...

Updating f900 ...

Cannot unload module: lpfc

Will be unloaded upon reboot.

Updating f980 ...

Cannot unload module: lpfc

Will be unloaded upon reboot.

Updating fa00 ...

Updating fd00 ...

FCA Utilities Reference Manual

Page 28

Image 32
Contents FCA Utilities FCA Utilities Reference Manual Introduction Using the emlxdrv Utility HbaFibre Channel Overview Solaris Fibre Channel StackSolaris Software Stack Installing the Utilities Enter y. The following message is displayedRemoving the Utilities Using the emlxuremove Script To remove the emlxu utilities package, do the following Installing the Utilities Package ManuallyRemoving the Utilities Package Manually Update the emlxu utilities by doing the following Updating the Utilities Package ManuallyInteractive Mode emlxadm Modes of Operation emlxadmCommand Descriptions emlxadm CLI Mode emlxadmGetlogiparams wwpn GetnumdevsGetdevlist FCA Utilities Reference Manual Gethostparams GetsympnameSetsympname string GetsymnnameDevlogin wwpn DevlogoutGetstate wwpn Devremove wwpnGetbootrev Downloadfcode filenameGetfwrev Downloadfw filenameDownloadboot filename Downloads the specified boot image file to the HBA ExampleGetdumpsize ForcedumpResetlink wwpn or zero for local link ResethardResethardcore GettopologyType PID Returns the total number of configurable parameters Example Returns a list of configurable parameters ExampleParmgetnum ParmgetlistFCA Utilities Reference Manual Parmget label Gets the value of a specified parameter in the driverExample This example attempts to set a static parameter Parmset label valueMsgbuf all or number -i interval Displays all of the current host HBA API attributes Example GethostattrsGetportattrs index, wwn or all Seagate ST39103FC = Seagate ST39103FC Exits the utility program Example Displays a help menu of utility commands ExampleGetpath index Repeats the last command Example HbaEmlxdrv utility program can be run in two modes Interactive Interactive Mode emlxdrvModes of Operation emlxdrv CLI Mode emlxdrv Command Descriptions emlxdrv Setemlxs aliasSetemlxssun SetemlxsallCleardev alias Setlpfc aliasSetlpfcnonsun Clearlpfc ClearemlxsClearsun ClearnonsunClearall Emlxdrv q Exiting