Search results

  1. X

    Proxmox execute command

    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 ) ) )...
  2. X

    Create LXC via API

    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 =...
  3. X

    Update apt sources while using dab?

    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...
  4. X

    noVNC console via PHP API

    Hello, Is there any example about showing a noVNC popup from a VM (via external website) in PHP? Thanks!
  5. X

    PHP API with Proxmox HA cluster

    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...
  6. X

    Hosts/VM resources via PHP API

    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"]=>...
  7. X

    Proxmox API VM creation

    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)...
  8. X

    Virtualization Security

    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