PVE-部署配置
DELL R730 BIOS修改
UEFI启动
虚拟化打开
IOMMU打开
电源冗余打开
BMC地址静态
安全启动禁止
编辑软件源
cat > /etc/apt/source.list.d/tsinghua.list <<EOF
#清华大学软件源
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
#deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
#deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
#deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
EOF
ceph源
echo "deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/ceph-reef bookworm no-subscription" > /etc/apt/sources.list.d/ceph.list
辅助工具
git clone https://wget.la/https://github.com/ivanhao/pvetools.git
wget -q -O /root/pve_source.tar.gz 'https://bbs.x86pi.cn/file/topic/2023-11-28/file/01ac88d7d2b840cb88c15cb5e19d4305b2.gz' && tar zxvf /root/pve_source.tar.gz && /root/./pve_source
wget -q -O /root/pve_source.tar.gz 'https://bbs.x86pi.cn/file/topic/2024-01-06/file/24f723efc6ab4913b1f99c97a1d1a472b2.gz' && tar zxvf /root/pve_source.tar.gz && /root/./pve_source
PVE核心软件包
systemctl restart pveproxy pvedaemon pvestatd
apt reinstall pve-manager proxmox-widget-toolkit
Proxmox VE(PVE)的核心服务主要包括以下五个关键组件,它们共同支撑了平台的集群管理、高可用性、状态监控及用户交互:
- pvedaemon - 核心服务守护进程
 功能:处理用户通过 Web 界面或命令行发送的操作请求(如虚拟机创建、存储配置、备份等),是 PVE 的核心逻辑执行者。
 特点:直接调用底层指令(如 qemu-system 命令)管理虚拟机,即使 PVE 服务崩溃,虚拟机进程仍可独立运行。
- pveproxy - Web 界面与 API 服务
 功能:提供基于浏览器的图形化管理界面和 RESTful API,支持用户通过 HTTPS 远程管理集群、虚拟机、存储及网络配置。
 特点:前端使用 ExtJS 框架构建,后端逐步引入 Rust 语言优化性能。
- pvestatd - 状态监控服务
 功能:实时收集集群节点的状态数据,包括虚拟机/容器运行状态、存储空间、网络负载等信息,并将数据同步至其他服务用于决策(如高可用性调度)。
- pve-cluster - 集群通信服务
 功能:基于 Corosync 实现分布式数据同步,管理集群节点间的配置共享(如存储定义、网络设置)和节点状态同步,确保集群一致性。
 特点:采用去中心化架构,任意节点均可管理整个集群,无需依赖类似 vCenter 的集中管理节点。
- pve-ha-manager - 高可用性管理服务
 功能:由两个子服务组成:
 pve-ha-lrm(本地资源监控):监控本节点虚拟机的健康状态。
 pve-ha-crm(集群资源管理):在节点故障时自动迁移虚拟机至其他节点,保障业务连续性。
 场景:例如主节点宕机时,虚拟机在 30 秒内完成故障切换。
 
                    
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号