I'm using hardware RAID, so just using partitions directly.
/api2/json/nodes/{node}/storage works! one of the attrs returned is: used_fraction, so that'll work great for my need. Thanks for the help
I'd like to query the amount of hard disk space used on the server (or remaining) via the web API. I see I can query the total size of the hard disks via:
/nodes/{node}/disks/list
(There is a 'size' field in there). How can I query the size used or remaining, of the total size of the disk...
OK, I did that and apt installed 2 items, looks like I'm close but hit the following error:
ERROR: unknown option --with-confsuffix=/kvm
Try '/home/simulation/jtongen/pve-qemu/pve-qemu-kvm-5.1.0/configure --help' for more information
make[1]: *** [debian/rules:38: config.status] Error 1...
It appears that proxmox is applying some custom patches to the qemu source. The ones I've located are in pve-qemu/debian/patches/pve.
Is there a process for me to apply those to the qemu source and then build the qemu binaries?
It also appears proxmox may be adding libs to the qemu build...
I'd like to write some scripts to control/monitor VM state. The script would run from a windows system, ideally with no Proxmox software installed.
Is there a python API for Proxmox? I'm thinking my windows script would ssh into the Proxmox node and then interact with a scripting interface...
Could you please point me to any example implementations (or tests would be fine) of client-side scripts (that would be run from a system that is not part of the proxmox cluster) that interact only with the REST API?
OK, that helps some. But of course, I have new questions now ;). All of these are focused along the "how would I enable proxmox users to select a qemu" theme, if you've got general guidance for that that'd be quite helpful.
1) What is the entity that is exposing the REST API? Looks like...
I've been looking into it more, I think I've answered some of the above:
1) I'd like to have qm use my own qemu (I'm making source modifications to qemu and compiling it). Is there a way I can tell qm which qemu to run (by specifying the full system path to qemu)?
It looks like qm is running...
I've been running my VMs directly on qemu in the past, and I'd like to transition to using proxmox to run them. I found the following, which was very helpful, but have some additional questions that I can't find in the proxmox docs:
https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines
That...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.