Created
September 4, 2012 17:37
-
-
Save mccun934/3623919 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Procedure C.1. Uninstalling System Engine. WARNING: This procedure will erase httpd, tomcat6, mongodb, postgres and all ruby packages on your system. If you are using this system for purposes other than System Engine you may need to change the below removal procedure to ensure you are not removing required packages and data. | |
| Shutdown all CloudForms System Engine services: | |
| # katello-service stop | |
| # kill -9 `ps -aef | grep katello | grep -v grep | awk '{print $2}'` | |
| # kill -9 `ps -aef | grep delayed_job | grep -v grep | awk '{print $2}'` | |
| Uninstall CloudForms System Engine packages: | |
| # yum erase -y `rpm -qa | grep candlepin` `rpm -qa | grep katello` `rpm -qa | grep ^pulp` `rpm -qa | grep mongo` `rpm -qa | grep postgre` `rpm -qa | grep httpd` `rpm -qa | grep ^mod_` puppet tomcat6 `rpm -qa | grep ^rubygem` ruby rubygems elasticsearch | |
| Delete configuration and data files: | |
| # rm -rf /etc/pulp/ /etc/candlepin/ /etc/katello/ /usr/share/katello/ /var/lib/puppet/ /var/lib/pgsql/ /var/lib/mongodb/ /var/lib/katello/ /var/lib/pulp/ /etc/httpd/ /etc/tomcat6/ /etc/elasticsearch /var/lib/elasticsearch /usr/share/pulp /var/lib/candlepin | |
| Delete log files: | |
| # rm -rf /var/log/katello/ /var/log/tomcat6/ /var/log/pulp/ /var/log/candlepin/ /var/log/httpd/ /var/log/mongodb/ | |
| Delete CloudForms System Engine certificate files: | |
| # rm -rf /etc/pki/pulp/ /etc/pki/content/* /etc/pki/katello /root/ssl-build | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment