6.16. Commande `Elasticsearch storage mode`

6.16.1. Introduction

The `Elasticsearch storage mode` command enables modifying the storage mode for the alerts and the metadata.

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.

Note

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 the configuration in the webui screen following Admin>Configuration>Global settings>Elasticsearch max data retention.


6.16.2. Prerequisites

  • User : setup


6.16.3. Preliminary operations

Depending on the situation:


6.16.4. Procedure

The configuration menu is displayed.

  • Select the line `Elasticsearch storage mode`` or press the letter E.

  • Press the `OK` button.
    The window `Elasticsearch storage mode` is displayed.
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`
  • To change the current storage mode, press the `Switch storage type`.
    The screen becomes:
Maximum size for target storage type: 99G
Default data retention size on target storage type: 99G
Current space used by elasticsearch: 1,0G
  • To start the operation, press the `Switch storage type and launch data migration`.
    The following message is displayed indicating the progress of the operation.
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

In case of error, the following message is displayed.

An error has been encountered during the procedure. As a result, the
gcenter could become unstable. Please, contact the gatewatcher support
quickly.

In this case, contact the Gatewatcher support.

In case, validate the error message.

At the end of the operation, the storage type changed (in this example, it changed to `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
  • Press the `Back` button to return to the general menu.