Sometimes it’s required to reset a controller, this can be done from the cli.
First login to the controller you wish to reset
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
→ ssh [email protected]
Avi Cloud Controller
Avi Networks software, Copyright (C) 2013-2017 by Avi Networks, Inc.
All rights reserved.
Version: 18.2.2
Date: 2019-03-06 09:07:37 UTC
Build: 9224
Management: 192.168.128.8/24 UP
Gateway: 192.168.128.1 UP
[email protected]'s password:
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
admin@192-168-128-8:~$
|
After that you need to switch to the AVI Shell and there you can issue the reboot clean
command. Credentials for the AVI Shell are the same as for the SSH Login.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
admin@192-168-128-8:~$ shell
Login: admin
Password:
[admin:192-168-128-8]: > 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@192-168-128-8 (somewhere) (Fri Mar 8 16:46:51 2019)
Rebooting this VM because of the cluster event 'clean reboot'
|