Skip to main content

Running system-level diagnostics

After installing a new NVMEM battery, 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.

About this task

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

  1. At the LOADER prompt, type boot_ontap menu.
  2. Select option 5 from the menu that appears to access the special drivers specifically designed for system-level diagnostics to function properly. During the boot process, you can safely respond y to the prompts until the Maintenance mode prompt (*>) appears.
  3. Run diagnostics on the NVMEM memory: sldiag device run -dev nvmem
  4. Verify that no hardware problems resulted from the replacement of the NVMEM battery: sldiag device status -dev nvmem -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.
  5. 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 by typing halt

      The controller displays the LOADER prompt.

    4. Boot the controller from the LOADER prompt: boot_ontap
    5. Return the controller to normal operation by typing: storage failover giveback -ofnode replacement_node_name
    Resulted in some test failuresDetermine the cause of the problem:
    1. Exit Maintenance mode by typing halt

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

    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. Fully seat the controller module you are servicing in the chassis. The controller module boots up when fully seated.

    5. Boot the controller module you are servicing, interrupting the boot by pressing Ctrl-C when prompted to get to the LOADER prompt.
    6. Type boot_ontap menu.

    7. Select Boot to maintenance mode from the menu.
    8. Exit Maintenance mode by entering the following command: halt

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

    9. Rerun the system-level diagnostic test.