2024-03-02 16:33:18 +00:00
2024-02-18 23:10:15 +00:00
2024-03-02 16:33:18 +00:00

Proxmox

Setup

misc

https://dannyda.com/2020/05/10/how-to-delete-remove-local-lvm-from-proxmox-ve-pve-and-some-lvm-basics-commands/

Quorum and qdevice

Required if cluster with two nodes

#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 <QDEVICE_IP> with qdevice ip address
pvecm qdevice setup  <QDEVICE_IP> -f

#check quorum status again
pvecm status

# output example:
# Votequorum information
# ----------------------
# Expected votes:   3
# Highest expected: 3
# Total votes:      3
# Quorum:           2  

Power Management

#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 for more information how to setup proxmox instalation as workstation

Migatrion

7 to 8

GPU Passthrought

Atenção a este!!! https://www.reddit.com/r/Proxmox/comments/lcnn5w/proxmox_pcie_passthrough_in_2_minutes/

Description
No description provided
Readme 51 KiB
Languages
Dockerfile 84.2%
Shell 15.8%