About SCSI LUN Discovery
Small Computer System Interface (SCSI) targets include disks, tapes, and other storage devices. These targets do not register logical unit numbers (LUNs) with the name server.
The name server requires LUN information for the following reasons:
- To display LUN storage device information so an NMS can access this information.
- To report device capacity, serial number, and device ID information.
- To register the initiator and target features with the name server.
The SCSI LUN discovery feature uses the local domain controller Fibre Channel address. It uses the local domain controller as the source FC ID, and performs SCSI INQUIRY, REPORT LUNS, and READ CAPACITY commands on SCSI devices.
The SCSI LUN discovery feature is initiated on demand, through CLI or SNMP. This information is also synchronized with neighboring switches, if those switches belong to the Cisco MDS 9000 Family.
This section includes the following topics:
About Starting SCSI LUN Discovery
SCSI LUN discovery is done on demand.
Only Nx ports that are present in the name server database and that are registered as FC4 Type = SCSI_FCP are discovered.
Starting SCSI LUN Discovery
To start SCSI LUN discovery, follow one of these steps:
Procedure
Step 1 |
switch# discover scsi-target local os all Example:
Discovers local SCSI targets for all operating systems (OS). The operating system options are aix , all , hpux , linux , solaris , or windows |
Step 2 |
switch# discover scsi-target remote os aix Example:
Discovers remote SCSI targets assigned to the AIX OS. |
Step 3 |
switch# discover scsi-target vsan 1 fcid 0x9c03d6 Example:
Discovers SCSI targets for the specified VSAN (1) and FC ID (0x9c03d6). |
Step 4 |
switch# discover scsi-target custom-list os linux Example:
Discovers SCSI targets from the customized list assigned to the Linux OS. |
About Initiating Customized Discovery
Customized discovery consists of a list of VSAN and domain pairs that are selectively configured to initiate a discovery. The domain ID is a number from 0 to 255 in decimal or a number from 0x0 to 0xFF in hex.
Use the custom-list option to initiate this discovery.
Initiating Customized Discovery
To initiate a customized discovery, follow one of these steps:
Procedure
Step 1 |
switch# discover custom-list add vsan 1 domain 0X123456 Adds the specified entry to the custom list. |
Step 2 |
switch# discover custom-list delete vsan 1 domain 0X123456 Deletes the specified domain ID from the custom list. |