# luxadm -e port
/devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0:devctl     CONNECTED
/devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected],1/[email protected],0:devctl   CONNECTED
CONNECTED     : HBA has established connection with either target or initiator.
NOT CONNECTED : HBA has not established a connection with some other node or it is connected to a switch that has no target.
2. Check WWN number HBA ports
HBA Port WWN: 21000024ff542d4a
        Port Mode: Initiator
        Port ID: 0
        OS Device Name: /dev/cfg/c4
        Manufacturer: QLogic Corp.
        Model: 371-4325-02
        Firmware Version: 8.05.00
        FCode/BIOS Version:  BIOS: 2.02; fcode: 2.03; EFI: 2.01;
        Serial Number: 0402R00-1344164692
        Driver Name: qlc
        Driver Version: 171019-5.07
        Type: L-port
        State: online
        Supported Speeds: 2Gb 4Gb 8Gb
        Current Speed: 8Gb
        Node WWN: 20000024ff542d4a
        Max NPIV Ports: 253
        NPIV port list:
HBA Port WWN: 21000024ff542d4b
        Port Mode: Initiator
        Port ID: 0
        OS Device Name: /dev/cfg/c5
        Manufacturer: QLogic Corp.
        Model: 371-4325-02
        Firmware Version: 8.05.00
        FCode/BIOS Version:  BIOS: 2.02; fcode: 2.03; EFI: 2.01;
        Serial Number: 0402R00-1344164692
        Driver Name: qlc
        Driver Version: 171019-5.07
        Type: L-port
        State: online
        Supported Speeds: 2Gb 4Gb 8Gb
        Current Speed: 8Gb
        Node WWN: 20000024ff542d4b
        Max NPIV Ports: 253
        NPIV port list:

3. Use the luxadm command to get the target port WWN with dump_map option.

 # luxadm -e dump_map /devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0:devctl
Pos Port_ID Hard_Addr Port WWN         Node WWN          Type
0    620000    0      210000e08b05b4c1 200000e08b05b4c1  0x1f (Unknown Type)
1    620100    0      50020f230000a81b 50020f200000a81b  0x0  (Disk device)

Leave a Reply

Your email address will not be published. Required fields are marked *

four × 4 =

Related Posts

Solaris

How to Find and Remove Old or Inactive Files

How to Find and Remove Old or Inactive Files Become an administrator. Find files that have not been accessed for a specified number of days and list them in a file. # find directory -type Read more…

Oracle

How to Collect a Snapshot on SPARC M series servers Mx000 and M10-x systems

Running snapshot The syntax varies slightly from the Mx000 to the M10-x .The M10 requires a “-a” option to collect logs from all chassis. The two most common usages are described below. The first example Read more…

Oracle

Setting Network IPMP & Aggregate Solaris 11

Configure an Active-Standby IPMP Group 1. Create an IPMP interface ipadm create-ip net0 ipadm create-ip net1 ipadm create-ipmp ipmp0 2. Add the physical interfaces net0 and net1 to the ipmp group. ipadm add-ipmp -i net0 Read more…