[SOLVED] how to shutdown proxmox

tomjamescn

Active Member
Jun 19, 2018
5
0
41
40
I tried the button 'shutdown' in admin web ui and ssh shell command 'shutdown -t 0' and 'reboot', all do not work. they just shutdown all vm and lxc but not shut down proxmox server.

how to shutdown proxmox?
 
Did you have VMs running that needed a long time to shutdown?

Possible reasons for that are:
Guest Agent enabled in the VMs Options but not installed.
If Guest Agent is not enabled, the VM might ignore the ACPI commands to shutdown.
 
I know this is super old but I'm new to Proxmox and just searched this same thing. In case you haven't found the answer by now, ssh into the proxmox server and enter
Code:
shutdown now
 
Does anyone know if Proxmox cleanly shuts down guests when 'shutdown now' is issued, power button is depressed etc or are their additional steps that should be taken prior?
 
Does anyone know if Proxmox cleanly shuts down guests when 'shutdown now' is issued, power button is depressed
I am working remotely, so I am using "reboot" or "shutdown" via ssh. For me it looks like a) all normal VMs are shut down, b) HA guests are migrated away and c) the actual reboot happens. After reboot the HA guests migrate back to this node. An Acpi initiated event should hopefully do the same.

See also https://pve.cos.lan/pve-docs/chapter-ha-manager.html#ha_manager_shutdown_policy
 
how to shutdown proxmox?
HI!
1. Comand and then wait for some time and the Linux server will poweroff
Code:
shutdown -h now

2. You can halt the system, switch off the power. This is called as poweroff and poweroff command can be used as follows (warning: the following command will immediately shutodown the Linux system):
Code:
poweroff

3. Do you enter the command by pressing keys on the keyboard or copy and paste? Copy and paste may not work - lines and spaces are copied

I am working remotely, so I am using "reboot" or "shutdown" via ssh. For me it looks like a) all normal VMs are shut down, b) HA guests are migrated away and c) the actual reboot happens. After reboot the HA guests migrate back to this node. An Acpi initiated event should hopefully do the same.

See also https://pve.cos.lan/pve-docs/chapter-ha-manager.html#ha_manager_shutdown_policy
Hi! Thanks for the explanation. How do you remotely turn on the server?
 
Thanks for the explanation. How do you remotely turn on the server?
In my dayjob: Test-Cluster via Ipmi/Drac = professional out-of-band-management; productive Servers run 24*7!

In my homelab: 1) Synology devices start by a pre-specified data/time; 2) a few devices via Shelly power sockets; 3) Servers run 24*7 ;-)