Emulex EMULEX manual Setlpfc alias, Setlpfcnonsun, Cleardev alias

Page 33

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.

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_lpfc fa00

Updating fa00 ...

Cannot unload module: emlxs

Will be unloaded upon reboot.

Done.

set_lpfc_nonsun

Sets the lpfc driver to bind to all non-Sun 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_lpfc_nonsun

Updating lpfs ...

Updating f800 ...

Updating f900 ...

Updating f980 ...

Updating fa00 ...

Cannot unload module: emlxs

Will be unloaded upon reboot.

Updating fd00 ...

Updating fe00 ...

Done.

clear_dev <alias>

Clears driver binding to the specified devices. You must specify one of the 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.

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> clear_dev fe00

Updating fe00 ...

Cannot unload module: emlxs

Will be unloaded upon reboot.

Done.

FCA Utilities Reference Manual

Page 29

Image 33
Contents FCA Utilities FCA Utilities Reference Manual Introduction Hba Using the emlxdrv UtilitySolaris Fibre Channel Stack Fibre Channel OverviewSolaris Software Stack Enter y. The following message is displayed Installing the UtilitiesRemoving the Utilities Using the emlxuremove Script Installing the Utilities Package Manually Removing the Utilities Package ManuallyTo remove the emlxu utilities package, do the following Updating the Utilities Package Manually Update the emlxu utilities by doing the followingModes of Operation emlxadm Interactive Mode emlxadmCLI Mode emlxadm Command Descriptions emlxadmGetnumdevs GetdevlistGetlogiparams wwpn FCA Utilities Reference Manual Getsympname GethostparamsSetsympname string GetsymnnameDevlogout Devlogin wwpnGetstate wwpn Devremove wwpnDownloadfcode filename GetbootrevGetfwrev Downloadfw filenameDownloads the specified boot image file to the HBA Example Downloadboot filenameGetdumpsize ForcedumpResethard Resetlink wwpn or zero for local linkResethardcore GettopologyType PID Returns a list of configurable parameters Example Returns the total number of configurable parameters ExampleParmgetnum ParmgetlistFCA Utilities Reference Manual Gets the value of a specified parameter in the driver Parmget labelParmset label value Msgbuf all or number -i intervalExample This example attempts to set a static parameter Gethostattrs Getportattrs index, wwn or allDisplays all of the current host HBA API attributes Example Seagate ST39103FC = Seagate ST39103FC Displays a help menu of utility commands Example Getpath indexExits the utility program Example Hba Repeats the last command ExampleInteractive Mode emlxdrv Modes of Operation emlxdrvEmlxdrv utility program can be run in two modes Interactive CLI Mode emlxdrv Setemlxs alias Command Descriptions emlxdrvSetemlxssun SetemlxsallSetlpfc alias SetlpfcnonsunCleardev alias Clearemlxs ClearlpfcClearsun ClearnonsunClearall Emlxdrv q Exiting