Boot the recovery image - AFF A700
The procedure for booting the impaired node from the recovery image depends on whether the system is in a two-node MetroCluster configuration.
Option 1: Boot the recovery image in most systems
You must boot the ONTAP image from the USB drive, restore the file system, and verify the environmental variables.
This procedure applies to systems that are not in a two-node MetroCluster configuration.
-
From the LOADER prompt, boot the recovery image from the USB flash drive:
boot_recovery
The image is downloaded from the USB flash drive.
-
When prompted, either enter the name of the image or accept the default image displayed inside the brackets on your screen.
-
Restore the
var
file system:If your system has… Then… A network connection
-
Press
y
when prompted to restore the backup configuration. -
Set the healthy node to advanced privilege level:
set -privilege advanced
-
Run the restore backup command:
system node restore-backup -node local -target-address impaired_node_IP_address
-
Return the node to admin level:
set -privilege admin
-
Press
y
when prompted to use the restored configuration. -
Press
y
when prompted to reboot the node.
No network connection
-
Press
n
when prompted to restore the backup configuration. -
Reboot the system when prompted by the system.
-
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
-
Press
n
when prompted to restore the backup configuration. -
Reboot the system when prompted by the system.
-
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).
-
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
.
-
-
Ensure that the environmental variables are set as expected:
-
Take the node to the LOADER prompt.
-
Check the environment variable settings with the
printenv
command. -
If an environment variable is not set as expected, modify it with the
setenv environment-variable-name changed-value
command. -
Save your changes using the
savenv
command.
-
-
The next depends on your system configuration:
-
If your system has onboard keymanager, NSE or NVE configured, go to Restore OKM, NSE, and NVE as needed
-
If your system does not have onboard keymanager, NSE or NVE configured, complete the steps in this section.
-
-
From the LOADER prompt, enter the
boot_ontap
command.*If you see… Then…* The login prompt
Go to the next Step.
Waiting for giveback…
-
Log into the partner node.
-
Confirm the target node is ready for giveback with the
storage failover show
command.
-
-
Connect the console cable to the partner node.
-
Give back the node using the
storage failover giveback -fromnode local
command. -
At the cluster prompt, check the logical interfaces with the
net int -is-home false
command.If any interfaces are listed as "false", revert those interfaces back to their home port using the
net int revert
command. -
Move the console cable to the repaired node and run the
version -v
command to check the ONTAP versions. -
Restore automatic giveback if you disabled it by using the
storage failover modify -node local -auto-giveback true
command.
Option 2: Boot the recovery image in a two-node MetroCluster configuration
You must boot the ONTAP image from the USB drive and verify the environmental variables.
This procedure applies to systems in a two-node MetroCluster configuration.
-
From the LOADER prompt, boot the recovery image from the USB flash drive:
boot_recovery
The image is downloaded from the USB flash drive.
-
When prompted, either enter the name of the image or accept the default image displayed inside the brackets on your screen.
-
After the image is installed, start the restoration process:
-
Press
n
when prompted to restore the backup configuration. -
Press
y
when prompted to reboot to start using the newly installed software.You should be prepared to interrupt the boot process when prompted.
-
-
As the system boots, press
Ctrl-C
after you see thePress Ctrl-C for Boot Menu
message., and when the Boot Menu is displayed select option 6. -
Verify that the environmental variables are set as expected.
-
Take the node to the LOADER prompt.
-
Check the environment variable settings with the
printenv
command. -
If an environment variable is not set as expected, modify it with the
setenv environment-variable-name changed-value
command. -
Save your changes using the
savenv
command. -
Reboot the node.
-