Differenze tra le versioni di "AdminGuide:GettingStarted:VM:Proxmox/en"

Da Kalliope Wiki.
Jump to navigation Jump to search
(Creata pagina con "Once copied the two files related to the image you want to install inside the /var/lib/vz/dump folder of the host machine (keeping the original names, indicated above), the re...")
 
Riga 22: Riga 22:
<code># qmrestore vzdump-qemu-<versione>.vma.lzo <nnn> --storage <storage_name></code>
<code># qmrestore vzdump-qemu-<versione>.vma.lzo <nnn> --storage <storage_name></code>


<div class="mw-translate-fuzzy">
Where:
where <nnn> is the ID you wish to assign to the VM (it must not be assigned to any other VMs). This step can be performed through the Proxmox GUI.
* '''<nnn>''' is the id to be assigned to the VM (must not be already assigned to other VMs in the Proxmox node/cluster).  
</div>
* '''<storage_name>''' is the name of the storage in which you restore the VM to (normally it is "local" or "storage").


The VM is now operational and you can boot it and access the console to configure the network address.
The VM is now operational and you can boot it and access the console to configure the network address.


<div class="mw-translate-fuzzy">
'''IMPORTANT NOTE''': Before starting the virtual machine, it is necessary to change the VM settings by enabling the '''"KVM hardware virtualization"''' flag, which is disabled in the exported image, otherwise performance will be extremely slow. The new image already has this flag enabled by default, so it is no longer necessary to change this setting; however, it is recommended to check its actual value.
'''N.B.''': before booting the machine, you must edit the VM settings to enable the "KVM Hardware acceleration" flag, otherwise performance will be slow.
</div>


'''NOTA''': la VM viene distribuita con un modello di vCPU generico, che emula un processore Pentium 4, per la massima compatibilità. Nel caso in cui si utilizzi la VM su singolo nodo, o si disponga di nodi Proxmox VE omogenei in termini di CPU fisiche, è possibile modificare il modello del processore al valore "host", che rimappa direttamente le funzioni del processore fisico, rendendo quindi disponibili al S.O. della VM tutte le estensioni hardware presenti sulle CPU del server. A tale proposito si rimanda alla pagina di documentazione Proxmox, sezione "CPU Type": https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines#_emulated_devices_and_paravirtualized_devices
'''NOTE''': The VM is deployed with a generic vCPU model, which emulates a Pentium 4 processor, for maximum compatibility. If you use the VM on a single node, or you have homogeneous Proxmox VE nodes in terms of physical CPUs, you can change the processor model to the "host" value, which directly remaps the functions of the physical processor, thus making available to the OS of the VM all the hardware extensions present on the server CPUs. In this regard, refer to the Proxmox documentation page, section "CPU Type": https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines#_emulated_devices_and_paravirtualized_devices




After this, you can operate as with other VMs, i.e. by accessing with manager/manager credentials, and a wizard will let you configure the network settings.
After this, you can operate as with other VMs, i.e. by accessing with manager/manager credentials, and a wizard will let you configure the network settings.


<div class="mw-translate-fuzzy">
Once on the network, activation and configuration is done via web interface (initially on port 10080, and after installation of the phone firmware on standard port 80). In case UNSAFE_PORT error appears follow this procedure ([[AdminGuide:Procedures:ERR_UNSAFE_PORT_resolution_for_Chrome_and_Firefox/en|Click here]]).
Once the VM is connected to the network, you can activate and configure it through the web interface (initially on port 10080, and after installing the phone firmware on the standard port 80).
</div>


The VM must be able to reach in HTTP our license and update servers  (license.kalliopepbx.it and updates.kalliopepbx.it), which currently both resolve the IP address 77.72.27.4.
The VM must be able to reach in HTTP our license and update servers  (license.kalliopepbx.it and updates.kalliopepbx.it), which currently both resolve the IP address 77.72.27.4.

Versione attuale delle 14:46, 16 feb 2022

Altre lingue:

Return to AdminGuide:GettingStarted:VM

Update - 10/05/2020 A new Kalliope image for Proxmox VE environment is now available, which overcomes the limitations of the previous image to use a maximum of 8 vCPUs and to have a default disk size of 22GB. The new image, prepared on Proxmox VE version 6.1 environment and having a 120GB disk, handles up to a maximum of 128 vCPUs. NOTE: It is not possible to upgrade the VM with 8vCPUs to the one that supports more than 8, so in case of new installations it is recommended to install the new image anyway, even if it will be assigned a number of vCPUs equal or lower than 8.

To install KalliopPBX on Proxmox environment you first need to download the two files: .vma.lzo and .log in the folder: /var/lib/vz/dump/

Image Download Link
KalliopePBX v4 (max 128 vCPU) https://areaclienti.vianova.it/drive/download/6qmKASR4EfpHbG11/ (vzdump-qemu-100-2020_05_10-23_03_40.vma.lzo - 1,4 GB)
https://areaclienti.vianova.it/drive/download/F9zgxpv8UAhcJerD/ (vzdump-qemu-100-2020_05_10-23_03_40.log)
KalliopePBX v4 (max 8 vCPU) https://areaclienti.vianova.it/drive/download/0hh0XCroc9AOsFzt/ (vzdump-qemu-200-2017_06_28-10_06_39.vma.lzo - 1,0 GB)
https://areaclienti.vianova.it/drive/download/vcZYocwlyIeqoHHd/ (vzdump-qemu-200-2017_06_28-10_06_39.log)

Once copied the two files related to the image you want to install inside the /var/lib/vz/dump folder of the host machine (keeping the original names, indicated above), the restore command must be executed in a new VM:
.


# qmrestore vzdump-qemu-<versione>.vma.lzo <nnn> --storage <storage_name>

Where:

  • <nnn> is the id to be assigned to the VM (must not be already assigned to other VMs in the Proxmox node/cluster).
  • <storage_name> is the name of the storage in which you restore the VM to (normally it is "local" or "storage").

The VM is now operational and you can boot it and access the console to configure the network address.

IMPORTANT NOTE: Before starting the virtual machine, it is necessary to change the VM settings by enabling the "KVM hardware virtualization" flag, which is disabled in the exported image, otherwise performance will be extremely slow. The new image already has this flag enabled by default, so it is no longer necessary to change this setting; however, it is recommended to check its actual value.

NOTE: The VM is deployed with a generic vCPU model, which emulates a Pentium 4 processor, for maximum compatibility. If you use the VM on a single node, or you have homogeneous Proxmox VE nodes in terms of physical CPUs, you can change the processor model to the "host" value, which directly remaps the functions of the physical processor, thus making available to the OS of the VM all the hardware extensions present on the server CPUs. In this regard, refer to the Proxmox documentation page, section "CPU Type": https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines#_emulated_devices_and_paravirtualized_devices


After this, you can operate as with other VMs, i.e. by accessing with manager/manager credentials, and a wizard will let you configure the network settings.

Once on the network, activation and configuration is done via web interface (initially on port 10080, and after installation of the phone firmware on standard port 80). In case UNSAFE_PORT error appears follow this procedure (Click here).

The VM must be able to reach in HTTP our license and update servers (license.kalliopepbx.it and updates.kalliopepbx.it), which currently both resolve the IP address 77.72.27.4.