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.
This script erases packages and config files such as the following:
- httpd (apache)
- mongodb
- tomcat6
- puppet
- ruby
- rubygems
- All Katello and Foreman Packages
Procedure
- 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.
- Navigate to Infrastructure > Capsule and select Delete from the Edit list to the right of the Capsule Server instance.
On Capsule Server, enter the
katello-remove
command to uninstall Capsule Server:# katello-remove
For CLI Users
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
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
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
On Capsule Server, enter the
katello-remove
command to uninstall Capsule Server:# katello-remove