/
Non-Appliance Uninstall

IBM DataPower Operations Dashboard v1.0.23.x

Non-Appliance Uninstall

Remove All Monitored Gateways from DPOD

If you are uninstalling a DPOD All-in-One installation or a Cell Manager, navigate to [Manage → Topology → Gateways → Delete Gateway] and delete all monitored gateways. Make sure to check the option "Delete Syslog logs targets from device" in the confirmation window.

For a complete removal of all changes made by DPOD to the monitored gateways, see Gateway Changes Performed by DPOD.

Remove the DPOD Application from the Server

In order to remove the DPOD application from the server, execute the following commands:

shopt -s extglob # Stop any running DPOD processes: sudo ps -eo pid,args | grep -Po '^(\s*\d+ /app/java|\s*\d+ /app/opensearch_dashboards)' | awk '{print $1}' | xargs -I ff sudo kill -9 ff # Remove the DPOD system configuration: sudo rm -fr /etc/cron.d/95-dpod.conf \ /etc/init.d/MonTier \ /etc/init.d/*MonTier-* \ /etc/logrotate.d/app_hk_logrotate \ /etc/logrotate.d/MonTier-* \ /etc/security/limits.d/95-dpod.conf \ /etc/sysconfig/MonTier \ /etc/sysctl.d/95-dpod.conf \ /etc/udev/rules.d/60-dpod.rules \ /var/lock/subsys/MonTier* sudo sed -i '/montier-/d; /cell-manager/d' /etc/hosts sudo sed -i '/montier/d' ~/.bashrc sudo umount /data/messaging/agentsMessaging sudo sed -i '/\/data\/messaging\/agentsMessaging/d' /etc/fstab # Uninstall old DPOD RPMs: for i in {1..10}; do sudo rpm -qa | grep -i -e montier -e product-logo | xargs --no-run-if-empty -I rrr sudo rpm -e rrr; done; # Remove the DPOD application files: sudo rm -fr /shared/* /logs/* /installs/!(backups) /app/tmp/* /app/!(tmp) # Remove the DPOD Store data: sudo rm -fr /data/* /data2*/* /data3*/* /data4*/*

Restoring the HTTPD Configuration

The following files should be reverted to their original form:

/etc/httpd/conf/httpd.conf /etc/logrotate.d/httpd

If you still have the initial installation backup file, you can restore them using the following command:

sudo tar xf <path to the backup file> -C / etc/httpd/conf/httpd.conf etc/logrotate.d/httpd

Otherwise, they can be restored by deleting them and reinstalling the httpd package:

sudo rm -f /etc/httpd/conf/httpd.conf /etc/logrotate.d/httpd sudo dnf reinstall httpd

 

Related content

Copyright © 2015 MonTier Software (2015) Ltd.