cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4116
Views
12
Helpful
3
Replies

Graceful shutdown for Viptela appliances?

helloguys
Level 1
Level 1

Viptela appliances(vManage, vSmart, vBond, vEdge) are built on Linux platform.  What command do we use to do graceful shutdown?  I searched Cisco docs but couldn't find the command.  "shutdown" command is not available in vshell.  Thank you!

3 Replies 3

ekhabaro
Cisco Employee
Cisco Employee

You should not do this from the appliance management CLI, but rather from your hypervisor. E.g. to shutdown controllers or vEdge gracefully on ESXi, you should select "Power -> Shut Down Guest OS" and you will see on the console:

Screenshot 2020-05-12 at 14.04.00.png

 

It's like when you short-press your power button on your PC with ACPI. It will send signal to gracefully shutdown (as opposed to long press that will lead to loss of power and hard stop)

tsubakaran
Level 1
Level 1

I tried poweroff command, it worked!

 

vManage# po?
Possible completions:
poweroff Shut down the system
vManage# poweroff
Are you sure you want to power off the system? [yes,NO] yes
wall: cannot get tty name: Success

Broadcast message from root@vManage (somewhere) (Tue Mar 8 19:54:34 2022):

Tue Mar 8 19:54:34 UTC 2022: The system is going down for poweroff NOW!

Stopping services...
vManage# acpid: exiting
ok: down: acpid: 0s, normally up
ok: down: button: 25937s, normally up
ok: down: cloudinit: 25881s, normally up
ok: down: consul: 0s, normally up, want up
ok: down: container-manager: 25937s, normally up
ok: down: drconsul: 0s, normally up, want up
ok: down: ephemeral: 0s, normally up
ok: down: getty-tty1: 0s, normally up
ok: down: getty-ttyS0: 0s, normally up
ok: down: logrotate: 0s, normally up
ok: down: tcsd: 0s, normally up, want up
ok: down: watchdog: 25879s, normally up
ok: down: sdavc-proxy: 1s, normally up
ok: down: zookeeper: 0s, normally up
ok: down: elasticsearch: 0s, normally up
ok: down: cloudagent: 0s, normally up
ok: down: dca: 0s, normally up
ok: down: sysmgr: 1s, normally up
timeout: run: kafka: (pid 12904) 26032s, want down, got TERM
timeout: run: wildfly: (pid 16195) 26003s, want down, got TERM
ok: down: neo4j: 1s, normally up
ok: down: syslogd: 0s, normally up
ok: down: klogd: 0s, normally up
Saving this session's debug logs...
Sending all processes the TERM signal...
Sending all processes the KILL signal...
Saving system clock time to hardware clock...
Saving system clock timestamp...
Unmounting file systems...
mount: /: mount point is busy.
Power down

Yes, for a graceful shutdown, it is recommended to use 'poweroff'
You can check the LEDs on the device.
SYS will be solid red when the box is powered off. [screenshot enclosed]

[cid:F7041E9F-31E6-4A0A-9BFB-3DE930CD2E6F]