Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space IDD and version 2.1

...

Sv translation
languageen
Информация
titleNote:

If you are installing

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
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
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
:

  1. Make sure that your server meets the hardware and software requirements (see Data Discovery Installation Types).
  2. Follow the steps to prepare the server for installing Data Discovery (see Подготовка сервера).

    Информация
    titleNote:

    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.
  3. Create a new directory on the server (for example, distr_discovery):

    Блок кода
    mkdir distr_discovery
  4. Copy the
    Multiexcerpt include
    MultiExcerptNameDD_setup package
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    _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
    MultiExcerptNameDD_setup package
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    _2.1.0.152.tar.xz.
  5. Open the directory to which you have copied the archive.
  6. Unpack the archive with the distribution kit to this directory:

    Блок кода
    tar -xvf iw_discovery_setup_2.1.0.152.tar.xz
  7. Раскрыть
    titleTo install the product on OS Alt SP 10:

    Use Kubernetes from the OS repositories.
    To do this:

    1. Follow the steps for Alt SP 10 from the article Подготовка сервера.
      If you have already completed the preparation, skip this step.
    2. Run the command:

      Блок кода
      languagebash
      kubectl taint nodes <node_name> node-role.kubernetes.io/control-plane:NoSchedule-

      In our example:

      Блок кода
      languagebash
      kubectl taint nodes ddnode node-role.kubernetes.io/control-plane:NoSchedule-
      
    3. In the next step, when you run the installer, specify the option --externalK8S=True
  8. Run the installer using the command like:

    Блок кода
    ./setup.py install --nodemode=<Platform_installation_mode> --productmode=<product_installation_mode>

    To install:

     
    • Блок кода
      titlethe product in the central mode on the Platform central node:
      ./setup.py install --nodemode=central --productmode=central
    • Блок кода
      titlethe product in the office mode on the Platform central node:
      ./setup.py install --nodemode=central --productmode=office
    • Блок кода
      titlethe product in the central mode on the Platform office node:
      ./setup.py install --nodemode=office --productmode=central
    • Блок кода
      titlethe product in the office mode on the Platform office node:
      ./setup.py install --nodemode=office --productmode=office
      Информация
      titleNote:

      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
      MultiExcerptNameDD_Short_Name
      PageWithExcerptExcerpt Source
      shouldDisplayInlineCommentsInIncludesfalse
      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.

      Предупреждение
      titleImportant!

      During the installation, the Platform products that are already installed on the server may be unavailable. 

  9. Read the license agreement. It contains several pages. To go to the next page, press Enter. 
  10. To accept the license agreement, type "y" and press Enter.

    Информация
    titleNote:

    If you reject the license agreement, the installer will abort the process and exit.

  11. 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.

    Информация
    titleNote:

    Here and below, to use the default values, press Enter without entering any values.

  12. If you are installing the Platform office node (--nodemode=office):
    1. 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).
    2. Specify the token to connect to the Platform central node.
      To get the token:
      1. Connect to the management console of the Platform's central node via SSH.
      2. 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.

      3. 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.
  13. Allocate RAM to host ClickHouse data (by default, 80%) and press Enter.
  14. Specify the path to place ClickHouse data (by default, /opt/chdata) and press Enter.
  15. Specify the path to place PostgreSQL data (by default, /opt/pgdata) and press Enter.
  16. Specify the path to place NATS data (by default, /opt/natsdata) and press Enter.
  17. Specify the path to place binary data (by default, /opt/dsdata) and press Enter.
  18. If you are installing the Platform central node, specify the port for connecting to the web interface (by default, 443) and press Enter.
  19. Wait for the installation of the Platform to complete.
  20. 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)
  21. 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
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    cluster.

    Предупреждение
    titleImportant!

    The storage directory must be empty.

    After installation, the storage should contain only files and directories that were added by

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . If you add other files or directories to the storage,
    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    may not work correctly.

    Информация
    titleNote:

    We recommend locating the storage on a separate partition or disk. To learn about configuring server storage, see

    Multiexcerpt include
    MultiExcerptNameDD_Full_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Administration Guide. Зоны и серверыZones and servers.

  22. Wait for the
    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    installation to complete.
  23. Read the product installation report:

  24. To display information about the Platform and products in the cluster, run the command:

    Блок кода
    ./setup.py showproducts
  25. For

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    to work, you need to update the settings of the inotify subsystem in the OS.

    To do this:

    1. Check if the /etc/sysctl.d/discovery.conf configuration file with the following content is available:

      Блок кода
      languagetext
      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.

    2. If the file was not created by the installer scripts earlier, create it and add the content from the previous step.

    3. To apply the new subsystem settings, run the following command:

      Блок кода
      sysctl --load=/etc/sysctl.d/discovery.conf
  26. Make sure 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.

    Информация
    titleNote:

    After installing

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    , the installer scripts enable the rotation and deletion of log files (see 
    Multiexcerpt include
    MultiExcerptNameDD_Full_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Administration Guide.
     Ротация лог-файлов).

  27. 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.