You are on page 1of 2

what are the different ways to register RHEL machine to Satellite Server for patching?

Ans: There are two ways to register RHEL machine to satellite server

a)Use the username and password in subscription-manager command like,

subscription-manager register –username {user}  --password {password}

b) Using the activation keys we can also register RHEL server to satellite, like

subscription-manager register --org="Test" --activationkey="RHEL7-Test"

What are different components of Red Hat Satellite Server 6.2?


1. Foreman – It is an open source tool which is used to provision bare metal and
Virtual machines. Provisions machines can be further configured using Puppet
modules and Ansible Playbooks
2. Katello – It is a subscription and repository management tool.
Candlepin – It is a service within katello which handles the subscription
management
3. Pulp – It is a service in Katello which repository and Content management
4. Hammer – It is a command line tool, which is used to manage and perform
Satellite server operations using command.
5. Capsule Server – It is a proxy server of main satellite Server.
2. Let’s assume you have register one RHEL 6 / 7 server to the satellite Server and it is visible in the
dashboard as well, but the count of Bug fix, enhancement and security patches are zero. How you can
resolve this issue?

service goferd restart or systemctl restart goferd


katello-package-upload -f
katello-enabled-repos-upload -f
3. How to enable specific Red Hat repository on your register client?
subscription-manager repos –list
subscription-manager repos --enable={repository-di}
4. How to unregister a server from Red Hat Satellite Server?
Ans: To unregister a server from satellite server first run the command from the
server’s terminal “subscription-manager unregister” then go to satellite dashboard remove
or unregister that hosts from content hosts entry if it is there.
5. How to verify the subscription status of a RHEL Server in Satellite ?
Ans: From the server’s terminal run the command “subscription-manager status”, it
will display the current subscription status and we can also verify the subscription
status from Satellite dashboard, Go to the hosts Tab –> then content hosts –> See the
subscription details.
6. What are different ports used between satellite server and its client for smooth
patching?
 80 TCP – HTTP, ( provisioning purpose)
 443 TCP – HTTPS, (web access and api communication )
 5646 / 5647 TCP – qdrouterd – (used for client and Smart Proxy actions)
 9090 TCP – HTTPS – ( used for communication with the Smart Proxy )
7. How to verify whether satellite server’s service is up and running ?
From the Satellite server terminal execute the following command:
katello-service status

8. Which agent is installed on RHEL Servers for Red Hat Satellite?

Ans:  ‘Katello-agent’  is needs to installed on registered RHEL Server for satellite,


Katello-agent provides goferd service and with help of this service we can easily
patch the registered RHEL Servers from satellite dashboard.
9. What are Content Views and why they are used in Satellite Server ?
Ans: Content Views dictate what content is published into the repositories and
therefore control what is made available to environment paths and their associated
life cycle environments.

Content views are used to filter the contents of a repository like include or exclude
packages / errata. With the help of content views we can present the repositories to
different environments (Test, Dev and Prod)

10. What is Hammer CLI and why it is used in Red Hat Satellite Server?
Ans: Hammer CLI is a command line utility through which we can configure and
manage our Red Hat Satellite Server. In other words we can say whatever tasks we
do from Satellite dashboard same can accomplished via hammer cli.

To use the hammer cli, make sure you have installed a package “tfm-rubygem-
hammer_cli_katello”.  To connect to Satellite Server via hammer cli use the
command

hammer -u <username> -p <password> <sub-commands>

You might also like