Chapter 5. Uninstalling Capsule Server

Uninstalling Capsule Server deletes all applications that are used on the target system. If you use any applications or application data on the target system for purposes other than running Capsule Server, you must back up the information before uninstalling Capsule.

To uninstall Capsule, use the katello-remove command. Before deleting all packages and configuration files in the system, the katello-remove command displays two warnings that require your confirmation.

The katello-remove command deletes the following packages and configuration files:

  • httpd (apache)
  • mongodb
  • tomcat6
  • puppet
  • ruby
  • rubygems
  • All Katello and Foreman Packages

Procedure

  1. In the Satellite web UI, navigate to Hosts > All Hosts.
  2. From the Edit list to the right of the Capsule Server that you want to uninstall, select Delete .
  3. Navigate to Infrastructure > Capsule.
  4. From the Edit list to the right of the Capsule Server that you want to uninstall, select Delete.
  5. On Capsule Server, enter the katello-remove command:

    # katello-remove

For CLI Users

  1. On Satellite Server, list all Capsule Servers and note the FQDN and ID of the Capsule Server that you want to uninstall:

    # hammer capsule list
  2. On Satellite Server, to delete Capsule Server from the Satellite hosts list, enter the hammer host delete command and specify the Capsule Server FQDN with the --name option:

    # hammer host delete --name Capsule_Server_FQDN
  3. On Satellite Server, to delete Capsule Server from the Satellite Capsules list, enter the hammer capsule delete command and specify the Capsule Server ID with the --id option:

    # hammer capsule delete --id Capsule_Server_ID
  4. On Capsule Server, enter the katello-remove command:

    # katello-remove