# Proxmox - [Setup](#setup) - [Quorum and qdevice](#quorum-and-qdevice) - [Power Management](#power-management) - [As Workstation](#as-workstation) - [Migatrion](#migatrion) - [GPU Passthrought](#gpu-passthrought) - [Misc](#misc) ## Setup - [Download](https://www.proxmox.com/en/downloads/category/iso-images-pve) - [Setup and official Information](https://www.proxmox.com/en/proxmox-ve/get-started) - [System Administration](https://pve.proxmox.com/pve-docs/chapter-sysadmin.html) ## Quorum and qdevice Required if cluster with two nodes ``` bash #check quorum status pvecm status # output example: # Votequorum information # ---------------------- # Expected votes: 2 # Highest expected: 2 # Total votes: 2 # Quorum: 2 # install on all promox servers apt update && apt install corosync-qdevice # install on qdevice # tested on a raspberry Pi 4 apt update apt install corosync-qnetd apt install corosync-qdevice # execute on one of proxmox servers # change with qdevice ip address pvecm qdevice setup -f #check quorum status again pvecm status # output example: # Votequorum information # ---------------------- # Expected votes: 3 # Highest expected: 3 # Total votes: 3 # Quorum: 2 ``` ### Power Management ```bash #disable systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target #enable systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target #cpu scaling #Source: https://community.home-assistant.io/t/psa-how-to-configure-proxmox-for-lower-power-usage/323731 #check current scaling cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors #change to power save echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor #add to crontab @reboot echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor >/dev/null 2>&1 # powertop powertop --auto-tune #reboot #add to crontab @reboot powertop --auto-tune >/dev/null 2>&1 ``` ## As Workstation [check](./docs/workstation.md) for more information how to setup proxmox instalation as an graphical workstation. ## Migatrion [7 to 8](https://pve.proxmox.com/wiki/Upgrade_from_7_to_8) ## GPU Passthrought - https://gist.github.com/qubidt/64f617e959725e934992b080e677656f - https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF - https://forum.level1techs.com/t/5700g-single-dgpu-passthrough-with-host-on-igp/175772/8 - https://gist.github.com/matt22207/bb1ba1811a08a715e32f106450b0418a - https://forum.proxmox.com/threads/amd-ryzen-7-renoir-4750g-apu-and-igpu-pass-thru-to-windows-10-guest.84849/ - https://news.knowledia.com/US/en/articles/testing-gpu-passthrough-on-amd-ryzen-7-5700g-apu-e89e8062cb50e042ec14588098caca55592881f1 - https://www.reddit.com/r/VFIO/comments/sgfqys/ryzen_7_5700g_igpu_passthrough_proxmox/ - https://www.reddit.com/r/Proxmox/comments/lcnn5w/proxmox_pcie_passthrough_in_2_minutes/ ## Misc https://dannyda.com/2020/05/10/how-to-delete-remove-local-lvm-from-proxmox-ve-pve-and-some-lvm-basics-commands/