I run this PHP code for $vmid = 101
The result is:
I need to get the same result provided by Proxmox Web UI:
- When VMID 101 is not started then Proxmox Web UI says: OK
- When VMID 101 was already started then Proxmox Web UI says: ERROR: VM 101 already running
Any idea? Or should I check the node status before perform $pve2->post ?
What does the "000471B3:058A929A:5207DFD9" mean?
Code:
$result = $pve2->post("/nodes/$svr_hostname/$svr_virt/$vmid/status/start");
Code:
UPID:dsi-094117:000471B3:058A929A:5207DFD9:qmstart:101:root@pam:
I need to get the same result provided by Proxmox Web UI:
- When VMID 101 is not started then Proxmox Web UI says: OK
- When VMID 101 was already started then Proxmox Web UI says: ERROR: VM 101 already running
Any idea? Or should I check the node status before perform $pve2->post ?
What does the "000471B3:058A929A:5207DFD9" mean?