Sometimes NSX ALB controllers are frequently redeployed in the lab environment to test and retest setup. Redeploying an NSX ALB controller only takes a few minutes, but in a slow environment, it can take up to 20-25 minutes. Using this handy tip, you can save some quality time.
To reset a controller node to the default settings, login to the node over SSH and run the following command.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
admin@172-26-13-2:~$ shell Login: admin Password: [admin:172-26-13-2]: > reboot clean This will erase the entire configuration and reboot the cluster Would you like to proceed? (yes/no): yes This may take 2-3 minutes to complete. Please wait... Lost connectivity to the controller -- Retrying to connect Re-established connectivity -- Please retry the command Broadcast message from root@172-26-13-2 (somewhere) (Fri Apr 21 22:10:31 2023) Rebooting this VM because of the cluster event 'clean reboot' |
After the controller node is reset, you get the first login page as if it is a fresh deployment.
I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing.