| Информация |
|---|
| In case you are planning a joint installation of the product and Activity Monitor on one server, install Activity Monitor first. If you are installing Data Discovery on the 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 Data Discovery: - Make sure that your server meets the hardware and software requirements (see "Data Discovery Installation Types").
Follow the steps to prepare the server for installing Data Discovery (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
iw_discovery_setup_2.1.X.xxx.tar.xz archive to the created directory. Here, we are using version 2.1.0.15, so the archive name is iw_discovery_setup_2.1.0.15.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.1.0.15.tar.xz |
Run the installer using the command like:
| Блок кода |
|---|
./setup.py install --nodemode=<Platform_installation_mode> --productmode=<product_installation_mode> |
| Информация |
|---|
| 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 Data Discovery 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 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 (e.g.,
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 node:- Connect to the Platform central node console via SSH.
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. - 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 finish.
- Read the Platform installation report.
 If you install the Platform, the web ui column contains the address and port for connecting to the web interface (here, https://10.60.21.188:443) Specify the path for storing scanned files (by default, /opt/disctps) and press Enter. This path will be used on all servers of the Data Discovery cluster.
| Предупреждение |
|---|
| The storage directory must be empty. After installation, the storage should contain only files and directories that were added by Data Discovery. If you add other files or directories to the storage, Data Discovery may not work correctly. |
| Информация |
|---|
| We recommend locating the storage on a separate partition or disk. On configuring the server storage, see "InfoWatch Data Discovery. Administration Guide", "Zones and servers". |
- Wait for the installation of Data Discovery to finish.
- Read the product installation report:

To display information about the Platform and products in the cluster, run the command:
| Блок кода |
|---|
./setup.py showproducts |
Make sure that all services are running. For this, use the following command:
| Блок кода |
|---|
kubectl get pods -n infowatch |
The command will display a list of services. Each service should have the Running status. | Информация |
|---|
| After installing Data Discovery, the installer scripts: - Enable rotation and deletion of log files (for more information about log file rotation and deletion, see "InfoWatch Data Discovery. Administration Guide", "Log File Rotation").
To increase scanning speed,in the /etc/sysctl.d/discovery.conf configuration file, these scripts supplement settings of the Inotify subsystem with the following parameters: | Блок кода |
|---|
fs.inotify.max_user_instances = 32768
fs.inotify.max_user_watches = 32768
fs.inotify.max_queued_events = 262144 |
We recommend not decreasing the parameter values.
|
- 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.
|