Configure the following BIOS settings for optimal Proxmox VE performance:
- Enable UEFI boot mode
- Activate virtualization extensions
- Enable IOMMU support
- Enable power redundancy features
- Set static BMC IP address
- Disable Secure Boot
Repository Configuration
cat > /etc/apt/sources.list.d/tsinghua.list <<eof bookworm="" bookworm-backports="" bookworm-updates="" contrib="" deb="" eof="" https:="" main="" mirror="" non-free="" non-free-firmware="" tsinghua="" university=""></eof>
Ceph Repository
echo "deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/ceph-reef bookworm no-subscription" > /etc/apt/sources.list.d/ceph.list
Helper Tools Installation
git clone https://wget.la/https://github.com/ivanhao/pvetools.git
wget -q -O /root/pve_tools.tar.gz 'https://bbs.x86pi.cn/file/topic/2023-11-28/file/01ac88d7d2b840cb88c15cb5e19d4305b2.gz' && tar zxvf /root/pve_tools.tar.gz && /root/./pve_tools
wget -q -O /root/pve_tools.tar.gz 'https://bbs.x86pi.cn/file/topic/2024-01-06/file/24f723efc6ab4913b1f99c97a1d1a472b2.gz' && tar zxvf /root/pve_tools.tar.gz && /root/./pve_tools
PVE Core Packages
systemctl restart pveproxy pvedaemon pvestatd
apt reinstall pve-manager proxmox-widget-toolkit
Proxmox VE Core Services
Proxmox VE relies on five essential services that enable cluster management, high availability, monitoring, and user interaction:
- pvedaemon - Core service daemon
Function: Processes user requests from web interface or command line (VM creation, storage configuration, backups).
Characteristic: Directly invokes underlying commands (like qemu-system) to manage VMs. VM processes continue running even if PVE services crash. - pveproxy - Web interface and API service
Function: Provides browser-based GUI and RESTful API for remote cluster management.
Characteristic: Frontend uses ExtJS framework, backend gradually adopting Rust for performance improvements. - pvestatd - Status monitoring service
Function: Collects real-time cluster status data including VM/container states, storage space, and network load.
Characteristic: Synchronizes data across services for decision-making (like HA scheduling). - pve-cluster - Cluster communication service
Function: Uses Corosync for distributed data synchronization, managing shared configurations and node state.
Characteristic: Decentralized architecture allows any node to manage the entire cluster. - pve-ha-manager - High availability management
Function: Comprises two sub-services:- pve-ha-lrm: Monitors local VM health
- pve-ha-crm: Migrates VMs during node failures
Characteristic: Enables automatic failvoer within 30 seconds during primary node outages.