| language| Предупреждение |
|---|
| To update a whole distributed Investigation Centre cluster by resetting the current installation, follow the steps: - Reset installation on office nodes with products in
office mode. - Reset installation on office nodes with products in
central mode. - Reset installation on the central node.
- Install the central node.
- Install office nodes with products in
central mode. - Install office nodes with products in
office mode.
When updating a cluster, reset installation only once for each node. |
Updating be resetting the installation consists of the following steps: - Resetting the installation. Resetting the installation does not delete the System data.
- Installing new versions of the Platform and product and specifying already existing folders with data.
| Информация |
|---|
| If you connect remotely via SSH, we recommend using the Screen utility to avoid problems in case of a lost connection with the server. When disconnecting from the utility, all the processes started are not to be interrupted and you may safely continue the System update. |
To update Data Discovery: - Stop all scanning tasks in the Data Discovery web interface.
- Follow the steps to prepare the server for the update (see "Подготовка сервера").
Create a new directory on the disk (e.g., distr_discovery):
| Блок кода |
|---|
mkdir distr_discovery |
- Copy the
iw_discovery_setup_2.2.X.xxx.tar.xz archive to the created directory. Here, we are using version 2.2.0.191, so the archive name is iw_discovery_setup_2.2.0.191.tar.xz. - Open the directory, to which you have copied the archive.
Unpack the archive with the distribution kit to this directory: | Блок кода |
|---|
tar -xvf iw_discovery_setup_2.2.0.191.tar.xz |
- In case Data Discovery and Prediction are installed jointly or you are planning to use them jointly, stop Prediction data calculation for the time of Data Discovery update. For details, see "Required Steps to Update Products that are Installed on Platform together with Prediction".
When you install the new version after the reset, assign the same labels to the cluster nodes as they had before the update. To view the list of labels in the cluster, run the command: | Блок кода |
|---|
kubectl get node -n infowatch -o jsonpath="{range .items[*]}{.metadata.annotations.flannel\.alpha\.coreos\.com/public\-ip} {.metadata.labels.kubernetes\.io/hostname} {.metadata.labels.iwnode}{'\n'}{end}" |
In order to save settings for zones and servers in the new version, before resetting the installation, connect to the node where Data Discovery is installed in the central mode and stop the Discoperator service using the command:
| Блок кода |
|---|
kubectl scale --replicas=0 deployment discoperator-<node_label> -n infowatch |
| Блок кода |
|---|
| title | Example for Data Discovery in the central mode on the office node with the lv426 label: |
|---|
| kubectl scale --replicas=0 deployment discoperator-lv426 -n infowatch |
Before resetting the installation, remember or save the paths to the current data storage directories. To get the list of directories, use the command:
| Блок кода |
|---|
cat /var/lib/iwplatform/data/volumes.txt |
Reset the current installation using the installer of the new version:
| Блок кода |
|---|
./setup.py reset |
| Предупреждение |
|---|
| If there are other Investigation Centre products installed on the server, installations of these products will be reset when resetting the Platform installation. When resetting the installation on the central node, products installed on office nodes will stop working. After installing the new version of Data Discovery, reinstall the Investigation Centre products and specify directories with existing data. In case you have already updated another product on this server to a compatible version, do not reset Platform installation again when updating Data Discovery, because the Platform is already of the required version. If the product is installed on the office node in central mode, access to products will be reset for the added user roles after resetting the installation. |
- Wait for the reset installation process for the Platform and product to complete.
If you are also upgrading to a different server or a new OS copy directories with the data that were specified during installation to another partition or to a new server.
| Информация |
|---|
| In Data Discovery 1.10 and earlier, the directories are located along the /mnt path by default. In Data Discovery 2.0 and later, the directories are located along the /opt path by default. Be sure to preserve rights and owners when copying the directories. For copying, use standard tools, such as the rsync utility. |
To free up some disk space, you can delete the directory with container images of previous versions /var/lib/containerd. For this, complete the command: | Блок кода |
|---|
rm -rf /var/lib/containerd |
Reboot the server using the command: Install the new version of Data Discovery (see "Установка Data Discovery"). | Предупреждение |
|---|
| During the installation, specify existing directories to place the data. When the System asks you if you want to clear up folders before the installation, select "n".
If you are updating from version 1.10 and earlier, please note that starting with version 2.0, default installation paths are different. If you previously used the default paths, then during the installation of Data Discovery 2.2 or later versions, the installer will not be able to find data from the previous version and will create directories along the /opt path. To avoid this, move the data to the /opt directory or specify the old directories when installing a new version. All nodes of the cluster with Data Discovery should contain the same path to the storage of scanned files (/opt/disctps by default). |
- If other products were installed on the server before the reset, install the product versions that are compatible with Data Discovery 2.2 (see "Типы установки и обновления, совместимость с другими продуктами, аппаратные и программные требования").
- If Data Discovery is installed in a distributed cluster, update the Platform and products on the other servers to versions that are compatible with Data Discovery 2.2.
- If you need to free up disk space after updating, you can delete unused
docker or containerd containers. For details, see "How to delete unused Docker and Containerd containers". - Clear the cache of the browser you were using before updating the product.
The Investigation Centre web interface is available at the Platform central node address.
| Предупреждение |
|---|
| If Data Discovery is installed on the office node in central mode, access to products will be reset for the added user roles as a result of the previous installation reset. After updating, go to Settings and reconfigure access to products for these roles (see the "Roles" article in "InfoWatch Data Discovery. Administration Guide" for more information about roles). |
| en | | Если в кластере с установленным | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| 2.2 обновлена Платформа до версии 2.5, для повторного подключения сервиса contentbroker к базе данных перезапустите его.| Раскрыть |
|---|
| На любой ноде | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| выполните команду перезапуска:| Блок кода |
|---|
kubectl -n infowatch rollout restart deployment/contentbroker-central |
Проверьте статус сервиса с помощью команды: | Блок кода |
|---|
kubectl -n infowatch rollout status deployment/contentbroker-central |
|
|
|