| Предупреждение |
|---|
| 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: - Enter the login and password to log into the operating system (log in as root user using the password created during the installation).
Stop Traffic Monitor processes using the command:
iwtm stop - 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.
- 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. | Предупреждение |
|---|
| 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: - 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
- 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
| Информация |
|---|
| In case of distributed installation of Traffic Monitor, the actions described above should be performed on each server. |
|