update help elma
This commit is contained in:
@ -1,20 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>Перенос данных из встроенных баз во внешние в ELMA365 Enterprise</title>
|
||||
<title>Data migration from embedded to external databases in BRIX Enterprise</title>
|
||||
<meta name="generator" content="Help+Manual" />
|
||||
<meta name="keywords" content="" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="Вы можете перенести данные из баз внутри Kubernetes-кластера во внешние хранилища с помощью:" />
|
||||
<meta name="description" content="You can migrate data from databases within a Kubernetes cluster to external storages using:" />
|
||||
<meta name="picture" content="" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="Cправка по Low-code платформе ELMA365" />
|
||||
<meta property="og:url" content="https://elma365.com/ru/help" />
|
||||
<meta property="og:image" content="" />
|
||||
<meta property="og:site_name" content="ELMA365" />
|
||||
<meta property="og:title" content="Full documentation for BRIX365 platform. Low-code developer guide. User guide. Admin guide. Developer guide." />
|
||||
<meta property="og:url" content="https://brix365.com/en/help" />
|
||||
<meta property="og:image" content="" />
|
||||
<link rel="icon" href="favicon.png" type="image/png" />
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
|
||||
@ -24,7 +23,6 @@
|
||||
<link rel="stylesheet" href="./article.css" />
|
||||
<link rel="stylesheet" href="./glossary.css" />
|
||||
<link rel="stylesheet" href="./theme.css" />
|
||||
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="helpman_settings.js"></script>
|
||||
<script type="text/javascript" src="helpman_topicinit.js"></script>
|
||||
@ -36,16 +34,16 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M6ETBEC1R9"></script><script>window.dataLayer=window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date()); gtag('config', 'G-M6ETBEC1R9');</script>
|
||||
|
||||
<script>!function(e,t,c,n,r,a,m){e.ym=e.ym||function(){(e.ym.a=e.ym.a||[]).push(arguments)},e.ym.l=1*new Date;for(var s=0;s<document.scripts.length;s++)if(document.scripts[s].src===n)return;a=t.createElement(c),m=t.getElementsByTagName(c)[0],a.async=1,a.src=n,m.parentNode.insertBefore(a,m)}(window,document,"script","https://mc.yandex.ru/metrika/tag.js"),ym(83179930,"init",{clickmap:!0,trackLinks:!0,accurateTrackBounce:!0,webvisor:!0})</script><noscript><div><img alt=""src=https://mc.yandex.ru/watch/83179930 style=position:absolute;left:-9999px></div></noscript>
|
||||
|
||||
<header class="header elma-365">
|
||||
<div class="container">
|
||||
<a class="header__logo" href="https://elma365.com/ru/help">
|
||||
<img src="./logo.svg" alt="header logo">
|
||||
<a class="header__logo" href="https://brix365.com/en/help">
|
||||
<img src="./logo-en.svg" alt="header logo">
|
||||
</a>
|
||||
<!-- <div class="hero__search-form" id="search-panel">
|
||||
<form class="search-form" onsubmit="ym(83179930,'reachGoal','poisk')">
|
||||
<form class="search-form" onsubmit="ym(83180416,'reachGoal','poisk')">
|
||||
<label class="search-form__label">
|
||||
<span id="reset-search" class="search__icon"></span>
|
||||
<input class="search-form__input" type="text">
|
||||
@ -65,7 +63,7 @@
|
||||
</div>
|
||||
<div class="header__navi">
|
||||
|
||||
<ul class="header__list"><li><span class="solution-select"><span class="solution-select__selected"></span><svg width="7" height="4" viewBox="0 0 7 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L3.5 3.5L6 1" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg><ul class="solution-select__list"><li><a class="project-link" href="https://elma365.com/ru/help/platform/get-trial.html">Платформа</a></li><li><a class="project-link" href="https://elma365.com/ru/help/ecm/ecm-functions.html">ECM</a></li><li><a class="project-link" href="https://elma365.com/ru/help/crm/crm_overview.html">CRM</a></li><li><a class="project-link" href="https://elma365.com/ru/help/service/service-functions.html">Service</a></li><li><a class="project-link" href="https://elma365.com/ru/help/projects/projects-functions.html">Проекты</a></li><li><a class="project-link" href="https://elma365.com/ru/help/business_solutions/-elma365-store.html">Бизнес-решения</a></li></ul></span></li><li><a href="https://api.elma365.com/ru/"target="_blank">API</a></li><li><a href="https://tssdk.elma365.com/"target="_blank">SDK</a></li><li><a href="https://community.elma365.com/" target="_blank">Community</a></li><li><a href="https://elma-academy.com/ru/" target="_blank">Академия</a></li><li><a href="https://elma365.com/ru/" target="_blank">Сайт ELMA365</a></li></ul>
|
||||
<ul class="header__list"><li><span class="solution-select"><span class="solution-select__selected"></span><svg width="7" height="4" viewBox="0 0 7 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L3.5 3.5L6 1" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg><ul class="solution-select__list"><li><a class="project-link" href="https://brix365.com/en/help/platform/get-trial.html">Platform</a></li><li><a class="project-link" href="https://brix365.com/en/help/ecm/ecm-functions.html">ECM</a></li><li><a class="project-link" href="https://brix365.com/en/help/crm/crm_overview.html">CRM</a></li><li><a class="project-link" href="https://brix365.com/en/help/service/service-functions.html">Service</a></li><li><a class="project-link" href="https://brix365.com/en/help/projects/projects-functions.html">Projects</a></li><li><a class="project-link" href="https://brix365.com/en/help/business_solutions/-elma365-store.html">Business Solutions</a></li></ul></span></li><li><a href="https://api.brix365.com/en/" target="_blank">API</a></li><li><a href="https://tssdk.brix365.com/" target="_blank">SDK</a></li></ul>
|
||||
|
||||
|
||||
</div>
|
||||
@ -80,8 +78,8 @@
|
||||
|
||||
<aside class="sidebar" id="sidebar">
|
||||
<div class="sidebar__header">
|
||||
<a class="header__logo" href="https://elma365.com/ru/help">
|
||||
<img src="./logo-light.svg">
|
||||
<a class="header__logo" href="https://brix365.com/en/help">
|
||||
<img src="./logo-light-en.svg">
|
||||
</a>
|
||||
<span class="sidebar__close elma-365-close" id="close"></span>
|
||||
</div>
|
||||
@ -94,15 +92,15 @@
|
||||
<div class="article-inner">
|
||||
<div class="content">
|
||||
<header class="article__header">
|
||||
<div class="article__bread" style="display:flex; gap:10px;">
|
||||
<div class="article__bread" style="display:flex; gap:10px;">
|
||||
<span id="subcategory" class="search-res__item-category search-res__item-category_subcategory subcategory article__badge"></span>
|
||||
|
||||
<div class="topic__breadcrumbs">
|
||||
<p><a href="elma365-on-premises.html">ELMA365 On-Premises</a> > <a href="elma365-enterprise.html">ELMA365 On-Premises Enterprise</a> / Перенос данных из встроенных баз во внешние в ELMA365 Enterprise</p>
|
||||
<p><a href="elma365-on-premises.html">BRIX On-Premises</a> > <a href="elma365-enterprise.html">BRIX On-Premises Enterprise</a> / Data migration from embedded to external databases in BRIX Enterprise</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="topic__title"><h1 class="p_Heading1"><span class="f_Heading1">Перенос данных из встроенных баз во внешние в ELMA365 Enterprise</span></h1>
|
||||
<div class="topic__title"><h1 class="p_Heading1"><span class="f_Heading1">Data migration from embedded to external databases in BRIX Enterprise</span></h1>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
@ -111,100 +109,102 @@
|
||||
<a href="#h1-article" class="scroll-top"></a>
|
||||
</div>
|
||||
<!-- Placeholder for topic body. -->
|
||||
<p class="p_Normal">Вы можете перенести данные из баз внутри Kubernetes-кластера во внешние хранилища с помощью:</p>
|
||||
<p class="p_Normal">You can migrate data from databases within a Kubernetes cluster to external storages using:</p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li class="p_Normal">внешних средств;</li><li class="p_Normal">утилиты <span style="font-weight: bold;">Elma365-Backupper</span>. Подробнее читайте в статье <a href="embedded-to-external-database-enterprise-backupper.html" class="topiclink">«Перенос данных из встроенных баз во внешние в ELMA365 Enterprise: утилита Elma365-Backupper»</a>.</li></ul>
|
||||
<p class="p_Normal">Рассмотрим этапы переноса внешними средствами:</p>
|
||||
<li class="p_Normal">External tools.</li><li class="p_Normal"><span style="font-weight: bold;">Elma365-Backupper</span> utility. Read more in the <a href="embedded-to-external-database-enterprise-backupper.html" class="topiclink">Data migration from embedded to external databases in BRIX Enterprise: customized utility</a> article.</li></ul>
|
||||
<p class="p_Normal">The main steps of data migration by external tools:</p>
|
||||
<ol style="list-style-type:decimal">
|
||||
<li value="1" class="p_Normal"><a href="embedded-to-external-database-enterprise.html#prepare" class="topiclink">Подготовка к созданию дампа данных</a>.</li><li value="2" class="p_Normal"><a href="embedded-to-external-database-enterprise.html#dump" class="topiclink">Создание дампа данных</a>.</li><li value="3" class="p_Normal"><a href="embedded-to-external-database-enterprise.html#restore" class="topiclink">Восстановление данных на внешнем хранилище</a>.</li><li value="4" class="p_Normal"><a href="embedded-to-external-database-enterprise.html#update-parameters" class="topiclink">Обновление параметров приложения ELMA365 Enterprise</a>.</li></ol>
|
||||
<li value="1" class="p_Normal"><a href="embedded-to-external-database-enterprise.html#preparation" class="topiclink">Prepare to data dump creation</a>.</li><li value="2" class="p_Normal"><a href="embedded-to-external-database-enterprise.html#dump" class="topiclink">Create a data dump</a>.</li><li value="3" class="p_Normal"><a href="embedded-to-external-database-enterprise.html#restore" class="topiclink">Restore data on external storage</a>.</li><li value="4" class="p_Normal"><a href="embedded-to-external-database-enterprise.html#update-parameters" class="topiclink">Update BRIX Enterprise application parameters</a>.</li></ol>
|
||||
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">начало внимание</span></p>
|
||||
<p class="p_Normal">После переноса баз данных на внешние хранилища требуется повторная <a href="activate_on_premise.html" class="topiclink">активация системы</a>. </p>
|
||||
<p class="p_Normal">After migrating databases to external storages, <a href="activate_on_premise.html" class="topiclink">system reactivation</a> is required.</p>
|
||||
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">конец внимание</span></p>
|
||||
<h2 class="p_Heading2"><a id="prepare" class="hmanchor"></a><span class="f_Heading2">Шаг 1. Подготовка к дампу данных</span></h2>
|
||||
<h2 class="p_Heading2"><a id="preparation" class="hmanchor"></a><span class="f_Heading2">Step 1: Prepare to data dump creation</span></h2>
|
||||
<ol style="list-style-type:upper-roman">
|
||||
<li value="1" class="p_Normal">Предварительно установите пакет<span style="font-weight: bold;"> jq</span>.</li><li value="2" class="p_Normal">Для получения доступа к базам данных внутри кластера пробросьте порты сервисов:</li></ol>
|
||||
<li value="1" class="p_Normal">First, install the<span style="font-weight: bold;"> jq</span> package.</li><li value="2" class="p_Normal">To access the databases within the cluster, forward the service ports:</li></ol>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">kubectl port-forward postgres-0 5432:5432 --address 0.0.0.0</span><br />
|
||||
<span class="f_CodeExample">kubectl port-forward mongo-0 27017:27017 --address 0.0.0.0</span></p>
|
||||
<ol style="list-style-type:upper-roman" start="3">
|
||||
<li value="3" class="p_Normal">Получите и сохраните пароли для подключения к базам данных:</li></ol>
|
||||
<li value="3" class="p_Normal">Get and save passwords for connecting to the databases:</li></ol>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">kubectl get secrets/elma365-db-connections -o json | jq '.data | map_values(@base64d)'</span></p>
|
||||
<h2 class="p_Heading2"><a id="dump" class="hmanchor"></a><span class="f_Heading2">Шаг 2. Создание дампа данных</span></h2>
|
||||
<h2 class="p_Heading2"><a id="dump" class="hmanchor"></a><span class="f_Heading2">Step 2: Create a data dump</span></h2>
|
||||
<ol style="list-style-type:upper-roman">
|
||||
<li value="1" class="p_Normal">Сформируйте файл с дампом данных для PostgreSQL с помощью утилиты <span style="font-weight: bold;">pg_dump</span>:</li></ol>
|
||||
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">pg_dump -h localhost -p 5432 -U postgres elma365 -f /backup/<backup-postgresql-folder-name></span></p>
|
||||
<p class="p_Normal" style="margin: 0 0 0 36px;">Введите пароль, полученный на первом шаге.</p>
|
||||
<li value="1" class="p_Normal">Generate a data dump file for PostgreSQL using the <span style="font-weight: bold;">pg_dump</span> utility:</li></ol>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">pg_dump -h localhost -p 5432 -U postgres elma365 -f /backup/<backup-postgresql-folder-name></span></p>
|
||||
<p class="p_Normal" style="margin: 0 0 0 32px;">Enter the password obtained in the first step.</p>
|
||||
<ol style="list-style-type:upper-roman" start="2">
|
||||
<li value="2" class="p_Normal">Сформируйте файл с дампом данных для MongoDB с помощью утилиты <span style="font-weight: bold;">mongodump</span>:</li></ol>
|
||||
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">mongodump --host localhost --port 27017 --db elma365 -u elma365 --out /backup/<backup-mongodb-folder-name></span></p>
|
||||
<p class="p_Normal" style="margin: 0 0 0 36px;">Введите пароль, полученный на первом шаге.</p>
|
||||
<p class="p_Normal" style="margin: 0 0 0 36px;">Подробнее об этих утилитах читайте в статье <a href="dump_db.html" class="topiclink">«Резервное копирование внешними средствами»</a>.</p>
|
||||
<h2 class="p_Heading2"><a id="restore" class="hmanchor"></a><span class="f_Heading2">Шаг 3. Восстановление данных на внешнем хранилище</span></h2>
|
||||
<li value="2" class="p_Normal">Generate a data dump file for MongoDB using the <span style="font-weight: bold;">mongodump</span> utility:</li></ol>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">mongodump --host localhost --port 27017 --db elma365 -u elma365 --out /backup/<backup-mongodb-folder-name></span></p>
|
||||
<p class="p_Normal" style="margin: 0 0 0 31px;">Enter the password obtained in the first step.</p>
|
||||
<p class="p_Normal" style="margin: 0 0 0 30px;">Read more about these utilities in the <a href="dump_db.html" class="topiclink">External BRIX backup</a> article.</p>
|
||||
<h2 class="p_Heading2"><a id="restore" class="hmanchor"></a><span class="f_Heading2">Step 3: Restore data on external storage</span></h2>
|
||||
<ol style="list-style-type:upper-roman">
|
||||
<li value="1" class="p_Normal">Восстановление из резервной копии должно производиться в пустые базы данных и S3-хранилище. Очистите их перед восстановлением.</li><li value="2" class="p_Normal">Восстановите данные PostgreSQL при помощи утилиты <span style="font-weight: bold;">psql</span>:</li></ol>
|
||||
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">psql -h <external_db_host> -p <external_db_port> -U <username> -d <database_name> -f /backup/<backup-postgresql-folder-name></span></p>
|
||||
<p class="p_Normal">Где:</p>
|
||||
<li value="1" class="p_Normal">Restore from backup on empty databases and S3 storage. Clear them before restoration.</li><li value="2" class="p_Normal">Restore PostgreSQL data using the <span style="font-weight: bold;">psql</span> utility:</li></ol>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">psql -h <external_db_host> -p <external_db_port> -U <username> -d <database_name> -f /backup/<backup-postgresql-folder-name></span></p>
|
||||
<p class="p_Normal">Where:</p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li class="p_Normal"><code><b><external_db_host></b></code> — хост внешней базы данных;</li><li class="p_Normal"><code><b><external_db_port></b></code> — порт внешней базы данных;</li><li class="p_Normal"><code><b><username></b></code> — имя пользователя внешней базы данных;</li><li class="p_Normal"><code><b><database_name></b></code> — имя базы данных на внешнем сервере.</li></ul>
|
||||
<li class="p_Normal"><code><b><external_db_host></b></code>. The host of the external database.</li><li class="p_Normal"><code><b><external_db_port></b></code>. The port of the external database.</li><li class="p_Normal"><code><b><username></b></code>. The user name of the external database.</li><li class="p_Normal"><code><b><database_name></b></code>. The name of the database on the external server.</li></ul>
|
||||
<ol style="list-style-type:upper-roman" start="3">
|
||||
<li value="3" class="p_Normal">Восстановите данные MongoDB при помощи утилиты <span style="font-weight: bold;">mongorestore</span>:</li></ol>
|
||||
<li value="3" class="p_Normal">Restore MongoDB data using the <span style="font-weight: bold;">mongorestore</span> utility:</li></ol>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">mongorestore --host <external_db_host> --port 27017 --db <database_name> -u <username> --dir=/backup/<backup-mongodb-folder-name></span></p>
|
||||
<p class="p_Normal">Где:</p>
|
||||
<p class="p_Normal">Where:</p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li class="p_Normal"><code><b><external_db_host></b></code> — хост внешней базы данных;</li><li class="p_Normal"><code><b><username></b></code> — имя пользователя внешней базы данных;</li><li class="p_Normal"><code><b><database_name></b></code> — имя базы данных на внешнем сервере.</li></ul>
|
||||
<li class="p_Normal"><code><b><external_db_host></b></code>. The host of the external database.</li><li class="p_Normal"><code><b><username></b></code>. The user name of the external database.</li><li class="p_Normal"><code><b><database_name></b></code>. The name of the database on the external server.</li></ul>
|
||||
<ol style="list-style-type:upper-roman" start="4">
|
||||
<li value="4" class="p_Normal">Восстановите данные S3-хранилища при помощи утилиты <span style="font-weight: bold;">mc</span>:</li></ol>
|
||||
<li value="4" class="p_Normal">Restore the S3 storage data using the <span style="font-weight: bold;">mc</span> utility:</li></ol>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">mc alias set <alias_source> <s3-endpoint_source> <access-key_source> <secret-key_source></span><br />
|
||||
<span class="f_CodeExample">mc alias set <alias_destination> <s3-endpoint_destination> <access-key_destination> <secret-key_destination></span></p>
|
||||
<p class="p_Normal">Где:</p>
|
||||
<p class="p_Normal">Where:</p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li class="p_Normal"><code><b><alias_source></b></code> — короткое имя (псевдоним) для источника;</li><li class="p_Normal"><code><b><s3-endpoint_source></b></code> — адрес S3-совместимого хранилища источника;</li><li class="p_Normal"><code><b><access-key_source></b></code> — ключ доступа для источника;</li><li class="p_Normal"><code><b><secret-key_source></b></code> — секретный ключ для источника;</li><li class="p_Normal"><code><b><alias_destination></b></code> — короткое имя (псевдоним) для назначения;</li><li class="p_Normal"><code><b><s3-endpoint_destination></b></code> — адрес S3-совместимого хранилища назначения;</li><li class="p_Normal"><code><b><access-key_destination></b></code> — ключ доступа для назначения;</li><li class="p_Normal"><code><b><secret-key_destination></b></code> — секретный ключ для назначения.</li></ul>
|
||||
<p class="p_Normal">После этого скопируйте S3-хранилище из источника в место назначения: </p>
|
||||
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">mc cp --recursive <s3-endpoint_source>/bucket-name/ <s3-endpoint_destination>/bucket-name/</span></p>
|
||||
<p class="p_Normal">Где:</p>
|
||||
<li class="p_Normal"><code><b><alias_source></b></code>. The short name (alias) for the source.</li><li class="p_Normal"><code><b><s3-endpoint_source></b></code>. The address of the S3-compatible source storage.</li><li class="p_Normal"><code><b><access-key_source></b></code>. The access key for the source.</li><li class="p_Normal"><code><b><secret-key_source></b></code>. The secret key for the source.</li><li class="p_Normal"><code><b><alias_destination></b></code>. The short name (alias) for the destination.</li><li class="p_Normal"><code><b><s3-endpoint_destination></b></code>. The address of the S3-compatible destination storage.</li><li class="p_Normal"><code><b><access-key_destination></b></code>. The access key for the destination.</li><li class="p_Normal"><code><b><secret-key_destination></b></code>. The secret key for the destination.</li></ul>
|
||||
<p class="p_Normal">Then copy the S3 storage from the source to the destination:</p>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">mc cp --recursive <s3-endpoint_source>/bucket-name/ <s3-endpoint_destination>/bucket-name/</span></p>
|
||||
<p class="p_Normal">Where:</p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li class="p_Normal"><code><b><alias_source></b></code> — короткое имя (псевдоним) для источника;</li><li class="p_Normal"><code><b><alias_destination></b></code> — короткое имя (псевдоним) для назначения;</li><li class="p_Normal"><code><b>bucket-name</b></code> — имя бакета;</li><li class="p_Normal"><code><b>--recursive</b></code> — рекурсивное копирование всех объектов и файлов.</li></ul>
|
||||
<li class="p_Normal"><code><b><alias_source></b></code>. The short name (alias) for the source.</li><li class="p_Normal"><code><b><alias_destination></b></code>. The short name (alias) for the destination.</li><li class="p_Normal"><code><b>bucket-name</b></code>. The bucket name.</li><li class="p_Normal"><code><b>--recursive</b></code>. Recursive copying of all objects and files.</li></ul>
|
||||
<ol style="list-style-type:upper-roman" start="5">
|
||||
<li value="5" class="p_Normal">После восстановления баз данных на внешних хранилищах выполните повторную <a href="activate_on_premise.html" class="topiclink">активацию системы</a>.</li></ol>
|
||||
<h2 class="p_Heading2"><a id="update-parameters" class="hmanchor"></a><span class="f_Heading2">Шаг 4. Обновление параметров приложения ELMA365 Enterprise</span></h2>
|
||||
<li value="5" class="p_Normal">After restoring the databases on external storage, <a href="activate_on_premise.html" class="topiclink">reactivate the system</a>.</li></ol>
|
||||
<h2 class="p_Heading2"><a id="update-parameters" class="hmanchor"></a><span class="f_Heading2">Step 4: Update BRIX Enterprise application parameters</span></h2>
|
||||
<ol style="list-style-type:upper-roman">
|
||||
<li value="1" class="p_Normal">После восстановления данных на внешних базах убедитесь, что все таблицы для PostgreSQL или коллекции для MongoDB перенесены корректно.</li><li value="2" class="p_Normal">Чтобы параметры приложения ELMA365 Enterprise указывали на настроенные внешние базы, в конфигурационном файле <code><b>values-elma365.yaml</b></code> измените параметры подключения к базам данных и параметры подключения к S3-хранилищу файлов.</li><li value="3" class="p_Normal">Обновите параметры приложения ELMA365 c применением конфигурационного файла <code><b>values-elma365.yaml</b></code>.</li></ol>
|
||||
<p class="p_Normal"><a class="dropdown-toggle" style="font-style: normal; font-weight: normal; color: #000000; background-color: transparent; text-decoration: none;" href="javascript:HMToggle('toggle','TOGGLE0186A1')">Обновление параметров через интернет</a></p>
|
||||
<div id="TOGGLE0186A1" class="dropdown-toggle-body" style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="border:none; border-spacing:0;">
|
||||
<li value="1" class="p_Normal">After restoring data on external databases, make sure that all tables for PostgreSQL or collections for MongoDB are migrated correctly.</li><li value="2" class="p_Normal">To configure the BRIX Enterprise application to use external databases, change the database and S3 file storage connection settings in the <code><b>values-elma365.yaml</b></code> configuration file.</li><li value="3" class="p_Normal">Update the BRIX application parameters using the <code><b>values-elma365.yaml</b></code> configuration file.</li></ol>
|
||||
<p class="p_Normal"><a class="dropdown-toggle" style="font-style: normal; font-weight: normal; color: #000000; background-color: transparent; text-decoration: none;" href="javascript:HMToggle('toggle','TOGGLE0186A1')">Updating parameters via the Internet</a></p>
|
||||
<div id="TOGGLE0186A1" class="dropdown-toggle-body" style="text-align: left; text-indent: 0; line-height: 1.80; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="border:none; border-spacing:0;">
|
||||
<tr>
|
||||
<td style="vertical-align:top; padding:0; border:none"><ol style="list-style-type:decimal">
|
||||
<li value="1" class="p_Normal">Определите версию чарта, с помощью которого было установлено или обновлено приложение ELMA365:</li></ol>
|
||||
<li value="1" class="p_Normal">Identify the version of the chart from which the BRIX application was installed or updated:</li></ol>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">helm show chart elma365/elma365</span></p>
|
||||
<p class="p_Normal" style="margin: 0 0 0 20px;"> <br />
|
||||
Пример выполнения команды:</p>
|
||||
<p class="p_Normal"> <img alt="embedded-to-external-database-enterprise-1" width="417" height="141" style="margin:0;width:417px;height:141px;border:none" src="embedded-to-external-database-enterprise-1.png"/></p>
|
||||
<p class="p_Normal" style="margin: 0 0 0 19px;">Информация о версии чарта будет указана в строке <code><b>version</b></code>. Сохраните это значение для выполнения следующего шага.</p>
|
||||
<p class="p_Normal"> <br />
|
||||
Example of how to execute the command:</p>
|
||||
<p class="p_Normal"><img alt="embedded-to-external-database-enterprise-1" width="417" height="141" style="margin:0;width:417px;height:141px;border:none" src="embedded-to-external-database-enterprise-1.png"/></p>
|
||||
<p class="p_Normal">The chart version will be specified in the <code><b>version</b></code> string. Save this value for the next step.</p>
|
||||
<ol style="list-style-type:decimal" start="2">
|
||||
<li value="2" class="p_Normal">Обновите параметры приложения ELMA365 с применением конфигурационного файла <code><b>values-elma365.yaml</b></code>. Для этого используйте следующую команду, указав в ней для флага <code><b>--version</b></code> установленную версию чарта вместо <code><b><elma365-chart-version></b></code>:</li></ol>
|
||||
<li value="2" class="p_Normal">Update the BRIX application parameters using the <code><b>values-elma365.yaml</b></code> configuration file. To do this, use the following command, specifying the installed chart version for the <code><b>--version</b></code> key instead of <code><b><elma365-chart-version></b></code>:</li></ol>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">helm upgrade --install elma365 elma365/elma365 -f values-elma365.yaml --version <elma365-chart-version> --timeout=30m --wait [-n namespace]</span></p>
|
||||
<p class="p_Normal"> </p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<p class="p_Normal"><a class="dropdown-toggle" style="font-style: normal; font-weight: normal; color: #000000; background-color: transparent; text-decoration: none;" href="javascript:HMToggle('toggle','TOGGLE0186A2')">Обновление параметров без доступа в интернет</a></p>
|
||||
<div id="TOGGLE0186A2" class="dropdown-toggle-body" style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="border:none; border-spacing:0;">
|
||||
<p class="p_Normal"><a class="dropdown-toggle" style="font-style: normal; font-weight: normal; color: #000000; background-color: transparent; text-decoration: none;" href="javascript:HMToggle('toggle','TOGGLE0186A2')">Updating parameters without the Internet connection</a></p>
|
||||
<div id="TOGGLE0186A2" class="dropdown-toggle-body" style="text-align: left; text-indent: 0; line-height: 1.80; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="border:none; border-spacing:0;">
|
||||
<tr>
|
||||
<td style="vertical-align:top; padding:0; border:none"><p class="p_Normal"> <br />
|
||||
Перейдите в каталог с загруженным чартом ELMA365 и выполните команду:</p>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample"> </span><br />
|
||||
<span class="f_CodeExample">helm upgrade --install elma365 ./elma365 -f values-elma365.yaml --timeout=30m --wait [-n namespace</span>]</p>
|
||||
Go to the folder with the downloaded BRIX chart and run the command:</p>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">helm upgrade --install elma365 ./elma365 -f values-elma365.yaml --timeout=30m --wait [-n namespace]</span></p>
|
||||
<p class="p_Normal"> <br />
|
||||
Обновление параметров занимает 10-30 минут. Дождитесь его завершения.</p>
|
||||
The parameter upgrade takes 10-30 minutes. Wait for it to complete.</p>
|
||||
<p class="p_Normal"> </p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<ol style="list-style-type:upper-roman" start="4">
|
||||
<li value="4" class="p_Normal">Перезапустите все сервисы командой:</li></ol>
|
||||
<li value="4" class="p_Normal">Restart all services with the command:</li></ol>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">kubectl rollout restart deploy [-n namespace]</span></p>
|
||||
<ol style="list-style-type:upper-roman" start="5">
|
||||
<li value="5" class="p_Normal">Проверьте корректность работы платформы и остановите старые базы данных внутри Kubernetes:</li></ol>
|
||||
<li value="5" class="p_Normal">Verify the system is working correctly and stop old databases inside Kubernetes:</li></ol>
|
||||
<p class="p_CodeExample" style="white-space: normal; page-break-inside: avoid;"><span class="f_CodeExample">kubectl scale statefulset <db-type> --replicas=0 [-n namespace]</span></p>
|
||||
<p class="p_Normal" style="text-indent: -20px; margin: 0 0 0 53px;">Где <code><b><db-type></b></code> — название <code><b>StatefulSet</b></code>: <code><b>postgres</b></code>, <code><b>mongo</b></code> или <code><b>minio</b></code>.</p>
|
||||
<p class="p_Normal">Where <code><b><db-type></b></code> is the name of the <span style="font-weight: bold;">StatefulSet</span>: <code><b>postgres</b></code>, <code><b>mongo</b></code>, or <code><b>minio</b></code>.</p>
|
||||
<p class="p_Normal"> </p>
|
||||
<p class="p_Normal"> </p>
|
||||
|
||||
<div class="bottom-nav">
|
||||
@ -222,7 +222,7 @@
|
||||
|
||||
</div>
|
||||
<!-- добавляет на страницу строку блок Была ли статья полезной? -->
|
||||
<div class="feedback-wrap"><div class="feedback" id="feedback"><span><b>Была ли статья полезной?</b></span><form action="" method="POST" class="feedback-form" id="feedback-form"><div class="feedback__popup feedback__popup-response" id="feedback__popup_thx">Спасибо за ваш отзыв!</div><div id="feedback-success-popup"><div class="wrap"><button type="button" class="feedback-popup-close">×</button><svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_212_2187)"><path d="M22 0.6875C10.2294 0.6875 0.6875 10.2294 0.6875 22C0.6875 33.7706 10.2294 43.3125 22 43.3125C33.7706 43.3125 43.3125 33.7706 43.3125 22C43.3125 10.2294 33.7706 0.6875 22 0.6875ZM22 40.5625C11.8023 40.5625 3.4375 32.3078 3.4375 22C3.4375 11.8024 11.6922 3.4375 22 3.4375C32.1977 3.4375 40.5625 11.6922 40.5625 22C40.5625 32.1976 32.3078 40.5625 22 40.5625ZM34.1713 16.933L18.6613 32.3186C18.257 32.7197 17.604 32.7171 17.203 32.3128L9.82283 24.873C9.42176 24.4686 9.42434 23.8157 9.82867 23.4146L10.5609 22.6884C10.9652 22.2873 11.6181 22.2899 12.0192 22.6942L17.9468 28.6697L31.9926 14.7366C32.3969 14.3356 33.0498 14.3382 33.4509 14.7425L34.1772 15.4747C34.5783 15.879 34.5757 16.532 34.1713 16.933Z" fill="#27AE60"></path></g><defs><clipPath id="clip0_212_2187"><rect width="44" height="44" fill="white"></rect></clipPath></defs></svg><p>Ваш отзыв успешно отправлен!</p><span>Спасибо за обратную связь.</span></div></div><div class="feedback__popup" id="feedback__popup_why"><button type="button" class="feedback-popup-close">×</button><div class="feedback__popup-header">Уточните, почему:</div><input type="radio" name="category" id="bad_recommendation" value="bad_recommendation"><label for="bad_recommendation">Рекомендации не помогли</label><input type="radio" name="category" id="difficult_text" value="difficult_text"><label for="difficult_text">Текст трудно понять</label><input type="radio" name="category" id="no_answer" value="no_answer"><label for="no_answer">Нет ответа на мой вопрос</label><input type="radio" name="category" id="bad_header" value="bad_header"><label for="bad_header">Содержание статьи не соответствует заголовку</label><input type="radio" name="category" id="other_reason" value="other_reason"><label for="other_reason">Другая причина</label></div><div class="feedback__popup" id="feedback__popup-other"><button type="button" class="feedback-popup-close">×</button> <div class="feedback__popup-header">Расскажите, что вам не понравилось в статье:</div><textarea class="feedback__textarea" name="other" id=""></textarea><input type="submit" class="feedback__other-btn" value="Отправить"></div><div class="feedback-form__btn-group"><input type="radio" name="useful" id="feedback__useful_yes" value="true"><label for="feedback__useful_yes"><img src="like.svg"/><span class="feedback-form__btn-group_yes-btn">Да</span></label><input type="radio" name="useful" id="feedback__useful_no" value="false"><label for="feedback__useful_no"><img src="dislike.svg"/><span class="feedback-form__btn-group_no-btn">Нет</span></label></div><select name="category"><option disabled>Выберите вариант</option><option value="bad_recommendation" selected>Рекомендации не помогли</option><option value="difficult_text">Текст трудно понять</option><option value="no_answer">Нет ответа на мой вопрос</option><option value="bad_header">Содержание статьи не соответствует заголовку</option><option value="other_reason">Другая причина</option></select><input type="submit"></form></div></div>
|
||||
<div class="feedback" id="feedback"><div class="feedback-help"><span><b>Was this helpful?</b></span><form action="" method="POST" class="feedback-form" id="feedback-form"><div class="feedback__popup feedback__popup-response" id="feedback__popup_thx" style="display: none;">Thanks for your feedback!</div><div class="feedback__popup" id="feedback__popup_why" style="display: none;"><div class="feedback__popup-header">Please specify why:</div><input type="radio" name="category" id="bad_recommendation" value="bad_recommendation"><label for="bad_recommendation">Recommendations did not help me</label><input type="radio" name="category" id="difficult_text" value="difficult_text"><label for="difficult_text">Article is hard to understand</label><input type="radio" name="category" id="no_answer" value="no_answer"><label for="no_answer">Didn`t answer my question</label><input type="radio" name="category" id="bad_header" value="bad_header"><label for="bad_header">Content does not match the topic</label><input type="radio" name="category" id="other_reason" value="other_reason"><label for="other_reason">Other</label></div><div class="feedback__popup" id="feedback__popup-other" style="display: none;"><div class="feedback__popup-header">How we can improve it?</div><textarea class="feedback__textarea" name="other" id=""></textarea><input type="submit" class="feedback__other-btn" value="Submit"></div><div class="feedback-form__btn-group"><input type="radio" name="useful" id="feedback__useful_yes" value="true"><label for="feedback__useful_yes"><img src="like.svg" class="small-img" alt="like"><spanclass="feedback-form__btn-group_yes-btn">Yes</spanclass="feedback-form__btn-group_yes-btn"></label><input type="radio" name="useful" id="feedback__useful_no" value="false"><label for="feedback__useful_no"><img src="dislike.svg" class="small-img" alt="dislike"><spanclass="feedback-form__btn-group_no-btn">No</spanclass="feedback-form__btn-group_no-btn"></label></div><select name="category"><option disabled="">Please specify why</option><option value="bad_recommendation" selected="">Recommendations did not help me</option><option value="difficult_text">Article is hard to understand</option><option value="no_answer">Didn`t answer my question</option><option value="bad_header">Content does not match the topic</option><option value="other_reason">Other</option></select><input type="submit"></form></div><div class="found_typo"><p style="margin: 0px; margin-top: 16px !important;"><span><b>Found a typo?</b></span> Select it and press <i>Ctrl+Enter</i> to send us feedback</p></div></div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
@ -230,7 +230,7 @@
|
||||
<input type="checkbox" />
|
||||
<div class="article__arrow"></div>
|
||||
<div class="table-of-contents elma365-right" id="toc2Content">
|
||||
<h3 class="h3-toc">В этой статье</h3>
|
||||
<h3 class="h3-toc">In this topic</h3>
|
||||
<nav id="toc2"></nav>
|
||||
</div>
|
||||
</aside>
|
||||
@ -241,63 +241,30 @@
|
||||
<div class="footer-container">
|
||||
<div class="footer-mobile">
|
||||
|
||||
<ul class="footer-mobile__list"><li><a href="https://api.elma365.com/ru/" target="_blank">API</a></li><li><a href="https://tssdk.elma365.com/" target="_blank">TS SDK</a></li><li><a href="https://community.elma365.com/" target="_blank">Community</a></li><li><a href="https://elma-academy.com/ru/elma365" target="_blank">Академия</a></li></ul><ul class="footer-mobile__list"><li><a href="https://elma365.com/ru/help/platform/get-trial.html">Платформа</a></li><li><a href="https://elma365.com/ru/help/ecm/ecm-functions.html">ECM</a></li><li><a href="https://elma365.com/ru/help/service/service-functions.html">Service</a></li><li><a href="https://elma365.com/ru/help/projects/projects-functions.html">Проекты</a></li></ul>
|
||||
<ul class="footer-mobile__list"><li><a href="https://brix365.com/en/" target="_blank">BRIX</a></li><li><a href="https://tssdk.brix365.com/en/latest/" target="_blank">SDK</a></li><li><a href="https://api.brix365.com/en/" target="_blank">API</a></li></ul><ul class="footer-mobile__list"><li><a href="https://brix365.com/en/help/platform/get-trial.html">Platform</a></li><li><a href="https://brix365.com/en/help/ecm/ecm-functions.html">ECM</a></li><li><a href="https://brix365.com/en/help/service/service-functions.html">Service</a></li><li><a href="https://brix365.com/en/help/projects/projects-functions.html">Projects</a></li></ul>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="footer-wrap">
|
||||
|
||||
<div><span class="mobile-question-popup">Отправить фидбэк</span><form method="POST" action class="question__popup question-xs" id="question__popup"><div class="question-wrap"><span class="close"></span><span class="title">Задать вопрос</span><label for="help_question" style="display: none;"></label><textarea name="help_question" id="help_question"></textarea><input type="submit" value="Отправить"></div></form><div class="hidden fade-in question-success-xs">Ваш фидбэк отправлен.</div></div>
|
||||
|
||||
<div class="footer-flex-b">
|
||||
<div class="footer-top">
|
||||
<span class="footer-copy">© 2025
|
||||
ELMA365
|
||||
|
||||
|
||||
</span>
|
||||
|
||||
<a href="https://navigator.sk.ru/orn/1122971" target="_blank">
|
||||
<img src="sk-resident.svg" alt="sk icon" class="footer-img" width="117" height="34">
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="footer-line">
|
||||
|
||||
<div class="footer-line-copy">
|
||||
<span class="footer-copy">© 2025
|
||||
ELMA365
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<ul class="footer-list">
|
||||
|
||||
<li class="footer-item"><a href="https://elma365.com/ru/" target="_blank" class="footer-link" style="color: #0D4A75;"><img src="browse.svg" alt="browse icon" class="footer-img">elma365.com</a></li><li class="footer-item"><a href="https://www.youtube.com/user/ELMABPM" target="_blank" class="footer-link"><img src="yt.svg" alt="youtube icon" class="footer-img"></a></li><li class="footer-item"><a href="https://vk.com/elma_bpm" target="_blank" class="footer-link"><img src="vk.svg" alt="vk icon" class="footer-img"></a></li><li class="footer-item"><a href="https://t.me/elmaday" target="_blank" class="footer-link"><img src="tg.svg" alt="telegram icon" class="footer-img"></a></li><li class="footer-item"><a href="https://dzen.ru/elma" target="_blank" class="footer-link"><img src="dzen.svg" alt="dzen icon" class="footer-img"></a></li>
|
||||
|
||||
|
||||
<li class="footer-item">
|
||||
<a href="https://navigator.sk.ru/orn/1122971" target="_blank">
|
||||
<img src="sk-resident.svg" alt="sk icon" class="footer-img" width="117" height="34">
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-wrap">
|
||||
|
||||
<div><span class="mobile-question-popup">Send feedback</span><form method="POST" action class="question__popup question-xs" id="question__popup"><div class="question-wrap"><span class="close"></span><span class="title">Ask a question</span><label for="help_question" style="display: none;"></label><textarea name="help_question" id="help_question"></textarea><input type="submit" value="Send"></div></form><div class="hidden fade-in question-success-xs">Sent</div></div>
|
||||
|
||||
<div class="footer-flex-b">
|
||||
<span class="footer-copy">© 2025 BRIX</span>
|
||||
<ul class="footer-list">
|
||||
|
||||
<li class="footer-item">
|
||||
<a href="#" class="arrow-top" style="display: block;"></a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<a href="#" class="arrow-top"></a>
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
<!-- <script type="text/javascript" src="jquery1.min.js"></script>-->
|
||||
<iframe name="hmnavigation" style="display:none!important"></iframe>
|
||||
<!--<script src="./jquery-ui.js"></script> -->
|
||||
<script src="./jquery-ui.min.js"></script>
|
||||
<script src="./jquery-ui.js"></script>
|
||||
<!--script src="//cdn.jsdelivr.net/npm/featherlight@1.7.14/release/featherlight.min.js" type="text/javascript" charset="utf-8"></script-->
|
||||
<script src="./jquery.tocify.min.js"></script>
|
||||
<script src="./TypoReporter.min.js"></script>
|
||||
|
Reference in New Issue
Block a user