Dear,
Again a few problems with the API. I am unable to send shell commands to the proxmox host via the API.
i.e.
$aCommands = array
(
'pct exec ' . $iVMID . ' -- ls -al /'
);
var_dump ( $pApi->post ( '/nodes/' . $sNodeName . '/execute', array ( 'commands' => json_encode ( $aCommands ) ) )...
Hi,
I am trying to create a LXC via PHP API but I get a error ...
'HTTP Error - HTTP/1.1 500 can't find file 'debian-8.0-CUSTOM_8.0-1_amd64''.
But I am sure that the template exists.
I guess that my script is not correct, as there are no api examples ...
$sTemplateName =...
Dear,
I am using DAB to create a custom template for quick deployment. But the apps I run within the LXC containers will be 32bit. I am using Debian Jessie 8.0 x64 as template.
I need to execute these commands within dab:
# dpkg --add-architecture i386
# apt-get update
# apt-get install...
Hello,
I have a basic HA cluster (2 nodes, just to write the PHP scripts). My script is connecting to a node within the cluster (randomly) and will get all VMs running within the cluster.
i.e. I have node1 and node2 and I am connected to node1.
So the script is getting all vms from node1 and...
Hello,
Here is another question about fetching resources information about a host (node) or VM via the PHP API.
i.e. when using the API call '/nodes/NODE1/status' you'll get the data back. Except the CPU and I/O delay are a bit different.
They'll return as:
array(12) {
["cpu"]=>...
Hello,
I need some information about creating a VM through the VE API. I am already aware of the API documentation ( http://pve.proxmox.com/pve2-api-doc/ -> /nodes/{node}/qemu ).
My question is, how to create a HDD/CD-ROM ?
The creation output (via PHP):
array(12) {
["name"]=>
string(7)...
Dear members / Proxmox,
I am planning to create a cloud environment using Proxmox VE with a premium subscription. But I was looking if Proxmox has Virtualization Security (like VMware vShield) support.
Is this available or is this something for the roadmap?
Thanks,
x86
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.