Q-Logic 8100 SERIES manual FC HBA Change LUN State Utility Command Line Options

Models: 8100 SERIES

1 348
Download 348 pages 63.28 Kb
Page 305
Image 305

8–Configuring FCoE in a Linux Environment Using the QLogic Linux Utilities

Command Line Interface

To use the command line interface, type one of the following commands:

#./ql-lun-state-online.sh <host number list>

or

#./ql-lun-state-online.sh --all

where host number list a list of one or more SCSI host IDs (delimited by spaces) of the QLogic Converged Network Adapter physical or virtual ports. If you omit host number list and the --all option, the utility prompts you to correct your entry.

Table 8-20describes the FC HBA Change LUN State Utility command line options.

Table 8-20. FC HBA Change LUN State Utility Command Line Options

Option

Description

(Abbreviation)

 

 

 

<Host number>

Scan for all offline LUNs on the specified HOSTS (QLogic adapter

 

ports) and enable them

 

 

--all (-a)

Scan for all offline LUNs on all the HOSTS (QLogic adapter ports)

 

and enable them

 

 

--help (-h)

Display the help text

 

 

--interactive (-i)

Open the menu interface. Refer to “Menu Interface” on page 8-52.

 

 

Table 8-21shows a set of tasks and the commands that perform them.

Table 8-21. HBA Change LUN State Utility Command Examples

Task

Command Example

 

 

Enable all LUNs on host 2 and

# ./ql-lun-state-online.sh 2 4

4; that is, QLogic adapter ports

 

shown in sysfs as

 

/sys/class/scsi_host/host2 and

 

/sys/class/scsi_host/host4

 

 

 

Enable all LUNs on all adapt-

# ./ql-lun-state-online.sh --all

ers

 

 

 

Open the menu interface

# ./ql-lun-state-online.sh --interactive

Display the help text

# ./ql-lun-state-online.sh -–help

FE0254601-00 A

8-51

Page 305
Image 305
Q-Logic 8100 SERIES FC HBA Change LUN State Utility Command Line Options, HBA Change LUN State Utility Command Examples