{"id":181,"date":"2026-04-06T15:41:15","date_gmt":"2026-04-06T15:41:15","guid":{"rendered":"https:\/\/allan.app.ndlpavranches.fr\/?p=181"},"modified":"2026-04-10T14:21:59","modified_gmt":"2026-04-10T14:21:59","slug":"fog-doc-technique","status":"publish","type":"post","link":"https:\/\/allan.app.ndlpavranches.fr\/?p=181","title":{"rendered":"FOG DOC TECHNIQUE"},"content":{"rendered":"<h1><b>Documentation Technique : D\u00e9ploiement de Postes via la Solution FOG<\/b><\/h1>\n<h2><b>1. Introduction<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Ce document d\u00e9taille la mise en \u0153uvre d&rsquo;une infrastructure de d\u00e9ploiement automatis\u00e9 bas\u00e9e sur la solution open source <\/span><b>FOG Project<\/b><span style=\"font-weight: 400;\">. L&rsquo;objectif est de simplifier la gestion du parc informatique en permettant la capture et la descente d&rsquo;images syst\u00e8me \u00e0 travers le r\u00e9seau.<\/span><\/p>\n<h2><b>2. Infrastructure et Installation<\/b><\/h2>\n<h3><b>2.1 Environnement Serveur<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Le serveur FOG est h\u00e9berg\u00e9 sur une machine physique d\u00e9di\u00e9e offrant les sp\u00e9cifications suivantes :<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Syst\u00e8me d\u2019exploitation :<\/b><span style=\"font-weight: 400;\"> Debian 13 (Trixie)<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Stockage :<\/b><span style=\"font-weight: 400;\"> Disque de 240 Go (d\u00e9di\u00e9 au stockage des images syst\u00e8me)<\/span><\/li>\n<\/ul>\n<h3><b>2.2 Configuration R\u00e9seau<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Afin de pallier l&rsquo;absence de pare-feu g\u00e9rant le routage sur le segment, le serveur FOG a \u00e9t\u00e9 configur\u00e9 pour assurer le r\u00f4le de <\/span><b>serveur DHCP<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Adressage IP du serveur :<\/b> <span style=\"font-weight: 400;\">192.168.1.210<\/span><span style=\"font-weight: 400;\"> (Statique)<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Plage DHCP :<\/b><span style=\"font-weight: 400;\"> Distribution d&rsquo;adresses dans le sous-r\u00e9seau <\/span><span style=\"font-weight: 400;\">192.168.1.0\/24<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Protocole de boot :<\/b><span style=\"font-weight: 400;\"> PXE (Preboot Execution Environment) activ\u00e9 pour permettre le d\u00e9marrage des clients via le r\u00e9seau.<\/span><\/li>\n<\/ul>\n<h2><b>3. Pr\u00e9paration et Capture du Master<\/b><\/h2>\n<h3><b>3.1 Cr\u00e9ation de l&rsquo;Image de R\u00e9f\u00e9rence<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Le syst\u00e8me de r\u00e9f\u00e9rence (Master) a \u00e9t\u00e9 \u00e9labor\u00e9 sur une base <\/span><b>Windows 10 Professionnel<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Installation propre de l&rsquo;OS et des applicatifs n\u00e9cessaires.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Configuration des param\u00e8tres syst\u00e8me.<\/span><\/li>\n<\/ol>\n<h3><b>3.2 Processus de Capture<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Une fois le Master finalis\u00e9, la capture vers le serveur FOG a \u00e9t\u00e9 r\u00e9alis\u00e9e selon les \u00e9tapes suivantes :<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Enregistrement de l&rsquo;h\u00f4te dans l&rsquo;interface de gestion FOG.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Amor\u00e7age de la machine Windows 10 via le <\/span><b>boot PXE<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Ex\u00e9cution de la t\u00e2che de capture pour transf\u00e9rer l&rsquo;image du disque local vers le stockage du serveur.<\/span><\/li>\n<\/ul>\n<h2><b>4. Tests et Validation du D\u00e9ploiement<\/b><\/h2>\n<h3><b>4.1 D\u00e9ploiement Unicast<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Un premier test de d\u00e9ploiement a \u00e9t\u00e9 effectu\u00e9 sur une machine cible unique. Cette phase a permis de valider l&rsquo;int\u00e9grit\u00e9 de l&rsquo;image captur\u00e9e et le bon fonctionnement de la descente de flux en mode <\/span><b>Unicast<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>R\u00e9sultat :<\/b><span style=\"font-weight: 400;\"> Succ\u00e8s.<\/span><\/li>\n<\/ul>\n<h3><b>4.2 D\u00e9ploiement Multicast (Massif)<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Afin d&rsquo;\u00e9prouver la mont\u00e9e en charge et l&rsquo;efficacit\u00e9 de l&rsquo;outil, une session de d\u00e9ploiement simultan\u00e9 a \u00e9t\u00e9 lanc\u00e9e sur plusieurs postes de travail en utilisant le protocole <\/span><b>Multicast<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Avantage :<\/b><span style=\"font-weight: 400;\"> Optimisation de la bande passante r\u00e9seau, l&rsquo;image n&rsquo;\u00e9tant envoy\u00e9e qu&rsquo;une seule fois pour l&rsquo;ensemble des clients.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>R\u00e9sultat :<\/b><span style=\"font-weight: 400;\"> Succ\u00e8s op\u00e9rationnel, confirmant la viabilit\u00e9 de la solution pour un d\u00e9ploiement \u00e0 grande \u00e9chelle.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-262 \" src=\"https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/Capture-decran-2026-04-10-162031.png\" alt=\"\" width=\"643\" height=\"372\" srcset=\"https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/Capture-decran-2026-04-10-162031.png 898w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/Capture-decran-2026-04-10-162031-300x174.png 300w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/Capture-decran-2026-04-10-162031-768x445.png 768w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/p>\n<p><strong>PR\u00c9PARATION D\u2019UN MASTER:<\/strong><\/p>\n<p>Il a donc \u00e9t\u00e9 n\u00e9cessaire de cr\u00e9er un Master (une machine \u00e0 capturer) nous avons donc opt\u00e9 pour des Windows 10 professionnels.<\/p>\n<p>Apr\u00e8s une installation correcte de nos diff\u00e9rente machine (debian,FOG Graphique,Win10Pro) nous avons donc proc\u00e9d\u00e9 \u00e0 la capture de notre Master en faisant boot la Win10Pro en PXE, qui a permis de enregistrer et capturer la Windows<\/p>\n<p>Nous avons donc fait le test de d\u00e9ployer l\u2019image de la Win10Pro d&rsquo;abord sur une seule machine, ce qui a fini par \u00eatre un succ\u00e8s. Nous avons donc d\u00e9cid\u00e9 de le faire sur plusieurs machines pour voir la force de l\u2019outil FOG gr\u00e2ce \u00e0 un multicast<br \/>\nCela s&rsquo;est \u00e9galement sold\u00e9 par un succ\u00e8s.<\/p>\n<p>D\u00e9ploiement du Windows par FOG (une seule machine)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-200 \" src=\"https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145248-1024x577.jpg\" alt=\"\" width=\"630\" height=\"355\" srcset=\"https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145248-1024x577.jpg 1024w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145248-300x169.jpg 300w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145248-768x432.jpg 768w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145248-1536x865.jpg 1536w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145248-2048x1153.jpg 2048w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145248-1918x1080.jpg 1918w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145248-678x381.jpg 678w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/p>\n<p>D\u00e9ploiement Du Windows par FOG plusieurs machines (multicast)<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-190 \" src=\"https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145228-1024x577.jpg\" alt=\"\" width=\"632\" height=\"356\" srcset=\"https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145228-1024x577.jpg 1024w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145228-300x169.jpg 300w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145228-768x432.jpg 768w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145228-1536x865.jpg 1536w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145228-2048x1153.jpg 2048w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145228-1918x1080.jpg 1918w, https:\/\/allan.app.ndlpavranches.fr\/wp-content\/uploads\/2026\/04\/20260326_145228-678x381.jpg 678w\" sizes=\"(max-width: 632px) 100vw, 632px\" \/><\/strong><\/p>\n<h2><b>5. D\u00e9fis Techniques et Solutions Apport\u00e9es<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Durant la mise en \u0153uvre, plusieurs obstacles techniques ont \u00e9t\u00e9 identifi\u00e9s et r\u00e9solus afin de garantir la stabilit\u00e9 de l&rsquo;infrastructure de d\u00e9ploiement.<\/span><\/p>\n<h3><b>5.1 Conflit d&rsquo;adressage IP lors de l&rsquo;installation<\/b><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Probl\u00e8me :<\/b><span style=\"font-weight: 400;\"> Lors de l&rsquo;installation initiale, le serveur FOG a h\u00e9rit\u00e9 de la configuration r\u00e9seau du segment existant (plage <\/span><span style=\"font-weight: 400;\">10.138.60.xxx<\/span><span style=\"font-weight: 400;\">). Par cons\u00e9quent, les fichiers de configuration du service FOG ont \u00e9t\u00e9 g\u00e9n\u00e9r\u00e9s avec ces adresses incorrectes, emp\u00eachant le serveur de fonctionner comme autorit\u00e9 DHCP sur notre r\u00e9seau cible.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Solution :<\/b><span style=\"font-weight: 400;\"> Une correction manuelle a \u00e9t\u00e9 appliqu\u00e9e sur l&rsquo;ensemble des fichiers de configuration et dans la base de donn\u00e9es de FOG. Toutes les occurrences de l&rsquo;ancienne plage ont \u00e9t\u00e9 remplac\u00e9es par l&rsquo;adressage statique d\u00e9fini pour le nouveau r\u00e9seau local (<\/span><span style=\"font-weight: 400;\">192.168.10.xxx<\/span><span style=\"font-weight: 400;\">), r\u00e9tablissant ainsi la distribution correcte des baux DHCP par le serveur Debian.<\/span><\/li>\n<\/ul>\n<h3><b>5.2 Blocage du d\u00e9marrage r\u00e9seau (PXE)<\/b><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Probl\u00e8me :<\/b><span style=\"font-weight: 400;\"> Les machines cibles refusaient initialement de booter sur l&rsquo;interface r\u00e9seau IPv4, rendant la communication avec le serveur FOG impossible.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Solution :<\/b><span style=\"font-weight: 400;\"> Une intervention sur le BIOS\/UEFI des postes clients a \u00e9t\u00e9 n\u00e9cessaire pour lever les restrictions de s\u00e9curit\u00e9.<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Activation du mode EFI :<\/b><span style=\"font-weight: 400;\"> Pour assurer la compatibilit\u00e9 avec les standards de boot modernes.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>D\u00e9sactivation du Secure Boot :<\/b><span style=\"font-weight: 400;\"> Cette \u00e9tape \u00e9tait indispensable pour autoriser le chargement de l&rsquo;image de d\u00e9marrage (iPXE) fournie par le serveur FOG.<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>R\u00e9sultat :<\/b><span style=\"font-weight: 400;\"> Suite \u00e0 ces modifications, les machines ont pu s&rsquo;enregistrer correctement sur le r\u00e9seau IPv4 et recevoir leur configuration depuis le serveur de d\u00e9ploiement.<\/span><\/li>\n<\/ul>\n<p>Allan, Marius<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Documentation Technique : D\u00e9ploiement de Postes via la Solution FOG 1. Introduction Ce document d\u00e9taille la mise en \u0153uvre d&rsquo;une infrastructure de d\u00e9ploiement automatis\u00e9 bas\u00e9e <a class=\"mh-excerpt-more\" href=\"https:\/\/allan.app.ndlpavranches.fr\/?p=181\" title=\"FOG DOC TECHNIQUE\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":190,"comment_status":"open","ping_status":"open","sticky":false,"template":"kubio-full-width","format":"standard","meta":{"saved_in_kubio":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-181","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/allan.app.ndlpavranches.fr\/index.php?rest_route=\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/allan.app.ndlpavranches.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/allan.app.ndlpavranches.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/allan.app.ndlpavranches.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/allan.app.ndlpavranches.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=181"}],"version-history":[{"count":7,"href":"https:\/\/allan.app.ndlpavranches.fr\/index.php?rest_route=\/wp\/v2\/posts\/181\/revisions"}],"predecessor-version":[{"id":263,"href":"https:\/\/allan.app.ndlpavranches.fr\/index.php?rest_route=\/wp\/v2\/posts\/181\/revisions\/263"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/allan.app.ndlpavranches.fr\/index.php?rest_route=\/wp\/v2\/media\/190"}],"wp:attachment":[{"href":"https:\/\/allan.app.ndlpavranches.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/allan.app.ndlpavranches.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/allan.app.ndlpavranches.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}