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]:>rebootclean Thiswillerasetheentireconfigurationandrebootthecluster Wouldyouliketoproceed?(yes/no):yes Thismaytake2-3minutestocomplete.Pleasewait... Lostconnectivitytothecontroller--Retryingtoconnect Re-establishedconnectivity--Pleaseretrythecommand Broadcastmessagefromroot@172-26-13-2(somewhere)(FriApr 2122:10:312023) RebootingthisVMbecauseoftheclusterevent'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.