meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vm:proxmox [2021/03/06 18:03] niziakvm:proxmox [2025/02/07 20:09] (current) niziak
Line 4: Line 4:
   * [[https://pve.proxmox.com/wiki/Main_Page|Wiki]]   * [[https://pve.proxmox.com/wiki/Main_Page|Wiki]]
   * [[https://www.proxmox.com/en/training/video-tutorials|Video Tutorials]]   * [[https://www.proxmox.com/en/training/video-tutorials|Video Tutorials]]
 +  * [[https://community-scripts.github.io/ProxmoxVE/|Proxmox VE Helper-SCripts]]
  
 ===== Upgrading ===== ===== Upgrading =====
Line 54: Line 55:
      
 ==== post-installation tips ==== ==== post-installation tips ====
 +  * set MAC address prefix: `Datacenter` -> `Options`. Locally Administered Address Ranges are: <code>x2-xx-xx-xx-xx-xx
 +x6-xx-xx-xx-xx-xx
 +xA-xx-xx-xx-xx-xx
 +xE-xx-xx-xx-xx-xx
 +</code>
 +  * Speedup migrations to set unencrypted network traffic (in secured networks!): <file /etc/pve/datacenter.cfg>
 +migration: network=first_cluster_host_ip/22,type=insecure</file>
   * disable subscription repo:\\ <code bash>sed -i.bak 's|deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise|\#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise|' /etc/apt/sources.list.d/pve-enterprise.list</code>   * disable subscription repo:\\ <code bash>sed -i.bak 's|deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise|\#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise|' /etc/apt/sources.list.d/pve-enterprise.list</code>
   * add no subscription repo: <code bash>echo 'deb http://download.proxmox.com/debian/pve buster pve-no-subscription' > /etc/apt/sources.list.d/pve-no-sub.list</code>   * add no subscription repo: <code bash>echo 'deb http://download.proxmox.com/debian/pve buster pve-no-subscription' > /etc/apt/sources.list.d/pve-no-sub.list</code>
Line 59: Line 67:
   * <code bash>apt-get upgrade</code>   * <code bash>apt-get upgrade</code>
   * <code bash>apt-get install dropbear busybox-static --no-install-recommends</code>   * <code bash>apt-get install dropbear busybox-static --no-install-recommends</code>
 +  * add Debian ''non-free-firmware'' repo to get microcode updates.
 +    *  <code bash>apt install intel-microcode amd64-microcode</code>
   * Update grub config: <file | /etc/default/grub>   * Update grub config: <file | /etc/default/grub>
-GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=mitigations=off panic=30 nomodeset textonly video=vesafb:off video=efifb:off"+GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=15 mitigations=off panic=30 nomodeset textonly video=vesafb:off video=efifb:off"
 </file><code bash>update-grub</code> </file><code bash>update-grub</code>
-  * SMART disk monitoring\\ <file | /etc/smard.conf>+  * SMART disk monitoring\\ <file | /etc/smartd.conf>
 #                             Short   1AM  Long  Sat    2AM #                             Short   1AM  Long  Sat    2AM
 DEVICESCAN -a -o on -S on -s (S/../.././01|L/../../6/02) -m root DEVICESCAN -a -o on -S on -s (S/../.././01|L/../../6/02) -m root
Line 76: Line 86:
 </code> </code>
   * Assign admin permissions: [[https://pve.proxmox.com/wiki/User_Management#_real_world_examples]]   * Assign admin permissions: [[https://pve.proxmox.com/wiki/User_Management#_real_world_examples]]
-  * For HDDs storage, limit Proxmox operation speed to 50000KiB: <code bash>pvesm set local --bwlimit default=50000</code>+  * For HDDs storage, limit Proxmox operation speed to 100000KiB: <code bash>pvesm set local --bwlimit default=100000</code> 
 +    * repeat in for ''local'', ''local-zfs'', ''hdd-zfs'', ''hdd'' etc...
     * to remove limit: <code bash>pvesm set local --delete bwlimit</code>     * to remove limit: <code bash>pvesm set local --delete bwlimit</code>
 +  * For HDDs storage - force volume big block size. OpenZFS default was 8k. With OpenZFS 2.2 it was changed to 16k. But to reduce fragmentation and HDD seeks - set it to 128k <code bash>pvesm set hdd-zfs --blocksize 128k</code>
   * Enable IOMMU    * Enable IOMMU 
     * in `GRUB_CMDLINE_LINUX_DEFAULT` and add kernel parameter `intel_iommu=on` or `amd_iommu=on`     * in `GRUB_CMDLINE_LINUX_DEFAULT` and add kernel parameter `intel_iommu=on` or `amd_iommu=on`