Projet

Général

Profil

Proxmox

Cluster proxmox tetaneutral.net

Serveur hote cluster proxmox

Lors de l'installation de proxmox au boot sur les machines ryzen CM X570D4U le DHCP va marcher sur une carte ethernet 1 Gbit/s qui est en access VLAN 128

Une fois l'install terminee avec cette IP temporaire il faut mettre a jour la configuration reseau

1/ Editer /etc/hosts pour remplacer le 192.168.128.xx par une IP VLAN 3191 192.168.91.xx

2/ Editer /etc/network/interfaces pour qu'il ressemble a :

auto lo
iface lo inet loopback

iface enp38s0 inet manual

iface enp39s0 inet manual

iface enp45s0f0 inet manual

iface enp45s0f1 inet manual

iface enx1e90c5e88350 inet manual

auto vmbr0
iface vmbr0 inet manual
    bridge-ports enp45s0f0
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094

auto vmbr0.3132
iface vmbr0.3132 inet static
    address IPV4SERVER/32
    gateway 91.224.148.1

iface vmbr0.3132 inet6 static
        address 2a03:7220:8083:XX00::1/56
        address fe80::83:XX/64
        gateway fe80::31

auto vmbr0.3191
iface vmbr0.3191 inet static
    address 192.168.91.XX/24

auto vmbr0.3192
iface vmbr0.3192 inet static
    address 192.168.92.XX/24

auto vmbr1
iface vmbr1 inet static
    address 192.168.128.XX/24
    bridge-ports enp38s0
    bridge-stp off
    bridge-fd 0

3/ Faire ifreload -a dans un screen

Comme l'IP 128 ne change pas il ne devrait pas y avoir de perte de reseau.

Rebooter pour valider

Ceph

https://pve.proxmox.com/pve-docs/chapter-pveceph.html

ceph osd crush rule create-replicated replicated_hdd default host hdd
ceph osd crush rule create-replicated replicated_ssd default host ssd

ceph osd pool set ceph1-hdd crush_rule replicated_hdd
ceph osd pool set ceph1-ssd crush_rule replicated_ssd

Pour erasure coding

pveceph pool create ec22 --erasure-coding k=2,m=2 --pg_num=128