Versions Compared

Key

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


DPOD removal includes two main stages :

  • Remove DPOD from the DataPower gateways
  • Remove DPOD application from the installed server (Appliance mode / Non Appliance mode)
Note
DPOD removal is not applicable for for Appliance installation mode, Docker container edition and Developer edition.

Remove DPOD

...

from the DataPower Gateways

How to Uninstall DPOD from DataPower

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

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

Code Block
languagebash
themeRDark
cd /
test -f /etc/init.d/DisabledMonTier-AgentNode && mv /etc/init.d/DisabledMonTier-AgentNode /etc/init.d/MonTier-AgentNode
montier_env_uninstall.sh
rm -fr /shared/* /logs/* /data/* /installs/* /app/custom /app/elasticsearch_nodes /app/sources /app/utils /app/version /app/etc/init.d/DisabledMonTier-AgentNodescripts /app/flume /etc/sysconfig/MonTier /etc/profile.d/montier-profile.sh
rpm -qa | grep -i -e montier -e product-logo | xargs -I rrr rmp -e rrr

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

...

 /etc/init.d/MonTier-* /data2*/* /data3*/* /data4*/*
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;