No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Administrator Guide 15

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

Routine maintenance activities are the most common activities for the storage device, including powering on or off the storage device, managing users, modifying basic parameters of the storage device, and managing hardware components. This document applies to the system administrators who are responsible for carrying out routine maintenance activities, monitoring the storage device, and rectifying common device faults.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Querying Fibre Channel Host Port Information

Querying Fibre Channel Host Port Information

Fibre Channel host ports are used to connect a storage system to application servers through Fibre Channel links. You can view information about Fibre Channel host ports based on service requirements.

Viewing Fibre Channel Host Port Information

By viewing basic information about a Fibre Channel host port, you can learn about its working rate, working mode, and running status.

Prerequisites

At least one Fibre Channel port exists.

Procedure

  1. Log in to DeviceManager.
  2. Choose Provisioning > Port > FC Ports.
  3. In the function pane, view Fibre Channel port information.



    Table B-6  Fibre Channel port parameters

    Parameter

    Description

    Value

    Name

    Name of the Fibre Channel port.

    [Example]

    P0

    Location

    Location of the Fibre Channel port.

    [Example]

    CET0.A1.P0

    Health Status

    Health status of the Fibre Channel port.

    [Example]

    Normal

    Running Status

    Running status of the Fibre Channel port.

    [Example]

    Link up

    WWPN

    World wide port name of the Fibre Channel port.

    [Example]

    20108038bc14bd75

    Working Rate(Gbit/s)

    Transfer rate of the Fibre Channel port.

    [Example]

    1

    Max. Working Rate(Gbit/s)

    Maximum Transfer rate of the Fibre Channel port.

    [Example]

    16

    Working Mode

    The working mode of FC port.

    [Example]

    FC-AL

    Port Switch

    Switch of the Fibre Channel port. Possible values are Enable and Disable. Port connection will be disconnected if the port switch is set to Disable.

    [Example]

    --

    ID

    ID of the Fibre Channel port.

    [Example]

    None

  4. Optional: Select a port and the details about the initiator to which the port belongs will be displayed in the Initiator area, as shown in Table B-7.

    Table B-7  Initiator parameter

    Parameter

    Description

    Type

    Type of an initiator.

    Alias

    Alias of an initiator.

    WWPN/IQN

    The unique identifier of an initiator.

    Status

    Status of an initiator.

    Idle or Not

    Whether initiator is idle or not.

  5. Optional: Associate an initiator with a host.
    1. Select an initiator that you want to associate with a host.
    2. Click Associate Host.

      The Associate Host dialog box is displayed.

    3. Select a host with which you want to associate the initiator and click OK.

      The system associates the host with the initiator.

  6. Optional: Select an initiator and click Create Host to create a new host and associate it with the selected initiator. Table B-8 describes the related parameters.

    Table B-8  Host parameters

    Parameter

    Description

    Value

    Name

    Name of a host.

    Name a host in accordance with the following rules so that the host is available to host applications.
    • The name must be unique.
    • The name can contain only letters, digits, periods (.), underscores (_), and hyphens (-).
    • The name contains 1 to 31 characters.

    [Example]

    Host002

    Description

    Description of a host.

    [Example]

    -

    OS

    Operating system used by a host.

    [Value range]

    Possible values are Linux, Windows, Solaris, HP-UX, AIX, XenServer, Mac OS, VMware ESX and Windows Server 2012.
    NOTE:
    Use Windows Server 2012 operating system only when the host needs to access the thin LUN and use the space reclaiming function.

    [Example]

    Windows

    IP Address

    IP address of a host.

    [Example]

    192.168.1.100

    Device Location

    Location of a host.

    [Example]

    Chengdu

Querying the WWN of a Fibre Channel Port on an Application Server

When a storage system is connected to multiple application servers through Fibre Channel, identify the initiator to be added for a host by querying the World Wide Names (WWNs) of Fibre Channel ports on the application servers.

Prerequisites

The Fibre Channel host bus adapter (HBA) driver is properly installed.

Windows-based application server
NOTE:

The following procedure uses the Qlogic Fibre Channel HBA as an example. For details about how to query the WWNs of other vendors' Fibre Channel HBAs, see their corresponding manuals.

  1. Install scli-1[1].06.16-29.windows.msi on the Windows-based application server.

    NOTE:

    The scli-1[1].06.16-29.windows.msi software can be obtained from QLogic website.

  2. Double-click the shortcut of scli-1[1].06.16-29.windows.msi on the desktop.

    The software starts up automatically. The Main Menu screen is displayed, as shown in Figure B-11.

    Figure B-11  Main Menu screen

  3. Type 4 after Enter Selection: and press Enter.

    The HBA Selection Menu screen is displayed, as shown in Figure B-12.

    Figure B-12  HBA Selection Menu screen

  4. Type 1 after Enter Selection: and press Enter.
  5. The HBA port information is displayed, as shown in Figure B-13.

    Figure B-13  WWN information screen

    NOTE:

    The WWNs of the HBA are shown in the red frame in Figure B-13.

SUSE-based application server
NOTE:

The following procedure uses the Qlogic Fibre Channel HBA as an example. For details about how to query the WWNs of other vendors' Fibre Channel HBAs, see their corresponding manuals.

  1. Log in to the SUSE based application server.

    NOTE:

    For details about how to query the WWNs on the application servers running different versions of SUSE operating systems, adjust the operations based on actual conditions.

  2. Run the cd /proc/scsi/qla2xxx command to go to the /proc/scsi/qla2xxx directory.
  3. Run the ls command to query the IDs of all Fibre Channel interface modules.
  4. Run the cat 4 |grep port command to query the information about Fibre Channel ports.

    Figure B-14 shows the information about Fibre Channel ports.

    Figure B-14  Querying Fibre Channel port information on a SUSE-based application server

    NOTE:

    The WWNs of the HBA are shown in the red frame in Figure B-14.

AIX-based application server
  1. Run the following command to query the working Fibre Channel HBA.

    # lsdev -Cc adapter | grep fcs
    fcs0      Available 0A-08 FC Adapter

  2. Run the following command to query the information about a Fibre Channel HBA.

    # lscfg -vps -l fcs0
    fcs0             U787F.001.DPM59Y0-P1-C1-T1  
            FC Adapter
    
            Part Number.................03N5014
            EC Level....................A
            Serial Number...............1F8200CA1B
            Manufacturer................001F
            Customer Card ID Number.....280D
            FRU Number.................. 03N5014
            Device Specific.(ZM)........3
            Network Address.............10000000C977835E
            ROS Level and ID............02C82774
            Device Specific.(Z0)........1036406D
            Device Specific.(Z1)........00000000
            Device Specific.(Z2)........00000000
            Device Specific.(Z3)........03000909
            Device Specific.(Z4)........FFC01231
            Device Specific.(Z5)........02C82774
            Device Specific.(Z6)........06C32715
            Device Specific.(Z7)........07C32774
            Device Specific.(Z8)........20000000C977835E
            Device Specific.(Z9)........BS2.71X4 
            Device Specific.(ZA)........B1D2.70A5 
            Device Specific.(ZB)........B2D2.71X4 
            Device Specific.(ZC)........00000000
            Hardware Location Code......U787F.001.DPM59Y0-P1-C1-T1
    
    
       PLATFORM SPECIFIC
    
        Name:  fiber-channel
        Model:  LP11000
        Node:  fiber-channel@1
        Device Type:  fcp
        Physical Location: U787F.001.DPM59Y0-P1-C1-T1
    NOTE:

    The value of Network Address in the command output indicates the WWN of the Fibre Channel HBA.

Solaris-based application server
  1. Log in to the Solaris-based application server.
  2. Run the luxadm probe command.
HP-UX-based application server
  1. Log in to the HP-UX-based application server as user root.
  2. Run the ioscan -fn command to query the I/O information.

    The following output is displayed.
    ioscan -fn Class I - H/W Path----Driver - S/W State - H/W Type ---Description 
    ====================================================================== 
    ba -------3 -0/3 -------lba ----- CLAIMED -BUS_NEXUS --Local PCI Bus Adapter 
    fc -------0 -0/3/0/0-----td ---- -CLAIMED -INTERFACE---HP TachyonTL/TS 
    Fibre  
    ------------------------/dev/td0 
    fcp ------4 -0/3/0/0.2 -fcp ---- -CLAIMED -INTERFACE --FCP Domain 
    ext_bus -28 -0/3/0/0.2
     -------------- .16.0.0 -fcparray -CLAIMED--INTERFACE --FCP ArrayInterfac ---- 
    target ---6 -0/3/0/0.2--tgt ----- CLAIMED -DEVICE ---------.16.0.0.0

    The output shows that the Fibre Channel HBA resides on /dev/td0.

  3. Run the fcsmutil command to query the WWN of the Fibre Channel HBA.

    The following output is displayed.
    fcsmutil /dev/td0 
    --------------------Vendor ID is = 0x00103c
    --------------------Device ID is = 0x001028 
    --------------------PCI Sub-system Vendor ID is = 0x00103c
    --------------------PCI Sub-system ID is = 0x000006 
    --------------------Topology = PTTOPT_FABRIC 
    --------------------Local N_Port_id is = 0x021c00 
    --------------------N_Port Node World Wide Name = 0x50060b0000072dad 
    --------------------N_Port Port World Wide Name = 0x50060b0000072dac
    --------------------Driver state = ONLINE 
    --------------------Hardware Path is = 0/3/0/0
    --------------------Number of Assisted IOs = 538248
    --------------------Number of Active Login Sessions = 1

    In this example, the output shows that the WWN of the Fibre Channel HBA is 0x50060b0000072dac.

Linux-based application server
  1. Log in to the Linux-based application server as user root.
  2. Run the cd /proc/scsi/qla2xxx command.
  3. Run the cat 4|grep port command to query the WWN of the Fibre Channel HBA.

    The output shows that the WWN of the Fibre Channel HBA is the value of scsi-qlal-port0.
    login as: root
    root@192.168.11.211's password:
    Last login: Tue Sep 28 01:40:54 2010 from 192.168.11.210
    [root@localhost ~]# cd /proc/scsi/qla2xxx
    [root@localhost qla2xxx]# cat 4|grep port
    scsi-qla1-adapter-port=2101001b32bcda22;
    scsi-qla1-port-0=21000022a100ef02:22030022a100ef02:0000e1:0;
    [root@localhost qla2xxx]#

Translation
Download
Updated: 2019-08-14

Document ID: EDOC1000084191

Views: 90828

Downloads: 2306

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next