Recent content by x86

  1. X

    Proxmox execute command

    Ok thanks for the information. I created a script which deploys new LXC for customers. I did configure a CIFS share mount via DAB within the template (thats why I need to use the special config var; 'lxc.aa_profile: lxc-custom-mounts'). After creation I need to do a post deployment (install...
  2. 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 ) ) )...
  3. X

    Create LXC via API

    Fixed it by using: local:vztmpl/debian-8.0-CUSTOM_8.0-1_amd64.tar.gz Strange that 'template' doesn't work. 'rootfs' parameter should be a number (afaik) to define how big the HDD should be, i.e.: 'rootfs' = '10'; This will create a 10GB raw HDD.
  4. X

    Create LXC via API

    Still doesn't work, tried: The file is located here: /var/lib/vz/template/cache/debian-8.0-CUSTOM_8.0-1_amd64.tar.gz
  5. 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 =...
  6. 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...
  7. X

    noVNC console via PHP API

    I did contribute some code to the API. I thought there was a better way to use noVNC instead of this 'hacky way'. :D But thanks anyway!
  8. 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!
  9. X

    Proxmox et VMware

    Go to the proxmox web interface, select the VM, click at 'Options', then disable 'KVM hardware virt...'.
  10. X

    PHP API with Proxmox HA cluster

    Fixed. The 'api user' was not an administrator of node2.
  11. X

    CPU advice, what "plays" nice with PROXMOX

    I was not aware about openfiler. Never used it in a production environment. Most (dell) servers recognizes an internal usb-stick as a drive.
  12. X

    CPU advice, what "plays" nice with PROXMOX

    If you are about the replace the storage server, you might look at openfiler (it's made for 'real' shared storage situations). You might connect it with fiber (FCoE) instead of iSCSI to your proxmox nodes/hosts. A good storage server requires only one quad core socket and more RAM is better (so...
  13. 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...
  14. X

    PVE 3.3 -> 3.4 CLI upgrade stalled

    Please use pastebin next time
  15. X

    Hosts/VM resources via PHP API

    Dear dietmar, Thanks again ;-).

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!