Il y a 389 articles et 19 utilisateurs inscrits (ce bandeau est défini dans MediaWiki:Sitenotice)
« Saturne3 » : différence entre les versions
Aller à la navigation
Aller à la recherche
| Ligne 116 : | Ligne 116 : | ||
<syntaxhighlight lang="bash">cat /sys/module/zfs/parameters/zfs_arc_max | <syntaxhighlight lang="bash">cat /sys/module/zfs/parameters/zfs_arc_max | ||
171798691840</syntaxhighlight> | 171798691840</syntaxhighlight> | ||
<syntaxhighlight lang="bash">root@Saturne3:~# cat /proc/spl/kstat/zfs/arcstats | grep -E "size|max" | |||
hash_elements_max 4 44 | |||
hash_chain_max 4 0 | |||
c_max 4 171798691840 | |||
size 4 2742736 | |||
compressed_size 4 161280 | |||
uncompressed_size 4 2528768 | |||
overhead_size 4 2391552 | |||
hdr_size 4 23424 | |||
data_size 4 0 | |||
metadata_size 4 2552832 | |||
dbuf_size 4 37168 | |||
dnode_size 4 101088 | |||
bonus_size 4 19520 | |||
anon_size 4 0 | |||
mru_size 4 1639424 | |||
mru_ghost_size 4 0 | |||
mfu_size 4 913408 | |||
mfu_ghost_size 4 0 | |||
uncached_size 4 0 | |||
l2_prefetch_asize 4 0 | |||
l2_mru_asize 4 0 | |||
l2_mfu_asize 4 0 | |||
l2_bufc_data_asize 4 0 | |||
l2_bufc_metadata_asize 4 0 | |||
l2_size 4 0 | |||
l2_asize 4 0 | |||
l2_hdr_size 4 0 | |||
l2_log_blk_avg_asize 4 0 | |||
l2_log_blk_asize 4 0 | |||
l2_rebuild_size 4 0 | |||
l2_rebuild_asize 4 0 | |||
arc_raw_size 4 0 | |||
abd_chunk_waste_size 4 8704</syntaxhighlight> | |||
--- | --- | ||
Version du 1 avril 2026 à 08:11
="84217"}
Installation Proxmox VE 9 sur serveur OVH (Saturne3)
1. Contexte
Migration d’un serveur Proxmox existant (Saturne) vers un nouveau serveur OVH (Saturne3).
Objectifs :
- Moderniser l’infrastructure
- Augmenter la capacité disque
- Préparer une migration propre via vRack
- Conserver la production sans interruption
---
2. Choix du serveur
Configuration :
- 4 × NVMe 960 Go
- 384 Go RAM
---
3. Choix du RAID
Analyse
- RAID0 : capacité maximale mais aucun redondance → rejeté
- RAID1 : capacité insuffisante (~872 Go)
- RAID10 : capacité trop limitée (~1.7 To)
- RAID5 : compromis retenu
Choix final
- RAID5 matériel OVH
- Capacité utile ≈ 2.6 To
Justification :
- espace suffisant (usage actuel ≈ 1.3 To)
- tolérance à 1 disque HS
- bon compromis capacité / sécurité
---
4. Partitionnement
Configuration retenue :
- /boot : 1 Go (ext4, RAID1)
- / : 20 Go (ext4, RAID1)
- swap : 64 Mio (minimum)
- /var/lib/vz : ZFS (RAID5)
Remarque :
- les partitions système sont en RAID1 → sécurité boot
- le stockage principal est en RAID5
---
5. Installation OVH
Options :
- OS : Proxmox Virtual Environment 9
- Disques : JBOD
- Partitionnement personnalisé
SSH :
- ajout de la clé publique du poste client
---
6. Accès initial
Connexion SSH :
ssh root@141.95.206.118
Définition du mot de passe root :
passwd
---
7. Mise à jour système
apt update && apt full-upgrade -y
Remarque :
- dépôt enterprise absent → normal sur ce template
---
8. Configuration ZFS
Vérification
zpool status
zfs list
Résultat :
- pool : data
- type : raidz1 (équivalent RAID5)
- capacité ≈ 2.4 To
---
9. Optimisation ZFS (ARC)
Avec 384 Go RAM, limitation nécessaire :
echo "options zfs zfs_arc_max=171798691840" > /etc/modprobe.d/zfs.conf
update-initramfs -u
reboot
Objectif :
- limiter ARC à ~160 Go
- éviter la saturation mémoire
Vérification :
cat /sys/module/zfs/parameters/zfs_arc_max
171798691840
root@Saturne3:~# cat /proc/spl/kstat/zfs/arcstats | grep -E "size|max"
hash_elements_max 4 44
hash_chain_max 4 0
c_max 4 171798691840
size 4 2742736
compressed_size 4 161280
uncompressed_size 4 2528768
overhead_size 4 2391552
hdr_size 4 23424
data_size 4 0
metadata_size 4 2552832
dbuf_size 4 37168
dnode_size 4 101088
bonus_size 4 19520
anon_size 4 0
mru_size 4 1639424
mru_ghost_size 4 0
mfu_size 4 913408
mfu_ghost_size 4 0
uncached_size 4 0
l2_prefetch_asize 4 0
l2_mru_asize 4 0
l2_mfu_asize 4 0
l2_bufc_data_asize 4 0
l2_bufc_metadata_asize 4 0
l2_size 4 0
l2_asize 4 0
l2_hdr_size 4 0
l2_log_blk_avg_asize 4 0
l2_log_blk_asize 4 0
l2_rebuild_size 4 0
l2_rebuild_asize 4 0
arc_raw_size 4 0
abd_chunk_waste_size 4 8704
---
10. Réseau OVH
Interface publique
vmbr0 :
- IP : 141.95.206.118/32
- Gateway : 100.64.0.1
IPv6
- Préfixe : /56
Remarque :
- configuration OVH standard
- routage via bridge vmbr0
---
11. Mise en place vRack
Objectif :
- communication privée entre serveurs
- migration sans impact prod
Étape OVH
- ajout du nouveau serveur au vRack
- aucune modification de l’ancien serveur
Configuration Proxmox
Ajout du bridge privé :
auto vmbr1
iface vmbr1 inet manual
bridge-ports enp193s0f1np1
bridge-stp off
bridge-fd 0
Activation :
ip link set enp193s0f1np1 up
---
12. État actuel
- Proxmox installé et fonctionnel
- RAID5 opérationnel
- ZFS actif
- ARC limité
- réseau public OK
- vRack connecté
- bridge privé prêt (sans IP)
---
13. Étapes suivantes
- configuration IP privée (vRack)
- interconnexion avec serveur existant
- migration VM
- configuration IPv6 ava