Documento tecnico per la valutazione e deployment di Proxmox Virtual Environment su infrastruttura fisica esistente.
NON serve installare niente sopra Proxmox.
Proxmox VE È GIÀ la soluzione completa:
Bottom line: Installate Proxmox bare-metal → avete hypervisor + pannello + API. Ogni altra soluzione (Cockpit, Webmin, ecc.) è inutile e ridondante.
Proxmox Virtual Environment è una piattaforma di virtualizzazione open-source basata su Debian, che integra:
| Componente | Specifiche |
|---|---|
| CPU | Intel 64-bit o AMD64 con supporto virtualizzazione (VT-x/AMD-V) |
| RAM | 8 GB (consigliato 16 GB+) |
| Disco | 200 GB (consigliato SSD per VM storage) |
| Network | 1 NIC Gigabit (consigliato 2+ per bonding/separazione traffic) |
| Componente | Specifiche |
|---|---|
| CPU | 8+ core (con VT-x/AMD-V + EPT/RVI) |
| RAM | 32-64 GB+ (dipende da numero VM) |
| Disco | 2x SSD RAID1 (OS) + storage pool separato (VM data) |
| Network | 2-4 NIC Gigabit/10G (bonding LACP, VLAN support) |
Proxmox crea automaticamente un Linux bridge (vmbr0) per connettere le VM alla rete fisica.
# /etc/network/interfaces (auto-configurato da Proxmox)
auto vmbr0
iface vmbr0 inet static
address 192.168.1.10/24
gateway 192.168.1.1
bridge-ports eth0
bridge-stp off
bridge-fd 0
Opzioni avanzate:
vmbr0 = public, vmbr1 = private)Proxmox supporta diversi storage backend configurabili:
| Tipo | Use Case | Performance |
|---|---|---|
| Local (LVM) | Storage singolo nodo, semplice | Buona |
| Local (ZFS) | Snapshot native, compression, dedup | Ottima (con SSD) |
| NFS | Storage condiviso, facile setup | Media (dipende da network) |
| Ceph RBD | Distributed storage, HA cluster | Ottima (3+ nodi) |
| iSCSI | SAN enterprise, block storage | Ottima |
proxmox-ve_*.iso# Accesso web UI
https://<IP_SERVER>:8006
# Login: root / <password_impostata>
# SSH per configurazione avanzata
ssh root@<IP_SERVER>
Configurazioni consigliate:
# /etc/apt/sources.list.d/pve-enterprise.list
# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
# Abilitare repo no-subscription
echo "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
apt update
# Via Web UI: Create VM wizard
# Oppure via CLI:
qm create 100 --name test-vm --memory 2048 --cores 2 --net0 virtio,bridge=vmbr0
qm importdisk 100 /path/to/disk.qcow2 local-lvm
qm set 100 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-100-disk-0
qm set 100 --boot c --bootdisk scsi0
qm start 100
Proxmox espone una REST API completa su https://<IP>:8006/api2/json.
from proxmoxer import ProxmoxAPI
proxmox = ProxmoxAPI('192.168.1.10', user='root@pam',
password='***', verify_ssl=False)
# Crea nuova VM
proxmox.nodes('pve').qemu.create(
vmid=101,
name='web-server',
memory=4096,
cores=2,
sockets=1,
net0='virtio,bridge=vmbr0',
scsi0='local-lvm:32',
ostype='l26' # Linux kernel 2.6+
)
# Start VM
proxmox.nodes('pve').qemu(101).status.start.post()
# Snapshot
proxmox.nodes('pve').qemu(101).snapshot.create(snapname='pre-update')
Per migrare servizi esistenti da bare-metal a Proxmox:
dd over network:
# Sul server fisico (source)
dd if=/dev/sda | ssh root@proxmox "dd of=/dev/mapper/pve-vm--102--disk--0"
rsync -avz --progress /var/www/ root@proxmox-vm:/var/www/
Proxmox include backup scheduler integrato:
# Via Web UI: Datacenter → Backup
# Schedule: daily 02:00, retention 7 giorni
# Storage: NFS mount o local disk
# Oppure via CLI:
vzdump 100 --compress zstd --mode snapshot --storage backup-nfs
Restore: da UI o CLI in ~5 minuti per VM media (20 GB).
Con 2+ nodi Proxmox è possibile creare un cluster HA:
| Versione | Costo | Supporto |
|---|---|---|
| Community (No-Subscription) | €0 | Forum community |
| Standard Subscription | €95/anno per CPU socket | Email support + stable updates |
| Premium Subscription | €380/anno per CPU socket | Priority support + telefono |
| Soluzione | Pro | Contro |
|---|---|---|
| VMware ESXi | Enterprise-grade, GUI nativa | Licensing €€€, API limitata (free) |
| XCP-ng | Xen-based, buona performance | Community più piccola, meno feature |
| OpenStack | Enterprise cloud platform | Complessità estrema, overkill per SMB |
No. Proxmox richiede installazione da zero su disco dedicato. Il server diventa un hypervisor puro - le applicazioni devono girare dentro VM/container.
Sì. Proxmox supporta Windows (7, 10, 11, Server) con driver VirtIO per performance ottimali. ISO driver scaricabile da repo Proxmox.
Sì. CPU limit (core + shares), RAM limit (hard + balloon), disk quota (storage backend), network bandwidth shaping (tc-based).
Sì. Proxmox Backup Server (PBS) supporta S3-compatible storage. Alternativa: script custom con vzdump + rclone.