* [PVE-User] shutdown and stay shut
@ 2025-09-28 0:04 Randy Bush
2025-09-28 7:13 ` Victor Rodriguez
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Randy Bush @ 2025-09-28 0:04 UTC (permalink / raw)
To: ProxMox Users
debian bookworm
proxmox 8.4.14
we are going perform some complex surgery on a cluster. so we want to
shut proxmox down and have it stay down across a few power up and down
cycles aided by the usual `shutdown -[hr] now` etc.
what is the best way to tell proxmox not to come back up and start vms
on reboot / power-up? there seems to be no
sudo systemctl disable proxmox.service
ddg gives me a million hits for disabling the no subscription notice :)
thanks for clues
randy
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PVE-User] shutdown and stay shut
2025-09-28 0:04 [PVE-User] shutdown and stay shut Randy Bush
@ 2025-09-28 7:13 ` Victor Rodriguez
2025-09-29 5:31 ` René Bayer via pve-user
2025-09-30 9:48 ` Alwin Antreich via pve-user
2 siblings, 0 replies; 4+ messages in thread
From: Victor Rodriguez @ 2025-09-28 7:13 UTC (permalink / raw)
To: pve-user
If on cluster + HA, either set all resources to ignore or move/rename
/etc/pve/ha/resources.cfg (and move/rename back once maintenance is
done), then:
- |systemctl disable pve-guests.service|.
- Reboot and no VM will be started. Do the update or whatever
maintenance is needed.
- Reboot if needed (i.e. kernel update).
- |systemctl enable pve-guests.service && /usr/bin/pvesh --nooutput
create /nodes/localhost/startall|.
Disclaimer: I've used this procedure a few times now on single node
setups. Haven't tested this procedure much con clusters as usually can
live migrate and the node is empty for maintenance, so no need to
disable VM start.
On 9/28/25 02:04, Randy Bush wrote:
> debian bookworm
> proxmox 8.4.14
>
> we are going perform some complex surgery on a cluster. so we want to
> shut proxmox down and have it stay down across a few power up and down
> cycles aided by the usual `shutdown -[hr] now` etc.
>
> what is the best way to tell proxmox not to come back up and start vms
> on reboot / power-up? there seems to be no
>
> sudo systemctl disable proxmox.service
>
> ddg gives me a million hits for disabling the no subscription notice :)
>
> thanks for clues
>
> randy
>
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
--
_______________________________________________
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PVE-User] shutdown and stay shut
2025-09-28 0:04 [PVE-User] shutdown and stay shut Randy Bush
2025-09-28 7:13 ` Victor Rodriguez
@ 2025-09-29 5:31 ` René Bayer via pve-user
2025-09-30 9:48 ` Alwin Antreich via pve-user
2 siblings, 0 replies; 4+ messages in thread
From: René Bayer via pve-user @ 2025-09-29 5:31 UTC (permalink / raw)
To: Proxmox VE user list; +Cc: René Bayer
[-- Attachment #1: Type: message/rfc822, Size: 5027 bytes --]
From: "René Bayer" <rene.bayer@siedl.net>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
Subject: Re: [PVE-User] shutdown and stay shut
Date: Mon, 29 Sep 2025 07:31:19 +0200 (CEST)
Message-ID: <1716074032.6665767.1759123879689.JavaMail.zimbra@siedl.net>
Haven't tried it yet, but my first intention would be setting all the nodes in the cluster into maintenance mode.
Maybe this helps :)
# ha-manager crm-command node-maintenance enable [hostname]
# ha-manager crm-command node-maintenance disable [hostname]
----- Ursprüngliche Mail -----
Von: "Randy Bush" <randy@psg.com>
An: "ProxMox Users" <pve-user@lists.proxmox.com>
Gesendet: Sonntag, 28. September 2025 02:04:29
Betreff: [PVE-User] shutdown and stay shut
debian bookworm
proxmox 8.4.14
we are going perform some complex surgery on a cluster. so we want to
shut proxmox down and have it stay down across a few power up and down
cycles aided by the usual `shutdown -[hr] now` etc.
what is the best way to tell proxmox not to come back up and start vms
on reboot / power-up? there seems to be no
sudo systemctl disable proxmox.service
ddg gives me a million hits for disabling the no subscription notice :)
thanks for clues
randy
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Die E-Mail wurde von IKARUS mail.security geprüft.
[-- Attachment #2: Type: text/plain, Size: 157 bytes --]
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PVE-User] shutdown and stay shut
2025-09-28 0:04 [PVE-User] shutdown and stay shut Randy Bush
2025-09-28 7:13 ` Victor Rodriguez
2025-09-29 5:31 ` René Bayer via pve-user
@ 2025-09-30 9:48 ` Alwin Antreich via pve-user
2 siblings, 0 replies; 4+ messages in thread
From: Alwin Antreich via pve-user @ 2025-09-30 9:48 UTC (permalink / raw)
To: Proxmox VE user list; +Cc: Alwin Antreich
[-- Attachment #1: Type: message/rfc822, Size: 4409 bytes --]
From: "Alwin Antreich" <alwin@antreich.com>
To: "Proxmox VE user list" <pve-user@lists.proxmox.com>
Subject: Re: [PVE-User] shutdown and stay shut
Date: Tue, 30 Sep 2025 09:48:30 +0000
Message-ID: <d2135b988f059858a41afdf4c151067e642637f1@antreich.com>
Hi Randy,
September 28, 2025 at 2:04 AM, "Randy Bush" <[randy@psg.com](mailto:randy@psg.com?to=%22Randy%20Bush%22%20%3Crandy%40psg.com%3E)\> wrote:
> debian bookworm
> proxmox 8.4.14
>
> we are going perform some complex surgery on a cluster. so we want to
> shut proxmox down and have it stay down across a few power up and down
> cycles aided by the usual \`shutdown -\[hr\] now\` etc.
>
> what is the best way to tell proxmox not to come back up and start vms
> on reboot / power-up? there seems to be no
Not sure, why do the server need to boot at all?
My "captain obvious" choices :P
- unplug power
- remove OS disks
- use a rescue ISO to boot from
Cheers,
Alwin
[-- Attachment #2: Type: text/plain, Size: 157 bytes --]
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-09-30 9:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-28 0:04 [PVE-User] shutdown and stay shut Randy Bush
2025-09-28 7:13 ` Victor Rodriguez
2025-09-29 5:31 ` René Bayer via pve-user
2025-09-30 9:48 ` Alwin Antreich via pve-user
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox