Chapter 5. Uninstalling Capsule Server

Uninstalling Capsule Server erases all applications used on the target system. If you use any applications or application data for purposes other than Satellite Server, you must back up the information before the removal process.

Before you Begin

The katello-remove script issues two warnings, requiring confirmation before removing all packages and configuration files in the system.

Warning

This script erases packages and config files such as the following:

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

Procedure

  1. In the Satellite web UI, navigate to Hosts > All Hosts and select Delete from the Edit list to the right of the Capsule Server instance.
  2. Navigate to Infrastructure > Capsule and select Delete from the Edit list to the right of the Capsule Server instance.
  3. On Capsule Server, enter the katello-remove command to uninstall Capsule Server:

    # katello-remove

For CLI Users

  1. On Satellite Server, list all Capsule Servers to find the FQDN and ID of the Capsule Server instance you want to remove:

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

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

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

    # katello-remove