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-removecommand to uninstall Capsule Server:katello-remove
# katello-removeCopy to Clipboard Copied! Toggle word wrap Toggle overflow
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
# hammer capsule listCopy to Clipboard Copied! Toggle word wrap Toggle overflow On Satellite Server, enter the
hammer host deletecommand and specify the Capsule Server FQDN with the--nameoption to remove Capsule Server from Satellite hosts:hammer host delete --name Capsule_Server_FQDN
# hammer host delete --name Capsule_Server_FQDNCopy to Clipboard Copied! Toggle word wrap Toggle overflow On Satellite Server, enter the
hammer capsule deletecommand and specify the Capsule Server ID with the--idoption to remove Capsule Server from Satellite Capsules:hammer capsule delete --id Capsule_Server_ID
# hammer capsule delete --id Capsule_Server_IDCopy to Clipboard Copied! Toggle word wrap Toggle overflow On Capsule Server, enter the
katello-removecommand to uninstall Capsule Server:katello-remove
# katello-removeCopy to Clipboard Copied! Toggle word wrap Toggle overflow