| Информация |
|---|
| The Content Analysis Module must be installed in the same cluster as Data Discovery. If you are installing the Content Analysis Module on a server where other Investigation Centre products are already installed, the installer will not ask for some of the parameters, as those directories and settings were already specified during the initial installation of the Platform. |
The instruction applies to versions 7.11 and 7.12. Below, we are using version 1 and 7.12 for illustrative purposes13. The Content Analysis Module installer allows you to install the product with minimal user interaction. To do this, run the installation program specifying all the required parameters on the command line. Before running the Content Analysis Module installer: - Make sure that your server meets the hardware and software requirements (see "Типы установки и обновления, совместимость с другими продуктами, аппаратные и программные требования").
Follow the steps to prepare the server for installing the Content Analysis Module ("Подготовка сервера").
| Информация |
|---|
| 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 (e.g., distr_cas):
- Copy the
iw_tm_setup_7.1213.0.xxx.tar.xz archive to the created directory. Here, we are using version7.1213.0.94167, so the archive name isiw_tm_setup_7.1213.0.94167.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_tm_setup_7.1213.0.94167.tar.xz |
Check out the list of keys in the table below. You can use these keys to specify the product installation parameters for the installer. By default, the values that the installer offers interactively are specified. | Информация |
|---|
| If you do not specify the installation mode for the Platform and product, the installer will use the central value. |
| Key | Default value | Available values | Description |
|---|
--advertise | 0.0.0.0 |
| IP address of the network interface on which the kubelet service is running. Specify the value when installing the Platform central node | --chmemsize | 80% | 1-100% or a numeric value If you do not specify %, then the specified value will be treated as the volume in GB | Amount of RAM used for Clickhouse data | --disable-check-free-disk | - | - | Whether to disable free disk space check: - 20 GB to store images;
- 100 GB to store data in specified directories.
Note: If directories for storing data are located on different disks, the installer checks if 100 GB of free space is available on each of them. | --disable-check-total-ram | - | - | Whether to disable check for 8 GB of RAM | --guiport | 443 |
| Web interface connection port. Specify the value when installing the Platform central node | --tm-db-port | 5443 |
| Port for connecting to the Traffic Monitor database | --chdbpath | /opt/chdata |
| Path for placing ClickHouse data | --dsdatapath | /opt/dsdata |
| Path for placing binary data | --factsldrtmdatapath | /opt/factsldrtmdata |
| Path to temporarily place Traffic Monitor events before uploading them into the Platform | --natspath | /opt/natsdata |
| Path for placing NATS data | --pgdbpath | /opt/pgdata |
| Path for placing PostgreSQL data | --nodemode | central | central, office | Platform installation mode | --productmode | central | central, office | Module installation mode | --licagree | n | y, yes, n, no | Accepting the license agreement | --nodelabel | office |
| The node label. Specify the value when installing the Platform office node | --loc | ru | ru, en | Product localization, the language that is used for pre-installed entities. The parameter is optional to run the installer | --cluster |
|
| Address of the Platform central node in the cluster. Specify the value when installing the Platform office node | --clustertoken |
|
| The token to connect to the Platform central node. To get the token, in the Platform central node terminal, run the command: | Блок кода |
|---|
kubeadm token list |
Specify the value when installing the Platform office node | --tm-db-host |
|
| Address of the server with the Traffic Monitor database. Interaction with PostgreSQL DBMS only is supported. If there are several servers with the Content Analysis Module in the cluster, they must have the same configuration. In case you are using Traffic Monitor 7.10 or earlier versions, protected objects should not contain elements of Autolinguist technology. In order for content analysis module to work with configurations of these Traffic Monitor versions, remove elements of Autolinguist technology from protected objects. | --tm-db-pass-iwtm-linux |
|
| The iwtm_linux user password to access the database |
To install the Content Analysis Module: Run the Content Analysis Module installer with specifying parameters.
| Блок кода |
|---|
| title | Example command to install the cental Platform and module in the central mode: |
|---|
| ./setup.py install --nodemode=central --productmode=central --licagree=yes --advertise=0.0.0.0 --chmemsize=80% --chdbpath=/opt/chdata --pgdbpath=/opt/pgdata --dsdatapath=/opt/dsdata --factsldrtmdatapath=/opt/factsldrtmdata --guiport=443 --natspath=/opt/natsdata --tm-db-host=10.60.22.33 --tm-db-port=5443 --tm-db-pass-iwtm-linux=xxXX1234 |
| Блок кода |
|---|
| title | Example command to install the branch Platform and module in the office mode: |
|---|
| ./setup.py install --nodemode=office --productmode=office --licagree=yes --nodelabel=lv-426 --cluster=10.60.21.188 --clustertoken=bvp2e1.e9zilgwg7v2urtsr --chdbpath=/opt/chdata --chmemsize=80% --natspath=/opt/natsdata --pgdbpath=/opt/pgdata --dsdatapath=/opt/dsdata --factsldrtmdatapath=/opt/factsldrtmdata --tm-db-host=10.60.22.33 --tm-db-port=5443 --tm-db-pass-iwtm-linux=xxXX1234 |
- If you have specified all required parameters, the installer will start the installation.
If you have not specified some of the parameters, the installer will start the interactive mode and ask you to specify the values.
- Wait for the Content Analysis Module installation to complete.
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, run the command:
| Блок кода |
|---|
kubectl get pods -n infowatch |
The command will display the list of services. Each service should have the Running status.
- For Data Discovery to work with Content Analysis Module the protected objects are required. To add them to Investigation centre, create an integration with Traffic Monitor and run it (for details, see "InfoWatch Data Discovery. Administration Guide", the "Integration with InfoWatch Traffic Monitor" article). We recommend adding protected objects from Traffic Monitor configuration that was used during installation of the Content Analysis Module.
In case no products in the cluster use Traffic Monitor events, you can select Data exchange protocol 2.0 in integration settings. With this protocol, the System will receive only the configuration, without events, thereby reducing the load, as well as the time for adding configuration to the product.
After the installation, Settings in the Zones and servers section of the Investigation Centre will be supplemented: - A server with the Content analysis role will be added- if the Content Analysis Module is installed separately from Data Discovery;
- The Content analysis role will be added for the existing server - if the Content Analysis Module is installed on the same server as Data Discovery.
| Информация |
|---|
| | Раскрыть |
|---|
| title | You can remove the Content Analysis Module the same way as other products on the Platform: |
|---|
| - Open the directory with the unpacked distribution kit.
Run the command:
| Блок кода |
|---|
./setup.py remove |
|
|
|