Frage zu Shutdown für CT und VM über die Konsole

Ma_Bo

New Member
Jul 30, 2020
7
0
1
40
Hallo, ich bin recht neu mit Proxmox unterwegs und habe ein paar Fragen dazu.

Ich habe mehrere CTs und eine VM am laufen und möchte nun über einen Befehl über die Shell vom Proxmox Host, alle CTs, VMs und Proxmox (Host) sauber herunterfahren.

Welchen Befehl brauche ich dafür und welchen Befehl bräuchte ich wenn ich über die Shell vom Proxmox Host nur alle CTs und VMs sauber herunterfahren möchte, so dass der Host weiterläuft?

Grüße Marcel
 
Hallo,


Welchen Befehl brauche ich dafür und welchen Befehl bräuchte ich wenn ich über die Shell vom Proxmox Host nur alle CTs und VMs sauber herunterfahren möchte, so dass der Host weiterläuft?

Du kannst über API/CLI Start oder Stop [1] VMs egal ob LXC Containers oder VM.


Z.b:
für starten
Bash:
pvesh create /nodes/{NODE}/startall --vms 100,102 --force 1
für stopen
Bash:
pvesh create /nodes/{NODE}/stopall --vms 100,102

[1] https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/stopall
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!