Versions Compared

Key

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

...

Code Block
themeRDark
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
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

...