How to wipe the configuration of a clustered Data ONTAP 8.x node and re-initialize it
Applies to
Clustered Data ONTAP 8.3
Description
This article describes the procedure to be followed on a clustered Data ONTAP 8.x node (that was unjoined from a cluster) to wipe the configuration and re-initialize/reconfigure it.
Procedure
Ensure that each node from the HA pair, has disks assigned to it, and that neither of the nodes was previously in a taken-over state. This can be checked from a maintenance mode boot.
Perform the following steps:
- Boot each node to the LOADER/CFE prompt and ensure that the below variables are set. These variables remove the cluster RDBs, CDBs and the varfs from mroot, boot device and nvram.
setenv bootarg.init.boot_clustered true
setenv bootarg.factory_init_completed true
setenv bootarg.init.clearvarfsnvram true
- Boot the node:
bye - When the nodes are booting, press CTRL+C to enter the Boot menu.
*******************************
* *
* Press Ctrl-C for Boot Menu. *
* *
*******************************
Boot Menu will be available.
- At the Boot menu, type
wipeconfigon each node.
Please choose one of the following:
(1) Normal Boot.
(2) Boot without/etc/rc.
(3) Change password.
(4) Clean configuration and initialize all disks.
(5) Maintenance mode boot.
(6) Update flash from backup config.
(7) Install new software first.
(8) Reboot node.
Selection (1-8)?wipeconfig
- After running the
wipeconfigcommand, select option (4)
Please choose one of the following:
(1) Normal Boot.
(2) Boot without/etc/rc.
(3) Change password.
(4) Clean configuration and initialize all disks.
(5) Maintenance mode boot.
(6) Update flash from backup config.
(7) Install new software first.
(8) Reboot node.
Selection (1-8)? 4
- Answer yes to zero/erase all disks
Zero disks, reset config and install a new file system?: yes
This will erase all the data on the disks, are you sure?: yes
Rebooting to finish wipeconfig request - The init process can take a long time (hours, depending on the number and size of the disks), as the disks are zeroed and initialized.
- Once the init process has completed, the node will boot Data ONTAP and the login prompt will be available.
- At this time, a new cluster can be created or these nodes can be joined to an already existing cluster. The steps for creating or joining a cluster are available in the Clustered Data ONTAP® 8.3 Software Setup Guide.
Additional Information
- The initialization operation can also be performed remotely through the SP. The initialization operation will not affect the configured SP.
- For ONTAP9, please refer to the following KB.
