| Информация |
|---|
| If you are installing | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| on the a server where other Investigation Centre products are already installed, the installer will not ask for some of the parameters. This happens because these directories and settings were already specified during the initial installation of the Platform. |
To install | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| : - Make sure that your server meets the hardware and software requirements (see Data Discovery Installation Types).
Follow the steps to prepare Prepare the server for installing | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| (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 is available on each of them;
- at least 20 GB of free space available 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.
|
Create a new directory on the server (for example, distr_discovery):
| Блок кода |
|---|
mkdir distr_discovery |
- Copy the
| Multiexcerpt include |
|---|
MultiExcerptName |
Create a new directory on the server (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 |
| Раскрыть |
|---|
| title | To install the product on OS Alt SP 10: |
|---|
| Use Kubernetes from the OS repositories. To do this: - Follow the steps for OS Alt SP 10 from the article Подготовка сервера.
If you have already completed the preparation, skip this step.
Run the command: | Блок кода |
|---|
| kubectl taint nodes <node_name> node-role.kubernetes.io/control-plane:NoSchedule- |
In our example: | Блок кода |
|---|
| kubectl taint nodes ddnode node-role.kubernetes.io/control-plane:NoSchedule-
|
- In the next step, when running the installer, additionally specify the option --
externalK8S=True
|
Run the installer using the command like:
| Блок кода |
|---|
./setup.py install --nodemode=<Platform_installation_mode> --productmode=<product_installation_mode> | | Информация |
|---|
| title | Note: |
|---|
To install: | Блок кода |
|---|
| title | the product in the central mode on the Platform central node: |
|---|
| ./setup.py install --nodemode=central --productmode=central |
| Блок кода |
|---|
| title | the product in the office mode on the Platform central node: |
|---|
| ./setup.py install --nodemode=central --productmode=office |
| Блок кода |
|---|
| title | the product in the central mode on the Platform office node: |
|---|
| ./setup.py install --nodemode=office --productmode=central |
| Блок кода |
|---|
| title | the product in the office mode on the Platform office node: |
|---|
| ./setup.py install --nodemode=office --productmode=office |
| Информация |
|---|
| If you do not specify the installation modes for the Platform and the product, the installer will use the default central mode. If | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| is the first component you are installing on the server and you specify only the --nodemode |
parameter then the installer will use the same value for the --productmode parameter. |
| Предупреждение |
|---|
| During the installation, the Platform products that are already installed on the server may be unavailable. |
- Read the license agreement. It contains several pages. To go to the next page, press Enter.
To accept the license agreement, type "y" and press Enter.
| Информация |
|---|
| If you reject the license agreement, the installer will abort the process and exit. |
If you are installing the Platform central node (--nodemode=central), enter the IP address of the network interface to communicate with the cluster and press Enter. The IP address should be in the IPv4 format: "xxx.xxx.xxx.xxx" (by default, 0.0.0.0). If you specify 0.0.0.0, all available network interfaces will be used.
| Информация |
|---|
| Here and below, to use the default values, press Enter without entering any values. |
- If you are installing the Platform office node (
--nodemode=office):- Enter the address of the Platform central node in IP address or domain name format (such as ,
192.0.2.0 or host.example.com). - Specify the token to connect to the Platform central node.
To get a token to connect to the Platform central nodethe token:- Connect to the Platform central node management console via SSH.
Run In the terminal, run the command in the terminal to get the token:
| Блок кода |
|---|
kubeadm token list |
The token will be displayed on the screen:
 Here, the token is 7tit5e.48g51shamcnn7uq5. - Specify the node label (by default,
office) and press Enter. The label may consist of letters of the Latin alphabet and/or numbers. The length of the label must not exceed 32 characters.
- Allocate RAM to host ClickHouse data (by default,
80%) and press Enter. - Specify the path to place ClickHouse data (by default,
/opt/chdata) and press Enter. - Specify the path to place PostgreSQL data (by default,
/opt/pgdata) and press Enter. - Specify the path to place NATS data (by default,
/opt/natsdata) and press Enter. - Specify the path to place binary data (by default,
/opt/dsdata) and press Enter. - Specify the path to temporarily place
| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| events events before uploading them into to the Platform (by default, /opt/factsldrtmdata) and press Enter. - If you are installing the Platform central node, specify the port for connecting to the web interface (by default,
443) and press Enter. - Wait for the installation of the Platform to complete.
Read the Platform installation report.
 If you install the Platform central node, the web ui column contains the address and port for connecting to the web interface (here, https://10.60.21.188:443)
| Информация |
|---|
| Before installing the product components, the installer scripts create a configuration file /etc/sysctl.d/discovery.conf to change the Inotify subsystem settings with the following parameters: | Блок кода |
|---|
fs.inotify.max_user_instances = 32768
fs.inotify.max_user_watches = 32768
fs.inotify.max_queued_events = 262144 |
Changes to the Inotify subsystem settings are required to increase the scanning speed, so we do not recommend reducing the parameter values. |
Specify the path for storing scanned files (by default, /opt/disctps) and press Enter. This path will be used on all servers of the Specify the path for storing scanned files (by default, /opt/disctps) and press Enter. This path will be used on all servers of the | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| cluster.
| Предупреждение |
|---|
| The storage directory should be empty. After installation, the storage should contain only files and directories that were added by | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| . If you add other files or directories to the storage, | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
|
| cluster| Предупреждениеinfo |
|---|
After installation, the storage should contain only files and directories that were added by | The storage directory should be empty. | We recommend placing the server storage on a separate partition or disk. For more information about configuring the server storage, see | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Full_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| . Administration Guide. Зоны и серверы. |
- Wait for the
| Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| installation to complete. - Read the product installation report:
Image Added
To display information about the Platform and products in the cluster, run the command:
| Блок кода |
|---|
. If you add other files or directories to the storage, ./setup.py showproducts |
For | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
|
| shouldDisplayInlineCommentsInIncludes | false | may not work correctly.| Информация |
|---|
| We recommend placing the server storage on a separate partition or disk. For more information about configuring the server storage, see | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Full_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| . Administration Guide. Зоны и серверы. |
- Wait for the
| Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| installation to complete. - Read the product installation report:
Image Removed
To display information about the Platform and products in the cluster, run the command:
| Блок кода | ./setup.py showproducts to work, you need to update the settings of the inotify subsystem in the OS. To do this: Check if the /etc/sysctl.d/discovery.conf configuration file with the following content is available: | Блок кода |
|---|
| fs.inotify.max_user_instances = 32768
fs.inotify.max_user_watches = 32768
fs.inotify.max_queued_events = 262144 |
If the configuration file is available, skip the next two steps in the instructions. If the file was not created by the installer scripts earlier, create it and add the content from the previous step. To apply the new subsystem settings, run the following command: | Блок кода |
|---|
sysctl --load=/etc/sysctl.d/discovery.conf |
Make sure that all services are running. For this, use the following command:
| Блок кода |
|---|
kubectl get pods -n infowatch |
The command will display a the list of services. Each service should have the status Running. | Информация |
|---|
| After installing | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| , the installer scripts enable the rotation and deletion of log files (for more information about log file rotation and deletion, see | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Full_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| . Administration Guide. Ротация лог-файлов). |
To start using the product, connect to the Investigation Centre web interface. To do this, enter the address and port of the Platform central node in your browser.
| Информация |
|---|
| If on in the cluster with the | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| 2.2 installed the Platform is updated to version 2.5, 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 using the command: | Блок кода |
|---|
kubectl -n infowatch rollout status deployment/contentbroker-central |
|
|
|