274 lines
13 KiB
HTML
274 lines
13 KiB
HTML
|
|
|
|
<!DOCTYPE html>
|
|
<html class="writer-html5" lang="en" data-content_root="./">
|
|
<head>
|
|
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Infrastructure — cosma-qc 1.0 documentation</title>
|
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
|
|
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=9edc463e" />
|
|
|
|
|
|
<script src="_static/jquery.js?v=5d32c60e"></script>
|
|
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
|
|
<script src="_static/documentation_options.js?v=f2a433a1"></script>
|
|
<script src="_static/doctools.js?v=fd6eb6e6"></script>
|
|
<script src="_static/sphinx_highlight.js?v=6ffebe34"></script>
|
|
<script src="_static/js/theme.js"></script>
|
|
<link rel="index" title="Index" href="genindex.html" />
|
|
<link rel="search" title="Search" href="search.html" />
|
|
<link rel="next" title="Données — Stockage et budget disque" href="data.html" />
|
|
<link rel="prev" title="Pipeline cosma-qc" href="pipeline.html" />
|
|
</head>
|
|
|
|
<body class="wy-body-for-nav">
|
|
<div class="wy-grid-for-nav">
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
|
<div class="wy-side-scroll">
|
|
<div class="wy-side-nav-search" >
|
|
|
|
|
|
|
|
<a href="index.html" class="icon icon-home">
|
|
cosma-qc
|
|
</a>
|
|
<div role="search">
|
|
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
|
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
<input type="hidden" name="area" value="default" />
|
|
</form>
|
|
</div>
|
|
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
|
<p class="caption" role="heading"><span class="caption-text">Contenu</span></p>
|
|
<ul class="current">
|
|
<li class="toctree-l1"><a class="reference internal" href="pipeline.html">Pipeline cosma-qc</a></li>
|
|
<li class="toctree-l1 current"><a class="current reference internal" href="#">Infrastructure</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="#reseau-lan-192-168-0-0-24">Réseau LAN — 192.168.0.0/24</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="#noeud-cosma-vm-83-serveur-principal-cosma-qc">Nœud cosma-vm (.83) — serveur principal cosma-qc</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="#noeud-core-82">Nœud core (.82)</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="#noeuds-gpu-workers-84-et-87">Nœuds GPU workers (.84 et .87)</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="#noeud-z620-168-stockage-mp4">Nœud z620 (.168) — stockage MP4</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="#openvpn-acces-collegues">OpenVPN — accès collègues</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="#ports-reseau-recapitulatifs">Ports réseau récapitulatifs</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="data.html">Données — Stockage et budget disque</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="usage.html">Utilisation</a></li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
<a href="index.html">cosma-qc</a>
|
|
</nav>
|
|
|
|
<div class="wy-nav-content">
|
|
<div class="rst-content">
|
|
<div role="navigation" aria-label="Page navigation">
|
|
<ul class="wy-breadcrumbs">
|
|
<li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
|
|
<li class="breadcrumb-item active">Infrastructure</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a href="_sources/infrastructure.rst.txt" rel="nofollow"> View page source</a>
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|
<div itemprop="articleBody">
|
|
|
|
<section id="infrastructure">
|
|
<h1>Infrastructure<a class="headerlink" href="#infrastructure" title="Link to this heading"></a></h1>
|
|
<section id="reseau-lan-192-168-0-0-24">
|
|
<h2>Réseau LAN — 192.168.0.0/24<a class="headerlink" href="#reseau-lan-192-168-0-0-24" title="Link to this heading"></a></h2>
|
|
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>┌───────────────────────────────────────────────────────────────┐
|
|
│ LAN 192.168.0.0/24 │
|
|
│ │
|
|
│ .82 CORE Gitea + Grafana + InfluxDB + Caddy │
|
|
│ Reverse-proxy → cosma-vm pour /cosma-qc │
|
|
│ │
|
|
│ .83 cosma-vm Dispatcher cosma-qc (systemd) │
|
|
│ Dashboard FastAPI :3849 │
|
|
│ OpenVPN server :1194 UDP │
|
|
│ │
|
|
│ .84 ml-stack GPU worker RTX 3090 24GB │
|
|
│ .87 gpu GPU worker RTX 3060 12GB │
|
|
│ │
|
|
│ .168 z620 Proxmox host HP Z620 — SSD MP4 bruts │
|
|
│ .101 poxML Proxmox hyperviseur — héberge cosma-vm (VM 202)│
|
|
└───────────────────────────────────────────────────────────────┘
|
|
</pre></div>
|
|
</div>
|
|
</section>
|
|
<section id="noeud-cosma-vm-83-serveur-principal-cosma-qc">
|
|
<h2>Nœud cosma-vm (.83) — serveur principal cosma-qc<a class="headerlink" href="#noeud-cosma-vm-83-serveur-principal-cosma-qc" title="Link to this heading"></a></h2>
|
|
<p>VM #202 sur Proxmox poxML (.101). 4 vCPU, 4 GB RAM, 40 GB SSD.
|
|
User : <code class="docutils literal notranslate"><span class="pre">cosma</span></code> (avec docker group et sudo).</p>
|
|
<p>Services :</p>
|
|
<ul class="simple">
|
|
<li><p><strong>Dispatcher</strong> — <code class="docutils literal notranslate"><span class="pre">cosma-qc-dispatcher.service</span></code> (systemd)
|
|
Lance les extractions ffmpeg sur les workers GPU.</p></li>
|
|
<li><p><strong>Dashboard FastAPI</strong> — conteneur Docker <code class="docutils literal notranslate"><span class="pre">cosma-qc-app</span></code>, port <strong>3849</strong>.
|
|
Accès via Caddy sur core : <code class="docutils literal notranslate"><span class="pre">http://192.168.0.82/cosma-qc</span></code></p></li>
|
|
<li><p><strong>OpenVPN</strong> — <code class="docutils literal notranslate"><span class="pre">openvpn-server@cosma.service</span></code>, port 1194 UDP.
|
|
Permet aux collègues daccéder au LAN depuis lextérieur.</p></li>
|
|
</ul>
|
|
<p>Commandes utiles :</p>
|
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># SSH vers cosma-vm</span>
|
|
ssh<span class="w"> </span>cosma@192.168.0.83
|
|
|
|
<span class="c1"># Statut dispatcher</span>
|
|
sudo<span class="w"> </span>systemctl<span class="w"> </span>status<span class="w"> </span>cosma-qc-dispatcher
|
|
|
|
<span class="c1"># Logs dispatcher</span>
|
|
tail<span class="w"> </span>-f<span class="w"> </span>/home/cosma/cosma-qc-data/dispatcher.log
|
|
|
|
<span class="c1"># Dashboard local</span>
|
|
http://192.168.0.83:3849
|
|
</pre></div>
|
|
</div>
|
|
</section>
|
|
<section id="noeud-core-82">
|
|
<h2>Nœud core (.82)<a class="headerlink" href="#noeud-core-82" title="Link to this heading"></a></h2>
|
|
<p><strong>Rôle :</strong> routeur et services communs.</p>
|
|
<p>Services actifs :</p>
|
|
<ul class="simple">
|
|
<li><p><strong>Caddy</strong> — reverse proxy HTTPS, route <code class="docutils literal notranslate"><span class="pre">/cosma-qc</span></code> vers .83:3849.</p></li>
|
|
<li><p><strong>Gitea</strong> — dépôt source <code class="docutils literal notranslate"><span class="pre">floppyrj45/cosma-qc</span></code>.</p></li>
|
|
<li><p><strong>Grafana / InfluxDB</strong> — monitoring infrastructure.</p></li>
|
|
</ul>
|
|
</section>
|
|
<section id="noeuds-gpu-workers-84-et-87">
|
|
<h2>Nœuds GPU workers (.84 et .87)<a class="headerlink" href="#noeuds-gpu-workers-84-et-87" title="Link to this heading"></a></h2>
|
|
<table class="docutils align-default">
|
|
<colgroup>
|
|
<col style="width: 15.0%" />
|
|
<col style="width: 25.0%" />
|
|
<col style="width: 20.0%" />
|
|
<col style="width: 40.0%" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="row-odd"><th class="head"><p>IP</p></th>
|
|
<th class="head"><p>Nom SSH</p></th>
|
|
<th class="head"><p>GPU</p></th>
|
|
<th class="head"><p>VRAM</p></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="row-even"><td><p>.84</p></td>
|
|
<td><p>ml-stack</p></td>
|
|
<td><p>RTX 3090</p></td>
|
|
<td><p>24 GB</p></td>
|
|
</tr>
|
|
<tr class="row-odd"><td><p>.87</p></td>
|
|
<td><p>gpu</p></td>
|
|
<td><p>RTX 3060</p></td>
|
|
<td><p>12 GB</p></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p><strong>Rôle :</strong> exécution de ffmpeg et lingbot-map.</p>
|
|
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>/cosma-qc-frames/
|
|
└── job_N/
|
|
├── frame_NNNNNN.jpg
|
|
├── .video_V.done
|
|
├── reconstruction.ply
|
|
└── reconstruction.glb
|
|
</pre></div>
|
|
</div>
|
|
</section>
|
|
<section id="noeud-z620-168-stockage-mp4">
|
|
<h2>Nœud z620 (.168) — stockage MP4<a class="headerlink" href="#noeud-z620-168-stockage-mp4" title="Link to this heading"></a></h2>
|
|
<p>HP Z620 (Proxmox). SSD /mnt/portablessd avec les MP4 GoPro bruts.
|
|
Les MP4 <strong>ne quittent jamais</strong> z620 — ffmpeg sy exécute via SSH-relay.</p>
|
|
<p>SSH relay (depuis cosma-vm ou core) :</p>
|
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>ssh<span class="w"> </span>ml-stack<span class="w"> </span><span class="s2">"ssh z620 \\"</span>commande<span class="se">\\</span><span class="s2">""</span>
|
|
</pre></div>
|
|
</div>
|
|
</section>
|
|
<section id="openvpn-acces-collegues">
|
|
<h2>OpenVPN — accès collègues<a class="headerlink" href="#openvpn-acces-collegues" title="Link to this heading"></a></h2>
|
|
<p>Serveur OpenVPN sur cosma-vm (.83:1194 UDP).
|
|
Adresse externe : <code class="docutils literal notranslate"><span class="pre">laboratoire.freeboxos.fr:1194</span></code></p>
|
|
<p>Profil client : <code class="docutils literal notranslate"><span class="pre">cosma-qc-collegue1.ovpn</span></code> (Nextcloud sync).</p>
|
|
<p>Génération dun nouveau client :</p>
|
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="nb">cd</span><span class="w"> </span>/home/cosma/openvpn-ca/easyrsa3
|
|
./easyrsa<span class="w"> </span>gen-req<span class="w"> </span>NOMCLIENT<span class="w"> </span>nopass
|
|
./easyrsa<span class="w"> </span>sign-req<span class="w"> </span>client<span class="w"> </span>NOMCLIENT
|
|
</pre></div>
|
|
</div>
|
|
</section>
|
|
<section id="ports-reseau-recapitulatifs">
|
|
<h2>Ports réseau récapitulatifs<a class="headerlink" href="#ports-reseau-recapitulatifs" title="Link to this heading"></a></h2>
|
|
<table class="docutils align-default">
|
|
<colgroup>
|
|
<col style="width: 15.0%" />
|
|
<col style="width: 15.0%" />
|
|
<col style="width: 70.0%" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="row-odd"><th class="head"><p>Host</p></th>
|
|
<th class="head"><p>Port</p></th>
|
|
<th class="head"><p>Service</p></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="row-even"><td><p>.83</p></td>
|
|
<td><p>3849</p></td>
|
|
<td><p>Dashboard FastAPI cosma-qc</p></td>
|
|
</tr>
|
|
<tr class="row-odd"><td><p>.83</p></td>
|
|
<td><p>1194/udp</p></td>
|
|
<td><p>OpenVPN server</p></td>
|
|
</tr>
|
|
<tr class="row-even"><td><p>.84 / .87</p></td>
|
|
<td><p>8100+N</p></td>
|
|
<td><p>Viser viewer (job N)</p></td>
|
|
</tr>
|
|
<tr class="row-odd"><td><p>.84 / .87</p></td>
|
|
<td><p>8300</p></td>
|
|
<td><p>HTTP server GLB/PLY export</p></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</section>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
|
<a href="pipeline.html" class="btn btn-neutral float-left" title="Pipeline cosma-qc" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
|
<a href="data.html" class="btn btn-neutral float-right" title="Données — Stockage et budget disque" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<p>© Copyright .</p>
|
|
</div>
|
|
|
|
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
|
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
|
|
provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
|
|
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<script>
|
|
jQuery(function () {
|
|
SphinxRtdTheme.Navigation.enable(true);
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html> |