Proxmox VE

🇹🇭 ภาษาไทย

Proxmox VE คืออะไร

Proxmox Virtual Environment (PVE) คือแพลตฟอร์ม server virtualization แบบ open-source ที่พัฒนาบนฐานของ Debian Linux รวม KVM (Kernel-based Virtual Machine สำหรับ full virtual machines) และ LXC (Linux Containers) ไว้บนแพลตฟอร์มเดียวกัน บริหารจัดการผ่าน web interface และรองรับการทำงานในระดับ enterprise

ฟีเจอร์หลักที่มาพร้อมกัน ได้แก่:

  • Web-based management interface (port 8006)
  • Built-in clustering และ High Availability (HA)
  • ระบบ backup และ restore
  • Software-Defined Networking (SDN)
  • Firewall ในตัว
  • REST API พร้อม JSON Schema สำหรับ automation

Proxmox VE มีสองช่องทางการอัปเดต: subscription (enterprise) สำหรับองค์กรที่ต้องการ SLA และ no-subscription repository สำหรับใช้งานฟรี (เหมาะกับ homelab และ testing)

สถาปัตยกรรม Hyper-Converged Infrastructure (HCI) ช่วยให้รัน compute และ Ceph distributed storage บน node เดียวกันได้โดยไม่ต้องแยก hardware


เวอร์ชันและระบบฐาน

รุ่น PVEDebian BaseKernel
PVE 8.xDebian 12 Bookworm6.8
PVE 9.xDebian 13 Trixie6.14

pmxcfs (Proxmox Cluster File System): filesystem พิเศษที่ใช้เก็บ cluster configuration ทั้งหมด ทำงานใน RAM สูงสุด 30 MB ใช้ SQLite เป็น backend และ sync ข้ามทุก node ใน cluster อัตโนมัติ


Hardware Requirements

ComponentMinimumแนะนำ (Production)
CPU64-bit Intel/AMD + VT-x/AMD-VMulti-core พร้อม IOMMU
RAM2 GB8 GB ขึ้นไป
StorageLocal diskSSD + ZFS หรือ Ceph
Network1 GbE10+ GbE (สำหรับ Ceph/migration)

ต้องเปิด virtualization support ใน BIOS: Intel VT-x หรือ AMD-V


Concepts หลัก

  • VMID: ID เฉพาะของแต่ละ VM หรือ Container (ตัวเลข)
  • Node: เซิร์ฟเวอร์ physical ที่รัน PVE
  • Cluster: กลุ่ม node 1–N ตัวที่บริหารจัดการร่วมกัน (ใช้ corosync)
  • Storage Pool: จัดการผ่าน pvesm รองรับ dir, NFS, LVM, ZFS, Ceph และอื่นๆ
  • Pool: การจัดกลุ่ม resource เชิง logic สำหรับ RBAC

KVM vs LXC

KVM/QEMULXC
Guest OSทุก OS (Linux, Windows, BSD)Linux เท่านั้น
IsolationFull hardware emulationShared kernel กับ host
Performanceใกล้เคียง native (ด้วย virtio)ใกล้เคียง native
Use caseWindows VMs, full isolationLinux services น้ำหนักเบา
Dockerรันข้างในได้ไม่แนะนำ (ด้านความปลอดภัย)

REST API และ Automation

Proxmox VE เปิด REST API เต็มรูปแบบที่ https://{node}:8006/api2/json/ ครอบคลุมการควบคุม node, VM, storage และ network ทั้งหมด

รูปแบบ API Token:

PVEAPIToken=USER@REALM!TOKENID=UUID

รองรับ automation ผ่าน:

  • REST API โดยตรง (curl, Python, etc.)
  • Ansible modules (community.general.proxmox)
  • Terraform provider (bpg/proxmox)

Sub-pages

  • Proxmox VE Admin Guide — ครอบคลุมทุกฟีเจอร์: KVM, LXC, Storage, Cluster, HA, Networking, Firewall, User Management
  • Proxmox VE Upgrade 8 to 9 — การอัปเกรดจาก PVE 8 เป็น PVE 9 (Debian Bookworm → Trixie)

🇬🇧 English

What is Proxmox VE

Proxmox Virtual Environment (PVE) is an open-source server virtualization platform built on top of Debian Linux. It combines KVM (Kernel-based Virtual Machine, for full virtual machines) and LXC (Linux Containers) on a single platform, managed through a web-based interface with enterprise-grade capabilities.

Key built-in features:

  • Web-based management interface (port 8006)
  • Built-in clustering and High Availability (HA)
  • Integrated backup and restore system
  • Software-Defined Networking (SDN)
  • Built-in firewall
  • Full REST API with JSON Schema for automation

Proxmox VE is available through two update channels: a subscription (enterprise) channel for organizations requiring SLA support, and a no-subscription repository for free use (suitable for homelabs and testing).

The Hyper-Converged Infrastructure (HCI) architecture allows running compute and Ceph distributed storage on the same nodes without requiring separate hardware tiers.


Version and Base System

PVE VersionDebian BaseKernel
PVE 8.xDebian 12 Bookworm6.8
PVE 9.xDebian 13 Trixie6.14

pmxcfs (Proxmox Cluster File System): a specialized filesystem that stores all cluster configuration. It operates entirely in RAM (max 30 MB), uses SQLite as its backend, and automatically synchronizes across all nodes in the cluster.


Hardware Requirements

ComponentMinimumRecommended (Production)
CPU64-bit Intel/AMD + VT-x/AMD-VMulti-core with IOMMU
RAM2 GB8 GB or more
StorageLocal diskSSD + ZFS or Ceph
Network1 GbE10+ GbE (for Ceph/live migration)

Virtualization support must be enabled in BIOS: Intel VT-x or AMD-V.


Core Concepts

  • VMID: Unique numeric identifier for each VM or container
  • Node: A physical server running PVE
  • Cluster: A group of 1–N nodes managed together (corosync-based)
  • Storage Pool: Managed via pvesm; supports dir, NFS, LVM, ZFS, Ceph, and more
  • Pool: Logical resource grouping for RBAC access control

KVM vs LXC

KVM/QEMULXC
Guest OSAny (Linux, Windows, BSD)Linux only
IsolationFull hardware emulationShared kernel with host
PerformanceNear-native with virtioNear-native
Use caseWindows VMs, full isolationLightweight Linux services
DockerCan run insideNot recommended (security)

REST API and Automation

Proxmox VE exposes a complete REST API at https://{node}:8006/api2/json/ covering full control of nodes, VMs, containers, storage, and networking.

API Token format:

PVEAPIToken=USER@REALM!TOKENID=UUID

Automation is supported via:

  • Direct REST API calls (curl, Python, etc.)
  • Ansible modules (community.general.proxmox)
  • Terraform provider (bpg/proxmox)

Sub-pages