Skip to main content

Booting the recovery image

You must boot the ONTAP image from the USB drive, restore the file system, and verify the environmental variables.

  1. From the LOADER prompt, boot the recovery image from the USB flash drive: boot_recovery

    The image is downloaded from the USB flash drive.

  2. When prompted, either enter the name of the image or accept the default image displayed inside the brackets on your screen.
  3. Restore the var file system:
    If your system has...Then...
    A network connection
    1. Press y when prompted to restore the backup configuration.
    2. Set the healthy node to advanced privilege level: set -privilege advanced
    3. Run the restore backup command: system node restore-backup -node local -target-address impaired_node_IP_address
    4. Return the node to admin level: set -privilege admin
    5. Press y when prompted to use the restored configuration.
    6. Press y when prompted to reboot the node.
    No network connection
    1. Press n when prompted to restore the backup configuration.
    2. Reboot the system when prompted by the system.
    3. Select the Update flash from backup config (sync flash) option from the displayed menu.

      If you are prompted to continue with the update, press y.

    No network connection and is in a MetroCluster IP configuration
    1. Press n when prompted to restore the backup configuration.
    2. Reboot the system when prompted by the system.
    3. Wait for the iSCSI storage connections to connect.

      You can proceed after you see the following messages:

      date-and-time [node-name:iscsi.session.stateChanged:notice]: iSCSI session state is changed to Connected for the target iSCSI-target (type: dr_auxiliary, address: ip-address).
      date-and-time [node-name:iscsi.session.stateChanged:notice]: iSCSI session state is changed to Connected for the target iSCSI-target (type: dr_partner, address: ip-address).
      date-and-time [node-name:iscsi.session.stateChanged:notice]: iSCSI session state is changed to Connected for the target iSCSI-target (type: dr_auxiliary, address: ip-address).
      date-and-time [node-name:iscsi.session.stateChanged:notice]: iSCSI session state is changed to Connected for the target iSCSI-target (type: dr_partner, address: ip-address).

    4. Select the Update flash from backup config (sync flash) option from the displayed menu.

      If you are prompted to continue with the update, press y.

  4. Verify that the environmental variables are set as expected.
    1. Take the node to the LOADER prompt.
    2. Check the environment variable settings with the printenv command.
    3. If an environment variable is not set as expected, modify it with the setenvenvironment_variable_name changed_value command.
    4. Save your changes using the saveenv command.
    5. Reboot the node.
  5. The next step depends on your system configuration:
    If your system is in...Then...
    An HA pairAfter the impaired node is displaying the Waiting for Giveback... message, perform a giveback from the healthy node:
    1. Perform a giveback from the healthy node: storage failover giveback -ofnode partner_node_name

      This initiates the process of returning ownership of the impaired node's aggregates and volumes from the healthy node back to the impaired node.

      Note
      If the giveback is vetoed, you can consider overriding the vetoes.

      If giveback is vetoed

    2. Monitor the progress of the giveback operation by using the storage failover show-giveback command.
    3. After the giveback operation is complete, confirm that the HA pair is healthy and that takeover is possible by using the storage failover show command.
    4. Restore automatic giveback if you disabled it by using the storage failover modify command.