This guide demonstrates how to integrate: The goal is: 1. Architecture Overview Both PVE nodes back up to the same PBS.A VM backed up on PVE1 can be restored directly on PVE2. 2. Install PBS1 Install PBS on a physical host or on a VM.Access the web interface: 3. Create a Datastore PBS Web UI…
Category: Virtualization
About virtualization PVE / PBS
Proxmox VE + Proxmox Backup Server 建置與跨機還原完整操作指南
以下示範皆以匿名命名的環境為例: 本文將說明如何: 本流程適用: 1. 整體架構概念 每台 PVE 都把 VM 備份到 PBS。未來若要將 VM 從 PVE1 移動到 PVE2,只需在 PVE2 從 PBS 還原即可。 不需要叢集、不需要共用儲存,也不需要仲裁機(qdevice)。這是兩台 PVE 最穩定、風險最低的部署方式。 2. 安裝 Proxmox Backup Server(PBS1) 可使用: 安裝完成後,以瀏覽器登入: 3. 建立 Datastore 在 PBS Web 管理介面: 4. 建立 API Token(給 PVE 連線使用) 在 PBS Web GUI: 5. 設定 PBS 權限(非常重要) PVE 使用 Token 連到…
How to Switch Proxmox Backup Server 4.x to the Community No-Subscription Repository
After installing Proxmox Backup Server (PBS), the system is configured to use the Enterprise Repository by default.This repository requires a paid subscription, and without one, you may see errors such as: Fortunately, Proxmox provides a No-Subscription (Community) repository, which allows free access to updates and security patches.This guide documents the complete process for converting PBS…
Proxmox Backup Server 4.x:切換成社群版 (No-Subscription) 更新源完整教學
Proxmox Backup Server(PBS)在安裝完成後,預設會啟用 Enterprise 企業版更新源,需要付費訂閱才能正常使用。如果你沒有企業授權,每次更新時會看到以下錯誤: 其實 Proxmox 官方也提供 No-Subscription 的免費社群版更新源,只要切換來源,就能正常取得系統更新與安全性修補。 這篇文章記錄 PBS 4.x(Debian 13 trixie) 切換到社群版更新源的完整步驟。 ✅ 1. 檢查目前系統版本 PBS 4.x 對應 Debian 13 trixie,你可以確認: 若顯示 13.x 或 trixie,代表你使用的是 PBS 4.x 對應的系統版本。 ✅ 2. 停用 Enterprise 企業版更新源 PBS 預設的企業版 repository 存放於: 編輯它: 將整個內容全部註解掉或加入: 例如: 這樣即可完全停用企業版更新源。 ✅ 3. 建立社群版 (No-Subscription) 更新源 Proxmox Backup Server 4.x 官方建議使用…
Complete Guide: Installing and Configuring OPNsense Firewall on Proxmox VE
Audience: IT administrators, network engineers, and virtualization enthusiastsEnvironment: Proxmox VE + OPNsense (FreeBSD-based firewall) 📘 1. Why Choose OPNsense? OPNsense is a FreeBSD-based open-source firewall maintained by Deciso.It offers enterprise-grade features — IDS/IPS, traffic shaping, VPN, proxy, and QoS — in a modern web interface with active updates. When running Proxmox VE, OPNsense is one…
在 Proxmox VE 上安裝與設定 OPNsense 防火牆完整指南
適用對象:網管人員、IT 維運、虛擬化環境使用者實作環境:Proxmox VE + OPNsense(FreeBSD-based firewall) 📘 一、為什麼選擇 OPNsense? OPNsense 是一款基於 FreeBSD 的開源防火牆系統,由 Deciso 公司維護,擁有企業級功能(如 IDS/IPS、流量監控、VPN、QoS、Proxy 等)。與 pfSense 相比,它的介面更現代化、套件更穩定,且更新頻率高。 如果你的公司正在使用 Proxmox VE(PVE) 進行虛擬化,OPNsense 是最理想的虛擬防火牆解決方案之一。 ⚙️ 二、在 Proxmox 上安裝 OPNsense 1️⃣ 系統需求建議 項目 最低需求 建議配置 CPU 2 Core 2~4 Core(支援 VT-x / AMD-V) RAM 2GB 4~8GB(視流量與 IDS 功能而定) Disk 10GB 20GB 以上 NIC 2 張 一張…
KVM/Libvirt Field Notes: VM Migration, Operations, and Troubleshooting
(Example: Moving a Windows 10 VM from a3520 → a1550) This note records how we moved win10-cht-pro-basic from a3520 (CentOS 7) to a1550 (Ubuntu 24), including common operations, the cold-migration flow, XML adjustments, RDP/console access, ways to get the guest IP, and frequent errors. Reuse this as a checklist for future cases. 1) Handy virsh…
KVM/Libvirt 實戰筆記:VM 搬移、操作指令與疑難排解(以 Win10 由 a3520→a1550 為例)
這篇把這次把 win10-cht-pro-basic 從 a3520 (CentOS 7) 搬到 a1550 (Ubuntu 24) 的過程與重點全記下來,包含基本操作、冷遷移流程、XML 調整、RDP/主控台連線、取 IP 方法與常見錯誤排查。未來同類案件照表操課即可。 一、最常用 virsh 指令小抄 二、冷遷移(建議做法,跨版本最穩) CentOS7 ↔ Ubuntu24 的 libvirt/QEMU 版本差距大,不建議 live migrate。冷遷移:關機→匯出→搬磁碟→修 XML→匯入。 1) 在來源 a3520 關機並匯出定義 2) 複製虛擬磁碟到目的 a1550 先查磁碟路徑: 搬檔: 3) 在 a1550 調整 XML(重點 4 件) 打開 /tmp/win10.xml 依下列重點修改: (A) QEMU 執行檔路徑(Ubuntu 24) 來源機若是 /usr/libexec/qemu-kvm 會報錯,需改為上面這條。 (B) CPU…
Understanding VLAN Configuration in Proxmox VE — A Practical Guide
Introduction In a virtualized environment, VLANs (Virtual LANs) play a crucial role in network isolation and segmentation.Within Proxmox VE (PVE), VLANs can be managed through Linux bridges (e.g., vmbr0) combined with VLAN tagging, allowing multiple VMs to share a single physical NIC while staying securely separated across different subnets.This article summarizes my hands-on experience configuring…
Proxmox VE 中的 VLAN 架構與 VM 網路設定實戰指南
前言 在虛擬化環境中,VLAN(Virtual LAN) 是網路隔離與分流的核心機制。在 Proxmox VE (PVE) 裡,透過 Linux Bridge(例如 vmbr0)搭配 VLAN tag,就能讓多個 VM 共用一張實體網卡,卻依然區隔不同子網。這篇文章記錄了我在實際部署過程中對 VLAN 架構的理解與設定步驟,作為日後參考筆記。 一、VLAN 的基本概念 在實體交換器(例如 Unifi、Juniper、Cisco)上,只要對 port 設為 Trunk 模式,允許多個 VLAN 通過,就能讓 Proxmox 的一張 NIC(例如 enp3s0)同時承載多個 VLAN。 二、Proxmox 中的網路邏輯 Proxmox 的網路基礎是 Linux Bridge。當你建立 vmbr0 時,它就像一個虛擬交換器,VM、Container 與實體網卡都能接在上面。 範例: 🔹 說明: 三、在 VM 上設定 VLAN Tag 每台 VM 的網卡(例如 net0)都可以指定 VLAN tag。當…