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...
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 ) ) )...
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.
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...
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...
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)...
Hi admin,
Sad to hear. But it would make Proxmox even better to manage and easier to use it in different environments where security does matter on VMs. For example desktop virtualization or when cloning a template where you don't update anti-virus and anti-malware on every single system. I...
Hi Tom,
I am talking about the security for VMs (Windows and Linux). VMware vShield offers anti-virus and anti-malware protection on the host layer instead of installing (fat) anti-virus software on VMs. An example is Deep Security by Trend Micro, see...
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.