Repository navigation
update mbi files for 26.10 - #5634
emgcentreon merged 22 commits into
Conversation
|
Co-authored-by: emgcentreon <emartinezgandara@centreon.com>
…com/centreon/centreon-documentation into MON-201336-install_upgrade_2610_MBI
…ll_upgrade_2610_MBI
Jordan9131
left a comment
There was a problem hiding this comment.
Retest de la procédure MBI sur Alma 10 / MySQL 8.4 (MON-201336, MON-211467). Quatre points bloquent l'installation. Ceux dont la ligne est dans le diff sont en suggestions en ligne ; les autres sont ci-dessous (lignes non modifiées par la PR).
1. MySQL : l'extension s'installe à moitié (étape 2, avant « Grant rights to the centreon user », l. 448)
log_bin_trust_function_creators est documenté à l'étape 1 (reporting), mais l'échec a lieu à l'étape 2. Avec le binlog actif (défaut), « Enable the extension » renvoie ERROR 1419 alors que l'extension s'affiche installée : 0 option, 0 trigger, pas de menu. Avec le réglage posé avant l'activation puis l'extension réinstallée : 64 options, 3 triggers, 9 entrées de menu. À ajouter avant « Enable the extension » :
### MySQL only: allow the extension to create its triggers
Before enabling the extension, run these commands on the server that hosts the monitoring database:
printf '[mysqld]\nlog_bin_trust_function_creators=1\n' > /etc/my.cnf.d/90-centreon-bi.cnf
systemctl restart mysqld
mysql -u root -p -e "SHOW GLOBAL VARIABLES LIKE 'log_bin_trust_function_creators'"
The value must be `ON`. On Debian 13, use `/etc/mysql/conf.d/90-centreon-bi.cnf` and `systemctl restart mysql`.2. install.sh échoue avec la réponse par défaut (l. 1246-1250)
« Database type for reporting database » propose « 1) Automatic discovery », qui se connecte avec centreonbi avant sa création : Failed to connect to the reporting database, exit 1. Avec 3) MySQL (ou 2) MariaDB), le script va au bout (testé). À remplacer :
Make sure the reporting database is started, then run the script and answer the questions:
/usr/share/centreon-bi/config/install.sh
- Monitoring database: IP address, port `3306`, **centreonbi** user and its password.
- Database type (monitoring and reporting): **MariaDB** or **MySQL**. Do not keep **1) Automatic discovery** for the reporting database: it fails because the user does not exist yet.
- Reporting database on localhost: **Yes**, with the root password defined in "Secure the database".
- SFTP publication: **Yes**, once a password is set for **centreonBI** on the monitoring server.3. /etc/my.cnf.d/ n'est pas lu avec MySQL (installation/_database-repository.mdx, l. 60)
Avec le MySQL Community (dépôt dev.mysql.com) sur Alma 10, /etc/my.cnf n'a pas de !includedir : mysqld --print-defaults n'affiche rien de ce dossier, donc les .cnf posés par les pages sont ignorés sans erreur. À ajouter après l'installation de mysql-server (onglet EL10, que j'ai exécuté) :
grep -q '^!includedir /etc/my.cnf.d' /etc/my.cnf || printf '\n!includedir /etc/my.cnf.d\n' >> /etc/my.cnf4. Dépendances : onglets EL9 avec les commandes EL8, EL10 avec celles du EL9
(EL9 d'après le QA, non exécuté ; sur Alma 10, epel-release-latest-9 s'installe sans erreur et donne un EPEL 9 sur un système EL10.) Lignes à corriger :
| Onglet | Ligne | Remplacement |
|---|---|---|
| RHEL 9 | 750 | …/epel-release-latest-9.noarch.rpm |
| RHEL 9 | 756 | codeready-builder-for-rhel-9-x86_64-rpms |
| Oracle Linux 9 | 765 | …/epel-release-latest-9.noarch.rpm |
| Oracle Linux 9 | 771 | ol9_codeready_builder |
| Alma 9 | 780 | dnf install -y epel-release |
| RHEL 10 | 794 | …/epel-release-latest-10.noarch.rpm |
| RHEL 10 | 800 | codeready-builder-for-rhel-10-x86_64-rpms |
| Oracle Linux 10 | 809 | …/epel-release-latest-10.noarch.rpm |
| Alma 10 | 823 | …/epel-release-latest-10.noarch.rpm |
Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com>
…com/centreon/centreon-documentation into MON-201336-install_upgrade_2610_MBI
JeremyR-Centreon
left a comment
There was a problem hiding this comment.
QA approved at b8d06ae: MON-201336, MON-211467 and MON-211308 are validated (NEED MERGE). Two one-line fixes are still recommended before the merge (Oracle Linux 9 ol9_codeready_builder, French text on the English page L506/L524); they and the other non-blocking points are listed in MON-212505.
Co-authored-by: emgcentreon <emartinezgandara@centreon.com>
|
implemented the two recommended one-line fixes |
18151d4
into
MON-201183-install-upgrade-26-10
* 26.10 - Install/upgrade/migrate * Update FR files * Test update matrix topic * Add upgrade matrix * Update * Change .md to .mdx * Update * Update * Remove link * Add FR upgrade matrix files * Try to unbreak build * Update upgrade from 25.10 topic * Update upgrade procedure * Add snippet for intro * Remove obsolete files * Update * Update * Workaround for zombie link * Workaround for zombie link * Workaround for zombie link * Fix tag * Update * Single-source upgrade to 26.10 procedure * Remove duplicate paragraph * Update single sourcing for "upgrade for 25.10" procedure * Finish single sourcing all "upgrade to 26.10" procedures * Fix variable * Update * ignore example login token * Add VMWare and MAP Legacy warnings * Fix snippet * Fix syntax * Fix Debian update command * HA update command for Debian * List allowed special characters for admin password * MON-155363 prerequisites * Updates * Fix tabs * TLS part of installation procedure * Fix link * Rework central unattended topic * Unattended procedure for a poller * Change topic order * Update * Update for VMs * Fix build * Update * Fix incorrect repo URL * Single-source common part of install procedure (central, poller, remote) * Fix build * Unbreak build * Single-source parts of the install procedure + updates * Unbreak build * Fix link * MON-209138 sourceguardian * Translate upgrade matrix into English + fix 26.10 dropdown * MON-209662 Fix upgrade matrix links * Fix upgrade matrix links * Move section about generating self-signed certificates * Rejig HTTPS procedures * Fix sidebar * Fix link + add unattended to "which install" * Update * Warning about self-signed certificates * update * Fix EN upgrade docs * FR version of upgrade topics * FR upgrade files (2) * Update install files, including FR * Refresh self-signed certificate procedure * Fix syntax error * Fix syntax and anchors * Add FR self-signed certificates file * Revert "update" This reverts commit 85df8ac. * Fix tabs * Fix anchors * MON-210153 Remove obsolete migration topics * FR migration topics * Fix links * Creating self-signed certificates * Fix "which install" topic, EN+FR * Update OSs in update files * MON-201334 HA upgrade * Update tabs with supported OSs * Update supported OSs in tabs * Update supported OSs in tabs * Update supported OSs in tabs * Fix typo * Update "secure your platform" * FR corrections (EN in a previous commit) * Update MAP installation 26.10 * MAP update & upgrade topics to review (EN only) * Update BAM install/update/upgrade in 26.10 (EN only) * Add FR version (MAP&BAM install/update/upgrade) * Fix broken links * Corrections to "secure your platform" * Update * Fix import * Fix FR compatibility topic + add "from 10.2" * At least EL 10.2 * Add sentence about in-place migration doc * Clean up lifecycle topic * Fix incorrect version numbers in HA upgrade topics * Fix method * Fix link * Key rotation in HA topics * Fix link * Import Link * Add in-place migration topic to sidebar * Fix link * Import Link in the right place * Fix anchor * Add PHP8.4 to EL 10 repos * Fix link * Delete parasitic files * Add temporary FR file (workaround for zombie links) * Corrections * Changes following review * Fix link * Fix anchors * Changes following review * 26.10 Pollers in containers (#5629) * 26.10 Pollers in containers * Unbreak build * Unbreak build * Typo * Unbreak build * Workaround for zombie links * Add temporary FR files (workaround for zombie links) * Fix link * Fix link * Fix link * Try to fix build by making a dummy change in monitoring connectors section * Fix anchor * doc: use ghcr.io stable image in custom Dockerfile example Align the FROM instruction with the install-poller docker.sh script, which pulls stable poller images from ghcr.io/centreon/centreon-<component> rather than the Harbor docker.centreon.com/centreon/centreon-<component>-trixie path (only used for testing/unstable channels). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * doc: use ghcr.io stable image in fr Dockerfile example Same fix as 03a5b27, applied to the untranslated fr i18n copy of using-containers-advanced-configuration.md. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * Pollers in containers * Fix links * Replace docker by container * Update * Translate topics into French * Rearrange ToC * FR translation * Update screenshot + delete obsolete ones * HTTPS + minor tweaks * Update * Update * Add links to HTTPS procedure * Remove unnecessary example * Add translation string * MON-209967 Note about poller prerequisites * Update version-26.10.json * Corrections EN * Corrections FR --------- Co-authored-by: Tpo76 <fthepaut@centreon.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com> * Changes following review * Fix link * Fix anchor * Changes following review * Changes following review * Changes following review * Update following QA feedback * Fix link * Fix reference to wrong version * Changes following review * Changes following review * Changes following review * Changes following review (self-signed certificates) * Fixes * Fixes * Fixes * Update versioned_docs/version-26.10/graph-views/map-web-install.md Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com> * Update i18n/fr/docusaurus-plugin-content-docs/version-26.10/graph-views/map-web-install.md Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com> * Update following QA feedback * Changes following review * Changes following review (unhide remote registration) * Update update-centreon-platform.md * Update update-centreon-platform.md * Update update-centreon-platform.md * Update update-centreon-platform.md * new form for poller install on vm or physical * Update update-centreon-platform.md * poller update from interface * Document Gorgone custom URI (MON-209970) * Update versioned_docs/version-26.10/graph-views/map-web-install.md Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com> * Update versioned_docs/version-26.10/graph-views/map-web-install.md Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com> * Update i18n/fr/docusaurus-plugin-content-docs/version-26.10/graph-views/map-web-install.md Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com> * Update i18n/fr/docusaurus-plugin-content-docs/version-26.10/graph-views/map-web-install.md Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com> * Changes following review (HA) * Fix build (tab error) * Update versioned_docs/version-26.10/graph-views/map-web-install.md Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com> * Update i18n/fr/docusaurus-plugin-content-docs/version-26.10/graph-views/map-web-install.md Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com> * Apply QA suggestion * Update following QA feedback * MON-209969 VM or physical * Minor fixes * MON-208043 * Fix incorrect titles * Update in-place migration procedure (to be transferred to The Watch once done) * Changes following review * update mbi files for 26.10 (#5634) * update mbi files for 26.10 * update mbi files for 26.10 * Update versioned_docs/version-26.10/reporting/installation.md * update mbi files for 26.10 * Apply batched suggestions from code review Co-authored-by: emgcentreon <emartinezgandara@centreon.com> * update mbi files for 26.10 * update mbi files for 26.10 * Update installation.md * update OS tabs for 26.10 * update mbi files for 26.10 * partial implementation of QA feedback * partial implementation of feedback * fix broken link * Apply batched suggestions from code review Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com> * apply feedback * implement feedback * implement feedback * Apply batched suggestions from code review Co-authored-by: emgcentreon <emartinezgandara@centreon.com> --------- Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com> * In-place Debian migration cleanup (before transfer to The Watch) * Update versioned_docs/version-26.10/installation/installation-of-a-poller/pollers-containers-prerequisites.md * Update commands.md * Update commands.md * Apply QA comments * Remove in-place migration procedure (transferred to The Watch) * Fix OS versions for MAP upgrade topic * Add migration comment (MAP) * Restore tab * removed steps for Debian 13 and EL 10 * Apply batched suggestions from code review Co-authored-by: emgcentreon <emartinezgandara@centreon.com> --------- Co-authored-by: Stéphane Chapron <34628915+sc979@users.noreply.github.com> Co-authored-by: smau <smau@centreon.com> Co-authored-by: Tpo76 <fthepaut@centreon.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com> Co-authored-by: smau <102975713+smau-centreon@users.noreply.github.com> Co-authored-by: Jordan9131 <138499128+Jordan9131@users.noreply.github.com> Co-authored-by: emgcentreon <emartinezgandara@centreon.com>
Description
Please include a short summary of the changes and what is the purpose of the PR. Any relevant information should be added to help reviewers.
Target version (i.e. version that this PR changes)