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

Da Kalliope Wiki.
Jump to navigation Jump to search
(Creata pagina con "2. Execute the command <code># qmrestore /var/lib/vz/dump/Kalliope...vma.lzo <nnn></code>")
 
(10 versioni intermedie di 4 utenti non mostrate)
Riga 2: Riga 2:
Return to [[AdminGuide:GettingStarted:VM/en|AdminGuide:GettingStarted:VM]]
Return to [[AdminGuide:GettingStarted:VM/en|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.


The KalliopePBX image file for Proxmox-VE (4.4) environment can be downloaded at the following link:
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/


vzdump-qemu-200-2017_06_28-10_06_39.vma.lzo : <br>
{| class="wikitable"
https://areaclienti.vianova.it/drive/download/0hh0XCroc9AOsFzt/
|-
! 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) <br> 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) <br> https://areaclienti.vianova.it/drive/download/vcZYocwlyIeqoHHd/ (vzdump-qemu-200-2017_06_28-10_06_39.log)
|}


vzdump-qemu-200-2017_06_28-10_06_39.log : <br>
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:<br>.
https://areaclienti.vianova.it/drive/download/vcZYocwlyIeqoHHd/




The following is the procedure for restoring in a Proxmox environment:
<code># qmrestore vzdump-qemu-<versione>.vma.lzo <nnn> --storage <storage_name></code>


1. Copy the two files to the /var/lib/vz/dump folder of the host machine, without renaming them.
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").


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


<code># qmrestore /var/lib/vz/dump/Kalliope...vma.lzo <nnn></code>
'''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.


dove <nnn> è l'id da assegnare alla VM (non già assegnato ad altre VM). Il passo 2 è eventualmente effettuabile tramite la GUI Proxmox.
'''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


A questo punto la VM è operativa, è possibile avviarla e accedere alla console per effettuare la configurazione dell'indirizzo di rete.


'''NOTA IMPORTANTE''': prima di avviare la macchina virtuale è necessario modificare le impostazioni della VM abilitando il flag "KVM Hardware acceleration" , altrimenti le prestazioni sono estremamente rallentate.
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 ([[AdminGuide:Procedures:ERR_UNSAFE_PORT_resolution_for_Chrome_and_Firefox/en|Click here]]).


A questo punto si opera come per le altre VM, ossia si accede con credenziali manager/manager, e un wizard permette di effettuare le impostazioni di rete.
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.
 
Una volta in rete, l'attivazione e la configurazione avviene tramite interfaccia web (inizialmente sulla porta 10080, e dopo l'installazione del firmware telefonico sulla porta standard 80).
 
E' necessario che la VM abbia la raggiungibilità in HTTPS dei nostri server di licenza e di aggiornamenti (license.kalliopepbx.it e updates.kalliopepbx.it) che attualmente risolvono entrambi l'IP 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.