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

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

Ключ

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

...

Sv translation
languageen

All-in-one installation mode allows you to install all components of the System on the same computer. This type of installation is smilar to all templates installation on the same computer. The packages unpack will start before the installation process after all the perameters are specified.

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

By default you are not allowed to install the System on server which has numbers at the beginning of its name. If you need to allow the server’s name to begin with a number, use the command line to specify the value 1 of the parameter --allow_digits_at_hostname_begin.

Herewith, make sure that the network check is active – the parameter --skip_check_network should have the value 0 (the check is active by default).

The Traffic Monitor installer can work in two modes involving user:

  • text mode in server console;
  • graphical mode.

The installation steps and its sequence is similar in both modes.

Regardless the selected mode of installation, please take the following common actions:

  1. To log into the System, enter login and password (you should enter as a root user).

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

    Before running the installation make sure that the server complies with the OS and network settings requirements.
    If you plan using a remote database, you should update it first to the version supported by Traffic Monitor. In case of PostgreSQL DBMS using, you should preliminarily configure it.

    Before installing to clear memory, it is recommended to reboot the server on which database will be deployed.

  2. Create a directory to locate the InfoWatch Traffic Monitor installer. For example, to create a directory named distr in the root of the file system run the following command:

    mkdir /distr

  3. Copy the files from InfoWatch Traffic Monitor distributive into the created directory.

    • iwtm-installer-x.x.x.xxx-rhel7 (where x.x.x.xxx is a number of build);
    • iwtm-postgresql-13.2-x.xx.x.tar.gz -  if you use PostgreSQL DBMS;
    • iwtm-oracle-19.0.0.0.0-x.xx.x.tar.gz - if you use Oracle DBMS. 
    As per our example:
    • iwtm-installer-7.3.0.123-rhel7;
    • iwtm-postgresql-13.2-7.3.0.tar.gz - if you use PostgreSQL DBMS;
    • iwtm-oracle-19.0.0.0.0-7.3.0.tar.gz - if you use Oracle DBMS. 

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

    If you are using Oracle DBMS and Network File System (NFS), follow the steps below:

    • Раскрыть
      titlein case you are using Oracle Real Application Clusters (RAC)

      Set mount options according to the article from official website.

    • Раскрыть
      titlein case you are not using RAC:

      Check in mount point settings (by default /etc/fstab), that noac option is not used and actimeo parameter does not have 0 value.

      For details, see the article on the official website.

  4. Enter the command to shift to Traffic Monitor distributive directory. 

    As per our example: 

    cd /distr

  5. Before running the installation make the installer file executable. To do this use the following command :
    chmod u+x ./iwtm-installer-x.x.x.xxx-rhel7

As per our example:

chmod u+x ./iwtm-installer-7.3.0.123-rhel7


Якорь
console_installer
console_installer

Раскрыть
titleInstalling in text mode using server console

To install Traffic Monitor Enterprise or Traffic Monitor Standard in All-in-one mode, take the following steps:

  1. Start the Traffic Monitor installer running the command:
    ./iwtm-installer-x.x.x.xxx-rhel7
    Our example command:
    ./iwtm-installer-7.3.0.123-rhel7

    Preparations will be made to start the installation. At this stage the unpacking of Traffic Monitor installation files is not performed.

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

    If available configured OS repositories are missing, the preparation process will stop with the following error message:

    To fix this error press Enter to exit, connect the standard RHEL repository, EPEL repository and restart the installer.

    For more details on the error refer to the log files, specified in the error message.

    After the unpacking is finished, a window to install Traffic Monitor will be displayed:


  2. Select Traffic Monitor edition type:
    • Traffic Monitor Enterprise (TME) to install Enterprise edition;
    • Traffic Monitor Standard (TMS) to install Standard edition.
    Предупреждение
    titleWarning!

    When you install Traffic Monitor Standard (TMS) edition, you can select only PostgreSQL database.

    For this, type the figure specified next to option selected, and press Enter.

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

    When installing via server console you can see the default value which is specified in square brackets next to input field. This value will be used in case of leaving the field empty and pressing Enter.

    Раскрыть
    titleПример
    If you do not input a value as per picture above and press Enter, the item [1]TrafficMonitorEnterprise(TME) will be selected.
  3. If Traffic Monitor Enterprise (TME) edition was selected, in the window of installation type select All-in-one.
  4. Then select the main language of user interface management console, as well as date and time displaying format and preset configuration language:
    • Russian;
    • English.
  5. Select the classification base language. A classification base includes preset policies, elements of technology configuration and protected objects. Yoг can select few languages at once. Options will be consistently displayed. To use an option type Y, to refuse it type N, to confirm selected option press Enter.

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

    When installing via server console you can see the default value which is specified in square brackets next to input field. This value will be used in case of leaving the field empty and pressing Enter.

    Раскрыть
    titleDefault value using example

    The following languages are available to select:

    • Russia;
    • English;
    • Malay.
    If you do not require to install a classification base, do not select any language.
  6. Select the database storage type:
    • Install database server locally - to install locally on current server;

    • Use remote database server - to use on remotely deployed database. In this case the Traffic Monitor scheme will be added to remote database.

  7. In case Enterprise editionis selected, select a database the System to operate with:
    • Oracle Database Enterprise Edition

    • PostgreSQL

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

    When installing to CentOS, the only supported database is PostgreSQL.

  8. If you use a remote database, please enter consistently:

    1. IP address and database server domain name.
    2. Connection port
    3. The name of database to be used, where the scheme is to be added.
  9. If required you can change the default values of DB authentication parameters.

    Раскрыть
    titleIn case of positive answer the following parameters will be offered to change:
    • Password of user account having sysdba permissions;

    • Name of database schema owner;

    • Password of database schema owner's account;
    • Name of Linux services user account;
    • Password of Linux services account;
    • Name of web services user account;
    • Password of web services account;
    • Name of nagios user account;
    • Password of nagios account.
  10. Select a data storage mode:

    • Normal - (regular) - switching to the following partition (when it is specified) happens after the previous one is overflow.

    • Fast/Slow disks - dividing pools into fast and slow ones. Recent data are to be kept in fast pool and to be relocated to the slow ones in a number of days specified. Slow pool operates in normal mode.

    • Rotate - switching to the following partition happens every day once the previous one is overflow.

  11. You can change the default values of database storage parameters.

    Раскрыть
    titleIn case of positive answer you may change the following parameters:
    • Main tablespaces path -  path to main tablespaces data storage directory;
    • If you've selected Fast/Slow disks mode:

      • Fast disk path - path to daily tablespace data storage directory in Fast/Slow disks mode;

      • Number of days to store daily tablespaces on fast disk - number of days to store in fast tablespaces in Fast/Slow disks mode;

    • Number of daily tablespaces paths - number of daily tablespaces paths, a number from 1 to 10;

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

      If you specify the value which is more than 1, then you should specify consistently the relevent number of pathes to daily tablespaces.

    • Daily tablespaces paths - path to daily tablespace data storage directory.

  12. For daily tablespaces you can change the default values of archiving parameters.

    Раскрыть
    titleIn case of positive answer:
    • Path to archiving - path to archived tablespaces files storage directory.

    The query to use each of the following parameters will be displayed in advance:

    • Archive non-violation events -  enable the automatic deletion of events that are considered non-violations. If enabled, please specify the the number of days after which the event will be automatically archived, by default - 45 days.
    • Archive violation events - enable the automatic archiving of events that are considered violations. If enabled, please specify the number of days after which the event will be automatically archived, by default - 45 days.
    • Archive screenshots - enable the automatic archiving of screenshots received from Device Monitor Agents. If enabled, please specify the number of days after which the event will be automatically archived, by default - 45 days.
  13. Similar to previous point you can configure the deletion parameters for daily tablespaces. If enabled, the default value for all the parameters - 90 days.
  14. Specify the parameters to connect to Consul service:

    1. Network interface address - select IP address of network interface.
    2. Datacenter name - input name of Consul data center.
  15. Select the server to be used to synchronize the time (NTP-server):

    • Use system NTP-server;

    • Set manually - you can manually specify NTP server name. If selected, you should input IP address or NTP server available.

  16. Then you can enable indexing of words exact match for Sphinx service.

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

    Enabling the indexing of words exact match will increase the size of index two times minimum.

  17. If required, you can change the standard configuration of Sphinx service operation. In this case an offer to set a list of languages including morphological support will be displayed. Indexing will be performed according to selected languages. You can specify few languages using a space to separate them.

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

    The language priority is in accordance with sequence of selected languages. English is to be added by default and it has the highest priority.

  18. You can enable OCR technology. In this case you should select one system to be used:

    • ABBYY FineReader;

    • Tesseract.

  19. If ABBYY Finereader is selected as OCR extractor:

    1. Select a recognition mode:
      • Quick – a fast mode;
      • Quality –  a detailed mode providing higher quality of recognition.
    2. Confirm that you have an active license to use ABBYY Finereader. In case you have no active license, type N and press Enter. In this case ABBYY Finereader will be installed with no license. To use ABBYY Finereader you can manually add an active license later. For more details, please see "InfoWatch Traffic Monitor. Administation Guide" "Configuring OCR Extractors " article.
  20. After all the parameters were set a message to start the installation and query to continue will be displayed.

    Type Y to start the installation and press Enter.
    The unpacking of Traffic Monitor installation files will start. Implementation progress will be displayed.

    The process may take some time.

  21. After the installation is complete you can delete the packages created to install the System.
    When installation is successfully completed the data is recommended to delete.

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

    If Consul service is configured incorrectly, the following warning message will be displayed: 

    To finish installation press Enter.

    Раскрыть
    titleFor correct work of System check and configure Consul service cluster
    1. Start Consul service with the command:
      service iwtm-consul start
      To check the service status enter the command:
      service iwtm-consul status
    2. To check Consul enter the command:
      1. To display IP address of main server (leader) of cluster:
        curl --noproxy 127.0.0.1 http://127.0.0.1:8500/v1/status/leader ; echo
      2. To display information about cluster members:
        consul members
    3. If the IP address of cluster leader is not displayed, configure cluster of Consul service.
      After configuration is complete, repeat checking (step ii).

    If the error occurs, the installer will not launch Traffic Monitor services when the installation is finished, so you need to start them manually.

  22. To apply the environment change you should certainly log off the System and log in again or restart the server.
  23. If you require the list of Traffic Monitor services to be displayed enter the command as follows:
    iwtm status
Раскрыть
titleInstalling in graphical mode

X Window System uses a client - server model. To run the installer in the graphical mode X11 Forwarding is used to forward the graphical output of remote system. This let you work directly with Linux graphical applications on the computer which is connected to server. This mode is implemented via SSH connection.

To install Traffic Monitor Enterprise or Traffic Monitor Standard in All-in-one mode using graphical mode of installation, take the folowing steps:

  1. On the server, where Traffic Monitor components are planned to install:
    1. Install xauth utility using the command:
      yum install xauth
    2. In /etc/ssh/sshd_config configuration file uncomment the line "X11Forwarding yes". To do this, delete # placed before the line.
    3. Save changes in configuration file.
    4. Restart SSH service using the command:
      systemctl restart sshd
  2. On the computer, where the graphical mode is to be used:
    1. To connect to Traffic Monitor installation server you will require a SSH client with enabled X11 Forwarding option, e.g. PuTTY.
    2. To start the installer in the graphical mode you will require an application configured to access to X Window System, for example:
        • Xming application - for OS MS Windows;
        • Gnome 3 shell - for OS Linux.
  3. Run the application client which was previously configured to access to X Window System.
  4. Connect to server, where Traffic Monitor components are planned to install, using selected SSH client.

    Раскрыть
    titleExample of PuTTY configuration window used to connect

  5. To install Traffic Monitor run the installer using the command:

    ./iwtm-installer-x.x.x.xxx-rhel7

    As per our example:

    ./iwtm-installer-7.3.0.123-rhel7

    Preparations will be made to start the installation. At this stage the unpacking of Traffic Monitor installation files is not being performed.

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

    If available configured OS repositories are missing, the preparation process will stop with the following alert box:

    To fix this error press OK to dismiss, connect the standard RHEL repository, EPEL repository and restart the installer.

    For more details on the error refer to the log files specified in the alert box.


    After the unpacking is finished, a window to install Traffic Monitor will be displayed:

    To go to the next parameter press Next button, to go back press - Back. To exit the installer press Cancel button.
  6. Select Traffic Monitor edition type:


    • Traffic Monitor Enterprise (TME) to install Enterprise edition;
    • Traffic Monitor Standard (TMS) to install Standard edition.
    Предупреждение
    titleWarning!

    When you install Traffic Monitor Standard (TMS) edition, you can select only PostgreSQL database.

    To select click in the checkbox next to required value and press Next button.

  7. If Traffic Monitor Enterprise (TME) edition was selected, in the window of installation type select All-in-one.
  8. Then select the main language of user interface management console, as well as date and time displaying format and preset configuration language:
    • Russian;
    • English.
  9. Select the classification base language. A classification base includes preset policies, elements of technology configuration and protected objects. Yoг can select few languages at once.
    To select few values mark each required field and press Next button.

    The following languages are available to select:

    • Russian;
    • English;
    • Malay.
    If you do not require to install a classification base, do not select any language.
  10. Select the database storage location:

    • Install database server locally - to install locally on current server;

    • Use remote database server - to use on remotely deployed database. In this case the Traffic Monitor scheme will be added to remote database.

  11. In case Enterprise edition is selected, select a database the System to operate with:
    • Oracle Database Enterprise Edition

    • PostgreSQL

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

    When installing to CentOS, the only supported database is PostgreSQL

  12. If you use a remote database, please fill in the field below:

    1. Address and Port - IP address or database server domain name and connection port.
    2. Database name - The name of database to be used, where the scheme is to be added.
    Информация
    titleNote:

    In the graphical mode active fields contain the default values.

  13. If required you can change the default values of DB authentication parameters.

    To edit the values mark the field next to question. This will let you edit the following sections:

    • Sysdba user - Password of user account having sysdba permissions;

    • Database scheme owner - Name and password of database schema owner;
    • Linux services user - Name and password of Linux services user;
    • Web services user - Name and password of web services user;
    • Nagios user - Name and password of nagios user.
    To leave the default values please do not mark the field and press Next button. In this case the fields cannot be edited and the installer will use the default parameters.
  14. Select a data storage mode:

    • Normal - (regular) - switching to the following partition (when it is specified) happens after the previous one is overflow.

    • Fast/Slow disks - dividing pools into fast and slow ones. Recent data are to be kept in fast pool and to be relocated to the slow ones in a number of days specified. Slow pool operates in normal mode.

    • Rotate - switching to the following partition happens every day once the previous one is overflow.

  15. You can change the default values of database storage parameters.

    • Main tablespaces path - path to main tablespaces data storage directory;
      You can add the path to the field or specify it via file manager window using  button.
    • If you've selected Fast/Slow disks mode:

      • Fast disk path - path to daily tablespace data storage directory in Fast/Slow disks mode;

      • Number of days to store daily tablespaces on fast disk - number of days to store in fast tablespaces in Fast/Slow disks mode;

    • Number of daily tablespaces paths - number of daily tablespaces paths, a number from 1 to 10;

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

      If you specify the value which is more than 1, then you should specify consistently the relevent number of pathes to daily tablespaces.

    • Daily tablespaces paths - path to daily tablespace data storage directory.

  16. For daily tablespaces you can change the default values of archiving parameters.

    • Path to archiving - path to archived tablespaces files storage directory.

    To use any parameter you should enable it:

    • Archive non-violation events - enable the automatic deletion of events that are considered non-violations. If enabled, please specify the the number of days after which the event will be automatically archived, by default - 45 days.
    • Archive violation events - enable the automatic archiving of events that are considered violations. If enabled, please specify the number of days after which the event will be automatically archived, by default - 45 days.
    • Archive screenshots - enable the automatic archiving of screenshots received from Device Monitor Agents. If enabled, please specify the number of days after which the event will be automatically archived, by default - 45 days.
  17. Similar to previous point you can configure the deletion parameters for daily tablespaces. If enabled, the default value for all the parameters - 90 days.
  18. Specify the parameters to connect to Consul service:

    1. Network interface address - select IP address of network interface.
      To select from the list of parameters click  and select the required value.
    2. Datacenter name - input name of Consul data center.
  19. Select the server to be used to synchronize the time (NTP-server):

    • Use system NTP-server;

    • Set manually - you can manually specify NTP server name. If selected, you should input IP address or NTP server available.

  20. You can change Sphinx service parameters:

    • Enable indexing of words exact match;

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

      Enabling the indexing of words exact match will increase the size of index two times minimum.

    • If required, you can change the standard configuration of Sphinx service operation (default sphinx settings). In this case specify a list of languages including morphological support. Indexing will be performed according to selected languages. You can specify few languages using a space to separate them.

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

      The language priority is in accordance with sequence of selected languages. English is to be added by default and it has the highest priority.

  21. You can enable OCR technology.

    In this case you should select one system to be used:

    • ABBYY FineReader;

    • Tesseract.

  22. If ABBYY Finereader is selected as OCR extractor:

    1. Select a recognition mode:
      • Quick – a fast mode;
      • Quality – a detailed mode providing higher quality of recognition.
    2. Confirm that you have an active license to use ABBYY Finereader.
      In case you have no active license, leave the box empty. In this case ABBYY Finereader will be installed with no license. To use ABBYY Finereader you can manually add an active license later. For more details, please see "InfoWatch Traffic Monitor. Administation Guide","Configuring OCR Extractors " article.
  23. After all the parameters were set a message to start the installation and query to continue will be displayed.

    To start the installation and press Next.
    The unpacking of Traffic Monitor installation files will start. Implementation progress will be displayed.

    The process may take some time.

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

    If for any reason the installation process was interrupted, eliminate the cause and restart the installer. The installation will continue from the last step that was successfully completed.

  24. When installation is successfully completed you can delete the packages created to install the System.

    This data is recommended to delete. To do this mark the field Remove exctracted installer data.


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

    If Consul service is configured incorrectly, the following warning message will be displayed: 

    To finish installation press OK.

    Раскрыть
    titleFor correct work of System check and configure Consul service cluster
    1. Start Consul service with the command:
      service iwtm-consul start
      To check the service status enter the command:
      service iwtm-consul status
    2. To check Consul enter the command:
      1. To display IP address of main server (leader) of cluster:
        curl --noproxy 127.0.0.1 http://127.0.0.1:8500/v1/status/leader ; echo
      2. To display information about cluster members:
        consul members
    3. If the IP address of cluster leader is not displayed, configure cluster of Consul service.
      After configuration is complete, repeat checking (step ii).

    If the error occurs, the installer will not launch Traffic Monitor services when the installation is finished, so you need to start them manually.

  25. To finalise the installation press Finish.
  26. To apply the environment change you should certainly log off the System and log in again or restart the server.
  27. If you require the list of Traffic Monitor services to be displayed enter the command as follows:
    iwtm status

As a result of installation, the System creates accounts listed in "Pre-installed Server Settings".

After the completion of installation the Management console is available through a browser: enter the URL of the Traffic Monitor Server.

The procedure of further System configuration is described in the document «InfoWatch Traffic Monitor. Administration Guide».