User Tools

Site Tools


wiki:proxmox

Differences

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

Link to this comparison view

Next revision
Previous revision
wiki:proxmox [2023/06/19 06:19] – created michelwiki:proxmox [2023/06/20 06:04] (current) michel
Line 1: Line 1:
 ====== Proxmox ====== ====== Proxmox ======
 +===== Storage =====
 +[[https://u335095.your-storagebox.de/template/iso/|Hetzner ISO Storage]]
 +
 +===== Network =====
 +<file bash /etc/network/interfaces>
 +source /etc/network/interfaces.d/*
 +
 +auto lo
 +iface lo inet loopback
 +iface lo inet6 loopback
 +
 +auto enp6s0
 +iface enp6s0 inet manual
 +
 +auto vmbr0
 +iface vmbr0 inet static
 + address IP/NETMASK
 + gateway GATEWAY
 + bridge-ports enp6s0
 + bridge-stp off
 + bridge-fd 0
 + bridge-vlan-aware yes
 + bridge-vids 2-4092
 +
 +iface vmbr0 inet6 static
 + address IP6
 + netmask 64
 + gateway GATEWAY6
 +
 +auto vmbr0.4010
 +iface vmbr0.4010 inet static
 + address 10.192.0.12/24
 + mtu 1400
 + up   ip route add    10.0.0.0/   via 10.192.0.1
 + down ip route delete 10.0.0.0/   via 10.192.0.1
 +
 +auto vmbr0.4020
 +iface vmbr0.4020 inet static
 + address 10.192.20.12/24
 + mtu 1400
 +
 +iface vmbr0.4020 inet6 static
 + address 2a01:4f8:221:445e::12
 + netmask 64
 +
 +auto vmbr0.4040
 +iface vmbr0.4040 inet static
 +    address 10.192.40.12/24
 + mtu 1400
 +</file>
 +
 +===== KSM =====
 +Installation
 +<code>apt install ksmtuned</code>
 +
 +<file plain /etc/ksmtuned.conf>
 +KSM_SLEEP_MSEC=100
 +KSM_THRES_COEF=50
 +</file>
 +
 +Enable
 +<code>systemctl enable ksmtuned
 +systemctl start ksmtuned</code>
 +
 +Check if greater then 0
 +<code>cat /sys/kernel/mm/ksm/pages_shared</code>
  
 ===== FAQ ===== ===== FAQ =====
 Unlock VM Unlock VM
 <code>qm unlock <VMID></code> <code>qm unlock <VMID></code>
/dokuwiki/data/attic/wiki/proxmox.1687155572.txt.gz · Last modified: 2023/06/19 06:19 by michel