brocade switch 14 m11 troubleshoot

Upload: sreenathonweb

Post on 03-Apr-2018

246 views

Category:

Documents


1 download

TRANSCRIPT

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    1/22

    2006 Hewlett-Packard Development Company, L.P.

    The information contained herein is subject to change without notice

    SAN Troubleshooting

    Module 11

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    2/22

    Rev. 6.21 HP Restricted 1

    Objectives

    Trace SAN problems

    Gather troubleshooting data

    Use switch commands to gather information

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    3/22

    Rev. 6.21 HP Restricted 2

    About troubleshooting

    Begin at the fabric

    Determine if the problem is on the storage side or the host side

    If a host cannot see a storage device, see if the storage device islogically connected to the switch

    If the storage can be seen from the switch and the host still cannot

    see the storage device, there is a problem between the host and the

    switch

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    4/22

    Rev. 6.21 HP Restricted 3

    Tracing problems

    1. Determine what has changed

    Has anything new been added/removed/reconfigured?

    When was it working last?

    2. Analyze physical system setup

    Devices attached to switch ports

    Diagram system configuration

    3. Gather external switch information

    Is the power LED on?

    List the LED colors by port

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    5/22

    Rev. 6.21 HP Restricted 4

    Analysis

    Review log/traces

    portLogShow/Dump

    supportShow

    Analyzer traces

    Hardware

    or

    Software?

    Hardware Software

    Run diagnostics as

    necessary

    Based on analysis of initial information

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    6/22

    Rev. 6.21 HP Restricted 5

    Common problem areas

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    7/22Rev. 6.21 HP Restricted 6

    Troubleshooting tools

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    8/22Rev. 6.21 HP Restricted 7

    High availability EVA environmentrecommendations

    In high availability environments under heavy I/O loads

    I/O timeouts might occur

    Use pvchange to increase the IO_timeout value to no more

    than 60 seconds for LUNs on an EVA 2.0

    The increased IO_timeout value enables longer I/O completion

    times and LUN access delays if a controller failover conditionoccurs

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    9/22Rev. 6.21 HP Restricted 8

    Troubleshooting

    switches

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    10/22Rev. 6.21 HP Restricted 9

    Gathering troubleshooting data Finisar, Xyratec trace

    (FC Analyzer) System configuration information

    Switch

    HBA

    Storage device

    Switch trace files usingsupportShow command

    Routing outputs using

    uRouteShow command

    Front panel errors

    Port log dump analysis

    Fibre Channel configuration

    Which ports are used? Which type of GBICs?

    Chassis type and ID

    Diagram of setup

    Test results

    Data patterns on traces

    Document failure mode

    Is failure easily reproducible?

    Switch topology

    Describe the network

    configuration Is the switch cascaded?

    How many switches are in the

    configuration?

    Are there parallel fabrics?

    Dual host, storage connections?

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    11/22Rev. 6.21 HP Restricted 10

    Helpful commands (1 of 2)

    Name Command FunctionError Log errDump Displays the error log without page breaks

    Switch Offline switchDisable Sets the switch to offline state necessary to run

    certain diagnostics

    Memory Test ramTest Checks CPU RAM. Run offline or online.

    Port Register Test portRegTest Checks that the registers and static memory in

    each ASIC can be successfully accessed. Run

    offline.

    Central Memory Test centralMemoryTes

    t

    Checks that the central memory in each ASIC

    can be successfully accessed. Run offline.

    Control Message

    Interface Conn Test

    cmiTest Verifies that control messages can be sent from

    ASIC to ASIC. Run offline.

    Content Addressable

    Memory Test

    camTest Verifies CAM functionality. Run offline.

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    12/22Rev. 6.21 HP Restricted 11

    Helpful commands (2 of 2)

    Name Command Function

    Port Loopback Test portLoopback Test Checks all switch main board/hardware. Frames

    transmitted are looped and received. Run offline.

    Cross Port Test crossPortTest Checks al switch paths. Run offline or online.

    Spin Silk Test spinSilk Checks all switch paths. Run offline.

    SRAM Data

    Retention Test

    sramRetentionTest Verifies that data written into ASIC memory is

    retained. Runs offline.

    CMem DataRetention Test

    CmemRetentionTest

    Verifies that data written into ASIC SRAM isretained. Runs offline.

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    13/22Rev. 6.21 HP Restricted 12

    errShow command

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    14/22Rev. 6.21 HP Restricted 13

    switchshow command

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    15/22Rev. 6.21 HP Restricted 14

    portshow command

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    16/22Rev. 6.21 HP Restricted 15

    portstatsshow command

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    17/22Rev. 6.21 HP Restricted 16

    supportshow command version

    uptime

    tempShow

    psShow

    licenseShow

    diagShow errDump

    switchShow

    portFlagsShow

    portErrShow

    mqShow

    portSemShow

    portShow

    portRegShow

    portRouteShow

    FabricShow

    TopologyShow

    qlShow

    nsShow nsAllShow

    cfgShow

    configShow

    faultShow

    traceShow

    portLogDump

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    18/22Rev. 6.21 HP Restricted 17

    Hardware diagnostics commands

    fanshow

    psshow

    tempshow

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    19/22Rev. 6.21 HP Restricted 18

    Interpreting LED activity

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    20/22Rev. 6.21 HP Restricted 19

    Rear panel LEDs

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    21/22Rev. 6.21 HP Restricted 20

    Learning

    check

  • 7/28/2019 Brocade Switch 14 M11 Troubleshoot

    22/2221