summaryrefslogtreecommitdiff
path: root/micro/vms/araucaria_host.mmd
blob: 2c9835d96d9cc25daa7fb9e995e19ff314d5df7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
%%{init: {'theme': 'base', 'flowchart': {'nodeSpacing': 50, 'rankSpacing': 60}}}%%
flowchart TB
    subgraph net ["Reseau"]
        direction LR
        eth0["eth0<br/>192.168.99.50/24"]
        br0["br0 Bridge<br/>192.168.99.50/24"]
        eth1["eth1<br/>192.168.99.51/24"]
        virbr0["virbr0<br/>192.168.122.1/24<br/>DOWN"]
        eth0 -->|"master"| br0
    end

    subgraph svc ["Services actifs"]
        direction LR
        ssh["SSH :1220<br/>ext 2222 via eth1"]
        dnsmasq["dnsmasq :53<br/>sur br0"]
        kvm_svc["KVM / virsh"]
        ddns_s["DDNS<br/>/opt/ddns/"]
    end

    subgraph machines ["Machines Virtuelles"]
        direction LR

        subgraph vm_chillka ["chillka - ID:2 running"]
            direction TB
            vm_c_spec["2 vCPU | 2 GB RAM"]
            vm_c_net["vnet1 br0<br/>52:54:00:0f:28:80"]
            vm_c_disk["vda: vgarauco0-chillka<br/>500 GB"]
        end

        subgraph vm_npagnun ["npagnun - ID:8 running"]
            direction TB
            vm_n_spec["2 vCPU | 8 GB RAM"]
            vm_n_net["vnet7 br0<br/>52:54:00:5e:06:1e"]
            vm_n_disk["vda: vgarauco0-nudo<br/>200 GB"]
        end

        subgraph vm_huitral ["huitral - ID:9 running"]
            direction TB
            vm_h_spec["2 vCPU | 8 GB RAM"]
            vm_h_net["vnet8 br0<br/>52:54:00:ce:24:7f"]
            vm_h_disk["vda: vgarauco0-huitral<br/>300 GB"]
        end
    end

    subgraph storage ["LVM vgarauco0"]
        direction LR
        lv_info["5.31 TB total<br/>4.24 TB libre"]
        lv_actifs["Actifs:<br/>chillka 500GB<br/>huitral 300GB<br/>nudo 200GB"]
        lv_dormants["Dormants:<br/>huinca 70GB<br/>lemolemo 10GB<br/>toki 10GB<br/>kura 5GB"]
    end

    kvm_svc --> machines
    br0 --> vm_c_net
    br0 --> vm_n_net
    br0 --> vm_h_net

    classDef netStyle fill:#1e3a5f,stroke:#4a90d9,color:#a8d0f0
    classDef svcStyle fill:#1e4a2e,stroke:#4a9a6a,color:#a8e0c0
    classDef vmStyle fill:#3a1e5f,stroke:#8a6ad9,color:#c8b0f0
    classDef storStyle fill:#4a3a1e,stroke:#d9a84a,color:#f0d8a8
    classDef dormStyle fill:#2a2a2a,stroke:#666,color:#999

    class eth0,br0,eth1 netStyle
    class virbr0 dormStyle
    class ssh,dnsmasq,kvm_svc,ddns_s svcStyle
    class vm_c_spec,vm_n_spec,vm_h_spec vmStyle
    class vm_c_net,vm_n_net,vm_h_net netStyle
    class vm_c_disk,vm_n_disk,vm_h_disk storStyle
    class lv_info,lv_actifs storStyle
    class lv_dormants dormStyle