Hypervisor
Install Proxmox
Enter the following values during setup.
- Install Proxmox with default Partitioning.
- Hostname
pve-b
orpve-a
- Domain
lan.stamx.nl
Disks and partitioning
- Remove lve-local via the proxmox UI.
-
Remove the data partition.
-
Extend the root logical volume and resize.
-
Update the system.
Network
-
Backup default network interfaces file
-
Change network settings
-
Paste the following content into the interfaces file for each specific Proxmox hypervisor
auto lo iface lo inet loopback iface enp0s31f6 inet manual #Onboard iface enp4s0f0 inet manual #PCI iface enp4s0f1 inet manual pre-up ethtool -G $IFACE rx 4096 tx 4096 pre-up ethtool -C $IFACE rx-usecs 0 #PCI auto vmbr0 iface vmbr0 inet static address 10.0.99.2/24 gateway 10.0.99.1 bridge-ports enp0s31f6 bridge-stp off bridge-fd 0 #mgmt auto vmbr1 iface vmbr1 inet manual bridge-ports enp4s0f0 bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids 2-4094 #wan auto vmbr2 iface vmbr2 inet manual bridge-ports enp4s0f1 bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids 2-4094 #lan source /etc/network/interfaces.d/*
auto lo iface lo inet loopback iface eno1 inet manual #Onboard iface enp3s0f0 inet manual #PCI iface enp3s0f1 inet manual pre-up ethtool -G $IFACE rx 4096 tx 4096 pre-up ethtool -C $IFACE rx-usecs 0 #PCI auto vmbr0 iface vmbr0 inet static address 10.0.99.3/24 gateway 10.0.99.1 bridge-ports eno1 bridge-stp off bridge-fd 0 #mgmt auto vmbr1 iface vmbr1 inet manual bridge-ports enp3s0f0 bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids 2-4094 #wan auto vmbr2 iface vmbr2 inet manual bridge-ports enp3s0f1 bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids 2-4094 #lan source /etc/network/interfaces.d/*
-
Reboot
Import ZFS pool
-
List zfs pools and check if vm-storage pool exist.
-
Import zfs pool
-
Reboot
-
Add pool to the UI.
Go toDatacenter
->Storage
->Add
->ZFS
-> Selectvm-storage
and enter idvm-storage
Post install scripts
The scripts can be found at https://community-scripts.github.io/ProxmoxVE/
- Run the 'Proxmox VE CPU Scaling Governor' script and set it to
powersaving
https://community-scripts.github.io/ProxmoxVE/scripts?id=scaling-governor - Run the 'Proxmox VE Post Install' script
https://community-scripts.github.io/ProxmoxVE/scripts?id=post-pve-install - Run the 'Proxmox VE Kernel Clean' script to clean up old kernels
https://community-scripts.github.io/ProxmoxVE/scripts?id=kernel-clean
High Availability
Add QDevice
On the Qdevice
-
This command sets the root password, enables root login in the SSH configuration, and restarts the SSH service.
-
Install corosync packages
On the Proxmox node(s)
-
Install corosync-qdevice packages. Repeat for each node in your cluster.
-
Check current status
the output should look like this
Cluster information ------------------- Name: pve-cluster Config Version: 2 Transport: knet Secure auth: on Quorum information ------------------ Date: Wed Mar 26 13:41:51 2025 Quorum provider: corosync_votequorum Nodes: 2 Node ID: 0x00000002 Ring ID: 1.16 Quorate: Yes Votequorum information ---------------------- Expected votes: 2 Highest expected: 2 Total votes: 2 Quorum: 2 Flags: Quorate Membership information ---------------------- Nodeid Votes Name 0x00000001 1 10.0.99.2 0x00000002 1 10.0.99.3 (local)
-
Add the QDevice to the cluster. Run this on one of the Proxmox nodes. Change the IP address to the IP of the Qdevice
-
Once this is completed check if the Qdevice has been added to the cluster.
The output should now look similar like this:
Cluster information ------------------- Name: pve-cluster Config Version: 3 Transport: knet Secure auth: on Quorum information ------------------ Date: Wed Mar 26 13:51:33 2025 Quorum provider: corosync_votequorum Nodes: 2 Node ID: 0x00000002 Ring ID: 1.16 Quorate: Yes Votequorum information ---------------------- Expected votes: 3 Highest expected: 3 Total votes: 3 Quorum: 2 Flags: Quorate Qdevice Membership information ---------------------- Nodeid Votes Qdevice Name 0x00000001 1 A,V,NMW 10.0.99.2 0x00000002 1 A,V,NMW 10.0.99.3 (local) 0x00000000 1 Qdevice
Make a VM HA
- Turn on Replication for the VM that you want to make High Available.
- Go to
Datacenter
->HA
and add a Resource.