Skip to main content

Running system-level diagnostics

After installing a new caching module, you should run diagnostics.

Before you begin

Your system must be at the LOADER prompt to get to the maintenance menu to start System Level Diagnostics.

All commands in the diagnostic procedures are issued from the controller where the component is being replaced.

  1. If the controller to be serviced is not at the LOADER prompt, perform the following steps:
    1. Select the option to boot to Maintenance mode by typing: halt
    2. Once at the LOADER prompt, type boot_ontap menu
    3. When the system appears at the selection menu, choose option 5 to go into Maintenance mode.
  2. Run diagnostics on the caching module: sldiag device run -dev fcache
  3. Verify that no hardware problems resulted from the replacement of the caching module: sldiag device status -dev fcache -long -state failed
    System-level diagnostics returns you to the prompt if there are no test failures, or lists the full status of failures resulting from testing the component.
  4. Proceed based on the result of the preceding step:
    If the system-level diagnostics tests...Then...
    Were completed without any failures
    1. Clear the status logs: sldiag device clearstatus
    2. Verify that the log was cleared: sldiag device status

      The following default response is displayed:

      SLDIAG: No log messages are present.
    3. Exit Maintenance mode: halt

      The controller displays the LOADER prompt.

    4. Boot the controller from the LOADER prompt: boot_ontap
    5. Return the controller to normal operation:
      If your controller is in...Then...
      An HA pairPerform a give back: storage failover giveback -ofnode replacement_node_name

    You have completed system-level diagnostics.

    Resulted in some test failuresDetermine the cause of the problem:
    1. Exit Maintenance mode: halt

      After you issue the command, wait until the system stops at the LOADER prompt.

    2. Turn off or leave on the power supplies, depending on how many controller modules are in the chassis:
      • If you have two controller modules in the chassis, leave the power supplies turned on to provide power to the other controller module.
      • If you have one controller module in the chassis, turn off the power supplies and unplug them from the power sources.
    3. Verify that you have observed all the considerations identified for running system-level diagnostics, that cables are securely connected, and that hardware components are properly installed in the storage system.
    4. Boot the controller module you are servicing, interrupting the boot by pressing Ctrl-C when prompted to get to the Boot menu:
      • If you removed the controller in the previous step, fully seat the controller module you are servicing in the chassis.

        The controller module boots up when fully seated.

    5. Select Boot to maintenance mode by typing: boot_diags
    6. Repeat all of the steps necessary to perform the system level diagnostics for the cache module.

    7. Exit Maintenance mode by entering the following command: halt

      After you issue the command, wait until the system stops at the LOADER prompt.

    8. Rerun the system-level diagnostic test.