Sunday, December 29, 2013

Running hardware diagnostics using the sldiag command


Steps to be followed on NetApp system to diagnose the hardware issue
Note: To test the interconnect, enable the interconnect device and then run the interconnect tests. The interconnect device is disabled by default.
In addition, the interconnect tests have to be run without testing other device types. The interconnect device will only show up in SLDIAG in a 2 head configuration where both heads (storage controllers) have ONTAP booted to either maintenance or normal mode. It does not matter if the head not being tested is booted to maintenance mode or normal mode.
  1. From the loader prompt, type boot_diags to boot Data ONTAP to maintenance mode.
  2. From the maintenance mode prompt, type sldiag device show to view the list of devices that can be tested:
    *> sldiag device show
    DEV NAME SELECTION
    ------------- ----------- ----------
    interconnect ib2b disabled
    nic e0a enabled
    nic e0b enabled
    nic e0c enabled
    nic e0d enabled
    nic e0M enabled
    acp acpview enabled
    acpm 3b.0.A enabled
    acpm 3b.0.B enabled
    acpm 3a.1.A enabled
    acpm 3a.1.B enabled
    fcal 0a enabled
    fcal 0b enabled
    fcal 0c enabled
    fcal 0d enabled
    mem mem enabled
    storage 3a disabled
    storage 3c disabled
    storage 3b disabled
    storage 3d disabled
    bootmedia bootmedia enabled
    environmentals environmentals enabled
    serviceProcessor serviceProcessor enabled
    nvram slot2 enabled
    .
    .
    .
  3. Enable the device:*>sldiag device modify -dev interconnect -sel enable
    SLDIAG: no tests are enabled for ib2b

    *> sldiag device show
    DEV NAME SELECTION
    ------------- ------ ----------
    interconnect ib2b enabled
    nic e0a enabled
    nic e0b enabled
    .
    .
    .
  4. Enable the test:*> sldiag test modify -dev interconnect -sel enable
    *> sldiag test show -dev interconnect
    INDEX DEVTYPE TEST NAME SELECTION
    ----- ------------ ----- ------------------- ---------
    7 interconnect RDMA Basic pattern R/W Test enabled
    8 interconnect RDMA Complementary pattern R/W Test enabled
    9 interconnect RDMA Random pattern R/W Test enabled
    10 interconnect RDMA CheckerBoard pattern R/W Test enabled
    11 interconnect RDMA Basic pattern S/R Test enabled
    12 interconnect RDMA Complementary pattern S/R Test enabled
    13 interconnect RDMA Random pattern S/R Test enabled
    14 interconnect RDMA CheckerBoard pattern S/R Test enabled
    Note: Prior to running the interconnect tests, clear the results from the previous tests by typing *>sldiag device clearstatus
  5. Run the test:*>sldiag device run -dev interconnect
    *> <SLDIAG:_ALL_TESTS_COMPLETED>
  6. Run the following command to view the results summary:*> sldiag device status -dev interconnect

    Use the 
    -long option to view the details:sldiag device status -long
    Device TestName StartDate EndDate Status Loop
    ------ ---------------- ------------------- ------------------- ------ ----
    ib2b RDMA Basic Sat Aug 13 22:31:48 Sat Aug 13 22:31:52 PASSED 1/1

    pattern R/W Test
    ib2b RDMA Complementary Sat Aug 13 22:31:52 Sat Aug 13 22:31:59 PASSED 1/1

    pattern R/W Test
    ib2b RDMA Random Sat Aug 13 22:32:00 Sat Aug 13 22:32:03 PASSED 1/1
    pattern R/W Test

    ib2b RDMA CheckerBoard Sat Aug 13 22:32:04 Sat Aug 13 22:32:08 PASSED 1/1
    pattern R/W Test

    ib2b RDMA Basic pattern Sat Aug 13 22:32:09 Sat Aug 13 22:32:13 PASSED 1/1
    S/R Test
    ib2b RDMA Complementary Sat Aug 13 22:32:14 Sat Aug 13 22:32:20 PASSED 1/1
    pattern S/R Test
    ib2b RDMA Random Sat Aug 13 22:32:21 Sat Aug 13 22:32:24 PASSED 1/1

    pattern S/R Test
    ib2b RDMA CheckerBoard Sat Aug 13 22:32:25 Sat Aug 13 22:32:29 PASSED 1/1

No comments:

Post a Comment