Proxmox » Historique » Version 8
Laurent GUERBY, 10/08/2023 23:48
config reseau host proxmox cluster
1 | 5 | Laurent GUERBY | {{toc}} |
---|---|---|---|
2 | 1 | Laurent GUERBY | |
3 | 1 | Laurent GUERBY | h1. Proxmox |
4 | 5 | Laurent GUERBY | |
5 | 5 | Laurent GUERBY | h2. Cluster proxmox tetaneutral.net |
6 | 5 | Laurent GUERBY | |
7 | 5 | Laurent GUERBY | TODO |
8 | 5 | Laurent GUERBY | |
9 | 6 | Laurent GUERBY | h3. Ceph |
10 | 6 | Laurent GUERBY | |
11 | 6 | Laurent GUERBY | https://pve.proxmox.com/pve-docs/chapter-pveceph.html |
12 | 6 | Laurent GUERBY | |
13 | 6 | Laurent GUERBY | @ceph osd crush rule create-replicated replicated_hdd default host hdd@ |
14 | 6 | Laurent GUERBY | @ceph osd crush rule create-replicated replicated_ssd default host ssd@ |
15 | 6 | Laurent GUERBY | |
16 | 7 | Laurent GUERBY | @ceph osd pool set ceph1-hdd crush_rule replicated_hdd@ |
17 | 7 | Laurent GUERBY | @ceph osd pool set ceph1-ssd crush_rule replicated_ssd@ |
18 | 7 | Laurent GUERBY | |
19 | 7 | Laurent GUERBY | Pour erasure coding |
20 | 7 | Laurent GUERBY | |
21 | 6 | Laurent GUERBY | @pveceph pool create ec22 --erasure-coding k=2,m=2 --pg_num=128@ |
22 | 5 | Laurent GUERBY | |
23 | 8 | Laurent GUERBY | h2. Serveur hote cluster proxmox |
24 | 1 | Laurent GUERBY | |
25 | 8 | Laurent GUERBY | 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 |
26 | 1 | Laurent GUERBY | |
27 | 8 | Laurent GUERBY | Une fois l'install terminee avec cette IP temporaire il faut mettre a jour la configuration reseau |
28 | 8 | Laurent GUERBY | |
29 | 8 | Laurent GUERBY | 1/ Editer /etc/hosts pour remplacer le 192.168.128.xx par une IP VLAN 3191 192.168.91.xx |
30 | 8 | Laurent GUERBY | |
31 | 8 | Laurent GUERBY | 2/ Editer /etc/network/interfaces pour qu'il ressemble a : |
32 | 8 | Laurent GUERBY | |
33 | 1 | Laurent GUERBY | <pre> |
34 | 8 | Laurent GUERBY | auto lo |
35 | 8 | Laurent GUERBY | iface lo inet loopback |
36 | 8 | Laurent GUERBY | |
37 | 8 | Laurent GUERBY | iface enp38s0 inet manual |
38 | 8 | Laurent GUERBY | |
39 | 8 | Laurent GUERBY | iface enp39s0 inet manual |
40 | 8 | Laurent GUERBY | |
41 | 8 | Laurent GUERBY | iface enp45s0f0 inet manual |
42 | 8 | Laurent GUERBY | |
43 | 8 | Laurent GUERBY | iface enp45s0f1 inet manual |
44 | 8 | Laurent GUERBY | |
45 | 8 | Laurent GUERBY | iface enx1e90c5e88350 inet manual |
46 | 8 | Laurent GUERBY | |
47 | 8 | Laurent GUERBY | |
48 | 1 | Laurent GUERBY | auto vmbr0 |
49 | 8 | Laurent GUERBY | iface vmbr0 inet manual |
50 | 8 | Laurent GUERBY | bridge-ports enp45s0f0 |
51 | 8 | Laurent GUERBY | bridge-stp off |
52 | 8 | Laurent GUERBY | bridge-fd 0 |
53 | 8 | Laurent GUERBY | bridge-vlan-aware yes |
54 | 8 | Laurent GUERBY | bridge-vids 2-4094 |
55 | 8 | Laurent GUERBY | |
56 | 8 | Laurent GUERBY | auto vmbr0.3132 |
57 | 8 | Laurent GUERBY | iface vmbr0.3132 inet static |
58 | 8 | Laurent GUERBY | address IPV4SERVER/32 |
59 | 8 | Laurent GUERBY | gateway 91.224.148.1 |
60 | 8 | Laurent GUERBY | |
61 | 8 | Laurent GUERBY | iface vmbr0.3132 inet6 static |
62 | 8 | Laurent GUERBY | address 2a03:7220:8083:XX00::1/56 |
63 | 8 | Laurent GUERBY | address fe80::83:XX/64 |
64 | 8 | Laurent GUERBY | gateway fe80::31 |
65 | 8 | Laurent GUERBY | |
66 | 8 | Laurent GUERBY | auto vmbr0.3191 |
67 | 8 | Laurent GUERBY | iface vmbr0.3191 inet static |
68 | 8 | Laurent GUERBY | address 192.168.91.XX/24 |
69 | 8 | Laurent GUERBY | |
70 | 8 | Laurent GUERBY | auto vmbr0.3192 |
71 | 8 | Laurent GUERBY | iface vmbr0.3192 inet static |
72 | 8 | Laurent GUERBY | address 192.168.92.XX/24 |
73 | 8 | Laurent GUERBY | |
74 | 8 | Laurent GUERBY | auto vmbr1 |
75 | 8 | Laurent GUERBY | iface vmbr1 inet static |
76 | 8 | Laurent GUERBY | address 192.168.128.XX/24 |
77 | 8 | Laurent GUERBY | bridge-ports enp38s0 |
78 | 8 | Laurent GUERBY | bridge-stp off |
79 | 8 | Laurent GUERBY | bridge-fd 0 |
80 | 8 | Laurent GUERBY | |
81 | 1 | Laurent GUERBY | </pre> |
82 | 8 | Laurent GUERBY | |
83 | 8 | Laurent GUERBY | 3/ Faire @ifreload -a@ dans un screen |
84 | 8 | Laurent GUERBY | |
85 | 8 | Laurent GUERBY | Comme l'IP 128 ne change pas il ne devrait pas y avoir de perte de reseau. |
86 | 8 | Laurent GUERBY | |
87 | 8 | Laurent GUERBY | Rebooter pour valider |