| Информация |
|---|
| If you are installing | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| on 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 parameters 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 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
| Multiexcerpt include |
|---|
| MultiExcerptName | DD_setup package |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
|
_2.1.X.xxx.tar.xz archive to the created directory. Here, we are using version 2.1.0.152, so the archive name is | Multiexcerpt include |
|---|
| MultiExcerptName | DD_setup package |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
|
_2.1.0.152.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.152.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 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 you run the installer, specify the option
--externalK8S=True
|
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 | 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 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 (for example,
192.0.2.0 or host.example.com). - Specify the token to connect to the Platform central node.
To get the token:- Connect to the management console of the Platform's central node via SSH.
Run the command in the terminal to get the token:
| Блок кода |
|---|
kubeadm token list |
The token will be displayed on the screen:
Image Added 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. Its length 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 complete.
- Read the Platform installation report.
Image Added 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) 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 must 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 |
|---|
| may not work correctly. |
| Информация |
|---|
| We recommend locating the storage on a separate partition or disk. To learn about configuring server storage, see | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Full_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| . Administration Guide. Zones and servers. |
- 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:
| Блок кода |
|---|
./setup.py showproducts |
For | Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| 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 the status 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.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| Multiexcerpt include |
|---|
| MultiExcerptName | DD_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| , the installer scripts enable the rotation and deletion of log files (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.
|