Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:dpi:dpi_components:dpiui:configuration [2024/09/26 15:29] – created - external edit 127.0.0.1 | en:dpi:dpi_components:dpiui:configuration [2026/05/07 14:42] (current) – [Migrating the GUI from CentOS 7 to VEOS] elena.krasnobryzh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Configuration and administration ====== | ====== Configuration and administration ====== | ||
| - | {{indexmenu_n> | + | {{indexmenu_n> |
| ===== File .env ===== | ===== File .env ===== | ||
| Line 49: | Line 49: | ||
| QOESTOR_DB_PORT=8123 | QOESTOR_DB_PORT=8123 | ||
| QOESTOR_DB_USER=default | QOESTOR_DB_USER=default | ||
| - | QOESTOR_DB_PASS='' | + | QOESTOR_DB_PASS=vasexperts |
| QOESTOR_DB_NAME=qoestor | QOESTOR_DB_NAME=qoestor | ||
| QOESTOR_CACHE_LIFE_TIME_SEC=3600 | QOESTOR_CACHE_LIFE_TIME_SEC=3600 | ||
| Line 93: | Line 93: | ||
| - Disable the requiretty requirement in the file ''/ | - Disable the requiretty requirement in the file ''/ | ||
| + | |||
| + | =====Migrating the GUI from CentOS 7 to VEOS===== | ||
| + | - Install the latest version of the GUI on a **new** machine. For more information, | ||
| + | - Update the GUI to the latest version on an **old** machine. For more information, | ||
| + | - Disable all cron jobs related to the GUI on the **old machine**: <code bash># Back up current crontab jobs | ||
| + | crontab -l > ./ | ||
| + | |||
| + | # Delete all user tasks | ||
| + | crontab -r | ||
| + | |||
| + | # Stopping the cron system service | ||
| + | sudo service crond stop</ | ||
| + | - Export the dpiui2 database from the **old** machine using the mysqldump utility.\\ :!: **Make sure you have enough free disk space beforehand!** <code bash>. / | ||
| + | |||
| + | mysqldump --add-drop-table --single-transaction=TRUE -u $DB_USERNAME --password=$DB_PASSWORD -h $DB_HOST -P $DB_PORT $DB_DATABASE | gzip > dpiui2.sql.gz</ | ||
| + | - Back up the contents of the **old** machine in the ''/ | ||
| + | - Import the '' | ||
| + | |||
| + | gunzip < dpiui2.sql.gz | mysql -u $DB_USERNAME --password=$DB_PASSWORD $DB_DATABASE</ | ||
| + | - Upload the contents of the archive created in step 5 to the **new** machine, into the ''/ | ||
| + | - Reinstall the GUI package on a **new** machine: <code bash>yum reinstall dpiui2</ | ||
| + | - Verify that everything is working correctly on the **new** GUI and that all policies/ | ||
| + | - Run the uninstallation script on the **old** machine: <code bash> | ||