| Предупреждение |
|---|
| If the database is located on the same server, where the unintstallation process is to be started, first, remove DBMS. Uninstallation influences only the server where the removal command is run. If you require to restore events when reinstalling Traffic Monitor, you are recommended to create a database reserve copy before processing the uninstallation (for more details see "InfoWatch Traffic Monitor. Administration Guide". Database Administration - PostgreSQL > Database Backup "Creating Database Backup" section; Oracle > Database Backup "Creating Database Backup" section. We also recommend prior making a copy of configuration settings. |
Traffic Monitor uninstallation process starts running in console mode, using InfoWatch Traffic Monitor installer. The following actions are to be taken to uninstall Traffic Monitor: - Enter login and password to log into operating system used (enter as a root user using the password created when the System was installed).
Stop Traffic Monitor processes by entering the command:
iwtm stop - To remove Traffic Monitor packages, enter the commad:
yum remove `rpm -qa | grep iwtm` Preparing for removal will start.
Preparation finished, the list of packages to be removed will be displayed in a confirmation window:
 To continue, enter "Y" and press Enter. Traffic Monitor packages removal 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 were changed (changed files will get the suffix .rpmsave, for example, web.conf.rpmsave; unchanged files will be removed);
- objects 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", article "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 directory /opt/iw and all of its content by using OS tools. | Предупреждение |
|---|
| Before removal, make sure that directories do not contain some important information. |
To remove a directory, you can use the command: rm -Rvf /opt/iw
To be able to reinstall correctly: - 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.79.0.101150-release.repo
- If PostgreSQL was used, run the following command to delete the rest components:
yum remove phantomjs pgagent_13 pg_pathman13 redis postgresql13 postgresql1315 redis postgresql15 postgresql15-libs postgresql13postgresql15-server postgresql13postgresql15-contrib
| Информация |
|---|
| In case of distributed installation of Traffic Monitor, the actions described above should be performed on each server. |
|