PVE and PBS on a single machine: how to turn off only PVE a/o PBS and keep Linux running?

gctwnl

Member
Aug 24, 2022
89
16
13
I have PVE and PBS on the same machine. Both have a 'shutdown' option, but that shuts down the entire machine. I would like to keep the machine running so I can do some command line maintenance. How do I power down (command line, obviously, using ssh) PVE and/or PBS without shutting down the machine?
 
You could run systemctl stop proxmox-backup-proxy.service proxmox-backup.service... and no backup is possible anymore, as far as I can see.

For PVE (and active HA) there is ha-manager crm-command node-maintenance enable pveX .

And PVE itself consists of multiple services, I am not sure which of them I would stop...:
Code:
 systemctl -t service --state=running --no-legend --no-pager | grep pve
  ceph-mgr@pveg.service        loaded active running Ceph cluster manager daemon
  pve-cluster.service          loaded active running The Proxmox VE cluster filesystem
  pve-container@2053.service   loaded active running PVE LXC Container: 2053
  pve-firewall.service         loaded active running Proxmox VE firewall
  pve-ha-crm.service           loaded active running PVE Cluster HA Resource Manager Daemon
  pve-ha-lrm.service           loaded active running PVE Local HA Resource Manager Daemon
  pve-lxc-syscalld.service     loaded active running Proxmox VE LXC Syscall Daemon
  pvedaemon.service            loaded active running PVE API Daemon
  pvefw-logger.service         loaded active running Proxmox VE firewall logger
  pveproxy.service             loaded active running PVE API Proxy Server
  pvescheduler.service         loaded active running Proxmox VE scheduler
  pvestatd.service             loaded active running PVE Status Daemon

But... why do you think that this is necessary? Manually stopping those services is usually not required, from my point of view. What I usually do is to shutdown (or migrate) all guests. That's it - even for system upgrades or other potentially "dangerous" operations like manipulating the storage system or the network.