6.16. Commande `Elasticsearch storage mode`
6.16.1. Introduction
La commande `Elasticsearch storage mode`
permet de modifier le mode de stockage pour les alertes et les métadonnées.
`Current storage type`
choix `fast`
).Note
6.16.2. Prérequis
Utilisateur : setup
6.16.3. Opérations préliminaires
Suivant le cas :
soit utiliser l'Accès au menu de configuration en SSH
soit utiliser la Connexion directe au menu de configuration du GCenter avec clavier et écran
soit utiliser l'Accès au menu de configuration en HTTP via l'iDRAC (serveur DELL)
soit utiliser l'Accès au menu de configuration en SSH via l'interface iDRAC en mode redirection du port série
6.16.4. Procédure
Le menu de configuration est affiché :
Sélectionner la ligne
`Elasticsearch storage mode``
ou appuyer sur la lettre E.- Appuyer sur le bouton
`OK`
.La fenêtre`Elasticsearch storage mode`
s'affiche.
Choosing slow storage for elasticsearch will increase the potential retention duration,
but it will negatively impact the performances and speed of the gcenter.
It is strongly recommended to keep elasticsearch on fast storage.
Current storage type: fast
Maximum size on fast storage for elasticsearch: 15G
Maximum size on slow storage for elasticsearch: 99G
Current space used by elasticsearch: 1.0G`
- Pour changer le mode de stockage courant, appuyer sur le bouton
`Switch storage type`
.L'écran devient:
Storage type switch will preserve your data.
Moving high amount of data can greatly reduce the performances of your gcenter during the operation, and take up to one hour.
Indexation will be paused while it is occurring.
The migration process will allocate the default data retention size on the target storage (see numbers above).
This allocation can later be extended to the maximum size for the target storage:
see webui configuration in Admin>Configuration>Global settings>Elasticsearch max data retention.
Maximum size for target storage type: 99G
Default data retention size on target storage type: 99G
Current space used by elasticsearch: 1,0G
- Pour lancer l'operation, appuyer sur le bouton
`Switch storage type and launch data migration`
.Le message suivant est affiché indiquant la progression de l'opération.
Elasticsearch storage mode configuration is running, this can take a while.
Storage mode reconfiguration preparation: Running
Amount of data on target storage / origin storage: Not running
Reconfigure storage mode: Not running
Note
En cas d'erreur, le message suivant est affiché. Dans ce cas contacter le service support.
An error has been encountered during the procedure. As a result, the
gcenter could become unstable. Please, contact the gatewatcher support
quickly.
Dans cas, valider le message d'erreur.
A la fin de l'operation, le type de stockage a changé (dans cet exemple, il est passé à `slow`
).
Choosing slow storage for elasticsearch will increase the potential retention duration, but it will negatively impact the performances and speed of the gcenter.
It is strongly recommended to keep elasticsearch on fast storage.
Current storage type: slow
Maximum size on fast storage for elasticsearch: 15G
Maximum size on slow storage for elasticsearch: 999G
Current space used by elasticsearch: 1.0G
Appuyer sur le bouton
`Back`
pour revenir au menu général.