{"id":705,"date":"2026-07-06T19:21:40","date_gmt":"2026-07-06T17:21:40","guid":{"rendered":"https:\/\/communaute-omr.fr\/?p=705"},"modified":"2026-07-07T19:46:53","modified_gmt":"2026-07-07T17:46:53","slug":"installation-dun-cluster-a-4-noeuds-2","status":"publish","type":"page","link":"https:\/\/communaute-omr.fr\/?page_id=705","title":{"rendered":"Installation d&rsquo;un cluster \u00e0 4 n\u0153uds"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><div class=\"ez-toc-title\" style=\"cursor:inherit\">Table des mati\u00e8res<\/div>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/communaute-omr.fr\/?page_id=705\/#Prerequis\" >Pr\u00e9requis<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/communaute-omr.fr\/?page_id=705\/#Comprehension\" >Compr\u00e9hension<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/communaute-omr.fr\/?page_id=705\/#Flux_reseaux\" >Flux r\u00e9seaux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/communaute-omr.fr\/?page_id=705\/#Installation_de_Centreon\" >Installation de Centreon<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/communaute-omr.fr\/?page_id=705\/#Serveurs_base_de_donnees\" >Serveurs base de donn\u00e9es<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/communaute-omr.fr\/?page_id=705\/#Quorum_Device\" >Quorum Device<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/communaute-omr.fr\/?page_id=705\/#Sur_tous_les_serveurs\" >Sur tous les serveurs<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/communaute-omr.fr\/?page_id=705\/#Conventions\" >Conventions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/communaute-omr.fr\/?page_id=705\/#Etapes_de_configuration\" >Etapes de configuration&nbsp;<\/a><\/li><\/ul><\/nav><\/div>\n\n<h2 id=\"prerequis\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequis\"><\/span>Pr\u00e9requis<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 id=\"comprehension\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Comprehension\"><\/span>Compr\u00e9hension<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Avant de suivre cette proc\u00e9dure, il est recommand\u00e9 d&rsquo;avoir un niveau de connaissance satisfaisant du syst\u00e8me d&rsquo;exploitation Linux, de Centreon et des outils de clustering Pacemaker-Corosync pour bien comprendre ce qui va \u00eatre fait et savoir r\u00e9soudre un \u00e9ventuel incident. En pointill\u00e9 sur les sch\u00e9mas ci-dessous les flux en attente.<\/p>\n\n\n\n<h4 id=\"fonctionnement-initial-de-la-plateforme-site-a\" class=\"wp-block-heading\">Fonctionnement initial de la plateforme ( Site A)<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/communaute-omr.fr\/wp-content\/uploads\/2026\/07\/image1-2.png\" alt=\"\"\/><\/figure>\n\n\n\n<h4 id=\"bascule-sur-le-site-secondaire-site-b\" class=\"wp-block-heading\">Bascule sur le site secondaire (Site B)<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/communaute-omr.fr\/wp-content\/uploads\/2026\/07\/image2-2.png\" alt=\"\"\/><\/figure>\n\n\n\n<!--more-->\n\n\n\n<h3 id=\"flux-reseaux\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Flux_reseaux\"><\/span>Flux r\u00e9seaux<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Les diff\u00e9rents flux r\u00e9seau doivent \u00eatre ouverts<\/p>\n\n\n\n<figure style=\"font-size:9px\" class=\"wp-block-table\"><table><tbody><tr><td><strong>Source<\/strong><\/td><td><strong>Destination<\/strong><\/td><td><strong>Protocole<\/strong><\/td><td><strong>Port<\/strong><\/td><td><strong>Commentaires<\/strong><\/td><\/tr><tr><td>N\u0153ud Central Principal<\/td><td>N\u0153ud Central Secondaire<\/td><td>SSH<\/td><td>TCP 22<\/td><td>Synchronisation des fichiers de configuration <br>(Le flux doit \u00eatre aussi ouvert dans <br>le sens passif &#8211;&gt; actif)<\/td><\/tr><tr><td>N\u0153ud Central Principal<\/td><td>N\u0153ud Central Secondaire passif<\/td><td>BDDO<\/td><td>TCP 5670<\/td><td>Synchronisation des RRDs <br>(Le flux doit \u00eatre aussi ouvert dans <br>le sens passif &#8211;&gt; actif)<\/td><\/tr><tr><td>N\u0153ud BDD actif<\/td><td>N\u0153ud BDD passif<\/td><td>MySQL<\/td><td>TCP 3306<\/td><td>Synchronisation MySQL <br>(Le flux doit \u00eatre aussi ouvert dans <br>le sens passif &#8211;&gt; actif)<\/td><\/tr><tr><td>N\u0153ud BDD actif<\/td><td>N\u0153ud BDD passif<\/td><td>SSH<\/td><td>TCP 22<\/td><td>Synchronisation MySQL (Le flux doit \u00eatre aussi <br>ouvert dans le sens passif &#8211;&gt; actif)<\/td><\/tr><tr><td>N\u0153ud Central Secondaire<\/td><td>N\u0153ud Central Principal<\/td><td>SSH<\/td><td>TCP 22<\/td><td>Synchronisation des fichiers de configuration <br>(Le flux doit \u00eatre aussi ouvert dans <br>le sens passif &#8211;&gt; actif)<\/td><\/tr><tr><td>N\u0153ud Central Secondaire<\/td><td>N\u0153ud Central Principal<\/td><td>BDDO<\/td><td>TCP 5670<\/td><td>Synchronisation des RRDs <br>(Le flux doit \u00eatre aussi ouvert dans <br>le sens passif &#8211;&gt; actif)<\/td><\/tr><tr><td>N\u0153ud BDD R\u00e9plication<\/td><td>N\u0153ud BDD passif<\/td><td>MySQL<\/td><td>TCP 3306<\/td><td>Synchronisation MySQL <br>(Le flux doit \u00eatre aussi ouvert dans<br>le sens passif &#8211;&gt; actif)<\/td><\/tr><tr><td>N\u0153ud BDD R\u00e9plication<\/td><td>N\u0153ud BDD passif<\/td><td>SSH<\/td><td>TCP 22<\/td><td>Synchronisation MySQL <br>(Le flux doit \u00eatre aussi ouvert dans<br> le sens passif &#8211;&gt; actif)<\/td><\/tr><tr><td>Poller<\/td><td>Adresse Central VIP<\/td><td>SSH<\/td><td>TCP 22<\/td><td>Supervision des fichiers de r\u00e9tention \u2026<\/td><\/tr><tr><td>Poller<\/td><td>Adresse Central VIP<\/td><td>BDDO<\/td><td>TCP 5670<\/td><td>Synchronisation des RRDs <br>(Le flux doit \u00eatre aussi ouvert dans<br>le sens passif &#8211;&gt; actif)<\/td><\/tr><tr><td>Centreon Central Principal et Secondaire <\/td><td>N\u0153ud BDD VIP<\/td><td>MySQL<\/td><td>TCP 3306<\/td><td>Pour CBD Mysql \u00e9criture sur le n\u0153ud Actif<\/td><\/tr><tr><td>Serveurs Centraux + BDD + QDevice<\/td><td>Serveurs Centraux + BDD + QDevice<\/td><td>Corosync<\/td><td>UDP 5404<\/td><td>Communication au sein du cluster (Multicast)<\/td><\/tr><tr><td>Serveurs Centraux + BDD + QDevice<\/td><td>Serveurs Centraux + BDD + QDevice<\/td><td>Corosync<\/td><td>UDP 5405<\/td><td>Communication au sein du cluster (Unicast)<\/td><\/tr><tr><td>Serveurs Centraux + BDD + QDevice<\/td><td>Serveurs Centraux + BDD + QDevice<\/td><td>PCS<\/td><td>TCP 2224<\/td><td>Communication au sein du cluster<\/td><\/tr><tr><td>Serveurs Centraux + BDD + QDevice<\/td><td>Serveurs Centraux + BDD + QDevice<\/td><td>Corosync<\/td><td>TCP 5403<\/td><td>Communication avec le QDevice<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 id=\"installation-de-centreon\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Installation_de_Centreon\"><\/span>Installation de Centreon<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Les briques Centreon (25.10 au moment de l\u2019\u00e9criture de ce document) suivantes doivent \u00eatre install\u00e9es&nbsp;:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Serveur Web Site A (Centreon-Web1)<\/li>\n\n\n\n<li>Serveur Web Site 2 (Centreon-Web2)<\/li>\n\n\n\n<li>Serveur MariaDb Site A (Centreon-DB1)<\/li>\n\n\n\n<li>Serveur MariaDb Site B (Centreon-DB2)<\/li>\n\n\n\n<li>Un serveur Alma 9 avec installation <\/li>\n\n\n\n<li>(Quorum Centreon)<\/li>\n<\/ul>\n\n\n\n<h3 id=\"serveurs-base-de-donnees\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Serveurs_base_de_donnees\"><\/span>Serveurs base de donn\u00e9es<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sur les serveurs MariaDB les VG h\u00e9bergeant les bases de donn\u00e9es doivent Imp\u00e9rativement<strong> avoir minimum<\/strong><strong> 5GB de <\/strong><strong>libre<\/strong>&nbsp; (point de montage&nbsp;\/var\/lib\/mysql&nbsp;par d\u00e9faut).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">La commande&nbsp;vgs&nbsp;doit retourner un affichage selon le format ci-dessous (en particulier la valeur sous&nbsp;VFree) :<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>vgs\n\nVG #PV #LV #SN Attr VSize VFree\n VgData 1 2 0 wz--n- &lt;31,00g &lt;5,00g<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9FF\">vgs<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">VG <\/span><span style=\"color: #616E88\">#PV #LV #SN Attr VSize VFree<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\"> VgData 1 2 0 wz--n- &lt;31,00g &lt;5,00g<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Les fichiers MariaDB&nbsp;ibdata*&nbsp;et&nbsp;ib_logfile*&nbsp;doivent \u00eatre dans le r\u00e9pertoire \u00ab\u00a0datadir\u00a0\u00bb ou dans un sous-r\u00e9pertoire (les scripts&nbsp;centreondb-smooth-backup.sh&nbsp;et&nbsp;mysql-sync-bigdb.sh&nbsp;ne sont pas compatibles avec cette op\u00e9ration) ;<\/li>\n\n\n\n<li>Les fichiers MariaDB&nbsp;log-bin*&nbsp;et&nbsp;relay-log*&nbsp;peuvent \u00eatre situ\u00e9s dans un r\u00e9pertoire (ou un sous-r\u00e9pertoire) diff\u00e9rent de \u00ab\u00a0datadir\u00a0\u00bb. Ils peuvent \u00e9galement se trouver sur un volume logique (lvm) diff\u00e9rent de \u00ab\u00a0datadir\u00a0\u00bb. Cependant, le volume logique doit \u00eatre situ\u00e9 dans le groupe de volume o\u00f9 \u00ab\u00a0datadir\u00a0\u00bb est stock\u00e9.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>AVERTISSEMENT :<\/strong>&nbsp;si ces pr\u00e9requis sp\u00e9cifiques ne sont pas respect\u00e9s, la m\u00e9thode de synchronisation des bases de donn\u00e9es d\u00e9crite ci-dessous ne fonctionnera pas.<\/p>\n\n\n\n<h3 id=\"quorum-device\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Quorum_Device\"><\/span>Quorum Device<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Pour le bon fonctionnement du cluster, en particulier pour \u00e9viter les cas de split-brain, il est n\u00e9cessaire d&rsquo;avoir un serveur tiers pour tenir le r\u00f4le d&rsquo;arbitre. Il est possible d&rsquo;utiliser un collecteur pour remplir ce r\u00f4le.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Afin de respecter les meilleures pratiques et de b\u00e9n\u00e9ficier d&rsquo;une infrastructure aussi r\u00e9siliente que possible, le placement du serveur Quorum doit \u00eatre sur un site diff\u00e9rent des deux n\u0153uds principaux, avec des attachements r\u00e9seaux ind\u00e9pendants.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>AVERTISSEMENT:<\/strong>&nbsp;assurez-vous que SELinux et Firewalld sont d\u00e9sactiv\u00e9s sur tous les membres du cluster.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Sur_tous_les_serveurs\"><\/span>Sur tous les serveurs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">D\u00e9sactivation SeLinux et firewalld<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl stop firewalld\nsystemctl disable firewalld \nsed -i s\/^SELINUX=.*$\/SELINUX=disabled\/ \/etc\/selinux\/config\nreboot\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #88C0D0\">systemctl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">stop<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">firewalld<\/span><\/span>\n<span class=\"line\"><span style=\"color: #88C0D0\">systemctl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">disable<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">firewalld<\/span><span style=\"color: #D8DEE9FF\"> <\/span><\/span>\n<span class=\"line\"><span style=\"color: #88C0D0\">sed<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">-i<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">s\/^SELINUX=.<\/span><span style=\"color: #81A1C1\">*<\/span><span style=\"color: #D8DEE9FF\">$<\/span><span style=\"color: #A3BE8C\">\/SELINUX=disabled\/<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">\/etc\/selinux\/config<\/span><\/span>\n<span class=\"line\"><span style=\"color: #88C0D0\">reboot<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">D\u00e9sactivation IP V6<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>cat >> \/etc\/sysctl.conf &lt;&lt;EOF\nnet.ipv6.conf.all.disable_ipv6 = 1\nnet.ipv6.conf.default.disable_ipv6 = 1\nnet.ipv4.tcp_retries2 = 3\nnet.ipv4.tcp_keepalive_time = 200\nnet.ipv4.tcp_keepalive_probes = 2\nnet.ipv4.tcp_keepalive_intvl = 2\nEOF\nsystemctl restart NetworkManager<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #88C0D0\">cat<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">&gt;&gt;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">\/etc\/sysctl.conf<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">&lt;&lt;<\/span><span style=\"color: #ECEFF4\">EOF<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">net.ipv6.conf.all.disable_ipv6 = 1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">net.ipv6.conf.default.disable_ipv6 = 1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">net.ipv4.tcp_retries2 = 3<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">net.ipv4.tcp_keepalive_time = 200<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">net.ipv4.tcp_keepalive_probes = 2<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">net.ipv4.tcp_keepalive_intvl = 2<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">EOF<\/span><\/span>\n<span class=\"line\"><span style=\"color: #88C0D0\">systemctl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">restart<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">NetworkManager<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">R\u00e9solution de nom<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Exemple de fichier de configuration :<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>cat >\/etc\/hosts &lt;&lt;\"EOF\"\n127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4\n192.168.122.110 CentreonWeb1 Centreon-Web1\n192.168.122.210 CentreonWeb2 Centreon-Web2\n192.168.122.111 CentreonDB1 Centreon-DB1\n192.168.122.211 CentreonDB2 Centreon-DB2\n192.168.122.101 CentreonQuorum Centreon-Quorum\n192.168.122.150 VIPCentreonWeb\n192.168.122.151 VIPCentreon-DB\nEOF<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #88C0D0\">cat<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #A3BE8C\">\/etc\/hosts<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">&lt;&lt;<\/span><span style=\"color: #D8DEE9FF\">&quot;<\/span><span style=\"color: #ECEFF4\">EOF<\/span><span style=\"color: #D8DEE9FF\">&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">192.168.122.110 CentreonWeb1 Centreon-Web1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">192.168.122.210 CentreonWeb2 Centreon-Web2<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">192.168.122.111 CentreonDB1 Centreon-DB1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">192.168.122.211 CentreonDB2 Centreon-DB2<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">192.168.122.101 CentreonQuorum Centreon-Quorum<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">192.168.122.150 VIPCentreonWeb<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">192.168.122.151 VIPCentreon-DB<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">EOF<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 id=\"conventions\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conventions\"><\/span>Conventions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>D\u00e9finition des noms et adresses IP des serveurs<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dans cette proc\u00e9dure, nous ferons r\u00e9f\u00e9rence \u00e0 des param\u00e8tres variant d&rsquo;une installation \u00e0 une autre (noms et adresses IP des n\u0153uds par exemple) par l&rsquo;interm\u00e9diaire des macros suivantes :<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Plan d\u2019adressage&nbsp;de ce tutoriel :<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>@CENTRAL_MASTER_IPADDR@\u00a0: adresse IP du serveur Centreon-Web principal\n\n@CENTRAL_MASTER_NAME@\u00a0: nom du serveur Centreon-Web principal (doit \u00eatre identique au r\u00e9sultat de\u00a0hostname -s)\n\n@CENTRAL_SLAVE_IPADDR@\u00a0: adresse IP du serveur Centreon-Web secondaire\n\n@CENTRAL_SLAVE_NAME@\u00a0: nom du serveur Centreon-Web secondaire (doit \u00eatre identique au r\u00e9sultat de\u00a0hostname -s)\n\n@DATABASE_MASTER_IPADDR@\u00a0: adresse IP du serveur de base de donn\u00e9es principal\n\n@DATABASE_MASTER_NAME@\u00a0: nom du serveur de base de donn\u00e9es principal (doit \u00eatre identique au r\u00e9sultat de\u00a0hostname -s)\n\n@DATABASE_SLAVE_IPADDR@\u00a0: adresse IP du serveur de base de donn\u00e9es secondaire\n\n@DATABASE_SLAVE_NAME@\u00a0: nom du serveur de base de donn\u00e9es secondaire (doit \u00eatre identique au r\u00e9sultat de\u00a0hostname -s)\n\n@QDEVICE_IPADDR@\u00a0: adresse IP du serveur supportant le\u00a0quorum device\n\n@QDEVICE_NAME@\u00a0: nom du serveur supportant le\u00a0quorum device\u00a0(doit \u00eatre identique au r\u00e9sultat de\u00a0hostname -s)\n\n@MARIADB_REPL_USER@\u00a0: nom du compte MariaDB de r\u00e9plication (sugg\u00e9r\u00e9 : centreon-repl)\n\n@MARIADB_REPL_PASSWD@\u00a0: mot de passe de ce compte\n\n@MARIADB_CENTREON_USER@\u00a0: nom du compte MariaDB de Centreon (sugg\u00e9r\u00e9 : centreon)\n\n@MARIADB_CENTREON_PASSWD@\u00a0: mot de passe de ce compte\n\n@VIP_IPADDR@\u00a0: adresse IP virtuelle du cluster\n\n@VIP_IFNAME@\u00a0: nom de l'interface qui portera la VIP\n\n@VIP_CIDR_NETMASK@\u00a0: masque de sous-r\u00e9seau exprim\u00e9 en nombre de bits sans le '\/' (exemple : 24)\n\n@VIP_BROADCAST_IPADDR@\u00a0: adresse de broadcast\n\n@VIP_SQL_IPADDR@\u00a0: adresse IP virtuelle du cluster\n\n@VIP_SQL_IFNAME@\u00a0: nom de l'interface qui portera la VIP\n\n@VIP_SQL_CIDR_NETMASK@\u00a0: masque de sous-r\u00e9seau exprim\u00e9 en nombre de bits sans le '\/' (exemple : 24)\n\n@VIP_SQL_BROADCAST_IPADDR@\u00a0: adresse de broadcast\n\n@CENTREON_CLUSTER_PASSWD@\u00a0: mot de passe du compte\u00a0hacluster<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9\">@CENTRAL_MASTER_IPADDR<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: adresse IP du serveur Centreon-Web principal<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@CENTRAL_MASTER_NAME<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: nom du serveur Centreon-Web principal (doit \u00eatre identique au r\u00e9sultat de\u00a0hostname <\/span><span style=\"color: #81A1C1\">-s<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@CENTRAL_SLAVE_IPADDR<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: adresse IP du serveur Centreon-Web secondaire<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@CENTRAL_SLAVE_NAME<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: nom du serveur Centreon-Web secondaire (doit \u00eatre identique au r\u00e9sultat de\u00a0hostname <\/span><span style=\"color: #81A1C1\">-s<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@DATABASE_MASTER_IPADDR<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: adresse IP du serveur de base de donn\u00e9es principal<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@DATABASE_MASTER_NAME<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: nom du serveur de base de donn\u00e9es principal (doit \u00eatre identique au r\u00e9sultat de\u00a0hostname <\/span><span style=\"color: #81A1C1\">-s<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@DATABASE_SLAVE_IPADDR<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: adresse IP du serveur de base de donn\u00e9es secondaire<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@DATABASE_SLAVE_NAME<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: nom du serveur de base de donn\u00e9es secondaire (doit \u00eatre identique au r\u00e9sultat de\u00a0hostname <\/span><span style=\"color: #81A1C1\">-s<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@QDEVICE_IPADDR<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: adresse IP du serveur supportant <\/span><span style=\"color: #88C0D0\">le<\/span><span style=\"color: #D8DEE9FF\">\u00a0quorum device<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@QDEVICE_NAME<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: nom du serveur supportant <\/span><span style=\"color: #88C0D0\">le<\/span><span style=\"color: #D8DEE9FF\">\u00a0quorum device\u00a0(doit \u00eatre identique au r\u00e9sultat de\u00a0hostname <\/span><span style=\"color: #81A1C1\">-s<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@MARIADB_REPL_USER<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: nom du compte MariaDB de r\u00e9plication (sugg\u00e9r\u00e9 : centreon-repl)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@MARIADB_REPL_PASSWD<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: mot de passe de ce compte<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@MARIADB_CENTREON_USER<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: nom du compte MariaDB de Centreon (sugg\u00e9r\u00e9 : centreon)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@MARIADB_CENTREON_PASSWD<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: mot de passe de ce compte<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@VIP_IPADDR<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: adresse IP virtuelle du cluster<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@VIP_IFNAME<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: nom de l<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">interface qui portera la VIP<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">@VIP_CIDR_NETMASK@\u00a0: masque de sous-r\u00e9seau exprim\u00e9 en nombre de bits sans le <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">\/<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\"> (exemple : 24)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">@VIP_BROADCAST_IPADDR@\u00a0: adresse de broadcast<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">@VIP_SQL_IPADDR@\u00a0: adresse IP virtuelle du cluster<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">@VIP_SQL_IFNAME@\u00a0: nom de l<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">interface qui portera la VIP<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@VIP_SQL_CIDR_NETMASK<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: masque de sous-r\u00e9seau exprim\u00e9 en nombre de bits sans <\/span><span style=\"color: #88C0D0\">le<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">\/<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\"> (exemple : 24)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@VIP_SQL_BROADCAST_IPADDR<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: adresse de broadcast<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">@CENTREON_CLUSTER_PASSWD<\/span><span style=\"color: #D8DEE9FF\">@\u00a0: mot de passe du compte\u00a0hacluster<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 id=\"etapes-de-configuration\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Etapes_de_configuration\"><\/span>Etapes de configuration&nbsp;<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mise en place de la r\u00e9plication des bases<\/li>\n\n\n\n<li>Installation des briques corosync\/pacemaker\/heartbeat<\/li>\n\n\n\n<li>Configuration du cluster<\/li>\n\n\n\n<li>Configuration des centreon pour la HA<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Pr\u00e9requis Compr\u00e9hension Avant de suivre cette proc\u00e9dure, il est recommand\u00e9 d&rsquo;avoir un niveau de connaissance satisfaisant du syst\u00e8me d&rsquo;exploitation Linux, de Centreon et des outils de clustering Pacemaker-Corosync pour bien comprendre ce qui va \u00eatre fait et savoir r\u00e9soudre un \u00e9ventuel incident. En pointill\u00e9 sur les sch\u00e9mas ci-dessous les flux en attente. Fonctionnement initial de [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-705","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/pages\/705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=705"}],"version-history":[{"count":7,"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/pages\/705\/revisions"}],"predecessor-version":[{"id":745,"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/pages\/705\/revisions\/745"}],"wp:attachment":[{"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}