Proxmox VE

Proxmox VE(英語:Proxmox Virtual Environment,通常簡稱為PVE、Proxmox),是一個開源的伺服器虛擬化環境Linux發行版。

Learning Proxmox

Proxmox VE(英語:Proxmox Virtual Environment,通常簡稱為PVE、Proxmox),是一個開源的伺服器虛擬化環境Linux發行版。

Getting started

Monitoring

Proxmox Datacenter Manager

管理多個 PVE nodes (不是叢集軟體)

ProxCenter

類似 vCenter 的管理軟體

HA Cluster

Advanced Tips

5 common mistakes
  1. Staying on Enterprise repositories
    You should switch to No-Subscription repos after installing PVE
  2. Not keeping backups
    Use vzdump when you’re new; switch to PBS once you become a veteran
  3. Forgetting about documentation tools and monitoring services
    They are a godsend for troubleshooting
  4. Running mission-critical virtual guests on your experimentation server
    High-availability or standalone nodes: Pick your poison
  5. Clustering when you’re a beginner
    Unless you have the hardware and skillset, it’s best to avoid clusters

Ceph Storage

Ceph 作為軟體定義的分散式儲存系統,具有高可用性、可平行擴展、無單點失敗、且具有一定自我修復能力等特性。

PECU

PECU - Proxmox Enhanced Configuration Utility

Professional Proxmox VE automation:

Tutorials:

Proxmox Backup Server

Nested Virtualization

內嵌虛擬化 - 在 Promox 的 VM 安裝另一個虛擬平台,例如 Proxmox、VMware ESXi。

一般用途為:

教學:

LXC Container

PegaProx

The Ultimate Datacenter Management Solution for Proxmox VE

 

Post-Install

Tutorials

Repositories

Disable Enterprise Repositories

  1. Navigate to Node > Repositories. Disable the enterprise repositories.
  2. Now click Add and enable the no-subscription repository. Finally, go to Updates > Refresh.
  3. Upgrade your system by clicking Upgrade above the repository settings page.

local-lvm

Delete local-lvm and Resize local (read warning)

Warning: This assumes a fresh installation without advanced storage settings during the installation, such as ZFS. These steps are only recommended if you have a small boot drive and you need to reclaim space.

  1. Delete local-lvm manually from web interface under Datacenter > Storage.
  2. Run the following commands within Node > Shell.
lvremove /dev/pve/data
lvresize -l +100%FREE /dev/pve/root
resize2fs /dev/mapper/pve-root

BIOS

Other Defaults

  1. VM CPU Type: Host
  2. Memory ballooning configuration: Disable

FAQ

安裝後無法正常開機
VFS: Unable to mount root fs on unknown-block(0,0)

Solution: 不要使用 Ventoy 方式安裝,改用 ISO 檔直接寫入 USB 方式。

系統突然不能正常開機

開機程序停在這個畫面

Loading Linux 6.17.13 ...
Loading initial ramdisk ...

原因:開機前可能有改過 kernel 的開機參數,不小心導致無法開機。

解決:

  1. 使用 PVE ISO USB 開機
  2. 進入 Advanced Options ➜ Rescue Boot
  3. 修改 GRUB 開機參數 /etc/default/grub 
GRUB_TIMEOUT=5  # 0 改成 5, 方便以後管理
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt"  # 移除有問題的參數

套用變更

update-grub
reboot

GPU PassThrough

Tutorials

Enable IOMMU

BIOS

proxmox

Node > Shell > Edit: /etc/default/grub 

# Should look like this
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"

Run the command

update-grub