Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Remove All Monitored Devices from DPOD

...

Before uninstalling the product, navigate to [Manage → Devices → Gateways → Delete Gateway] and delete all monitored devices. 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 devices, see Gateway Changes Performed by DPOD.

Remove DPOD Application From the Installed Server (non-appliance mode only)

Note

DPOD removal is not applicable

for

for Appliance installation mode, Docker container edition

,

and Developer edition

and Appliance installation mode

Remove DPOD From the DataPower Gateways

How to Uninstall DPOD from DataPower

Remove DPOD Application From the Installed Server

.

In order to remove DPOD application from the installed server (Appliance mode / Non Appliance mode), execute the following commands:

...

Code Block
themelanguageRDark
cd /
montier_env_uninstall.sh
rm -fr /shared/* /logs/* /data/* /installs/* /app/custom /app/elasticsearch_nodes /app/sources /app/utils /app/version /etc/init.d/DisabledMonTier-AgentNode /etc/sysconfig/MonTier /etc/profile.d/montier-profile.sh

Output example: 

Code Block
themeRDark
2017-03-06_12-58-15: montier_environment: Locating the scripts directory.
2017-03-06_12-58-15: montier_environment: Did not find previous SCRIPTS_DIR environment variable. Using default : /app/scripts
2017-03-06_12-58-15: montier_environment: Locating the montier_props file.
2017-03-06_12-58-15: montier_environment: Locating build environment variables script.
2017-03-06_12-58-15: montier_environment: Building environment variables file.
2017-03-06_12-58-17: montier_environment: Obtaining environment variables.
2017-03-06_12-58-17: montier_environment: Stopping MonTier services.
Stopping MonTier:

2017-03-06_12-58-56: montier_environment: Setting the packages to uninstall.
2017-03-06_12-58-56: montier_environment: Reading the user uninstall packages choices.
2017-03-06_12-58-56: montier_environment: Uninstalling products.
2017-03-06_12-59-09: montier_environment: Removing Balancer package.
2017-03-06_12-59-10: montier_environment: Removing Logical-Trans package.
2017-03-06_12-59-11: montier_environment: Removing WSM package.
2017-03-06_12-59-12: montier_environment: Removing Syslog package.
2017-03-06_12-59-13: montier_environment: Removing Console package.
2017-03-06_12-59-14: montier_environment: Removing Big-Data package.
2017-03-06_12-59-15: montier_environment: Removing Base package.
2017-03-06_12-59-16: montier_environment: Removing montier_props environment variable from the application users bashrc files.
2017-03-06_12-59-16: montier_environment: Removing packages_to_install.sh and packages_to_uninstall.sh files.
2017-03-06_12-59-16: montier_environment: Removing installation_base.sh file.
2017-03-06_12-59-16: montier_environment: Saving current arch.properties file to /installs/arch.properties/previous.arch.properties.2017-03-06_12-59-16.
2017-03-06_12-59-16: montier_environment: Removing environment RPM.
2017-03-06_12-59-16: montier_environment: Removing MonTier left-over processes.
2017-03-06_12-59-16: montier_environment: Removing MonTier left-over hosts from /etc/hosts.
--------------------
2017-03-06_12-59-17: montier_environment ended successfully.
Please verify all procedures executed correctly.
Log file:
/installs/logs/montier_environment_uninstallation_2017-03-06_12-58-15.log
bash
shopt -s extglob
ps -ef | grep -i montier | grep -v grep | awk '{print $2}' | xargs -I ff kill -9 ff
cd /
test -f /etc/init.d/DisabledMonTier-AgentNode && mv /etc/init.d/DisabledMonTier-AgentNode /etc/init.d/MonTier-AgentNode
/app/scripts/montier_env_uninstall.sh
for i in {1..10}; do echo "Attempt $i"; rpm -qa | grep -i -e montier -e product-logo | xargs --no-run-if-empty -I rrr rpm -e rrr; done;
rm -fr /shared/* /logs/* /data/* /installs/* /app/tmp/* /app/!(tmp) /etc/sysconfig/MonTier /etc/profile.d/montier-profile.sh /etc/init.d/*MonTier-* /data2*/* /data3*/* /data4*/* /var/lock/subsys/MonTier*
sed -i '/montier-/d; /cell-manager/d' /etc/hosts
sed -i '/montier/d' ~/.bashrc