05-06-2020 04:22 PM
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!
05-12-2020 05:04 AM - edited 05-12-2020 05:07 AM
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:
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)
03-08-2022 11:58 AM
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
03-08-2022 12:43 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide