Installation [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:dpi:dpi_components:qoestor:install_and_update:install [2021/08/05 16:29] – created arusnaken:dpi:dpi_components:qoestor:install_and_update:install [2024/09/26 15:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Installation ======+====== Installation ======
 {{indexmenu_n>3}} {{indexmenu_n>3}}
  
Line 5: Line 5:
  
 <note warning>Check if the time and time zone are set correctly on the server. Correct and restart the server if necessary.</note> <note warning>Check if the time and time zone are set correctly on the server. Correct and restart the server if necessary.</note>
 +
 +<note warning>Do not disable the standard firewall-cmd. The installation script uses it for self-configuration.</note>
 +
 +<note warning>Do not use the yum update fastor command. Install/update with the script below.</note>
  
 For automatically installation or upgrading follow these steps: For automatically installation or upgrading follow these steps:
Line 13: Line 17:
   - Restart your ssh terminal. You need to make command aliases available.    - Restart your ssh terminal. You need to make command aliases available. 
   - Run the command <code> fastor-db-scheme </code> The database schema will be updated.    - Run the command <code> fastor-db-scheme </code> The database schema will be updated. 
 +<note important>In some systems, the database starts very slowly (from several minutes to several tens of minutes, especially in systems with long-term data storage) and when updating you may receive an error like **ERROR: while updating DB scheme**\\
 +{{:dpi:dpi_components:qoestor:dbcheme_update_err.png?600|}}
 +
 +Wait for the database to start. You can check the tail /var/log/clickhouse-server/clickhouse-server.log logs, or simply try to launch the clickhouse-client client - if there is a connection, then the database has started and is ready for connections.
  
 +After starting the database, run the command <code>fastor-db-scheme</code>
 +</note>
 <note important>Do not forget to execute <code>fastor-db-scheme</code> after installation. This insures cases when the schema does not have time to update as a result of a long restart of the database. </note> <note important>Do not forget to execute <code>fastor-db-scheme</code> after installation. This insures cases when the schema does not have time to update as a result of a long restart of the database. </note>