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

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

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMIG and version 7.16
Sv translation
languageru
Предупреждение
titleВажно!

Если база данных находится на сервере, на котором будет запущен процесс удаления, сначала удалите схему базы данных.

Удаление затронет только тот сервер, на котором будет выполнена команда удаления.
Для возможности восстановления событий в случае переустановки Traffic Monitor рекомендуем перед удалением создать резервную копию базы данных (см. InfoWatch Traffic Monitor. Руководство администратора. Создание резервной копии базы данных в разделе PostgreSQL или Oracle).
Также рекомендуется создать резервные копии конфигурации и настроек.

Процесс удаления Traffic Monitor запускается в консоли сервера. Удаление выполняется средствами ОС.

Чтобы удалить Traffic Monitor выполните следующие действия:

  1. Введите логин и пароль, чтобы войти в операционную систему (вход выполняется от имени пользователя root с использованием пароля, созданного при установке).

  2. Остановите процессы Traffic Monitor с помощью команды:
    iwtm stop

  3. Для удаления пакетов Traffc Monitor выполните следующую команду:

    • На сервере под управлением ОС Red Hat Enterprise Linux, РЕД ОС, Oracle Linux, AlmaLinux и Rocky Linux:
      yum remove `rpm -qa | grep iwtm`

    • На сервере под управлением ОС Альт Сервер:
      apt-get remove `rpm -qa | grep iwtm`
      Начнется подготовка к удалению.

  4. После подготовки в консоли сервера будет выведен список удаляемых пакетов и запрос подтверждения вида:


    Для продолжения введите "Y" и нажмите Enter.

    Начнется удаление пакетов Traffic Monitor.

    Дождитесь завершения процесса удаления.

В результате буду удалены все службы Traffic Monitor. После удаления на компьютере останутся:

  • конфигурационные файлы, в которые были внесены изменения (измененным файлам присваивается суффикс .rpmsave – например, web.conf.rpmsave; файлы, которые не изменялись, будут удалены);
  • очередь объектов (о порядке удаления файлов из директории временных файлов операционной системы и данных из директорий файловых очередей Traffic Monitor см. InfoWatch Traffic Monitor. Руководство администратора. Удаление временных файлов);
  • элементы конфигурации;
  • файл лицензии;
  • учетная запись пользователя – владельца InfoWatch Traffic Monitor, и группа, в состав которой входил этот пользователь;
  • логи;
  • дистрибутивы.

Для удаления оставшихся файлов вы можете удалить директорию /opt/iw со всем содержимым, используя средства ОС.

Предупреждение
titleВажно!

Перед удалением убедитесь, что в директориях не содержится важная информация.

Для удаления директории вы можете использовать команду:

rm -Rvf /opt/iw

Для возможности корректной повторной установки:

  1. Удалите файл с информацией о репозитории, созданном для продукта, с помощью команды вида:

    rm -f /etc/yum.repos.d/tm-x.x.x.xxx-release.repo

    В нашем примере:

    rm -f /etc/yum.repos.d/tm-7.16.0.97-release.repo

  2. Если использовалась СУБД PostgreSQL, для удаления оставшихся компонентов выполните команду: 

    • На сервере под управлением ОС Red Hat Enterprise Linux, РЕД ОС, Oracle Linux, AlmaLinux и Rocky Linux:
      yum remove phantomjs pgagent_15 redis postgresql15 postgresql15-libs postgresql15-server postgresql15-contrib

    • На сервере под управлением ОС Альт Сервер:
      apt-get remove pgagent redis postgresql15 postgresql15-server postgresql15-contrib

Информация
titleПримечание:

В случае распределенной установки для удаления Traffic Monitor выполните действия данной инструкции на каждом сервере.

Sv translation
languageen
Предупреждение
titleWarning!

If the database is located on the same server, where the uninstallation process is to be started, first, remove the DBMS.

The uninstalling process affects only the server where you execute the remove command.If you need to restore events when reinstalling Traffic Monitor, we recommend creating a backup copy of the database before you start the removal (for details, see InfoWatch Traffic Monitor. Administration Guide. Creating Database Backup article in PostgreSQL or Oracle section.We also recommend creating backup copies of the configuration and settings.

Traffic Monitor uninstallation process runs in the server console using OS tools.

To uninstall Traffic Monitor:

  1. Enter the login and password to log into the operating system (log in as root user using the password created during the installation).
  2. Stop Traffic Monitor processes using the command:
    iwtm stop

  3. To remove Traffic Monitor packages, enter the commad :
    • On servers running  Red Hat Enterprise Linux, RED OS, Oracle Linux,  AlmaLinux and Rocky Linux:
      yum remove `rpm -qa | grep iwtm`

    • On servers running Alt Server:
      apt-get remove `rpm -qa | grep iwtm`
      Preparing for removal will start.


  4. Preparation finished, the list of packages to be removed will be displayed in the confirmation window: 

    To continue, enter "Y" and press Enter.
    Removal of Traffic Monitor packages will start. 
    Wait until the end of uninstalling process.

All Traffic Monitor services will be removed. After removal, the following entities will stay on the computer:

  • Configutation files, that have been changed (changed files will get the suffix .rpmsave, for example, web.conf.rpmsave; unchanged files will be removed);
  • Object queue (for details on how to remove files from the directory containing OS temporary files and Traffic Monitor file queues directory, see InfoWatch Traffic Monitor. Administration Guide. Deleting Temporary Files);
  • Configuration elements;
  • License file;
  • User account – InfoWatch Traffic Monitor owner and the group, this user was in;
  • Logs;
  • Distributives.

To remove all other files, you can remove the /opt/iw directory and all of its content by using OS tools.

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

Before removal, make sure that directories do not contain important information.

To remove the directory, you can use the command:

rm -Rvf /opt/iw

To be able to reinstall correctly:

  1. Delete the file containing information about repository, which was created for product. Use the following command:

    rm -f /etc/yum.repos.d/tm-x.x.x.xxx-release.repo 

    As per our example:

    rm -f /etc/yum.repos.d/tm-7.15.0.97-release.repo

  2. If PostgreSQL was used, run the following command to delete the rest components: 
    • On servers running Red Hat Enterprise Linux, RED OS, Oracle Linux,  AlmaLinux and Rocky Linux:
      yum remove phantomjs pgagent_15 redis postgresql15 postgresql15-libs postgresql15-server postgresql15-contrib

    • On servers running Alt Server:
      apt-get remove pgagent redis postgresql15 postgresql15-server postgresql15-contrib

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

In case of distributed installation of Traffic Monitor, the actions described above should be performed on each server.