| Предупреждение |
|---|
| 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 by resetting the installation consists of the following steps: - Resetting the installation with the new installer. 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 | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| : - Stop all scanning tasks in the
| Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| web interface.Prepare the server for the update (see Подготовка сервера).
| Информация |
|---|
| The installer checks for: - at least 100 GB of free space available for directories to store data for ClickHouse, PostgreSQL, NATS, as well as binary data. You will specify these directories when following the installation instructions. If the directories for storing data are located on different disks, the installer checks if 100 GB of free space on each of them;
- at least 20 GB for directories to store images;
- at least 8 GB of RAM;
- at least 2 processor cores;
- support of SSE 4.2 instructions;
conntrack package installed |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| web interface.Prepare the server for the update (see Подготовка сервера).
Create a new directory on the disk (for example, distr_discovery):
| Блок кода |
|---|
mkdir distr_discovery |
- Copy the
| Multiexcerpt include |
|---|
| MultiExcerptName | DD_setup package |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
|
_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| Multiexcerpt include |
|---|
| MultiExcerptName | DD_setup package |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
|
_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
| Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| and | Multiexcerpt include |
|---|
| MultiExcerptName | Prediction_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| are installed jointly or you are planning to use them jointly, stop | Multiexcerpt include |
|---|
| MultiExcerptName | Prediction_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| data calculation for the time of | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| 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 | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| 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 other Platform products are installed on the server, these products will be reset. When resetting the installation on the central node, products installed on office nodes will stop working. After installing the new version of | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| , reinstall the Platform products by specifying the directories with the existing data. In case you have already updated another product on this server to a compatible version, do not reset the Platform installation again when updating | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| , because the Platform is already of the required version. If the product is installed on the office node in the central mode, access to products will be reset for the added user roles after resetting the installation. |
- Wait for the Platform and product reset process to complete.
If you are also upgrading to a different server or a new OS, copy the directories with the data that were specified during installation to another partition or to a new server.
| Информация |
|---|
| In | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| 2.0 and later, the directories are located along the /opt path by default. Make sure to preserve rights and owners when copying the directories. For copying, use standard tools, such as the rsync utility. |
Make sure that the section with the /var/lib/containerd directory contains 40 GB or more of disk space. To check the volume of available disk space, use the command:
| Блок кода |
|---|
df -h /var/lib/containerd |
To free up disk space, you can delete the directory with container images of previous versions /var/lib/containerd. For this, run the command: | Блок кода |
|---|
rm -rf /var/lib/containerd |
Reboot the server using the command: Install the new | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| version (see Установка Data Discovery). | Предупреждение |
|---|
| During the installation, specify the directories with the data of the previous version to store 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, note that starting with version 2.0 the default installation paths are different. If you previously used the default paths, then during the installation of | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| 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 the new version. All nodes of the cluster with | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| 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
| Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| 2.2 (see Типы установки и обновления, совместимость с другими продуктами, аппаратные и программные требования). - If
| Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| is installed in a distributed cluster, update the Platform and products on the other servers to versions that are compatible with | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| . - 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 | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| is installed on the office node in the 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 | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Full_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| . Administration Guide. Роли). |
| Информация |
|---|
| If in the cluster with | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| 2.2 installed the Platform was updated to version 2.5, then restart the contentbroker service to reconnect it to the database.| Раскрыть |
|---|
| On any | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| node, run the restart command:| Блок кода |
|---|
kubectl -n infowatch rollout restart deployment/contentbroker-central |
Check the service status with the command: | Блок кода |
|---|
kubectl -n infowatch rollout status deployment/contentbroker-central |
|
|
|