summaryrefslogtreecommitdiff
path: root/micro/vms
diff options
context:
space:
mode:
Diffstat (limited to 'micro/vms')
-rw-r--r--micro/vms/araucaria_host.mmd70
-rw-r--r--micro/vms/chillka.mmd34
-rw-r--r--micro/vms/huitral.mmd68
-rw-r--r--micro/vms/lautaro.mmd32
-rw-r--r--micro/vms/npagnun.mmd44
5 files changed, 248 insertions, 0 deletions
diff --git a/micro/vms/araucaria_host.mmd b/micro/vms/araucaria_host.mmd
new file mode 100644
index 0000000..2c9835d
--- /dev/null
+++ b/micro/vms/araucaria_host.mmd
@@ -0,0 +1,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
diff --git a/micro/vms/chillka.mmd b/micro/vms/chillka.mmd
new file mode 100644
index 0000000..be24eb0
--- /dev/null
+++ b/micro/vms/chillka.mmd
@@ -0,0 +1,34 @@
+%%{init: {'theme': 'base', 'flowchart': {'nodeSpacing': 40, 'rankSpacing': 50}}}%%
+flowchart TB
+ subgraph vm ["chillka - 192.168.99.55<br/>2 vCPU | 2 GB RAM<br/>LVM: vgarauco0-chillka (500 GB) | User: toshiro"]
+
+ subgraph services ["Services systeme"]
+ gitea["Gitea<br/>Port: 3000<br/>systemd: gitea.service<br/>Depot: /var/data/git/repositories"]
+ ssh["SSH<br/>Port: 22"]
+ samba["Samba (SMB)<br/>Ports: 139, 445<br/>Partage de fichiers"]
+ http["Serveur HTTP<br/>Port: 80"]
+ end
+
+ subgraph dns_local ["DNS local"]
+ resolved["systemd-resolved<br/>127.0.0.53:53<br/>127.0.0.54:53"]
+ end
+ end
+
+ subgraph external ["Acces reseau"]
+ clients["Clients LAN<br/>192.168.99.0/24"]
+ dns["DNS:<br/>chillka.local -> .55<br/>git.arauco.online -> .55"]
+ end
+
+ clients -->|":3000 HTTP"| gitea
+ clients -->|":22 SSH"| ssh
+ clients -->|":139/:445 SMB"| samba
+ clients -->|":80 HTTP"| http
+ dns -.-> vm
+
+ classDef svcStyle fill:#1e4a2e,stroke:#4a9a6a,color:#a8e0c0
+ classDef netStyle fill:#1e3a5f,stroke:#4a90d9,color:#a8d0f0
+ classDef dnsStyle fill:#1e4a4a,stroke:#4a9a9a,color:#a8e0e0
+
+ class gitea,ssh,samba,http svcStyle
+ class clients netStyle
+ class dns,resolved dnsStyle
diff --git a/micro/vms/huitral.mmd b/micro/vms/huitral.mmd
new file mode 100644
index 0000000..466ccbd
--- /dev/null
+++ b/micro/vms/huitral.mmd
@@ -0,0 +1,68 @@
+%%{init: {'theme': 'base', 'flowchart': {'nodeSpacing': 40, 'rankSpacing': 50}}}%%
+flowchart LR
+ subgraph medusa_net ["lucien-sens-bon"]
+ direction TB
+ medusa_be["medusa-backend<br/>:9000"]
+ medusa_sf["medusa-storefront<br/>:8000"]
+ redis["redis:alpine<br/>:6379"]
+ medusa_be --> redis
+ end
+
+ subgraph vikunja_net ["vikunja"]
+ direction TB
+ vikunja["vikunja<br/>:3456"]
+ vikunja_db["postgres:16<br/>:5432 int"]
+ vikunja --> vikunja_db
+ end
+
+ subgraph topogo_net ["der-topogo"]
+ topogo["der-topogo-app<br/>:3000"]
+ end
+
+ subgraph test_net ["test-site"]
+ nginx["nginx:alpine<br/>:8080->80"]
+ end
+
+ subgraph host_net ["reseau host"]
+ ha["Home Assistant<br/>stable"]
+ end
+
+ subgraph volumes ["Volumes Docker"]
+ direction TB
+ v1["app_media"]
+ v2["caddy_config"]
+ v3["caddy_data"]
+ end
+
+ subgraph info ["huitral .22 Debian12<br/>2vCPU 8GB 300GB"]
+ direction TB
+ dns_info["DNS: huitral.local"]
+ end
+
+ subgraph clients_g ["Clients LAN .0/24"]
+ clients["Navigateurs<br/>Applications"]
+ end
+
+ topogo --- v1
+ topogo --- v2
+ topogo --- v3
+
+ clients -->|":9000"| medusa_be
+ clients -->|":8000"| medusa_sf
+ clients -->|":6379"| redis
+ clients -->|":3456"| vikunja
+ clients -->|":3000"| topogo
+ clients -->|":8080"| nginx
+ clients -->|"host"| ha
+
+ classDef svcStyle fill:#1e4a2e,stroke:#4a9a6a,color:#a8e0c0
+ classDef storStyle fill:#4a3a1e,stroke:#d9a84a,color:#f0d8a8
+ classDef netStyle fill:#1e3a5f,stroke:#4a90d9,color:#a8d0f0
+ classDef configStyle fill:#2a3a4a,stroke:#6a8aaa,color:#b0d0e8
+ classDef haStyle fill:#1e4a4a,stroke:#4a9a9a,color:#a8e0e0
+
+ class medusa_be,medusa_sf,vikunja,topogo,nginx svcStyle
+ class redis,vikunja_db storStyle
+ class v1,v2,v3 storStyle
+ class clients,dns_info netStyle
+ class ha haStyle
diff --git a/micro/vms/lautaro.mmd b/micro/vms/lautaro.mmd
new file mode 100644
index 0000000..525de49
--- /dev/null
+++ b/micro/vms/lautaro.mmd
@@ -0,0 +1,32 @@
+%%{init: {'theme': 'base', 'flowchart': {'nodeSpacing': 40, 'rankSpacing': 50}}}%%
+flowchart TB
+ subgraph rpi ["lautaro - 192.168.99.108<br/>Raspberry Pi | Debian armv7l<br/>NON ACCESSIBLE - Donnees documentees"]
+
+ subgraph docker_env ["Docker Engine"]
+ ha["Home Assistant<br/>Port: 8123<br/>network_mode: host"]
+ end
+
+ subgraph config ["Configuration"]
+ compose["~/homeassistant/<br/>docker-compose.yml"]
+ ha_config["configuration.yaml<br/>secrets.yaml"]
+ end
+ end
+
+ subgraph external ["Acces reseau"]
+ clients["Clients LAN<br/>192.168.99.0/24"]
+ end
+
+ ha --- compose
+ ha --- ha_config
+ clients -->|":8123"| ha
+
+ classDef haStyle fill:#1e4a4a,stroke:#4a9a9a,color:#a8e0e0
+ classDef configStyle fill:#2a3a4a,stroke:#6a8aaa,color:#b0d0e8
+ classDef netStyle fill:#1e3a5f,stroke:#4a90d9,color:#a8d0f0
+ classDef dormStyle fill:#2a2a2a,stroke:#666,color:#999
+
+ class ha haStyle
+ class compose,ha_config configStyle
+ class clients netStyle
+
+ style rpi stroke-dasharray: 5 5
diff --git a/micro/vms/npagnun.mmd b/micro/vms/npagnun.mmd
new file mode 100644
index 0000000..2c0202c
--- /dev/null
+++ b/micro/vms/npagnun.mmd
@@ -0,0 +1,44 @@
+%%{init: {'theme': 'base', 'flowchart': {'nodeSpacing': 40, 'rankSpacing': 50}}}%%
+flowchart LR
+ subgraph kc_net ["keycloak_keycloak-network 172.18.0.0/16"]
+ direction TB
+ keycloak["keycloak<br/>quay.io/keycloak:latest<br/>:8080 :8443 :9000"]
+ postgres["keycloak-postgres<br/>postgres:15<br/>:5432 interne<br/>DB: keycloak"]
+ keycloak -->|"JDBC"| postgres
+ end
+
+ subgraph bridge_net ["bridge 172.17.0.0/16"]
+ direction TB
+ hello1["goofy_napier<br/>hello-world Exited"]
+ hello2["determined_volhard<br/>hello-world Exited"]
+ end
+
+ subgraph config ["Config npagnun"]
+ direction TB
+ compose["/opt/keycloak/<br/>docker-compose.yml"]
+ iso["ISO ubuntu-24.04<br/>monte sur sda"]
+ vm_info["npagnun .35<br/>Ubuntu 24.04<br/>2vCPU 8GB<br/>LVM: nudo 200GB"]
+ end
+
+ subgraph access ["Acces reseau"]
+ direction TB
+ dns["keycloak.arauco.local<br/>npagnun.local<br/>-> 192.168.99.35"]
+ clients["Clients LAN .0/24"]
+ end
+
+ clients -->|":8080 HTTP"| keycloak
+ clients -->|":8443 HTTPS"| keycloak
+ clients -->|":9000 health"| keycloak
+ dns -.-> keycloak
+
+ classDef iamStyle fill:#4a1e3a,stroke:#d94a8a,color:#f0a8c8
+ classDef storStyle fill:#4a3a1e,stroke:#d9a84a,color:#f0d8a8
+ classDef netStyle fill:#1e3a5f,stroke:#4a90d9,color:#a8d0f0
+ classDef configStyle fill:#2a3a4a,stroke:#6a8aaa,color:#b0d0e8
+ classDef dormStyle fill:#2a2a2a,stroke:#666,color:#999
+
+ class keycloak,kc_mgmt iamStyle
+ class postgres storStyle
+ class dns,clients netStyle
+ class compose,iso,vm_info configStyle
+ class hello1,hello2 dormStyle