Red Hat Satellite-6.11-Administering Red Hat Satellite-En-Us
Red Hat Satellite-6.11-Administering Red Hat Satellite-En-Us
Red Hat Satellite-6.11-Administering Red Hat Satellite-En-Us
11
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons
Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is
available at
http://creativecommons.org/licenses/by-sa/3.0/
. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must
provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert,
Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift,
Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States
and other countries.
Linux ® is the registered trademark of Linus Torvalds in the United States and other countries.
XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States
and/or other countries.
MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and
other countries.
Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the
official Joyent Node.js open source or commercial project.
The OpenStack ® Word Mark and OpenStack logo are either registered trademarks/service marks
or trademarks/service marks of the OpenStack Foundation, in the United States and other
countries and are used with the OpenStack Foundation's permission. We are not affiliated with,
endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
Abstract
This guide provides instructions on how to configure and administer a Red Hat Satellite 6 Server.
Before continuing with this workflow you must have successfully installed a Red Hat Satellite 6
Server and any required Capsule Servers.
Table of Contents
Table of Contents
. . . . . . . . . . . . . FEEDBACK
PROVIDING . . . . . . . . . . . . ON
. . . .RED
. . . . .HAT
. . . . .DOCUMENTATION
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7. . . . . . . . . . . . .
.CHAPTER
. . . . . . . . . . 1.. .ACCESSING
. . . . . . . . . . . . .RED
. . . . .HAT
. . . . .SATELLITE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8. . . . . . . . . . . . .
1.1. INSTALLING THE KATELLO ROOT CA CERTIFICATE 8
1.2. LOGGING ON TO SATELLITE 8
1.3. NAVIGATION TABS IN THE SATELLITE WEB UI 9
1.4. CHANGING THE PASSWORD 9
1.5. RESETTING THE ADMINISTRATIVE USER PASSWORD 10
1.6. SETTING A CUSTOM MESSAGE ON THE LOGIN PAGE 11
. . . . . . . . . . . 2.
CHAPTER . . STARTING
. . . . . . . . . . . .AND
. . . . .STOPPING
. . . . . . . . . . . .RED
. . . . .HAT
. . . . .SATELLITE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
..............
.CHAPTER
. . . . . . . . . . 3.
. . MIGRATING
. . . . . . . . . . . . . FROM
. . . . . . . INTERNAL
. . . . . . . . . . . .SATELLITE
. . . . . . . . . . . .DATABASES
. . . . . . . . . . . . .TO
. . . .EXTERNAL
. . . . . . . . . . . .DATABASES
. . . . . . . . . . . . . . . . . . . . . . 13
..............
3.1. POSTGRESQL AS AN EXTERNAL DATABASE CONSIDERATIONS 13
3.2. PREPARING A HOST FOR EXTERNAL DATABASES 14
3.3. INSTALLING POSTGRESQL 15
3.3.1. Installing PostgreSQL on Red Hat Enterprise Linux 8 15
3.3.2. Installing PostgreSQL on Red Hat Enterprise Linux 7 16
3.4. MIGRATING TO EXTERNAL DATABASES 18
. . . . . . . . . . . 4.
CHAPTER . . .MANAGING
. . . . . . . . . . . . SATELLITE
. . . . . . . . . . . . WITH
. . . . . . ANSIBLE
. . . . . . . . . .COLLECTIONS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
..............
4.1. INSTALLING THE SATELLITE ANSIBLE MODULES 19
4.2. VIEWING THE SATELLITE ANSIBLE MODULES 19
. . . . . . . . . . . 5.
CHAPTER . . MANAGING
. . . . . . . . . . . . .USERS
. . . . . . . .AND
. . . . .ROLES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
..............
5.1. USER MANAGEMENT 20
5.1.1. Creating a User 20
5.1.2. Assigning Roles to a User 21
5.1.3. Impersonating a Different User Account 22
5.1.4. Creating an API-Only User 22
5.2. SSH KEY MANAGEMENT 23
5.2.1. Managing SSH Keys for a User 23
5.3. MANAGING PERSONAL ACCESS TOKENS 24
5.3.1. Creating a Personal Access Token 24
5.3.2. Revoking a Personal Access Token 25
5.4. CREATING AND MANAGING USER GROUPS 25
5.4.1. User Groups 25
5.4.2. Creating a User Group 26
5.4.3. Removing a User Group 26
5.5. CREATING AND MANAGING ROLES 26
5.5.1. Creating a Role 26
5.5.2. Cloning a Role 27
5.5.3. Adding Permissions to a Role 27
5.5.4. Viewing Permissions of a Role 28
5.5.5. Creating a Complete Permission Table 28
5.5.6. Removing a Role 29
5.6. PREDEFINED ROLES AVAILABLE IN SATELLITE 29
5.7. GRANULAR PERMISSION FILTERING 31
5.7.1. Granular Permission Filter 31
5.7.2. Creating a Granular Permission Filter 31
5.7.3. Examples of Using Granular Permission Filters 32
5.7.3.1. Applying Permissions for the Host Resource Type 32
1
Red Hat Satellite 6.11 Administering Red Hat Satellite
.CHAPTER
. . . . . . . . . . 6.
. . .EMAIL
. . . . . . .NOTIFICATIONS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
..............
6.1. CONFIGURING EMAIL NOTIFICATIONS 35
6.2. TESTING EMAIL DELIVERY 36
6.3. TESTING EMAIL NOTIFICATIONS 36
6.4. NOTIFICATION TYPES 37
6.5. CHANGING EMAIL NOTIFICATION SETTINGS FOR A HOST 37
.CHAPTER
. . . . . . . . . . 7.
. . MANAGING
. . . . . . . . . . . . .SECURITY
. . . . . . . . . . . COMPLIANCE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
..............
7.1. SECURITY CONTENT AUTOMATION PROTOCOL 38
7.2. SCAP CONTENT IN SATELLITE 39
7.2.1. Supported SCAP Versions 39
7.3. COMPLIANCE POLICY DEPLOYMENT OPTIONS 39
7.4. CONFIGURING COMPLIANCE POLICY DEPLOYMENT METHODS 39
7.5. LISTING AVAILABLE SCAP CONTENTS 40
7.6. CONFIGURING SCAP CONTENTS 40
7.6.1. Loading the Default SCAP Contents 40
7.6.2. Getting Supported SCAP Contents for RHEL 41
7.6.3. Uploading Additional SCAP Content 41
7.6.4. Tailoring XCCDF Profiles 42
7.6.5. Uploading a Tailoring File 43
7.7. MANAGING COMPLIANCE POLICIES 43
7.7.1. Compliance Policy 43
7.7.2. Creating a Compliance Policy 43
7.7.3. Viewing a Compliance Policy 44
7.7.4. Editing a Compliance Policy 44
7.7.5. Deleting a Compliance Policy 45
7.8. DEPLOYING COMPLIANCE POLICIES 45
7.8.1. Deploying a Policy in a Host Group Using Ansible 45
7.8.2. Deploying a Policy on a Host Using Ansible 46
7.8.3. Deploying a Policy in a Host Group Using Puppet 47
7.8.4. Deploying a Policy on a Host Using Puppet 47
7.9. RUNNING A SECURITY COMPLIANCE SCAN ON DEMAND 48
7.10. MONITORING COMPLIANCE 49
7.10.1. Searching Compliance Reports 49
7.10.2. Compliance Email Notifications 50
7.10.3. Viewing Compliance Policy Statistics 50
7.10.4. Examining Hosts per Rule Compliance Result 51
7.10.5. Examining Compliance Failures of a Host 51
7.10.6. Deleting a Compliance Report 52
7.10.7. Deleting Multiple Compliance Reports 52
. . . . . . . . . . . 8.
CHAPTER . . .BACKING
. . . . . . . . . .UP
. . . SATELLITE
. . . . . . . . . . . . SERVER
. . . . . . . . . AND
. . . . . CAPSULE
. . . . . . . . . . .SERVER
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
..............
8.1. ESTIMATING THE SIZE OF A BACKUP 54
8.2. PERFORMING A FULL BACKUP OF SATELLITE SERVER OR CAPSULE SERVER 56
8.3. PERFORMING A BACKUP WITHOUT PULP CONTENT 58
8.4. PERFORMING AN INCREMENTAL BACKUP 58
8.5. EXAMPLE OF A WEEKLY FULL BACKUP FOLLOWED BY DAILY INCREMENTAL BACKUPS 59
8.6. PERFORMING AN ONLINE BACKUP 60
8.7. PERFORMING A SNAPSHOT BACKUP 61
8.8. WHITE-LISTING AND SKIPPING STEPS WHEN PERFORMING BACKUPS 61
2
Table of Contents
. . . . . . . . . . . 9.
CHAPTER . . .RESTORING
. . . . . . . . . . . . .SATELLITE
. . . . . . . . . . . .SERVER
. . . . . . . . .OR
. . . CAPSULE
. . . . . . . . . . .SERVER
. . . . . . . . .FROM
. . . . . . .A. .BACKUP
. . . . . . . . . . . . . . . . . . . . . . . . . . . .63
..............
9.1. RESTORING FROM A FULL BACKUP 63
9.2. RESTORING FROM INCREMENTAL BACKUPS 64
9.3. BACKUP AND RESTORE CAPSULE SERVER USING A VIRTUAL MACHINE SNAPSHOT 64
9.3.1. Synchronizing an External Capsule 65
. . . . . . . . . . . 10.
CHAPTER . . . RENAMING
. . . . . . . . . . . . .SATELLITE
. . . . . . . . . . . .SERVER
. . . . . . . . .OR
. . . CAPSULE
. . . . . . . . . . .SERVER
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
..............
10.1. RENAMING SATELLITE SERVER 66
10.2. RENAMING CAPSULE SERVER 67
. . . . . . . . . . . 11.
CHAPTER . . .MAINTAINING
. . . . . . . . . . . . . . .SATELLITE
. . . . . . . . . . . .SERVER
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
..............
11.1. DELETING AUDIT RECORDS 70
11.2. ANONYMIZING AUDIT RECORDS 70
11.3. DELETING REPORT RECORDS 70
11.4. CONFIGURING THE CLEANING UNUSED TASKS FEATURE 70
11.5. DELETING TASK RECORDS 71
11.6. DELETING A TASK BY ID 71
11.7. RECOVERING FROM A FULL DISK 72
11.8. MANAGING PACKAGES ON THE BASE OPERATING SYSTEM OF SATELLITE SERVER OR
CAPSULE SERVER 73
11.9. RECLAIMING POSTGRESQL SPACE 74
11.10. RECLAIMING SPACE FROM ON DEMAND REPOSITORIES 74
. . . . . . . . . . . 12.
CHAPTER . . . RENEWING
. . . . . . . . . . . . THE
. . . . . CUSTOM
. . . . . . . . . .SSL
. . . . .CERTIFICATE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
..............
12.1. RENEWING A CUSTOM SSL CERTIFICATE ON SATELLITE SERVER 76
12.2. RENEWING A CUSTOM SSL CERTIFICATE ON CAPSULE SERVER 77
.CHAPTER
. . . . . . . . . . 13.
. . . LOGGING
. . . . . . . . . . . AND
. . . . . REPORTING
. . . . . . . . . . . . . PROBLEMS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
..............
13.1. ENABLING DEBUG LOGGING 79
13.2. INCREASING THE LOGGING LEVELS TO HELP WITH DEBUGGING 79
13.2.1. Increasing the Logging Level For Hammer 80
13.2.2. Increasing the Logging Level On Capsule 80
13.2.3. Increasing the Logging Level For Candlepin 80
13.2.4. Increasing the Logging Level On Satellite 81
13.2.5. Increasing the Logging Level For Qpid Dispatch Router 81
13.2.6. Increasing the Logging Level For Qpid Broker 82
13.2.7. Increasing the Logging Level For Redis 82
13.2.8. Increasing the Logging Level For Postgres 82
13.2.9. Increasing the Logging Level For Satellite Installer 83
13.2.10. Increasing the Logging Level For Pulp 83
13.2.11. Increasing the Logging Level For Puppet Agent 83
13.2.12. Increasing the Logging Level For Puppet Server 83
13.3. RETRIEVING THE STATUS OF SERVICES 84
13.4. RESTARTING SERVICES 84
13.5. ENABLING INDIVIDUAL LOGGERS 85
13.6. CONFIGURING LOGGING TO JOURNAL OR FILE-BASED LOGGING 86
13.7. LOG FILE DIRECTORIES PROVIDED BY SATELLITE 86
13.8. UTILITIES FOR COLLECTING LOG INFORMATION 87
13.9. SYSTEM JOURNAL METADATA 87
. . . . . . . . . . . 14.
CHAPTER . . . CONFIGURING
. . . . . . . . . . . . . . . . EXTERNAL
. . . . . . . . . . . . AUTHENTICATION
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
..............
14.1. USING LDAP 91
14.1.1. Configuring TLS for Secure LDAP 91
14.1.2. Configuring Red Hat Satellite to use LDAP 92
3
Red Hat Satellite 6.11 Administering Red Hat Satellite
. . . . . . . . . . . 15.
CHAPTER . . . MONITORING
. . . . . . . . . . . . . . .RESOURCES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
...............
15.1. USING THE RED HAT SATELLITE CONTENT DASHBOARD 122
15.1.1. Managing Tasks 125
15.2. CONFIGURING RSS NOTIFICATIONS 126
15.3. MONITORING SATELLITE SERVER 126
15.4. MONITORING CAPSULE SERVER 126
15.4.1. Viewing General Capsule Information 126
15.4.2. Monitoring Services 127
15.4.3. Monitoring Puppet 127
.CHAPTER
. . . . . . . . . . 16.
. . . USING
. . . . . . . .WEBHOOKS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
...............
16.1. MIGRATING TO WEBHOOKS 129
16.2. INSTALLING WEBHOOKS 130
4
Table of Contents
. . . . . . . . . . . 17.
CHAPTER . . . SEARCHING
. . . . . . . . . . . . . AND
. . . . . .BOOKMARKING
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138
...............
17.1. BUILDING SEARCH QUERIES 138
17.1.1. Query Syntax 138
17.1.2. Query Operators 138
17.1.3. Query Values 139
17.2. USING FREE TEXT SEARCH 140
17.3. MANAGING BOOKMARKS 140
17.3.1. Creating Bookmarks 141
17.3.2. Deleting Bookmarks 141
. . . . . . . . . . . .A.
APPENDIX . . ADMINISTRATION
. . . . . . . . . . . . . . . . . . . .SETTINGS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142
...............
A.1. GENERAL SETTINGS 142
A.2. SATELLITE TASK SETTINGS 143
A.3. TEMPLATE SYNC SETTINGS 144
A.4. DISCOVERED SETTINGS 145
A.5. BOOT DISK SETTINGS 147
A.6. RED HAT CLOUD SETTINGS 148
A.7. CONTENT SETTINGS 148
A.8. AUTHENTICATION SETTINGS 152
A.9. EMAIL SETTINGS 155
A.10. NOTIFICATIONS SETTINGS 156
A.11. PROVISIONING SETTINGS 156
A.12. FACTS SETTINGS 160
A.13. CONFIGURATION MANAGEMENT SETTINGS 161
A.14. REMOTE EXECUTION SETTINGS 162
A.15. ANSIBLE SETTINGS 164
5
Red Hat Satellite 6.11 Administering Red Hat Satellite
6
PROVIDING FEEDBACK ON RED HAT DOCUMENTATION
3. In the Description field, enter your suggestion for improvement. Include a link to the relevant
parts of the documentation.
7
Red Hat Satellite 6.11 Administering Red Hat Satellite
Prerequisites
Procedure
# hostname -f
2. Access the pub directory on your Satellite Server using a web browser pointed to the fully
qualified domain name:
https://satellite.example.com/pub
3. When you access Satellite for the first time, an untrusted connection warning displays in your
web browser. Accept the self-signed certificate and add the Satellite URL as a security
exception to override the settings. This procedure might differ depending on the browser being
used. Ensure that the Satellite URL is valid before you accept the security exception.
4. Select katello-server-ca.crt.
5. Import the certificate into your browser as a certificate authority and trust it to identify
websites.
1. From the Satellite CLI, copy the katello-server-ca.crt file to the machine you use to access the
Satellite web UI:
2. In the browser, import the katello-server-ca.crt certificate as a certificate authority and trust it
to identify websites.
Prerequisites
Ensure that the Katello root CA certificate is installed in your browser. For more information, see
8
CHAPTER 1. ACCESSING RED HAT SATELLITE
Ensure that the Katello root CA certificate is installed in your browser. For more information, see
Section 1.1, “Installing the Katello Root CA Certificate” .
Procedure
1. Access Satellite Server using a web browser pointed to the fully qualified domain name:
https://satellite.example.com/
2. Enter the user name and password created during the configuration process. If a user was not
created during the configuration process, the default user name is admin. If you have problems
logging on, you can reset the password. For more information, see Section 1.5, “Resetting the
Administrative User Password”.
Any Context Clicking this tab changes the organization and location. If no organization or location
is selected, the default organization is Any Organization and the default location is
Any Location. Use this tab to change to different values.
Content Provides content management tools. This includes Content Views, Activation Keys,
and Life Cycle Environments.
Configure Provides general configuration tools and data including Host Groups and Puppet
data.
Infrastructure Provides tools on configuring how Satellite interacts with the environment.
User Name Provides user administration where users can edit their personal information.
Administer Provides advanced configuration for settings such as Users and RBAC, as well as
general settings.
Procedure
9
Red Hat Satellite 6.11 Administering Red Hat Satellite
Procedure
# foreman-rake permissions:reset
Reset to user: admin, password: qwJxBptxb7Gfcjj5
3. Use this password to reset the password in the Satellite web UI.
# vi ~/.hammer/cli.modules.d/foreman.yml
Unless you update the ~/.hammer/cli.modules.d/foreman.yml file, you cannot use the new password
with Hammer CLI.
# vi ~/.hammer/cli.modules.d/foreman.yml
Unless you update the ~/.hammer/cli.modules.d/foreman.yml file, you cannot use the new password
with Hammer CLI.
10
CHAPTER 1. ACCESSING RED HAT SATELLITE
Procedure
1. In the Satellite web UI, navigate to Administer > Settings, and click the General tab.
2. Click the edit button next to Login page footer text, and enter the desired text to be displayed
on the login page. For example, this text may be a warning message required by your company.
3. Click Save.
4. Log out of the Satellite web UI and verify that the custom text is now displayed on the login
page below the Satellite version number.
11
Red Hat Satellite 6.11 Administering Red Hat Satellite
After installing Satellite with the satellite-installer command, all Satellite services are started and
enabled automatically. View the list of these services by executing:
12
CHAPTER 3. MIGRATING FROM INTERNAL SATELLITE DATABASES TO EXTERNAL DATABASES
To confirm whether your Satellite Server has internal or external databases, you can query the status of
your databases:
Red Hat does not provide support or tools for external database maintenance. This includes backups,
upgrades, and database tuning. You must have your own database administrator to support and
maintain external databases.
To migrate from the default internal databases to external databases, you must complete the following
procedures:
1. Section 3.2, “Preparing a Host for External Databases” . Prepare a Red Hat Enterprise Linux 8 or
Red Hat Enterprise Linux 7 server to host the external databases.
2. Section 3.3, “Installing PostgreSQL” . Prepare PostgreSQL with databases for Satellite, Pulp and
Candlepin with dedicated users owning them.
Flexibility to set shared_buffers on the PostgreSQL database to a high number without the risk
of interfering with other services on Satellite
Flexibility to tune the PostgreSQL server’s system without adversely affecting Satellite
operations
If either Satellite or the PostgreSQL database server suffers a hardware or storage failure,
13
Red Hat Satellite 6.11 Administering Red Hat Satellite
If either Satellite or the PostgreSQL database server suffers a hardware or storage failure,
Satellite is not operational
If there is latency between the Satellite server and database server, performance can suffer
If you suspect that the PostgreSQL database on your Satellite is causing performance problems, use
the information in Satellite 6: How to enable postgres query logging to detect slow running queries to
determine if you have slow queries. Queries that take longer than one second are typically caused by
performance issues with large installations, and moving to an external database might not help. If you
have slow queries, contact Red Hat Support.
Subscriptions for Red Hat Software Collections and Red Hat Enterprise Linux do not provide the correct
service level agreement for using Satellite with external databases. You must also attach a Satellite
subscription to the base operating system that you want to use for the external databases.
Prerequisites
Procedure
1. Use the instructions in Attaching the Satellite Infrastructure Subscription to attach a Satellite
subscription to your server.
NOTE
14
CHAPTER 3. MIGRATING FROM INTERNAL SATELLITE DATABASES TO EXTERNAL DATABASES
NOTE
Procedure
# postgresql-setup initdb
# vi /var/lib/pgsql/data/postgresql.conf
listen_addresses = '*'
# vi /var/lib/pgsql/data/pg_hba.conf
15
Red Hat Satellite 6.11 Administering Red Hat Satellite
# firewall-cmd --add-service=postgresql
# firewall-cmd --runtime-to-permanent
$ su - postgres -c psql
10. Create three databases and dedicated roles: one for Satellite, one for Candlepin, and one for
Pulp:
# \q
12. From Satellite Server, test that you can access the database. If the connection succeeds, the
commands return 1.
Procedure
# postgresql-setup initdb
16
CHAPTER 3. MIGRATING FROM INTERNAL SATELLITE DATABASES TO EXTERNAL DATABASES
# vi /var/opt/rh/rh-postgresql12/lib/pgsql/data/postgresql.conf
listen_addresses = '*'
# vi /var/opt/rh/rh-postgresql12/lib/pgsql/data/pg_hba.conf
# firewall-cmd --add-service=postgresql
# firewall-cmd --runtime-to-permanent
$ su - postgres -c psql
10. Create three databases and dedicated roles: one for Satellite, one for Candlepin, and one for
Pulp:
# \q
12. From Satellite Server, test that you can access the database. If the connection succeeds, the
commands return 1.
17
Red Hat Satellite 6.11 Administering Red Hat Satellite
Prerequisites
You have installed and configured a PostgreSQL server on a Red Hat Enterprise Linux server.
Procedure
5. Use the satellite-installer command to update Satellite to point to the new databases:
18
CHAPTER 4. MANAGING SATELLITE WITH ANSIBLE COLLECTIONS
Prerequisite
Ensure that the Ansible 2.9 or later repository is enabled and the ansible package is updated:
Procedure
# ls /usr/share/ansible/collections/ansible_collections/redhat/satellite/plugins/modules/
NOTE
At the time of writing, the ansible-doc -l command does not list collections yet.
Alternatively, you can also see the complete list of Satellite Ansible modules and other related
information at Red Hat Ansible Automation Platform .
All modules are in the redhat.satellite namespace and can be referred to in the format
redhat.satellite._module_name_. For example, to display information about the activation_key
module, enter the following command:
$ ansible-doc redhat.satellite.activation_key
19
Red Hat Satellite 6.11 Administering Red Hat Satellite
You can manage permissions of several users at once by organizing them into user groups. User groups
themselves can be further grouped to create a hierarchy of permissions. For more information on
creating user groups, see Section 5.4, “Creating and Managing User Groups” .
Roles define a set of permissions and access levels. Each role contains one on more permission filters
that specify the actions allowed for the role. Actions are grouped according to the Resource type. Once
a role has been created, users and user groups can be associated with that role. This way, you can assign
the same set of permissions to large groups of users. Satellite provides a set of predefined roles and
also enables creating custom roles and permission filters as described in Section 5.5, “Creating and
Managing Roles”.
Procedure
4. In the Firstname and Lastname fields, enter the real first name and last name of the user.
7. Select a specific language for the user from the Language list.
a. From the Authorized by list, select the source by which the user is authenticated.
20
CHAPTER 5. MANAGING USERS AND ROLES
b. Enter an initial password for the user in the Password field and the Verify field.
CLI procedure
The --auth-source-id 1 setting means that the user is authenticated internally, you can specify
an external authentication source as an alternative. Add the --admin option to grant
administrator privileges to the user. Specifying organization IDs is not required, you can modify
the user details later using the update subcommand.
For more information about user related subcommands, enter hammer user --help.
Procedure
NOTE
If a user account is not listed, check that you are currently viewing the correct
organization. To list all the users in Satellite, click Default Organization and then
Any Organization.
7. Click Submit.
To view the roles assigned to a user, click the Roles tab; the assigned roles are listed under Selected
items. To remove an assigned role, click the role name in Selected items.
CLI procedure
21
Red Hat Satellite 6.11 Administering Red Hat Satellite
Audits are created to record the actions that the administrator performs while impersonating another
user. However, all actions that an administrator performs while impersonating another user are recorded
as having been performed by the impersonated user.
Prerequisites
Ensure that you are logged on to the Satellite web UI as a user with administrator privileges for
Satellite.
Procedure
2. To the right of the user that you want to impersonate, from the list in the Actions column, select
Impersonate.
When you want to stop the impersonation session, in the upper right of the main menu, click the
impersonation icon.
Prerequisite
1. You have created a user and assigned roles to them. Note that this user must be authorized
internally. For more information, see Creating a User and Assigning Roles to a User .
Procedure
3. On the User tab, set a password. Do not save or communicate this password with others. You
can create pseudo-random strings on your console:
4. Create a Personal Access Token for the user. For more information, see Section 5.3.1, “Creating
a Personal Access Token”.
22
CHAPTER 5. MANAGING USERS AND ROLES
For information on SSH keys and SSH key creation, see Using SSH-based Authentication in the Red Hat
Enterprise Linux 7 System Administrator’s Guide.
Prerequisites
Ensure that you are logged in to the Satellite web UI as an Admin user of Red Hat Satellite or a user with
the create_ssh_key permission enabled for adding SSH key and destroy_ssh_key permission for
removing a key.
Procedure
2. From the Username column, click on the username of the required user.
iii. In the Key field, paste the public SSH key content from the clipboard.
iv. In the Name field, enter a name for the SSH key.
v. Click Submit.
CLI procedure
To add an SSH key to a user, you must specify either the path to the public SSH key file, or the content
of the public SSH key copied to the clipboard.
If you have the public SSH key file, enter the following command:
23
Red Hat Satellite 6.11 Administering Red Hat Satellite
If you have the content of the public SSH key, enter the following command:
Procedure
2. Select a user for which you want to create a Personal Access Token.
3. On the Personal Access Tokens tab, click Add Personal Access Token.
5. Optional: Select the Expires date to set an expiration date. If you do not set an expiration date,
your Personal Access Token will never expire unless revoked.
6. Click Submit. You now have the Personal Access Token available to you on the Personal Access
Tokens tab.
IMPORTANT
Ensure to store your Personal Access Token as you will not be able to access it
again after you leave the page or create a new Personal Access Token. You can
click Copy to clipboard to copy your Personal Access Token.
24
CHAPTER 5. MANAGING USERS AND ROLES
Verification
1. Make an API request to your Satellite Server and authenticate with your Personal Access Token:
{"satellite_version":"6.11.0","result":"ok","status":200,"version":"3.5.1.10","api_version":2}
If you go back to Personal Access Tokens tab, you can see the updated Last Used time next to
your Personal Access Token.
Procedure
2. Select a user for which you want to revoke the Personal Access Token.
3. On the Personal Access Tokens tab, locate the Personal Access Token you want to revoke.
4. Click Revoke in the Actions column next to the Personal Access Token you want to revoke.
Verification
1. Make an API request to your Satellite Server and try to authenticate with the revoked Personal
Access Token:
{
"error": {"message":"Unable to authenticate user My_Username"}
}
User groups are defined in an organizational context, meaning that you must select an organization
before you can access user groups.
25
Red Hat Satellite 6.11 Administering Red Hat Satellite
Procedure
3. On the User Group tab, specify the name of the new user group and select group members:
Select the previously created user groups from the User Groups list.
4. On the Roles tab, select the roles you want to assign to the user group. Alternatively, select the
Admin checkbox to assign all available permissions.
5. Click Submit.
CLI procedure
Procedure
2. Click Delete to the right of the user group you want to delete.
Procedure
26
CHAPTER 5. MANAGING USERS AND ROLES
CLI procedure
To serve its purpose, a role must contain permissions. After creating a role, proceed to Section 5.5.3,
“Adding Permissions to a Role”.
Procedure
1. In the Satellite web UI, navigate to Administer > Roles and select Clone from the drop-down
menu to the right of the required role.
Procedure
2. Select Add Filter from the drop-down list to the right of the required role.
3. Select the Resource type from the drop-down list. The (Miscellaneous) group gathers
permissions that are not associated with any resource group.
4. Click the permissions you want to select from the Permission list.
5. Depending on the Resource type selected, you can select or deselect the Unlimited and
Override checkbox. The Unlimited checkbox is selected by default, which means that the
permission is applied on all resources of the selected type. When you disable the Unlimited
27
Red Hat Satellite 6.11 Administering Red Hat Satellite
checkbox, the Search field activates. In this field you can specify further filtering with use of the
Satellite search syntax. For more information, see Section 5.7, “Granular Permission Filtering” .
When you enable the Override checkbox, you can add additional locations and organizations to
allow the role to access the resource type in the additional locations and organizations; you can
also remove an already associated location and organization from the resource type to restrict
access.
6. Click Next.
CLI procedure
For more information about roles and permissions parameters, enter the hammer role --help and
hammer filter --help commands.
Procedure
2. Click Filters to the right of the required role to get to the Filters page.
The Filters page contains a table of permissions assigned to a role grouped by the resource type. It is
also possible to generate a complete table of permissions and actions that you can use on your Satellite
system. For more information, see Section 5.5.5, “Creating a Complete Permission Table” .
Procedure
1. Ensure that the required packages are installed. Execute the following command on
Satellite Server:
# foreman-rake console
28
CHAPTER 5. MANAGING USERS AND ROLES
f = File.open('/tmp/table.html', 'w')
f.write(result)
The above syntax creates a table of permissions and saves it to the /tmp/table.html file.
3. Press Ctrl + D to exit the Satellite console. Insert the following text at the first line of
/tmp/table.html:
</table>
Procedure
2. Select Delete from the drop-down list to the right of the role to be deleted.
To view the exact set of permissions a predefined role grants, display the role in Satellite web UI as the
privileged user. For more information, see Section 5.5.4, “Viewing Permissions of a Role” .
29
Red Hat Satellite 6.11 Administering Red Hat Satellite
Ansible Roles Play roles on hosts and host groups. View, destroy, and import Ansible roles. View,
Manager edit, create, destroy, and import Ansible variables.
Compliance manager View, create, edit, and destroy SCAP content files, compliance policies, and tailoring
files. View compliance reports.
Default role The set of permissions that every user is granted, irrespective of any other roles.
Discovery Manager View, provision, edit, and destroy discovered hosts and manage discovery rules.
Edit partition tables View, create, edit and destroy partition tables.
An administrator role defined per organization. The role has no visibility into
resources in other organizations.
By cloning this role and assigning an organization, you can delegate administration of
that organization to a user.
Red Hat Access Logs View the log viewer and the logs.
Remote Execution Control which roles have permission to run infrastructure jobs.
Manager
30
CHAPTER 5. MANAGING USERS AND ROLES
System admin
Edit global settings in Administer > Settings.
View, create, edit and destroy users, user groups, and roles.
View, create, edit, destroy, and assign organizations and locations but not
view resources within them.
Users with this role can create users and assign all roles to them. Therefore, ensure to
give this role only to trusted users.
Viewer A passive role that provides the ability to view the configuration of every element of
the Satellite structure, logs, reports, and statistics.
Virt-who Reporter Upload reports generated by virt-who to Satellite. It can be used if you configure virt-
who manually and require a user role that has limited virt-who permissions.
Virt-who Viewer View virt-who configurations. Users with this role can deploy virt-who instances using
existing virt-who configurations.
Satellite does not apply search conditions to create actions. For example, limiting the create_locations
action with name = "Default Location" expression in the search field does not prevent the user from
assigning a custom name to the newly created location.
31
Red Hat Satellite 6.11 Administering Red Hat Satellite
Procedure
Specify a query in the Search field on the Edit Filter page. Deselect the Unlimited checkbox for the
field to be active. Queries have the following form:
field_name marks the field to be queried. The range of available field names depends on the
resource type. For example, the Partition Table resource type offers family, layout, and name as
query parameters.
operator specifies the type of comparison between field_name and value. See Section 5.7.4,
“Supported Operators for Granular Search” for an overview of applicable operators.
value is the value used for filtering. This can be for example a name of an organization. Two
types of wildcard characters are supported: underscore (_) provides single character
replacement, while percent sign (%) replaces zero or more characters.
For most resource types, the Search field provides a drop-down list suggesting the available
parameters. This list appears after placing the cursor in the search field. For many resource types, you
can combine queries using logical operators such as and, not and has operators.
CLI procedure
To create a granular filter, enter the hammer filter create command with the --search option to
limit permission filters, for example:
This command adds to the qa-user role a permission to view, create, edit, and destroy Content Views
that only applies to Content Views with name starting with ccv.
The following query applies any permissions specified for the Host resource type only to hosts in the
group named host-editors.
hostgroup = host-editors
The following query returns records where the name matches XXXX, Yyyy, or zzzz example strings:
You can also limit permissions to a selected environment. To do so, specify the environment name in the
Search field, for example:
32
CHAPTER 5. MANAGING USERS AND ROLES
Dev
You can limit user permissions to a certain organization or location with the use of the granular
permission filter in the Search field. However, some resource types provide a GUI alternative, an
Override checkbox that provides the Locations and Organizations tabs. On these tabs, you can select
from the list of available organizations and locations. For more information, see Section 5.7.3.2,
“Creating an Organization Specific Manager Role”.
Use the Satellite web UI to create an administrative role restricted to a single organization named org-1.
Procedure
2. Clone the existing Organization admin role. Select Clone from the drop-down list next to the
Filters button. You are then prompted to insert a name for the cloned role, for example org-1
admin.
3. Click the desired locations and organizations to associate them with the role.
5. Click org-1 admin, and click Filters to view all associated filters. The default filters work for most
use cases. However, you can optionally click Edit to change the properties for each filter. For
some filters, you can enable the Override option if you want the role to be able to access
resources in additional locations and organizations. For example, by selecting the Domain
resource type, the Override option, and then additional locations and organizations using the
Locations and Organizations tabs, you allow this role to access domains in the additional
locations and organizations that is not associated with this role. You can also click New filter to
associate new filters with this role.
Operator Description
Operator Description
33
Red Hat Satellite 6.11 Administering Red Hat Satellite
^ In. An equality comparison that is case-sensitive search for text fields. This generates
a different SQL query to the Is equal to comparison, and is more efficient for multiple
value comparison.
>, >= Greater than, greater than or equal to. Supported for numerical fields only.
<, ⇐ Less than, less than or equal to. Supported for numerical fields only.
34
CHAPTER 6. EMAIL NOTIFICATIONS
Host build
Repository sync
Users do not receive any email notifications by default. An administrator can configure users to receive
notifications based on criteria such as the type of notification, and frequency.
NOTE
If you want email notifications sent to a group’s email address, instead of an individual’s
email address, create a user account with the group’s email address and minimal Satellite
permissions, then subscribe the user account to the desired notification types.
IMPORTANT
Satellite Server does not enable outgoing emails by default, therefore you must review
your email configuration. For more information, see Configuring Satellite Server for
Outgoing Emails in Installing Satellite Server from a Connected Network .
Configure email notifications for a user from the Satellite web UI.
Procedure
3. On the User tab, verify the value of the Mail field. Email notifications will be sent to the address
in this field.
5. Select the notifications you want the user to receive using the drop-down menus next to the
notification types.
NOTE
35
Red Hat Satellite 6.11 Administering Red Hat Satellite
NOTE
The Audit Summary notification can be filtered by entering the required query in
the Mail Query text box.
6. Click Submit.
The user will start receiving the notification emails.
Procedure
If the email is delivered, the verification is complete. Otherwise, you must perform the following
diagnostic steps:
Procedure
# foreman-rake reports:_My_Frequency_
daily
weekly
monthly
This triggers all notifications scheduled for the specified frequency for all the subscribed users. If every
subscribed user receives the notifications, the verification succeeds.
NOTE
36
CHAPTER 6. EMAIL NOTIFICATIONS
NOTE
Host errata advisory: A summary of applicable and installable errata for hosts managed by the
user.
OpenSCAP policy summary: A summary of OpenSCAP policy reports and their results.
Promote errata: A notification sent only after a Content View promotion. It contains a summary
of errata applicable and installable to hosts registered to the promoted Content View. This
allows a user to monitor what updates have been applied to which hosts.
Puppet error state: A notification sent after a host reports an error related to Puppet.
Sync errata: A notification sent only after synchronizing a repository. It contains a summary of
new errata introduced by the synchronization.
Receiving email notifications for a host can be useful, but also overwhelming if you are expecting to
receive frequent errors, for example, because of a known issue or error you are working around.
Procedure
1. In the Satellite web UI, navigate to Hosts > All Hosts, locate the host that you want to view, and
click Edit in the Actions column.
2. Go to the Additional Information tab. If the checkbox Include this host within Satellite
reporting is checked, then the email notifications are enabled on that host.
NOTE
If you want to receive email notifications, ensure that you have an email address
set in your user settings.
37
Red Hat Satellite 6.11 Administering Red Hat Satellite
With Satellite, you can schedule compliance auditing and reporting on all registered hosts.
SCAP is a framework of several specifications based on XML, such as checklists described in the
Extensible Checklist Configuration Description Format (XCCDF) and vulnerabilities described in the
Open Vulnerability and Assessment Language (OVAL). These specifications are encapsulated as data
stream files.
Checklist items in XCCDF, also known as rules, express the desired configuration of a system item. For
example, a rule may specify that no one can log in to a host over SSH using the root user account. Rules
can be grouped into one or more XCCDF profiles, which allows multiple profiles to share a rule.
The OpenSCAP scanner tool evaluates system items on a host against the rules and generates a report
in the Asset Reporting Format (ARF), which is then returned to Satellite for monitoring and analysis.
Table 7.1. Specifications in the SCAP Framework 1.3 supported by the OpenSCAP scanner
Additional resources
38
CHAPTER 7. MANAGING SECURITY COMPLIANCE
In Satellite, you use an XCCDF profile from SCAP content and, eventually, a tailoring file, to define a
compliance policy. Satellite includes default SCAP contents from SCAP Security Guide provided by the
OpenSCAP project.
For more information on how to download, deploy, modify, and create your own content, see:
Ansible deployment
You use an Ansible role to configure hosts for compliance scans.
Puppet deployment
You use a Puppet class and the Puppet agent to configure hosts for compliance scans.
Manual deployment
You manually configure hosts for compliance scans.
2. Assign the created policy and the theforeman.foreman_scap_client Ansible role to a host or
host group.
3. To trigger the deployment, run the Ansible role on the host or host group either manually, or set
39
Red Hat Satellite 6.11 Administering Red Hat Satellite
3. To trigger the deployment, run the Ansible role on the host or host group either manually, or set
up a recurring job by using remote execution for regular policy updates.
For more information, see Configuring and Setting Up Remote Jobs in Managing Hosts.
3. Import the Puppet environment that contains the foreman_scap_client Puppet module.
For more information, see Managing Configurations Using Puppet Integration in Red Hat
Satellite.
4. Assign the created policy and the foreman_scap_client Puppet class to a host or host group.
Puppet triggers the deployment on the next regular run or you can run Puppet manually. Puppet
runs every 30 minutes by default.
Prerequisite
Procedure
In the Satellite web UI, navigate to Hosts > Compliance – SCAP contents.
CLI procedure
40
CHAPTER 7. MANAGING SECURITY COMPLIANCE
Prerequisites
Your user account has a role assigned that has the create_scap_contents permission.
Procedure
Procedure
2. From the Version menu, select the latest SSG version for the minor version of RHEL that your
hosts are running. For example, for RHEL 8.6, select a version named *.el8_6.
4. Extract the data-stream file (*-ds.xml) from the RPM. For example:
$ rpm2cpio scap-security-guide-0.1.69-3.el8_6.noarch.rpm \
| cpio -iv --to-stdout ./usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml \
> ssg-rhel-8.6-ds.xml
5. Upload the data stream to Satellite. For more information, see Section 7.6.3, “Uploading
Additional SCAP Content”.
Additional resources
Supported versions of the SCAP Security Guide in RHEL in the Red Hat Knowledgebase
SCAP Security Guide profiles supported in RHEL 9 in Red Hat Enterprise Linux 9 Security
hardening
SCAP Security Guide profiles supported in RHEL 8 in Red Hat Enterprise Linux 8 Security
hardening
SCAP Security Guide profiles supported in RHEL 7 in Red Hat Enterprise Linux 7 Security Guide
You can upload additional SCAP content into Satellite Server, either content created by yourself or
41
Red Hat Satellite 6.11 Administering Red Hat Satellite
You can upload additional SCAP content into Satellite Server, either content created by yourself or
obtained elsewhere. Note that Red Hat only provides support for SCAP content obtained from Red Hat.
To use the CLI instead of the Satellite web UI, see the CLI procedure.
Prerequisite
Procedure
1. In the Satellite web UI, navigate to Hosts > Compliance > SCAP contents.
4. In Scap File, click Choose file, navigate to the location containing a SCAP data-stream file and
click Open.
7. Click Submit.
If the SCAP content file is loaded successfully, a message similar to Successfully created My SCAP
Content is displayed.
CLI procedure
1. Place the SCAP data-stream file to a directory on your Satellite Server, such as
/usr/share/xml/scap/my_content/.
Verification
List the available SCAP contents . The list of SCAP contents includes the new title.
You can create a tailoring file using the SCAP Workbench tool. For more information on using the SCAP
Workbench tool, see Customizing SCAP Security Guide for your use case .
Then you can assign a tailoring file to a compliance policy to customize an XCCDF profile in the policy.
42
CHAPTER 7. MANAGING SECURITY COMPLIANCE
Prerequisite
Procedure
1. In the Satellite web UI, navigate to Hosts > Compliance – Tailoring Files and click New
Tailoring File.
3. Click Choose File, navigate to the location containing the tailoring file and select Open.
You specify the schedule for scans on Satellite Server and the scans are performed on hosts. When a
scan completes, a report in ARF format is generated and uploaded to Satellite Server. The compliance
policy makes no changes to the scanned host.
A compliance policy defines a SCAP client configuration and a cron schedule. The policy is then
deployed together with the SCAP client on hosts to which the policy is assigned.
Prerequisites
You have configured Satellite for your selected compliance policy deployment method .
You have available SCAP contents, and eventually tailoring files, in Satellite.
To verify what SCAP contents are available, see Section 7.5, “Listing Available SCAP
Contents”.
To upload SCAP contents and tailoring files, see Section 7.6, “Configuring SCAP Contents”.
43
Red Hat Satellite 6.11 Administering Red Hat Satellite
Procedure
3. Select the deployment method: Ansible, Puppet, or Manual. Then click Next.
4. Enter a name for this policy, a description (optional), then click Next.
5. Select the SCAP Content and XCCDF Profile to be applied, then click Next.
Note that Satellite does not detect whether the selected XCCDF profile contains any rules. An
empty XCCDF profile, such as the Default XCCDF Profile, will return empty reports.
6. Optional: To customize the XCCDF profile, select a Tailoring File and a XCCDF Profile in
Tailoring File, then click Next.
7. Specify the scheduled time when the policy is to be applied. Select Weekly, Monthly, or
Custom from the Period list. The Custom option allows for greater flexibility in the policy’s
schedule.
If you select Weekly, also select the desired day of the week from the Weekday list.
If you select Monthly, also specify the desired day of the month in the Day of month field.
If you select Custom, enter a valid Cron expression in the Cron line field.
8. Select the locations to which to apply the policy, then click Next.
9. Select the organizations to which to apply the policy, then click Next.
10. Optional: Select the host groups to which to assign the policy.
Prerequisite
Procedure
2. In the Actions column of the required policy, click Show Guide or select it from the list.
44
CHAPTER 7. MANAGING SECURITY COMPLIANCE
Puppet agent applies an edited policy to the host on the next run. By default, this occurs every 30
minutes. If you use Ansible, you must run the Ansible role manually again or have configured a recurring
remote execution job that runs the Ansible role on hosts.
Prerequisite
Procedure
4. Click Submit.
Prerequisite
Procedure
2. In the Actions column of the required policy, select Delete from the list.
Prerequisites
You have enabled OpenSCAP on your Capsule. For more information, see Enabling OpenSCAP
on Capsule Servers in Installing Capsule Server .
You have enabled and synced the Satellite Client 6 repository to Satellite, and enabled it on the
hosts.
You have created a compliance policy with the Ansible deployment option and assigned the
host group.
45
Red Hat Satellite 6.11 Administering Red Hat Satellite
Procedure
2. Click the host group that you want to configure for OpenSCAP reporting.
3. From the OpenSCAP Capsule list, select the Capsule with OpenSCAP enabled that you want to
use.
5. Optional: On the Parameters tab, configure any Ansible variables of the role.
7. In the row of the required host group, navigate to the Actions column and select Run all Ansible
roles.
Prerequisites
You have enabled OpenSCAP on your Capsule. For more information, see Enabling OpenSCAP
on Capsule Servers in Installing Capsule Server .
You have enabled and synced the Satellite Client 6 repository to Satellite, and enabled it on the
host.
You have created a compliance policy with the Ansible deployment option.
Procedure
1. In the Satellite web UI, navigate to Hosts > All Hosts, and select Edit on the host you want to
configure for OpenSCAP reporting.
2. From the OpenSCAP Capsule list, select the Capsule with OpenSCAP enabled that you want to
use.
4. Optional: On the Parameters tab, configure any Ansible variables of the role.
6. Click the Hosts breadcrumbs link to navigate back to the host index page.
7. Select the host or hosts to which you want to add the policy.
10. In the Assign Compliance Policy window, select Remember hosts selection for the next bulk
action.
46
CHAPTER 7. MANAGING SECURITY COMPLIANCE
11. Select the required policy from the list of available policies and click Submit.
Prerequisites
You have enabled OpenSCAP on your Capsule. For more information, see Enabling OpenSCAP
on Capsule Servers in Installing Capsule Server .
You have enabled and synced the Satellite Client 6 repository to Satellite, and enabled it on the
hosts.
You have created a compliance policy with the Puppet deployment option and assigned the
host group.
Procedure
2. Click the host group that you want to configure for OpenSCAP reporting.
3. In the Environment list, select the Puppet environment that contains the
foreman_scap_client* Puppet classes.
4. In the OpenSCAP Capsule list, select the Capsule with OpenSCAP enabled that you want to
use.
Prerequisites
You have enabled OpenSCAP on your Capsule. For more information, see Enabling OpenSCAP
on Capsule Servers in Installing Capsule Server .
You have enabled and synced the Satellite Client 6 repository to Satellite, and enabled it on the
host.
You have created a compliance policy with the Puppet deployment option.
47
Red Hat Satellite 6.11 Administering Red Hat Satellite
Procedure
1. In the Satellite web UI, navigate to Hosts > All Hosts, and select Edit on the host you want to
configure for OpenSCAP reporting.
2. From the Environment list, select the Puppet environment that contains the
foreman_scap_client and foreman_scap_client::params Puppet classes.
3. From the OpenSCAP Capsule list, select the Capsule with OpenSCAP enabled that you want to
use.
6. Click the Hosts breadcrumbs link to navigate back to the host index page.
7. Select the host or hosts to which you want to add the policy.
10. In the Assign Compliance Policy window, select Remember hosts selection for the next bulk
action.
11. Select the required policy from the list of available policies and click Submit.
Prerequisites
For more information about managing policies, see Section 7.7, “Managing Compliance
Policies”.
For more information about deploying policies, see Section 7.8, “Deploying Compliance
Policies”.
Procedure
3. On the host details page, expand the Schedule a job dropdown menu.
48
CHAPTER 7. MANAGING SECURITY COMPLIANCE
Verification
2. Select the Running tab. Unless the job has already finished, the table shows a job called Run
scan for all OpenSCAP policies.
4. If the job has finished successfully, you should see the succeeded status in the row of the job.
Procedure
2. Optional: To see a list of available search parameters, click the empty Search field.
3. Enter the search query in the Search field and click Search. The search query is case insensitive.
Find all compliance reports for which more than five rules failed
failed > 5
Find all compliance reports created after January 1, 2023, for hosts with hostnames that contain
prod-
Find all reports generated by the rhel7_audit compliance policy from an hour ago
"1 hour ago" AND compliance_policy = date = "1 hour ago" AND compliance_policy = rhel7_audit
xccdf_rule_passed = xccdf_org.ssgproject.content_rule_firefox_preferences-auto-download_actions
49
Red Hat Satellite 6.11 Administering Red Hat Satellite
xccdf_rule_failed = xccdf_org.ssgproject.content_rule_firefox_preferences-auto-download_actions
Find reports that have a result different than fail or pass for an XCCDF rule
xccdf_rule_othered = xccdf_org.ssgproject.content_rule_firefox_preferences-auto-download_actions
Additional Information
You can create complex queries with the following logical operators: and, not and has. For
more information about logical operators, see Supported Operators for Granular Search in
Administering Red Hat Satellite .
You cannot use regular expressions in a search query. However, you can use multiple fields in a
single search expression. For more information about all available search operators, see
Supported Operators for Granular Search in Administering Red Hat Satellite .
You can bookmark a search to reuse the same search query. For more information, see Creating
Bookmarks in Administering Red Hat Satellite .
Each time a policy is run, Satellite checks the results against the previous run, noting any changes
between them. The email is sent according to the frequency requested by each subscriber, providing a
summary of each policy and its most recent result.
Prerequisite
Procedure
2. In the row of the required policy, navigate to the Actions column and click Dashboard.
50
CHAPTER 7. MANAGING SECURITY COMPLIANCE
Prerequisite
Procedure
2. In the Reported At column, navigate to the report of the required host and compliance policy,
and click the time link.
3. Satellite displays a simplified list of policy rules with the results of the scan.
4. Optional: Filter the rules by check result. From the Show log messages dropdown list, select
one of the following filters:
Failed and othered – to view rules that have failed or have not been checked during the
scan,
5. Optional: Examine the details of the rule. In the Message column, click the icon next to the
name of the rule.
6. In the row of the required rule, navigate to the Actions column and click Hosts failing this rule.
WARNING
Do not implement any of the recommended remedial actions or scripts without first
testing them in a non-production environment. Remediation might render the
system non-functional.
Introduction
Evaluation Characteristics
Rule Overview
51
Red Hat Satellite 6.11 Administering Red Hat Satellite
Prerequisite
Procedure
1. In the Satellite web UI, navigate to Hosts > Reports to list all compliance reports.
2. In the row of the required host, navigate to the Actions column and click Full Report to view the
complete details of an evaluation report.
3. Navigate to the Evaluation Characteristics area to review basic details about the evaluation of
the host against a specific profile.
4. Navigate to the Compliance and Scoring area to review evaluation statistics and the host
compliance score.
6. Optional: Deselect the check statuses that you want to hide, such as pass, notapplicable, or
fixed.
7. Optional: From the Group rule by dropdown menu, select the criterion for the grouping of rules,
such as Severity.
8. Optional: Enter a search string into the search field to filter rules by title. The search is case
insensitive and applied dynamically as you type.
A description of the rule with instructions for bringing the host into compliance if available.
Prerequisite
Procedure
2. In the Compliance Reports window, identify the policy that you want to delete and, on the right
of the policy’s name, select Delete.
3. Click OK.
You can delete multiple compliance policies simultaneously. However, in the Satellite web UI,
52
CHAPTER 7. MANAGING SECURITY COMPLIANCE
You can delete multiple compliance policies simultaneously. However, in the Satellite web UI,
compliance policies are paginated, so you must delete one page of reports at a time. If you want to
delete all OpenSCAP reports, use the script in Deleting OpenSCAP Reports in the API Guide.
Prerequisite
Procedure
2. In the Compliance Reports window, select the compliance reports that you want to delete.
53
Red Hat Satellite 6.11 Administering Red Hat Satellite
NOTE
The instances created using the backup tool are not supposed to run in parallel in a
production environment. You must decommission any old instances after restoring the
backup.
To create a backup of your Satellite Server or Capsule Server and all associated data, use the satellite-
maintain backup command. Backing up to a separate storage device on a separate system is highly
recommended.
Satellite services are unavailable during the backup. Therefore, you must ensure that no other tasks are
scheduled by other administrators. You can schedule a backup using cron. For more information, see the
Section 8.5, “Example of a Weekly Full Backup Followed by Daily Incremental Backups” .
During offline or snapshot backups, the services are inactive and Satellite is in a maintenance mode. All
the traffic from outside on port 443 is rejected by a firewall to ensure there are no modifications
triggered.
A backup contains sensitive information from the /root/ssl-build directory. For example, it can contain
hostnames, ssh keys, request files and SSL certificates. You must encrypt or move the backup to a
secure location to minimize the risk of damage or unauthorized access to the hosts.
NOTE
If you plan to use the satellite-maintain backup command to create a backup, do not
stop Satellite services.
When creating a snapshot or conventional backup, you must stop all services as follows:
The full backup creates uncompressed archives of PostgreSQL and Pulp database files, and Satellite
54
CHAPTER 8. BACKING UP SATELLITE SERVER AND CAPSULE SERVER
The full backup creates uncompressed archives of PostgreSQL and Pulp database files, and Satellite
configuration files. Compression occurs after the archives are created to decrease the time when
Satellite services are unavailable.
Procedure
1. Enter the du command to estimate the size of uncompressed directories containing Satellite
database and configuration files:
Table 8.1. Backup Data Compression Ratio for Red Hat Enterprise Linux 8
55
Red Hat Satellite 6.11 Administering Red Hat Satellite
Table 8.2. Backup Data Compression Ratio for Red Hat Enterprise Linux 7
3. To calculate the amount of available space you require to store a backup, calculate the sum of
the estimated values of compressed and uncompressed backup data, and add an extra 20% to
ensure a reliable backup.
This example requires 201 GB plus 120 GB for the uncompressed and compressed backup data,
321 GB in total. With 64 GB of extra space, 385 GB must be allocated for the backup location.
Offline backup
Online backup
56
CHAPTER 8. BACKING UP SATELLITE SERVER AND CAPSULE SERVER
Snapshot backups
For more information about each of these methods, you can view the usage statements for each
backup method.
Offline backups
Online backups
Snapshots backups
Directory creation
The satellite-maintain backup command creates a time-stamped subdirectory in the backup directory
that you specify. The satellite-maintain backup command does not overwrite backups, therefore you
must select the correct directory or subdirectory when restoring from a backup or an incremental
backup. The satellite-maintain backup command stops and restarts services as required.
When you run the satellite-maintain backup offline command, the following default backup directories
are created:
satellite-backup on Satellite
foreman-proxy-backup on Capsule
If you want to set a custom directory name, add the --preserve-directory option and add a directory
name. The backup is then stored in the directory you provide in the command line. If you use the --
preserve-directory option, no data is removed if the backup fails.
Note that if you use a local PostgreSQL database, the postgres user requires write access to the
backup directory.
Remote databases
You can use the satellite-maintain backup command to back up remote databases.
You can use both online and offline methods to back up remote databases, but if you use offline
methods, such as snapshot, the satellite-maintain backup command performs a database dump.
Prerequisites
Ensure that your backup location has sufficient available disk space to store the backup. For
more information, see Section 8.1, “Estimating the Size of a Backup” .
57
Red Hat Satellite 6.11 Administering Red Hat Satellite
WARNING
Request other users of Satellite Server or Capsule Server to save any changes and
warn them that Satellite services are unavailable for the duration of the backup.
Ensure no other tasks are scheduled for the same time as the backup.
Procedure
WARNING
Request other users of Satellite Server or Capsule Server to save any changes and
warn them that Satellite services are unavailable for the duration of the backup.
Ensure no other tasks are scheduled for the same time as the backup.
Prerequisites
Ensure that your backup location has sufficient available disk space to store the backup. For
more information, see Section 8.1, “Estimating the Size of a Backup” .
Procedure
To perform an offline backup without Pulp content, enter the following command:
58
CHAPTER 8. BACKING UP SATELLITE SERVER AND CAPSULE SERVER
To perform incremental backups, you must perform a full backup as a reference to create the first
incremental backup of a sequence. Keep the most recent full backup and a complete sequence of
incremental backups to restore from.
WARNING
Request other users of Satellite Server or Capsule Server to save any changes and
warn them that Satellite services are unavailable for the duration of the backup.
Ensure no other tasks are scheduled for the same time as the backup.
Prerequisites
Ensure that your backup location has sufficient available disk space to store the backup. For
more information, see Section 8.1, “Estimating the Size of a Backup” .
Procedure
2. To create a directory within your backup directory to store the first incremental back up, enter
the satellite-maintain backup command with the --incremental option:
3. To create the second incremental backup, enter the satellite-maintain backup command with
the --incremental option and include the path to the first incremental backup to indicate the
starting point for the next increment. This creates a directory for the second incremental
backup in your backup directory:
4. Optional: If you want to point to a different version of the backup, and make a series of
increments with that version of the backup as the starting point, you can do this at any time. For
example, if you want to make a new incremental backup from the full backup rather than the first
or second incremental backup, point to the full backup directory:
The following script performs a full backup on a Sunday followed by incremental backups for each of the
59
Red Hat Satellite 6.11 Administering Red Hat Satellite
The following script performs a full backup on a Sunday followed by incremental backups for each of the
following days. A new subdirectory is created for each day that an incremental backup is performed. The
script requires a daily cron job.
#!/bin/bash -e
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DESTINATION=/var/backup_directory
if [[ $(date +%w) == 0 ]]; then
satellite-maintain backup offline --assumeyes $DESTINATION
else
LAST=$(ls -td -- $DESTINATION/*/ | head -n 1)
satellite-maintain backup offline --assumeyes --incremental "$LAST" $DESTINATION
fi
exit 0
Note that the satellite-maintain backup command requires /sbin and /usr/sbin directories to be in
PATH and the --assumeyes option is used to skip the confirmation prompt.
For production environments, use the snapshot method. For more information, see Section 8.7,
“Performing a Snapshot Backup”. If you want to use the online backup method in production, proceed
with caution and ensure that no modifications occur during the backup.
WARNING
Request other users of Satellite Server or Capsule Server to save any changes and
warn them that Satellite services are unavailable for the duration of the backup.
Ensure no other tasks are scheduled for the same time as the backup.
Prerequisites
Ensure that your backup location has sufficient available disk space to store the backup. For
more information, see Section 8.1, “Estimating the Size of a Backup” .
Procedure
60
CHAPTER 8. BACKING UP SATELLITE SERVER AND CAPSULE SERVER
The snapshot backup method is faster than a full offline backup and therefore reduces Satellite
downtime.
WARNING
Request other Satellite Server or Capsule Server users to save any changes and
warn them that Satellite services are unavailable for the duration of the backup.
Ensure no other tasks are scheduled for the same time as the backup.
Prerequisites
The system uses LVM for the directories that you snapshot: /var/lib/pulp/, and /var/opt/rh/rh-
postgresql12/lib/pgsql.
The free disk space in the relevant volume group (VG) is three times the size of the snapshot.
More precisely, the VG must have enough space unreserved by the member logical volumes
(LVs) to accommodate new snapshots. In addition, one of the LVs must have enough free space
for the backup directory.
The target backup directory is on a different LV than the directories that you snapshot.
Procedure
The satellite-maintain backup snapshot command creates snapshots when the services are active,
and stops all services which can impact the backup. This makes the maintenance window shorter. After
the successful snapshot, all services are restarted and LVM snapshots are removed.
Procedure
61
Red Hat Satellite 6.11 Administering Red Hat Satellite
To skip a step of the backup, enter the satellite-maintain backup command with the --
whitelist option. For example:
62
CHAPTER 9. RESTORING SATELLITE SERVER OR CAPSULE SERVER FROM A BACKUP
Prerequisites
Ensure that you are restoring to the correct instance. The Red Hat Satellite instance must have
the same host name, configuration, and be the same minor version (X.Y) as the original system.
Ensure that you have an existing target directory. The target directory is read from the
configuration files contained within the archive.
Ensure that you have enough space to store this data on the base system of Satellite Server or
Capsule Server as well as enough space after the restoration to contain all the data in the /etc/
and /var/ directories contained within the backup.
To check the space used by a directory, enter the following command:
# du -sh /var/backup_directory
# df -h /var/backup_directory
Add the --total option to get a total of the results from more than one directory.
Ensure that all SELinux contexts are correct. Enter the following command to restore the
correct SELinux contexts:
# restorecon -Rnv /
Procedure
To install Satellite Server from a connected network, follow the procedures in Installing
Satellite Server in a Connected Network Environment.
To install Satellite Server from a disconnected network, follow the procedures in Installing
Satellite Server in a Disconnected Network Environment.
63
Red Hat Satellite 6.11 Administering Red Hat Satellite
2. Copy the backup data to Satellite Server’s local file system. Use /var/ or /var/tmp/.
The restore process can take a long time to complete, because of the amount of data to copy.
Additional Resources
When the restore process completes, all processes are online, and all databases and system
configuration revert to the state at the time of the backup.
Procedure
1. Restore the last full backup using the instructions in Section 9.1, “Restoring from a Full Backup” .
2. Remove the full backup data from Satellite Server’s local file system, for example, /var/ or
/var/tmp/.
3. Copy the incremental backup data to Satellite Server’s local file system, for example, /var/ or
/var/tmp/.
4. Restore the incremental backups in the same sequence that they are made:
Additional Resources
If required, deploy a new Capsule Server, ensuring the host name is the same as before, and then install
the Capsule certificates. You may still have them on Satellite Server, the package name ends in -
certs.tar, alternately create new ones. Follow the procedures in Installing Capsule Server until you can
64
CHAPTER 9. RESTORING SATELLITE SERVER OR CAPSULE SERVER FROM A BACKUP
confirm, in the Satellite web UI, that Capsule Server is connected to Satellite Server. Then use the
procedure Section 9.3.1, “Synchronizing an External Capsule” to synchronize from Satellite.
Procedure
1. To synchronize an external Capsule, select the relevant organization and location in the Satellite
web UI, or choose Any Organization and Any Location.
2. In the Satellite web UI, navigate to Infrastructure > Capsules and click the name of the Capsule
to synchronize.
65
Red Hat Satellite 6.11 Administering Red Hat Satellite
If you rename Satellite Server, you must reregister all Satellite clients and configure each Capsule Server
to point them to the new Satellite host name. If you use custom SSL certificates, you must regenerate
them with the new host name. If you use virt-who, you must update the virt-who configuration files with
the new host name.
If you rename Capsule Server, you must reregister all Capsule clients and update the Capsule host name
in the Satellite web UI. If you use custom SSL certificates, you must regenerate them with the new host
name.
WARNING
The renaming process shuts down all Satellite Server services on the host being
renamed. When the renaming is complete, all services are restarted.
If you use external authentication, you must reconfigure Satellite Server for external authentication
after you run the satellite-change-hostname script. The satellite-change-hostname script breaks
external authentication for Satellite Server. For more information about configuring external
authentication, see Chapter 14, Configuring External Authentication.
If you use virt-who, you must update the virt-who configuration files with the new host name after you
run the satellite-change-hostname script. For more information, see Modifying a virt-who
Configuration in Configuring Virtual Machine Subscriptions in Red Hat Satellite .
Prerequisites
Both the hostname and hostname -f commands must return the FQDN of Satellite Server or
the satellite-change-hostname script will fail to complete. If the hostname command returns
the shortname of Satellite Server instead of the FQDN, use hostnamectl set-hostname
old_fqdn to set the old FQDN correctly before attempting to use the satellite-change-
hostname script.
Perform a backup of Satellite Server before changing a host name. If the renaming process is
not successful, you must restore it from a backup. For more information, see Chapter 8, Backing
Up Satellite Server and Capsule Server.
Optional: If Satellite Server has a custom SSL certificate installed, a new certificate must be
obtained for the host’s new name. For more information, see Configuring Satellite Server with a
Custom SSL Certificate in Installing Satellite Server from a Connected Network .
66
CHAPTER 10. RENAMING SATELLITE SERVER OR CAPSULE SERVER
Procedure
If your Satellite Server is installed with default self-signed SSL certificates, enter the
following command:
# satellite-change-hostname new-satellite \
--username admin \
--password password
# satellite-change-hostname new-satellite \
--username admin \
--password password \
--custom-cert "/root/ownca/test.com/test.com.crt" \
--custom-key "/root/ownca/test.com/test.com.key"
2. Optional: If you have created a custom SSL certificate for the new Satellite Server host name,
run the Satellite installation script to install the certificate. For more information about installing
a custom SSL certificate, see Deploying a Custom SSL Certificate to Satellite Server in
Installing Satellite Server from a Connected Network .
3. Reregister all Satellite hosts. For more information, see Registering Hosts in Managing Hosts.
4. On all Capsule Servers, run the Satellite installation script to update references to the new host
name:
# satellite-installer \
--foreman-proxy-foreman-base-url https://new-satellite.example.com \
--foreman-proxy-trusted-hosts new-satellite.example.com \
--puppet-server-foreman-url https://new-satellite.example.com
NOTE
67
Red Hat Satellite 6.11 Administering Red Hat Satellite
NOTE
Both the hostname and hostname -f commands must return the FQDN of
Capsule Server or the satellite-change-hostname script will fail to complete.
Prerequisites
Procedure
1. On Satellite Server, generate a new certificates archive file for Capsule Server.
If you are using the default SSL certificate, enter the following command:
# capsule-certs-generate \
--foreman-proxy-fqdn new-capsule.example.com \
--certs-tar /root/new-capsule.example.com-certs.tar
Ensure that you enter the full path to the .tar file.
If you are using a custom SSL certificate, create a new SSL certificate for Capsule Server.
For more information, see Configuring Capsule Server with a Custom SSL Certificate in
Installing Capsule Server.
2. On Satellite Server, copy the certificates archive file to Capsule Server, providing the root user’s
password when prompted. In this example the archive file is copied to the root user’s home
directory, but you may prefer to copy it elsewhere.
3. On Capsule Server, run the satellite-change-hostname script and provide the host’s new
name, Satellite credentials, and certificates archive filename.
Ensure that you enter the full path to the .tar file.
4. Optional: If you have created a custom certificate for Capsule Server, on Capsule Server, to
deploy the certificate, enter the satellite-installer command that the capsule-certs-generate
command returns. For more information, see Deploying a Custom SSL Certificate to
Capsule Server in Installing Capsule Server.
5. On all Capsule clients, enter the following commands to reinstall the bootstrap RPM, reregister
clients, and refresh their subscriptions.
You can use remote execution feature to perform this step. For more information, see
68
CHAPTER 10. RENAMING SATELLITE SERVER OR CAPSULE SERVER
You can use remote execution feature to perform this step. For more information, see
Configuring and Setting up Remote Jobs in the Managing Hosts Guide.
# subscription-manager refresh
7. Locate Capsule Server in the list, and click Edit to the right of it.
8. Edit the Name and URL fields to match Capsule Server’s new host name, then click Submit.
9. On your DNS server, add a record for Capsule Server’s new host name, and delete the record
for the previous host name.
69
Red Hat Satellite 6.11 Administering Red Hat Satellite
By default, using the foreman-rake audits:expire command removes audit records that are older than
90 days. You can specify the number of days to keep the audit records by adding the days option and
add the number of days.
For example, if you want to delete audit records that are older than seven days, enter the following
command:
By default, using the foreman-rake audits:anonymize command anonymizes audit records that are
older than 90 days. You can specify the number of days to keep the audit records by adding the days
option and add the number of days.
For example, if you want to anonymize audit records that are older than seven days, enter the following
command:
By default, using the foreman-rake reports:expire command removes report records that are older
than 90 days. You can specify the number of days to keep the report records by adding the days option
and add the number of days.
For example, if you want to delete report records that are older than seven days, enter the following
command:
Satellite performs regular cleaning to reduce disc space in the database and limit the rate of disk
70
CHAPTER 11. MAINTAINING SATELLITE SERVER
Satellite performs regular cleaning to reduce disc space in the database and limit the rate of disk
growth. As a result, Satellite backup completes faster and overall performance is higher.
By default, Satellite executes a cron job that cleans tasks every day at 19:45. Satellite removes the
following tasks during the cleaning:
Tasks that have run successfully and are older than thirty days
You can configure the cleaning unused tasks feature using these options:
To configure the time at which Satellite runs the cron job, set the --foreman-plugin-tasks-
cron-line parameter to the time you want in cron format. For example, to schedule the cron job
to run every day at 15:00, enter the following command:
To configure the period after which Satellite deletes the tasks, edit the :rules: section in the
/etc/foreman/plugins/foreman-tasks.yaml file.
For example, if you want to delete task records from successful repository synchronizations, enter the
following command:
Procedure
# ssh [email protected]
71
Red Hat Satellite 6.11 Administering Red Hat Satellite
4. Optional: Ensure the task has been removed from Satellite Server:
Note that because the task is deleted, this command returns a non-zero exit code.
Procedure
1. Let running Pulp tasks finish but do not trigger any new ones as they can fail due to the full disk.
2. Ensure that the LV with the /var/lib/pulp directory on it has sufficient free space. Here are some
ways to achieve that:
b. Change the download policy from Immediate to On Demand for as many repositories as
possible and remove already downloaded packages. See the Red Hat Knowledgebase
solution How to change syncing policy for Repositories on Satellite from "Immediate" to
"On-Demand" on the Red Hat Customer Portal for instructions.
c. Grow the file system on the LV with the /var/lib/pulp directory on it. For more information,
see Growing a File System on a Logical Volume in the Red Hat Enterprise Linux 7 Logical
Volume Manager Administration Guide.
NOTE
72
CHAPTER 11. MAINTAINING SATELLITE SERVER
NOTE
If you use an untypical file system (other than for example ext3, ext4, or xfs),
you might need to unmount the file system so that it is not in use. In that
case, complete the following steps:
3. If some Pulp tasks failed due to the full disk, run them again.
IMPORTANT
Procedure
To install packages on Satellite Server or Capsule Server, enter the following command:
To update specific packages on Satellite Server or Capsule Server, enter the following
command:
To update all packages on Satellite Server or Capsule Server, enter the following command:
73
Red Hat Satellite 6.11 Administering Red Hat Satellite
Updating packages individually can lead to package inconsistencies in Satellite Server or Capsule Server.
For more information about updating packages in Satellite Server, see Updating Satellite Server.
Procedure
Select a product.
74
CHAPTER 11. MAINTAINING SATELLITE SERVER
For Capsules
75
Red Hat Satellite 6.11 Administering Red Hat Satellite
Prerequisite
You must create a new Certificate Signing Request (CSR) and send it to the Certificate
Authority to sign the certificate. Refer to the Configuring Satellite Server with a Custom SSL
Certificate guide before creating a new CSR because the Server certificate must have X.509 v3
Key Usage and Extended Key Usage extensions with required values. In return, you will receive
the Satellite Server certificate and CA bundle.
Procedure
Before deploying a renewed custom certificate on your Satellite Server, validate the custom
SSL input files. Note that for the katello-certs-check command to work correctly, Common
Name (CN) in the certificate must match the FQDN of Satellite Server:
# katello-certs-check -t satellite \
-b /root/satellite_cert/ca_cert_bundle.pem \
-c /root/satellite_cert/satellite_cert.pem \
-k /root/satellite_cert/satellite_cert_key.pem
If the command is successful, it returns the following satellite-installer command. You can use
this command to deploy the renewed CA certificates to Satellite Server:
IMPORTANT
Do not delete the certificate files after you deploy the certificate. They are required when
upgrading Satellite Server.
NOTE
Verification
1. Access the Satellite web UI from your local machine. For example,
https://satellite.example.com.
76
CHAPTER 12. RENEWING THE CUSTOM SSL CERTIFICATE
2. In your browser, view the certificate details to verify the deployed certificate.
Prerequisite
You must create a new Certificate Signing Request and send it to the Certificate Authority to
sign the certificate. Refer to the Configuring Satellite Server with a Custom SSL Certificate
guide before creating a new CSR because the Satellite Server certificate must have X.509 v3
Key Usage and Extended Key Usage extensions with required values. In return, you will receive
the Capsule Server certificate and CA bundle.
Procedure
1. On your Satellite Server, validate the custom SSL certificate input files:
# katello-certs-check -t capsule \
-b /root/capsule_cert/ca_cert_bundle.pem \
-c /root/capsule_cert/capsule_cert.pem \
-k /root/capsule_cert/capsule_cert_key.pem
2. On your Satellite Server, generate the certificate archive file for your Capsule Server:
3. On your Satellite Server, copy the certificate archive file to your Capsule Server:
You can move the copied file to the applicable path if required.
5. Deploy the certificate on your Capsule Server using the satellite-installer command returned
by the capsule-certs-generate command:
IMPORTANT
77
Red Hat Satellite 6.11 Administering Red Hat Satellite
IMPORTANT
Do not delete the certificate archive file on the Capsule Server after you deploy the
certificate. They are required when upgrading Capsule Server.
NOTE
78
CHAPTER 13. LOGGING AND REPORTING PROBLEMS
You can use the log files and other information described in this chapter to do your own
troubleshooting, or you can capture these and many more files, as well as diagnostic and configuration
information, to send to Red Hat Support if you need further assistance.
For more information about Satellite logging settings, use satellite-installer with the --full-help option:
Procedure
2. After you complete debugging, reset the logging level to the default value:
# satellite-installer --reset-foreman-logging-level
79
Red Hat Satellite 6.11 Administering Red Hat Satellite
:log_level: 'debug'
:log_level: DEBUG
CAUTION
Extend /etc/candlepin/candlepin.conf:
log4j.logger.org.candlepin=DEBUG
If the candlepin log files are too verbose, you can decrease the default debug level:
80
CHAPTER 13. LOGGING AND REPORTING PROBLEMS
log4j.logger.org.candlepin.resource.ConsumerResource=WARN
log4j.logger.org.candlepin.resource.HypervisorResource=WARN
/var/log/httpd/foreman_error.log
/var/log/httpd/foreman_access.log
/var/log/httpd/foreman_ssl_error.log
/var/log/httpd/foreman_ssl_access.log
Procedure
:logging:
:production:
:type: file
:layout: pattern
:level: debug
:loggers:
:ldap:
:enabled: true
:permissions:
:enabled: true
:sql:
:enabled: true
Note that to see logging from some area, debug logging has to be set.
You can find the complete list of loggers with their default values in
/usr/share/foreman/config/application.rb in the Foreman::Logging.add_loggers command.
enable: debug+
81
Red Hat Satellite 6.11 Administering Red Hat Satellite
CAUTION
log-enable=debug+
CAUTION
loglevel debug
log_statement = 'all'
CAUTION
Based on the size of your Satellite installation, this can cause disk space to fill up very quickly. Only turn
this on if absolutely needed.
82
CHAPTER 13. LOGGING AND REPORTING PROBLEMS
# systemctl restart \
pulpcore-api \
pulpcore-content \
pulpcore-resource-manager \
pulpcore-worker@1 \
pulpcore-worker@2 \
rh-redis5-redis
Procedure
1. Add the following line to the [agent] block in the /etc/puppetlabs/puppet/puppet.conf file:
[agent]
log_level = debug
Prerequisite
Puppet must be enabled in your Satellite. For more information, see Enabling Puppet
Integration with Satellite in Managing Configurations Using Puppet Integration in Red Hat
Satellite.
Procedure
83
Red Hat Satellite 6.11 Administering Red Hat Satellite
[master]
log_level = debug
Procedure
2. On the Smart Proxies tab, you can view the status of all Capsules.
3. On the Compute Resources tab, you can view the status of attached compute resource
providers.
4. In the Backend System Status table, you can view the status of all back-end services.
CLI procedure
Run hammer ping to get information from the database and Satellite services:
# hammer ping
Procedure
TIP
84
CHAPTER 13. LOGGING AND REPORTING PROBLEMS
app
Logs web requests and all general application messages. Default value: true.
audit
Logs additional fact statistics, numbers of added, updated, and removed facts. Default value: true.
background
Logs information from the background processing component.
blob
Logs contents of rendered templates for auditing purposes.
IMPORTANT
dynflow
Logs information from the Dynflow process.
ldap
Logs high level LDAP queries and LDAP operations. Default value: false.
notifications
Logs information from the notifications component.
permissions
Logs queries to user roles, filters, and permissions when loading pages. Default value: false.
sql
Logs SQL queries made through Rails ActiveRecord. Default value: false.
telemetry
Logs debugging information from telemetry.
templates
Logs information from the template renderer component.
Procedure
1. Enable the individual loggers that you want. For example, to enable sql and ldap loggers, enter
the following command:
# satellite-installer \
--foreman-loggers ldap:true \
--foreman-loggers sql:true
2. Optional: To reset loggers to their default values, enter the following command:
# satellite-installer --reset-foreman-loggers
1. Enter the following satellite-installer command to configure logging to the journald service:
# satellite-installer \
--foreman-logging-layout pattern \
--foreman-logging-type journald \
--foreman-proxy-log JOURNAL
2. Optional: To inspect the log messages, use the journalctl utility. For example:
journalctl --unit foreman and journalctl --unit foreman-proxy show messages for the
foreman and foreman-proxy units
# satellite-installer \
--reset-foreman-logging-layout \
--reset-foreman-logging-type \
--reset-foreman-proxy-log
/var/log/foreman/production.log
/var/log/foreman-proxy.log
Additional resources
For more information about Journal, see Viewing logs using the command line in the Red Hat Enterprise
Linux 8 Configuring Basic System Settings Guide.
/var/log/foreman-installer Installer
86
CHAPTER 13. LOGGING AND REPORTING PROBLEMS
/var/log/foreman Foreman
You can also use the foreman-tail command to follow many of the log files related to Satellite. You can
run foreman-tail -l to list the processes and services that it follows.
sosreport
The sosreport command collects configuration and diagnostic information from a Linux system, such
as the running Kernel version, loaded modules, running services, and system and service
configuration files. This output is stored in a tar file located at /var/tmp/sosreport-XXX-
20171002230919.tar.xz. For more information, run sosreport --help or see What is a sosreport and
how can I create one?.
IMPORTANT
The collection process removes security information such as passwords, tokens, and keys
while collecting information. However, the tar files can still contain sensitive information
about the Satellite Server. Red Hat recommends that you send this information directly
to the intended recipient and not to a public target.
87
Red Hat Satellite 6.11 Administering Red Hat Satellite
Name Description
# awk '/add_loggers/,/^$/'
/usr/share/foreman/config/application.rb
88
CHAPTER 13. LOGGING AND REPORTING PROBLEMS
Name Description
89
Red Hat Satellite 6.11 Administering Red Hat Satellite
Your system is not affected by this conflict if your user and group accounts exist in both /etc/passwd
and /etc/group files. For example, to check if entries for puppet, apache, foreman and foreman-proxy
groups exist in both /etc/passwd and /etc/group files, enter the following commands:
Using Lightweight Directory Access Protocol (LDAP) server as an external identity provider.
LDAP is a set of open protocols used to access centrally stored information over a network. With
Satellite, you can manage LDAP entirely through the Satellite web UI. For more information, see
Section 14.1, “Using LDAP” . Though you can use LDAP to connect to a Red Hat Identity
Management or AD server, the setup does not support server discovery, cross-forest trusts, or
single sign-on with Kerberos in Satellite’s web UI.
Using a Red Hat Identity Management server as an external identity provider. Red Hat Identity
Management deals with the management of individual identities, their credentials and privileges
used in a networking environment. Configuration using Red Hat Identity Management cannot be
completed using only the Satellite web UI and requires some interaction with the CLI. For more
information see Section 14.2, “Using Red Hat Identity Management” .
Using Active Directory (AD) integrated with Red Hat Identity Management through cross-forest
Kerberos trust as an external identity provider. For more information see Section 14.3.5, “Active
Directory with Cross-Forest Trust”.
Using Red Hat Single Sign-On as an OpenID provider for external authentication to Satellite.
For more information, see Section 14.8, “Configuring Satellite with Red Hat Single Sign-On
Authentication”.
Using Red Hat Single Sign-On as an OpenID provider for external authentication to Satellite
with TOTP. For more information, see Section 14.9, “Configuring Red Hat Single Sign-On
Authentication with TOTP”.
As well as providing access to Satellite Server, hosts provisioned with Satellite can also be integrated
with Red Hat Identity Management realms. Red Hat Satellite has a realm feature that automatically
manages the life cycle of any system registered to a realm or domain provider. For more information,
see Section 14.7, “External Authentication for Provisioned Hosts” .
90
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
If you require Red Hat Satellite to use TLS to establish a secure LDAP connection (LDAPS), first obtain
certificates used by the LDAP server you are connecting to and mark them as trusted on the base
operating system of your Satellite Server as described below. If your LDAP server uses a certificate
chain with intermediate certificate authorities, all of the root and intermediate certificates in the chain
must be trusted, so ensure all certificates are obtained. If you do not require secure LDAP at this time,
proceed to Section 14.1.2, “Configuring Red Hat Satellite to use LDAP” .
IMPORTANT
Users cannot use both Red Hat Identity Management and LDAP as an authentication
method. Once a user authenticates using one method, they cannot use the other method.
To change the authentication method for a user, you have to remove the automatically
created user from Satellite.
Procedure
a. If you use Active Directory Certificate Services, export the Enterprise PKI CA Certificate
using the Base-64 encoded X.509 format. See How to configure Active Directory
authentication with TLS on Satellite for information on creating and exporting a CA
certificate from an Active Directory server.
b. Download the LDAP server certificate to a temporary location onto Satellite Server and
91
Red Hat Satellite 6.11 Administering Red Hat Satellite
b. Download the LDAP server certificate to a temporary location onto Satellite Server and
remove it when finished.
For example, /tmp/example.crt. The filename extensions .cer and .crt are only conventions
and can refer to DER binary or PEM ASCII format certificates.
a. Use the install command to install the imported certificate into the /etc/pki/tls/certs/
directory with the correct permissions:
b. Enter the following command as root to trust the example.crt certificate obtained from the
LDAP server:
# ln -s example.crt /etc/pki/tls/certs/$(openssl \
x509 -noout -hash -in \
/etc/pki/tls/certs/example.crt).0
Note that if you need single sign-on functionality with Kerberos on Satellite web UI, you should use
Red Hat Identity Management and AD external authentication instead. For more information, see:
Procedure
1. Set the Network Information System (NIS) service boolean to true to prevent SELinux from
stopping outgoing LDAP connections:
# setsebool -P nis_enabled on
4. On the LDAP server tab, enter the LDAP server’s name, host name, port, and server type. The
default port is 389, the default server type is POSIX (alternatively you can select FreeIPA or
Active Directory depending on the type of authentication server). For TLS encrypted
connections, select the LDAPS checkbox to enable encryption. The port should change to 636,
which is the default for LDAPS.
5. On the Account tab, enter the account information and domain name details. See Section 14.1.3,
92
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
5. On the Account tab, enter the account information and domain name details. See Section 14.1.3,
“Description of LDAP Settings” for descriptions and examples.
6. On the Attribute mappings tab, map LDAP attributes to Satellite attributes. You can map login
name, first name, last name, email address, and photo attributes. See Section 14.1.4, “Example
Settings for LDAP Connections” for examples.
7. On the Locations tab, select locations from the left table. Selected locations are assigned to
users created from the LDAP authentication source, and available after their first login.
8. On the Organizations tab, select organizations from the left table. Selected organizations are
assigned to users created from the LDAP authentication source, and available after their first
login.
9. Click Submit.
If you selected the Automatically Create Accounts In Satellitecheckbox, LDAP users can
now log in to Satellite using their LDAP accounts and passwords. After they log in for the
first time, the Satellite administrator has to assign roles to them manually. See Section 5.1.2,
“Assigning Roles to a User” to assign user accounts appropriate roles in Satellite.
Setting Description
Account The user name of the LDAP account that has read access to the LDAP server. User
name is not required if the server allows anonymous reading, otherwise use the full
path to the user’s object. For example:
uid=$login,cn=users,cn=accounts,dc=example,dc=com
The $login variable stores the username entered on the login page as a literal string.
The value is accessed when the variable is expanded.
The variable cannot be used with external user groups from an LDAP source because
Satellite needs to retrieve the group list without the user logging in. Use either an
anonymous, or dedicated service user.
Account password The LDAP password for the user defined in the Account username field. This field
can remain blank if the Account username is using the $login variable.
Groups base DN The top level domain name of the LDAP directory tree that contains groups.
93
Red Hat Satellite 6.11 Administering Red Hat Satellite
Setting Description
Automatically If this checkbox is selected, Satellite creates user accounts for LDAP users when they
Create Accounts In log in to Satellite for the first time. After they log in for the first time, the Satellite
Satellite administrator has to assign roles to them manually. See Section 5.1.2, “Assigning
Roles to a User” to assign user accounts appropriate roles in Satellite.
Usergroup Sync If this option is selected, the user group membership of a user is automatically
synchronized when the user logs in, which ensures the membership is always up to
date. If this option is cleared, Satellite relies on a cron job to regularly synchronize
group membership (every 30 minutes by default). For more information, see
Section 14.4, “Configuring External User Groups”.
Table 14.3. Example Settings for Active Directory, Free IPA or Red Hat Identity Management and
POSIX LDAP Connections
Account P@ssword - -
password
Last name sn sn sn
attribute
94
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
Photo thumbnailPhoto - -
attribute
NOTE
userPrincipalName allows the use of whitespace in usernames. The login name attribute
sAMAccountName (which is not listed in the table above) provides backwards
compatibility with legacy Microsoft systems. sAMAccountName does not allow the use
of whitespace in usernames.
User Filter
User1 (distinguishedName=cn=User1,cn=Users,dc=domain,dc=example)
NOTE
Group Users is a nested group that contains groups Group1 and Group2. If you want to
filter all users from a nested group, you must add memberOf:1.2.840.113556.1.4.1941:=
before the nested group name. See the last example in the table above.
DC=Domain,DC=Example
|
|----- CN=Users
|
95
Red Hat Satellite 6.11 Administering Red Hat Satellite
|----- CN=Group1
|----- CN=Group2
|----- CN=User1
|----- CN=User2
|----- CN=User3
Group Members
NOTE
You can attach Red Hat Identity Management as an external authentication source with
no single sign-on support. For more information, see Section 14.1, “Using LDAP” .
IMPORTANT
Users cannot use both Red Hat Identity Management and LDAP as an authentication
method. Once a user authenticates using one method, they cannot use the other method.
To change the authentication method for a user, you have to remove the automatically
created user from Satellite.
Prerequisite
The base operating system of Satellite Server must be enrolled in the Red Hat Identity
Management domain by the Red Hat Identity Management administrator of your organization.
The examples in this chapter assume separation between Red Hat Identity Management and Satellite
configuration. However, if you have administrator privileges for both servers, you can configure Red Hat
Identity Management as described in Red Hat Enterprise Linux 7 Linux Domain Identity, Authentication,
and Policy Guide.
Procedure
1. On the Red Hat Identity Management server, to authenticate, enter the following command and
96
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
1. On the Red Hat Identity Management server, to authenticate, enter the following command and
enter your password when prompted:
# kinit admin
# klist
3. On the Red Hat Identity Management server, create a host entry for Satellite Server and
generate a one-time password, for example:
NOTE
For more information on host configuration properties, see About Host Entry Configuration
Properties in the Red Hat Enterprise Linux 7 Linux Domain Identity, Authentication, and Policy
guide.
For more information on managing services, see Managing Services in the Red Hat Enterprise
Linux 7 Linux Domain Identity, Authentication, and Policy guide.
WARNING
This command might restart Satellite services during the installation of the
package. For more information about installing and updating packages on
Satellite, see Section 11.8, “Managing Packages on the Base Operating
System of Satellite Server or Capsule Server”.
6. On Satellite Server, enter the following command as root to configure Red Hat Identity
Management-enrollment:
Replace OTP with the one-time password provided by the Red Hat Identity Management
administrator.
97
Red Hat Satellite 6.11 Administering Red Hat Satellite
7. If Satellite Server is running on Red Hat Enterprise Linux 7, execute the following command:
The installer is dependent on packages which, on Red Hat Enterprise Linux 7, are in the optional
repository rhel-7-server-optional-rpms.
# satellite-installer --foreman-ipa-authentication=true
External users can now log in to Satellite using their Red Hat Identity Management credentials. They can
now choose to either log in to Satellite Server directly using their username and password or take
advantage of the configured Kerberos single sign-on and obtain a ticket on their client machine and be
logged in automatically. The two-factor authentication with one-time password (2FA OTP) is also
supported. If the user in Red Hat Identity Management is configured for 2FA, and Satellite Server is
running on Red Hat Enterprise Linux 7, this user can also authenticate to Satellite with an OTP.
On the Red Hat Identity Management server, configure Host-Based Authentication Control (HBAC).
Procedure
1. On the Red Hat Identity Management server, to authenticate, enter the following command and
enter your password when prompted:
# kinit admin
# klist
3. Create HBAC service and rule on the Red Hat Identity Management server and link them
together. The following examples use the PAM service name satellite-prod. Execute the
following commands on the Red Hat Identity Management server:
4. Add the user who is to have access to the service satellite-prod, and the hostname of
98
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
4. Add the user who is to have access to the service satellite-prod, and the hostname of
Satellite Server:
Alternatively, host groups and user groups can be added to the allow_satellite_prod rule.
6. Ensure the allow_all rule is disabled on the Red Hat Identity Management server. For
instructions on how to do so without disrupting other services see the How to configure HBAC
rules in IdM article on the Red Hat Customer Portal.
7. Configure the Red Hat Identity Management integration with Satellite Server as described in
Section 14.2.1, “Configuring Red Hat Identity Management Authentication on Satellite Server” .
On Satellite Server, define the PAM service as root:
# satellite-installer --foreman-pam-service=satellite-prod
NOTE
You can attach Active Directory as an external authentication source with no single sign-
on support. For more information, see Section 14.1, “Using LDAP” . For an example
configuration, see How to configure Active Directory authentication with TLS on
Satellite.
Direct AD integration means that Satellite Server is joined directly to the AD domain where the identity
is stored. The recommended setup consists of two steps:
Enrolling Satellite Server with the Active Directory server as described in Section 14.3.2,
“Enrolling Satellite Server with the AD Server”.
Configuring direct Active Directory integration with GSS-proxy as described in Section 14.3.3,
“Configuring Direct AD Integration with GSS-Proxy”.
14.3.1. GSS-Proxy
The traditional process of Kerberos authentication in Apache requires the Apache process to have read
access to the keytab file. GSS-Proxy allows you to implement stricter privilege separation for the
Apache server by removing access to the keytab file while preserving Kerberos authentication
functionality. When using AD as an external authentication source for Satellite, it is recommended to
implement GSS-proxy, because the keys in the keytab file are the same as the host keys.
Perform the following procedures on Red Hat Enterprise Linux that acts as a base operating system for
your Satellite Server. For the examples in this section EXAMPLE.ORG is the Kerberos realm for the AD
99
Red Hat Satellite 6.11 Administering Red Hat Satellite
domain. By completing the procedures, users that belong to the EXAMPLE.ORG realm can log in to
Satellite Server.
Prerequisite
Procedure
2. Enroll Satellite Server with the AD server. You may need to have administrator permissions to
perform the following command:
Prerequisite
Satellite is enrolled with the Active Directory server. For more information, see Section 14.3.2,
“Enrolling Satellite Server with the AD Server”.
Procedure
# mkdir /etc/ipa
# touch /etc/ipa/default.conf
[global]
server = unused
realm = EXAMPLE.ORG
[global]
workgroup = EXAMPLE
100
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
realm = EXAMPLE.ORG
kerberos method = system keytab
security = ads
# id apache
[service/HTTP]
mechs = krb5
cred_store = keytab:/etc/httpd/conf/http.keytab
cred_store = ccache:/var/lib/gssproxy/clients/krb5cc_%U
euid = ID_of_Apache_User
# satellite-installer --foreman-ipa-authentication=true
9. To configure the Apache server to use the gssproxy service, create a systemd drop-in file and
add the following content to it:
# mkdir -p /etc/systemd/system/httpd.service.d/
# vi /etc/systemd/system/httpd.service.d/gssproxy.conf
[Service]
Environment=GSS_USE_PROXY=1
# systemctl daemon-reload
IMPORTANT
101
Red Hat Satellite 6.11 Administering Red Hat Satellite
IMPORTANT
With direct AD integration, HBAC through Red Hat Identity Management is not available.
As an alternative, you can use Group Policy Objects (GPO) that enable administrators to
centrally manage policies in AD environments. To ensure correct GPO to PAM service
mapping, add the following SSSD configuration to /etc/sssd/sssd.conf:
access_provider = ad
ad_gpo_access_control = enforcing
ad_gpo_map_service = +foreman
Here, foreman is the PAM service name. For more information on GPOs, see How SSSD
interprets GPO access control rules in Integrating RHEL systems directly with Windows
Active Directory.
Verification
Verify that SSO is working as expected.
With a running Apache server, users making HTTP requests against the server are authenticated if the
client has a valid Kerberos ticket.
1. Retrieve the Kerberos ticket of the LDAP user, using the following command:
# kinit ldapuser
# klist
3. View output from successful SSO-based authentication, using the following command:
If you use the Internet Explorer browser, add Satellite Server to the list of Local Intranet or Trusted
sites, and turn on the Enable Integrated Windows Authentication setting. See the Internet Explorer
documentation for details.
102
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
Management, users of AD can access Linux hosts and services using a single set of credentials. For
more information on cross-forest trusts, see Creating Cross-forest Trusts with Active Directory and
Identity Management in the Red Hat Enterprise Linux Windows Integration guide.
From the Satellite point of view, the configuration process is the same as integration with Red Hat
Identity Management server without cross-forest trust configured. Satellite Server has to be enrolled in
the IdM domain and integrated as described in Section 14.2, “Using Red Hat Identity Management” .
14.3.6. Configuring the Red Hat Identity Management Server to Use Cross-Forest
Trust
On the Red Hat Identity Management server, configure the server to use cross-forest trust.
Procedure
1. Enable HBAC:
Add the AD user attributes to the nss and domain sections in /etc/sssd/sssd.conf. For
example:
[nss]
user_attributes=+mail, +sn, +givenname
[domain/EXAMPLE.com]
...
krb5_store_password_if_offline = True
ldap_user_extra_attrs=email:mail, lastname:sn, firstname:givenname
[ifp]
allowed_uids = ipaapi, root
user_attributes=+email, +firstname, +lastname
The configuration of external user groups depends on the type of external authentication.
To assign additional permissions to an external user, add this user to an internal user group that has no
external mapping specified. Then assign the required roles to this group.
103
Red Hat Satellite 6.11 Administering Red Hat Satellite
Prerequisites
If you use an LDAP server, configure Satellite to use LDAP authentication. For more information
see Section 14.1, “Using LDAP” .
When using external user groups from an LDAP source, you cannot use the $login variable as a
substitute for the account user name. You must use either an anonymous or dedicated service
user.
If you use a Red Hat Identity Management or AD server, configure Satellite to use Red Hat
Identity Management or AD authentication. For more information, see Chapter 14, Configuring
External Authentication.
Ensure that at least one external user authenticates for the first time.
Retain a copy of the external group names you want to use. To find the group membership of
external users, enter the following command:
# id username
Procedure
1. In the Satellite web UI, navigate to Administer > User Groups, and click Create User Group.
2. Specify the name of the new user group. Do not select any users to avoid adding users
automatically when you refresh the external user group.
3. Click the Roles tab and select the roles you want to assign to the user group. Alternatively,
select the Administrator checkbox to assign all available permissions.
4. Click the External groups tab, then click Add external user group, and select an authentication
source from the Auth source drop-down menu.
Specify the exact name of the external group in the Name field.
5. Click Submit.
If the user groups in the LDAP Authentication source change in the lapse of time between scheduled
tasks, the user can be assigned to incorrect external user groups. This is corrected automatically when
the scheduled task runs.
Procedure
1. In the Satellite web UI, navigate to Administer > Usergroups and select a user group.
2. On the External Groups tab, click Refresh to the right of the required user group.
CLI procedure
104
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
# foreman-rake ldap:refresh_usergroups
Prerequisites
To install and configure Red Hat Identity Management packages on Satellite Server or
Capsule Server:
To use Red Hat Identity Management for provisioned hosts, complete the following steps to install and
configure Red Hat Identity Management packages on Satellite Server or Capsule Server:
# ipa-client-install
3. Create a realm proxy user, realm-capsule, and the relevant roles in Red Hat Identity
Management:
Note the principal name that returns and your Red Hat Identity Management server
configuration details because you require them for the following procedure.
To configure Satellite Server or Capsule Server for Red Hat Identity Management Realm
Support:
Complete the following procedure on Satellite and every Capsule that you want to use:
1. Copy the /root/freeipa.keytab file to any Capsule Server that you want to include in the same
principal and realm:
105
Red Hat Satellite 6.11 Administering Red Hat Satellite
2. Move the /root/freeipa.keytab file to the /etc/foreman-proxy directory and set the ownership
settings to the foreman-proxy user:
# mv /root/freeipa.keytab /etc/foreman-proxy
# chown foreman-proxy:foreman-proxy /etc/foreman-proxy/freeipa.keytab
3. Enter the following command on all Capsules that you want to include in the realm. If you use the
integrated Capsule on Satellite, enter this command on Satellite Server:
You can also use these options when you first configure the Satellite Server.
4. Ensure that the most updated versions of the ca-certificates package is installed and trust the
Red Hat Identity Management Certificate Authority:
# cp /etc/ipa/ca.crt /etc/pki/ca-trust/source/anchors/ipa.crt
# update-ca-trust enable
# update-ca-trust
5. Optional: If you configure Red Hat Identity Management on an existing Satellite Server or
Capsule Server, complete the following steps to ensure that the configuration changes take
effect:
c. Locate the Capsule you have configured for Red Hat Identity Management and from the list
in the Actions column, select Refresh.
Procedure
1. In the Satellite web UI, navigate to Infrastructure > Realms and click Create Realm.
4. From the Realm Capsule list, select Capsule Server where you have configured Red Hat Identity
Management.
5. Click the Locations tab and from the Locations list, select the location where you want to add
the new realm.
6. Click the Organizations tab and from the Organizations list, select the organization where you
106
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
6. Click the Organizations tab and from the Organizations list, select the organization where you
want to add the new realm.
7. Click Submit.
1. In the Satellite web UI, navigate to Configure > Host Groups, select the host group that you
want to update, and click the Network tab.
2. From the Realm list, select the realm you create as part of this procedure, and then click
Submit.
When nested host groups are used, they are sent to the Red Hat Identity Management server as they are
displayed in the Red Hat Satellite User Interface. For example, "Parent/Child/Child".
Satellite Server or Capsule Server sends updates to the Red Hat Identity Management server, however
automembership rules are only applied at initial registration.
--type=hostgroup identifies that the target group is a host group, not a user group.
automember_rule adds the name you want to identify the automember rule by.
107
Red Hat Satellite 6.11 Administering Red Hat Satellite
----------------------------
Number of conditions added 1
----------------------------
--type=hostgroup identifies that the target group is a host group, not a user group.
When a system is added to Satellite Server’s hostgroup_name host group, it is added automatically to
the Red Hat Identity Management server’s "hostgroup_name" host group. Red Hat Identity Management
host groups allow for Host-Based Access Controls (HBAC), sudo policies and other Red Hat Identity
Management functions.
14.8.1. Prerequisites for Configuring Satellite with Red Hat Single Sign-On
Authentication
Before configuring Satellite with Red Hat Single Sign-On external authentication, ensure that you meet
the following requirements:
A working installation of Red Hat Single Sign-On server that uses HTTPS instead of HTTP.
A realm for Satellite user accounts created in Red Hat Single Sign-On.
If the certificates or the CA are self-signed, ensure that they are added to the end-user
certificate trust store.
If you do not have an existing user database configured, you can manually create users in
Red Hat Single Sign-On. For more information, see Creating New Users in the Red Hat Single
Sign-On Server Administration Guide.
108
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
You can configure Satellite and Red Hat Single Sign-On with two different authentication methods:
You must decide on how you want your users to authenticate in advance because both methods require
different Satellite clients to be registered to Red Hat Single Sign-On and configured. The steps to
register and configure Satellite client in Red Hat Single Sign-On are distinguished within the procedure.
You can also register two different Satellite clients to Red Hat Single Sign-On if you want to use both
authentication methods and configure both clients accordingly.
Procedure
2. Register Satellite to Red Hat Single Sign-On as a client. Note that you the registration process
for logging in using the web UI and the CLI are different. You can register two clients Satellite
clients to Red Hat Single Sign-On to be able to log in to Satellite from the web UI and the CLI.
If you want you users to authenticate to Satellite using the web UI, create a client as follows:
Enter the password for the administer account when prompted. This command creates a
client for Satellite in Red Hat Single Sign-On.
Then, configure Satellite to use Red Hat Single Sign-On as an authentication source:
If you want your users to authenticate to Satellite using the CLI, create a client as follows:
Enter the password for the administer account when prompted. This command creates a
client for Satellite in Red Hat Single Sign-On.
109
Red Hat Satellite 6.11 Administering Red Hat Satellite
Procedure
1. In the Red Hat Single Sign-On web UI, navigate to Clients and click the Satellite client.
If you want your users to authenticate to Satellite using the Satellite web UI, from the
Access Type list, select confidential.
If you want your users to authenticate to Satellite using the CLI, from the Access Type list,
select public.
If you want your users to authenticate to Satellite using the Satellite web UI, in the blank
field below the existing URI, enter a URI in the form
https://satellite.example.com/users/extlogin. Note that you must add the string
/users/extlogin after the Satellite FQDN.
After completing this step, the Satellite client for logging in using the Satellite web UI must
have the following Valid Redirect URIs:
https://satellite.example.com/users/extlogin/redirect_uri
https://satellite.example.com/users/extlogin
If you want your users to authenticate to Satellite using the CLI, in the blank field below the
existing URI, enter urn:ietf:wg:oauth:2.0:oob.
After completing this step, the Satellite client for logging in using the CLI must have the
following Valid Redirect URIs:
https://satellite.example.com/users/extlogin/redirect_uri
urn:ietf:wg:oauth:2.0:oob
4. Click Save.
5. Click the Mappers tab and click Create to add an audience mapper.
8. From the Included Client Audience list, select the Satellite client.
9. Click Save.
10. Click Create to add a group mapper so that you can specify authorization in Satellite based on
group membership.
110
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
11. In the Name field, enter a name for the group mapper.
14.8.4. Configuring Satellite Settings for Red Hat Single Sign-On Authentication
Use this section to configure Satellite for Red Hat Single Sign-On authentication using the Satellite web
UI or the CLI.
14.8.4.1. Configuring Satellite Settings for Red Hat Single Sign-On Authentication Using
the Web UI
Use this procedure to configure Satellite settings for Red Hat Single Sign-On authentication using the
Satellite web UI.
Note that you can navigate to the following URL within your realm to obtain values to configure Satellite
settings: https://RHSSO.example.com/auth/realms/Satellite_Realm/.well-known/openid-
configuration
Prerequisite
Ensure that the Access Type setting in the Satellite client in the Red Hat Single Sign-On web UI
is set to confidential
Procedure
1. In the Satellite web UI, navigate to Administer > Settings, and click the Authentication tab.
2. Locate the Authorize login delegation row, and in the Value column, set the value to Yes.
3. Locate the Authorize login delegation auth source user autocreaterow, and in the Value
column, set the value to External.
4. Locate the Login delegation logout URL row, and in the Value column, set the value to
https://satellite.example.com/users/extlogout.
5. Locate the OIDC Algorithm row, and in the Value column, set the algorithm for encoding on
Red Hat Single Sign-On to RS256.
6. Locate the OIDC Audience row, and in the Value column, set the value to the client ID for
Red Hat Single Sign-On.
7. Locate the OIDC Issuer row, and in the Value column, set the value to
https://RHSSO.example.com/auth/realms/Satellite_Realm.
8. Locate the OIDC JWKs URL row, and in the Value column, set the value to
https://RHSSO.example.com/auth/realms/Satellite_Realm/protocol/openid-connect/certs.
9. In the Satellite web UI, navigate to Administer > Authentication Sources, click the vertical
ellipsis on the External card, and select Edit.
10. Click the Locations tab and add locations that can use the Red Hat Single Sign-On
111
Red Hat Satellite 6.11 Administering Red Hat Satellite
10. Click the Locations tab and add locations that can use the Red Hat Single Sign-On
authentication source.
11. Click the Organizations tab and add organizations that can use the Red Hat Single Sign-On
authentication source.
14.8.4.2. Configuring Satellite Settings for Red Hat Single Sign-On Authentication Using
the CLI
Use this procedure to configure Satellite settings for Red Hat Single Sign-On authentication using the
Satellite CLI.
Note that you can navigate to the following URL within your realm to obtain values to configure Satellite
settings: https://RHSSO.example.com/auth/realms/Satellite_Realm/.well-known/openid-
configuration
Prerequisite
Ensure that the Access Type setting in the Satellite client in the Red Hat Single Sign-On web UI
is set to public
Procedure
1. On Satellite, set the login delegation to true so that users can authenticate using the Open IDC
protocol:
3. Set the algorithm for encoding on Red Hat Single Sign-On, for example, RS256:
5. Add the value for the Hammer client in the Open IDC audience:
NOTE
112
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
NOTE
If you register several Red Hat Single Sign-On clients to Satellite, ensure that you
append all audiences in the array. For example:
7. Set the value for Open IDC Java Web Token (JWT):
14.8.5. Logging in to the Satellite web UI Using Red Hat Single Sign-On
Use this procedure to log in to the Satellite web UI using Red Hat Single Sign-On.
Procedure
14.8.6. Logging in to the Satellite CLI Using Red Hat Single Sign-On
Use this procedure to authenticate to the Satellite CLI using the code grant type.
Procedure
1. To authenticate to the Satellite CLI using the code grant type, enter the following command:
113
Red Hat Satellite 6.11 Administering Red Hat Satellite
2. To retrieve the success code, navigate to the URL that the command returns and provide the
required information.
4. In the command prompt of hammer auth login oauth, enter the success code to authenticate
to the Satellite CLI.
14.8.7. Configuring Group Mapping for Red Hat Single Sign-On Authentication
Optionally, to implement the Role Based Access Control (RBAC), create a group in Satellite, assign a
role to this group, and then map an Active Directory group to the Satellite group. As a result, anyone in
the given group in Red Hat Single Sign-On are logged in under the corresponding Satellite group. This
example configures users of the Satellite-admin user group in the Active Directory to authenticate as
users with administrator privileges on Satellite.
Procedure
1. In the Satellite web UI, navigate to Administer > User Groups, and click the Create User Group
button.
2. In the Name field, enter a name for the user group. The name should not be the same as in the
Active Directory.
3. Do not add users and user groups to the right-hand columns. Click the Roles tab.
7. In the Name field, enter the name of the Active Directory group.
14.9.1. Prerequisites for Configuring Satellite with Red Hat Single Sign-On
Authentication
Before configuring Satellite with Red Hat Single Sign-On external authentication, ensure that you meet
the following requirements:
A working installation of Red Hat Single Sign-On server that uses HTTPS instead of HTTP.
A realm for Satellite user accounts created in Red Hat Single Sign-On.
114
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
If the certificates or the CA are self-signed, ensure that they are added to the end-user
certificate trust store.
If you do not have an existing user database configured, you can manually create users in
Red Hat Single Sign-On. For more information, see Creating New Users in the Red Hat Single
Sign-On Server Administration Guide.
You can configure Satellite and Red Hat Single Sign-On with two different authentication methods:
You must decide on how you want your users to authenticate in advance because both methods require
different Satellite clients to be registered to Red Hat Single Sign-On and configured. The steps to
register and configure Satellite client in Red Hat Single Sign-On are distinguished within the procedure.
You can also register two different Satellite clients to Red Hat Single Sign-On if you want to use both
authentication methods and configure both clients accordingly.
Procedure
2. Register Satellite to Red Hat Single Sign-On as a client. Note that you the registration process
for logging in using the web UI and the CLI are different. You can register two clients Satellite
clients to Red Hat Single Sign-On to be able to log in to Satellite from the web UI and the CLI.
If you want you users to authenticate to Satellite using the web UI, create a client as follows:
Enter the password for the administer account when prompted. This command creates a
client for Satellite in Red Hat Single Sign-On.
Then, configure Satellite to use Red Hat Single Sign-On as an authentication source:
115
Red Hat Satellite 6.11 Administering Red Hat Satellite
If you want your users to authenticate to Satellite using the CLI, create a client as follows:
Enter the password for the administer account when prompted. This command creates a
client for Satellite in Red Hat Single Sign-On.
Procedure
1. In the Red Hat Single Sign-On web UI, navigate to Clients and click the Satellite client.
If you want your users to authenticate to Satellite using the Satellite web UI, from the
Access Type list, select confidential.
If you want your users to authenticate to Satellite using the CLI, from the Access Type list,
select public.
If you want your users to authenticate to Satellite using the Satellite web UI, in the blank
field below the existing URI, enter a URI in the form
https://satellite.example.com/users/extlogin. Note that you must add the string
/users/extlogin after the Satellite FQDN.
After completing this step, the Satellite client for logging in using the Satellite web UI must
have the following Valid Redirect URIs:
https://satellite.example.com/users/extlogin/redirect_uri
https://satellite.example.com/users/extlogin
If you want your users to authenticate to Satellite using the CLI, in the blank field below the
existing URI, enter urn:ietf:wg:oauth:2.0:oob.
After completing this step, the Satellite client for logging in using the CLI must have the
following Valid Redirect URIs:
116
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
https://satellite.example.com/users/extlogin/redirect_uri
urn:ietf:wg:oauth:2.0:oob
4. Click Save.
5. Click the Mappers tab and click Create to add an audience mapper.
8. From the Included Client Audience list, select the Satellite client.
9. Click Save.
10. Click Create to add a group mapper so that you can specify authorization in Satellite based on
group membership.
11. In the Name field, enter a name for the group mapper.
14.9.4. Configuring Satellite Settings for Red Hat Single Sign-On Authentication
Use this section to configure Satellite for Red Hat Single Sign-On authentication using the Satellite web
UI or the CLI.
14.9.4.1. Configuring Satellite Settings for Red Hat Single Sign-On Authentication Using
the Web UI
Use this procedure to configure Satellite settings for Red Hat Single Sign-On authentication using the
Satellite web UI.
Note that you can navigate to the following URL within your realm to obtain values to configure Satellite
settings: https://RHSSO.example.com/auth/realms/Satellite_Realm/.well-known/openid-
configuration
Prerequisite
Ensure that the Access Type setting in the Satellite client in the Red Hat Single Sign-On web UI
is set to confidential
Procedure
1. In the Satellite web UI, navigate to Administer > Settings, and click the Authentication tab.
2. Locate the Authorize login delegation row, and in the Value column, set the value to Yes.
3. Locate the Authorize login delegation auth source user autocreaterow, and in the Value
117
Red Hat Satellite 6.11 Administering Red Hat Satellite
3. Locate the Authorize login delegation auth source user autocreaterow, and in the Value
column, set the value to External.
4. Locate the Login delegation logout URL row, and in the Value column, set the value to
https://satellite.example.com/users/extlogout.
5. Locate the OIDC Algorithm row, and in the Value column, set the algorithm for encoding on
Red Hat Single Sign-On to RS256.
6. Locate the OIDC Audience row, and in the Value column, set the value to the client ID for
Red Hat Single Sign-On.
7. Locate the OIDC Issuer row, and in the Value column, set the value to
https://RHSSO.example.com/auth/realms/Satellite_Realm.
8. Locate the OIDC JWKs URL row, and in the Value column, set the value to
https://RHSSO.example.com/auth/realms/Satellite_Realm/protocol/openid-connect/certs.
9. In the Satellite web UI, navigate to Administer > Authentication Sources, click the vertical
ellipsis on the External card, and select Edit.
10. Click the Locations tab and add locations that can use the Red Hat Single Sign-On
authentication source.
11. Click the Organizations tab and add organizations that can use the Red Hat Single Sign-On
authentication source.
14.9.4.2. Configuring Satellite Settings for Red Hat Single Sign-On Authentication Using
the CLI
Use this procedure to configure Satellite settings for Red Hat Single Sign-On authentication using the
Satellite CLI.
Note that you can navigate to the following URL within your realm to obtain values to configure Satellite
settings: https://RHSSO.example.com/auth/realms/Satellite_Realm/.well-known/openid-
configuration
Prerequisite
Ensure that the Access Type setting in the Satellite client in the Red Hat Single Sign-On web UI
is set to public
Procedure
1. On Satellite, set the login delegation to true so that users can authenticate using the Open IDC
protocol:
118
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
3. Set the algorithm for encoding on Red Hat Single Sign-On, for example, RS256:
5. Add the value for the Hammer client in the Open IDC audience:
NOTE
If you register several Red Hat Single Sign-On clients to Satellite, ensure that you
append all audiences in the array. For example:
7. Set the value for Open IDC Java Web Token (JWT):
14.9.5. Configuring Satellite with Red Hat Single Sign-On for TOTP Authentication
Use this procedure to configure Satellite to use Red Hat Single Sign-On as an OpenID provider for
external authentication with Time-based One-time Password (TOTP).
Procedure
1. In the Red Hat Single Sign-On web UI, navigate to the Satellite realm.
3. Ensure that the Supported Applications field includes FreeOTP or Google Authenticator.
119
Red Hat Satellite 6.11 Administering Red Hat Satellite
5. Optional: If you want to use TOTP authentication as a default authentication method for all
users, click the Flows tab, and to the right of the OTP Form setting, select REQUIRED.
7. To the right of the Configure OTP row, select the Default Action checkbox.
14.9.6. Logging in to the Satellite web UI Using Red Hat Single Sign-On TOTP
Authentication
Use this procedure to log in to the Satellite web UI using Red Hat Single Sign-On TOTP authentication.
Procedure
1. Log in to Satellite, Satellite redirects you to the Red Hat Single Sign-On login screen.
3. The first attempt to log in, Red Hat Single Sign-On requests you to configure your client by
scanning the barcode and entering the pin displayed.
4. After you configure your client and enter a valid PIN, Red Hat Single Sign-On redirects you to
Satellite and logs you in.
14.9.7. Logging in to the Satellite CLI Using Red Hat Single Sign-On
Use this procedure to authenticate to the Satellite CLI using the code grant type.
Procedure
1. To authenticate to the Satellite CLI using the code grant type, enter the following command:
2. To retrieve the success code, navigate to the URL that the command returns and provide the
required information.
4. In the command prompt of hammer auth login oauth, enter the success code to authenticate
to the Satellite CLI.
14.9.8. Configuring Group Mapping for Red Hat Single Sign-On Authentication
Optionally, to implement the Role Based Access Control (RBAC), create a group in Satellite, assign a
120
CHAPTER 14. CONFIGURING EXTERNAL AUTHENTICATION
role to this group, and then map an Active Directory group to the Satellite group. As a result, anyone in
the given group in Red Hat Single Sign-On are logged in under the corresponding Satellite group. This
example configures users of the Satellite-admin user group in the Active Directory to authenticate as
users with administrator privileges on Satellite.
Procedure
1. In the Satellite web UI, navigate to Administer > User Groups, and click the Create User Group
button.
2. In the Name field, enter a name for the user group. The name should not be the same as in the
Active Directory.
3. Do not add users and user groups to the right-hand columns. Click the Roles tab.
7. In the Name field, enter the name of the Active Directory group.
Procedure
Enter the following command to disable Red Hat Single Sign-On Authentication:
# satellite-installer --reset-foreman-keycloak
121
Red Hat Satellite 6.11 Administering Red Hat Satellite
In the Satellite web UI, navigate to Monitor > Dashboard to access the content dashboard. The
dashboard can be rearranged by clicking on a widget and dragging it to a different position. The
following widgets are available:
Hosts that had performed Host that successfully performed modifications during
modifications without error the last reporting interval.
Hosts in error state Hosts on which an error was detected during the last
reporting interval.
Good host reports in the last Hosts without error that did not perform any
35 minutes modifications in the last 35 minutes.
Hosts that had pending Hosts on which some resources would be applied but
changes Puppet was configured to run in the noop mode.
Out of sync hosts Hosts that were not synchronized and the report was not
received during the last reporting interval.
Hosts with no reports Hosts for which no reports were collected during the last
reporting interval.
Hosts with alerts disabled Hosts which are not being monitored.
Click the particular configuration status to view hosts associated with it.
122
CHAPTER 15. MONITORING RESOURCES
A list of messages produced by hosts including administration information, product and subscription
changes, and any errors.
Monitor this section for global notifications sent to all users and to detect any unusual activity or
errors.
Invalid Hosts that have products installed, but are not correctly
subscribed. These hosts need attention immediately.
Valid Hosts that have a valid entitlement and are using their full
entitlements.
Click the subscription type to view hosts associated with subscriptions of the selected type.
123
Red Hat Satellite 6.11 Administering Red Hat Satellite
Subscription Status
An overview of the current subscription totals that shows the number of active subscriptions, the
number of subscriptions that expire in the next 120 days, and the number of subscriptions that have
recently expired.
Host Collections
A list of all host collections in Satellite and their status, including the number of content hosts in each
host collection.
Virt-who Configuration Status
An overview of the status of reports received from the virt-who daemon running on hosts in the
environment. The following table shows the possible states.
State Description
No Reports No report has been received because either an error occurred during the virt-who
configuration deployment, or the configuration has not been deployed yet, or virt-
who cannot connect to Satellite during the scheduled interval.
No Change No report has been received because hypervisor did not detect any changes on
the virtual machines, or virt-who failed to upload the reports during the scheduled
interval. If you added a virtual machine but the configuration is in the No Change
state, check that virt-who is running.
OK The report has been received without any errors during the scheduled interval.
The widget also lists the three latest configurations in the No Change state under Latest
Configurations Without Change.
NOTE
124
CHAPTER 15. MONITORING RESOURCES
NOTE
It is not possible to change the date format displayed in the Satellite web UI.
In the Task window, you can search for specific tasks, view their status, details, and elapsed time since
they started. You can also cancel and resume one or more tasks.
The tasks are managed using the Dynflow engine. Remote tasks have a timeout which can be adjusted as
needed.
2. Enter %_timeout in the search box and click Search. The search should return four settings,
including a description.
3. In the Value column, click the icon next to a number to edit it.
NOTE
Adjusting the %_finish_timeout values might help in case of low bandwidth. Adjusting the
%_accept_timeout values might help in case of high latency.
When a task is initialized, any back-end service that will be used in the task, such as Candlepin or Pulp,
will be checked for correct functioning. If the check fails, you will receive an error similar to the following
one:
There was an issue with the backend service candlepin: Connection refused – connect(2).
If the back-end service checking feature turns out to be causing any trouble, it can be disabled as
follows.
5. Click Save.
125
Red Hat Satellite 6.11 Administering Red Hat Satellite
By default, the Notifications area displays RSS feed events published in the Red Hat Satellite Blog .
The feed is refreshed every 12 hours and the Notifications area is updated whenever new events
become available.
You can configure the RSS feed notifications by changing the URL feed. The supported feed format is
RSS 2.0 and Atom. For an example of the RSS 2.0 feed structure, see the Red Hat Satellite Blog feed .
For an example of the Atom feed structure, see the Foreman blog feed .
1. In the Satellite web UI, navigate to Administer > Settings and select the Notifications tab.
2. In the RSS URL row, click the edit icon in the Value column and type the required URL.
3. In the RSS enable row, click the edit icon in the Value column to enable or disable this feature.
System Status, including Capsules, Available Providers, Compute Resources, and Plug-ins
Support Information
System Information
Installed Packages
In the upper right corner of Satellite web UI, click Administer > About.
NOTE
After Pulp failure, the status of Pulp might show OK instead of Error for up to 10 minutes
due to synchronization delay.
126
CHAPTER 15. MONITORING RESOURCES
This is indicated by a green icon in the Status column. A red icon indicates an inactive Capsule, use
the service foreman-proxy restart command on Capsule Server to activate it.
What services are enabled on Capsule Server?
In the Features column you can verify if Capsule for example provides a DHCP service or acts as a
Pulp mirror. Capsule features can be enabled during installation or configured in addition. For more
information, see Installing Capsule Server .
What organizations and locations is Capsule Server assigned to?
A Capsule Server can be assigned to multiple organizations and locations, but only Capsules
belonging to the currently selected organization are displayed. To list all Capsules, select Any
Organization from the context menu in the top left corner.
After changing the Capsule configuration, select Refresh from the drop-down menu in the Actions
column to ensure the Capsule table is up to date.
Click the Capsule name to view further details. At the Overview tab, you can find the same
information as in the Capsule table. In addition, you can answer to the following questions:
A summary of Puppet events, an overview of latest Puppet runs, and the synchronization status
of associated hosts at the General sub-tab.
A certificate status overview and the number of autosign entries at the General sub-tab.
A table of CA certificates associated with the Capsule at the Certificates sub-tab. Here you can
inspect the certificate expiry data, or cancel the certificate by clicking Revoke.
A list of autosign entries at the Autosign entries sub-tab. Here you can create an entry by
clicking New or delete one by clicking Delete.
NOTE
127
Red Hat Satellite 6.11 Administering Red Hat Satellite
NOTE
The Puppet and Puppet CA tabs are available only if you have Puppet enabled in your
Satellite. For more information, see Enabling Puppet Integration with Satellite in
Managing Configurations Using Puppet Integration in Red Hat Satellite .
128
CHAPTER 16. USING WEBHOOKS
Payload of a webhook is created from webhook templates. Webhook templates use the same ERB
syntax as Provisioning templates. Available variables:
@payload: Payload data, different for each event type. To access individual fields, use
@payload[:key_name] Ruby hash syntax.
@payload[:object]: Database object for events triggered by database actions (create, update,
delete). Not available for custom events.
@payload[:context]: Additional information as hash like request and session UUID, remote IP
address, user, organization and location.
Because webhooks use HTTP, no new infrastructure needs be added to existing web services.
The typical use case for webhooks in Satellite is making a call to a monitoring system when a host is
created or deleted.
Webhooks are useful where the action you want to perform in the external system can be achieved
through its API. Where it is necessary to run additional commands or edit files, the shellhooks plugin for
Capsules is available. The shellhooks plugin enables you to define a shell script on the Capsule that can
be executed through the API.
You can use webhooks successfully without installing the shellhooks plugin.
The scope of what is available is limited by the safemode and all objects and macros are both subject to
an API stability promise and are fully documented.
The number of events triggered by webhooks is substantially fewer than with foreman_hooks.
Webhooks are processed asynchronously so there is minimal risk of tampering with internals of the
system. It is not possible to migrate from foreman_hooks without creating payloads for each individual
webhook script. However, the webhooks plugin comes with several example payload templates. You can
also use the example payloads with shellhooks to simplify migration.
Both script and payload templates must be customized to achieve similar results.
129
Red Hat Satellite 6.11 Administering Red Hat Satellite
Procedure
# satellite-installer --enable-foreman-plugin-webhooks
Optional: you can install the CLI plugin using the following command:
# satellite-installer --enable-foreman-cli-webhooks
Procedure
For more information, see Template Writing Reference in Managing Hosts and for available
template macros and methods, visit /templates_doc on Satellite Server.
7. Click Submit.
Use the following procedure to create a webhook in the Satellite web UI.
Procedure
130
CHAPTER 16. USING WEBHOOKS
5. Enter a Target URL. Webhooks make HTTP requests to pre-configured URLs. The target URL
can be a dynamic URL.
6. Click Template to select a template. Webhook templates are used to generate the body of the
HTTP request to Satellite Server when a webhook is triggered.
8. Optional: If you do not want activate the webhook when you create it, uncheck the Enabled flag.
11. Optional: Uncheck Verify SSL if you do not want to verify the server certificate against the
system certificate store or Satellite CA.
12. On the Additional tab, enter the HTTP Content Type. For example, application/json,
application/xml or text/plain on the payload you define. The application does not attempt to
convert the content to match the specified content type.
When configuring webhooks with endpoints with non-standard HTTP or HTTPS ports, an SELinux port
must be assigned, see Configuring SELinux to Ensure Access to Satellite on Custom Ports in Installing
Satellite Server in a Connected Network Environment.
For more information about payload, go to Administer > About > Support > Templates DSL. A list of
available types is provided in the following table. Some events are marked as custom, in that case, the
payload is an object object but a Ruby hash (key-value data structure) so syntax is different.
131
Red Hat Satellite 6.11 Administering Red Hat Satellite
Actions Remote Execution Run Host Job A generic remote execution Actions::RemoteExecution::Ru
Succeeded job succeeded for a host. This nHostJob
event is emitted for all
Remote Execution jobs, when
complete.
Actions Remote Execution Run Host Job Install errata using the Katello Actions::RemoteExecution::Ru
Katello Errata Install Succeeded interface. nHostJob
Actions Remote Execution Run Host Job Install package group using Actions::RemoteExecution::Ru
Katello Group Install Succeeded the Katello interface. nHostJob
Actions Remote Execution Run Host Job Install package using the Actions::RemoteExecution::Ru
Katello Package Install Succeeded Katello interface. nHostJob
Actions Remote Execution Run Host Job Remove package group using Actions::RemoteExecution::Ru
Katello Group Remove the Katello interface. nHostJob
Actions Remote Execution Run Host Job Remove package using the Actions::RemoteExecution::Ru
Katello Package Remove Succeeded Katello interface. nHostJob
Actions Remote Execution Run Host Job Restart Services using the Actions::RemoteExecution::Ru
Katello Service Restart Succeeded Katello interface. nHostJob
Actions Remote Execution Run Host Job Update package group using Actions::RemoteExecution::Ru
Katello Group Update Succeeded the Katello interface. nHostJob
Actions Remote Execution Run Host Job Update package using the Actions::RemoteExecution::Ru
Katello Package Update Succeeded Katello interface. nHostJob
Actions Remote Execution Run Host Job Run OpenSCAP scan. Actions::RemoteExecution::Ru
Foreman OpenSCAP Run Scans nHostJob
Succeeded
Actions Remote Execution Run Host Job Runs an Ansible playbook Actions::RemoteExecution::Ru
Ansible Run Host Succeeded containing all the roles nHostJob
defined for a host.
Actions Remote Execution Run Host Job Upgrade Capsules on given Actions::RemoteExecution::Ru
Ansible Run Capsule Upgrade Succeeded Capsule server hosts. nHostJob
Actions Remote Execution Run Host Job Configure Cloud Connector Actions::RemoteExecution::Ru
Ansible Configure Cloud Connector on given hosts. nHostJob
Succeeded
Actions Remote Execution Run Host Job Runs a given maintenance Actions::RemoteExecution::Ru
Ansible Run Insights Plan Succeeded plan from Red Hat Access nHostJob
Insights given an ID.
132
CHAPTER 16. USING WEBHOOKS
Actions Remote Execution Run Host Job Run an Ansible playbook Actions::RemoteExecution::Ru
Ansible Run Playbook Succeeded against given hosts. nHostJob
Actions Remote Execution Run Host Job Run an Ansible playbook to Actions::RemoteExecution::Ru
Ansible Enable Web Console Succeeded enable the web console on nHostJob
given hosts.
Actions Remote Execution Run Host Job Perform a single Puppet run. Actions::RemoteExecution::Ru
Puppet Run Host Succeeded nHostJob
Actions Remote Execution Run Host Job Perform a module stream Actions::RemoteExecution::Ru
Katello Module Stream Action Succeeded action using the Katello nHostJob
interface.
Actions Remote Execution Run Host Job Upgradeability check for Actions::RemoteExecution::Ru
Leapp Pre-upgrade Succeeded RHEL 7 host. nHostJob
Actions Remote Execution Run Host Job Run Remediation plan with Actions::RemoteExecution::Ru
Leapp Remediation Plan Succeeded Leapp. nHostJob
Actions Remote Execution Run Host Job Run Leapp upgrade job for Actions::RemoteExecution::Ru
Leapp Upgrade Succeeded RHEL 7 host. nHostJob
133
Red Hat Satellite 6.11 Administering Red Hat Satellite
16.6. SHELLHOOKS
With webhooks, you can only map one Satellite event to one API call. For advanced integrations, where a
single shell script can contain multiple commands, you can install a Capsule shellhooks plugin that
exposes executables using a REST HTTP API.
You can then configure a webhook to reach out to a Capsule API to run a predefined shellhook. A
shellhook is an executable script that can be written in any language as long as it can be executed. The
shellhook can for example contain commands or edit files.
You must place your executable scripts in /var/lib/foreman-proxy/shellhooks with only alphanumeric
characters and underscores in their name.
You can pass input to shellhook script through the webhook payload. This input is redirected to
standard input of the shellhook script. You can pass arguments to shellhook script using HTTP headers
in format X-Shellhook-Arg-1 to X-Shellhook-Arg-99. For more information on passing arguments to
shellhook script, see:
NOTE
Unlike the shellhooks directory, the URL must contain /shellhook/ in singular to be valid.
You must enable Capsule Authorization for each webhook connected to a shellhook to enable it to
authorize a call.
134
CHAPTER 16. USING WEBHOOKS
Standard output and standard error output are redirected to the Capsule logs as messages with debug
or warning levels respectively.
For an example on creating a shellhook script, see Section 16.10, “Creating a Shellhook to Print
Arguments”.
# satellite-installer --enable-foreman-proxy-plugin-shellhooks
Procedure
When creating a webhook, on the Additional tab, create HTTP headers in the following format:
{
"X-Shellhook-Arg-1": "VALUE",
"X-Shellhook-Arg-2": "VALUE"
}
Ensure that the headers have a valid JSON or ERB format. Only pass safe fields like database
ID, name, or labels that do not include new lines or quote characters.
Example
{
"X-Shellhook-Arg-1": "<%= @object.content_view_version_id %>",
"X-Shellhook-Arg-2": "<%= @object.content_view_name %>"
}
Procedure
When executing a shellhook script using curl, create HTTP headers in the following format:
"X-Shellhook-Arg-1: VALUE"
"X-Shellhook-Arg-2: VALUE"
135
Red Hat Satellite 6.11 Administering Red Hat Satellite
Example
Prerequisite
You have the webhooks and shellhooks plug-ins installed. For more information, see:
Procedure
#!/bin/sh
#
# Prints all arguments to stderr
#
echo "$@" >&2
4. From the Subscribe to list, select Actions Remote Execution Run Host Job Succeeded.
6. In the Target URL field, enter the URL of your Capsule Server followed by
:9090/shellhook/print_args:
https://capsule.example.com:9090/shellhook/print_args
Note that shellhook in the URL is singular, unlike the shellhooks directory.
9. On the Additional tab, enter the following text in the Optional HTTP headers field:
{
"X-Shellhook-Arg-1": "Hello",
"X-Shellhook-Arg-2": "World!"
136
CHAPTER 16. USING WEBHOOKS
10. Click Submit. You now have successfully created a shellhook that prints "Hello World!" to
Capsule logs every time you a remote execution job succeeds.
Verification
1. Run a remote execution job on any host. You can use time as a command. For more
information, see Executing a Remote Job in Managing Hosts.
2. Verify that the shellhook script was triggered and printed "Hello World!" to Capsule Server logs:
# tail /var/log/foreman-proxy/proxy.log
You should find the following lines at the end of the log:
137
Red Hat Satellite 6.11 Administering Red Hat Satellite
Available fields, resources to search, and the way the query is interpreted all depend on context, that is,
the page where you perform the search. For example, the field "hostgroup" on the Hosts page is
equivalent to the field "name" on the Host Groups page. The field type also determines available
operators and accepted values.
For a list of all operators, see Operators. For descriptions of value formats, see Values.
138
CHAPTER 17. SEARCHING AND BOOKMARKING
HAS or set? Returns values that are present has hostgroup or set?
or not present, respectively. hostgroup
On the Puppet Classes page, the
NOT HAS or
null? search will return classes that are
assigned to at least one host
group.
Simple queries that follow the described syntax can be combined into more complex ones using logical
operators AND, OR, and NOT. Alternative notations of the operators are also accepted:
139
Red Hat Satellite 6.11 Administering Red Hat Satellite
Text Values
Text containing whitespaces must be enclosed in quotes. A whitespace is otherwise interpreted as
the AND operator.
Examples:
The search will return hosts with assigned host group named "Web servers".
The search will return hosts in the host group Web with any field matching %servers%.
Temporal Values
Many date and time formats are accepted, including the following:
10-January-2017
10/January/2017
WARNING
NOTE
Because of searching across all fields, free text search results are not very accurate and searching can
be slow, especially on a large number of hosts. For this reason, we recommend that you avoid free text
and use more specific, syntax-based queries whenever possible.
140
CHAPTER 17. SEARCHING AND BOOKMARKING
You can save search queries as bookmarks for reuse. You can also delete or modify a bookmark.
Bookmarks appear only on the page on which they were created. On some pages, there are default
bookmarks available for the common searches, for example, all active or disabled hosts.
Procedure
1. In the Satellite web UI, navigate to the page where you want to create a bookmark.
2. In the Search field, enter the search query you want to save.
3. Select the arrow to the right of the Search button and then select Bookmark this search.
Select the Public checkbox to set the bookmark as public and visible to all users.
Clear the Public checkbox to set the bookmark as private and only visible to the user who
created it.
7. Click Submit.
To confirm the creation, either select the arrow to the right of the Search button to display the list of
bookmarks, or navigate to Administer > Bookmarks and then check the Bookmarks list for the name of
the bookmark.
Procedure
2. On the Bookmarks page, click Delete for the Bookmark you want to delete.
To confirm the deletion, check the Bookmarks list for the name of the bookmark.
141
Red Hat Satellite 6.11 Administering Red Hat Satellite
Show host power status Yes Show power status on the host index
page. This feature calls to compute
resource providers which may lead to
decreased performance on the host
listing page.
HTTP(S) proxy except hosts [] Set hostnames to which requests are not
to be proxied. Requests to the local host
are excluded by default.
142
APPENDIX A. ADMINISTRATION SETTINGS
New host details UI Yes Satellite loads the new UI for host details.
Require auth for dynflow Yes The user must be authenticated as having
console administrative rights before accessing the
dynflow console.
143
Red Hat Satellite 6.11 Administering Red Hat Satellite
Allow Capsule batch tasks Yes Enable batch triggering of tasks on the
Capsule.
Capsule tasks batch size 100 Number of tasks included in one request
to the Capsule if
foreman_tasks_proxy_batch_trigge
r is enabled.
Commit message Templates export made by a Custom commit message for exported
Satellite user templates.
144
APPENDIX A. ADMINISTRATION SETTINGS
Lock templates Keep, do not lock new How to handle lock for imported
templates.
Possible options:
/tmp/dir
git://example.com
https://example.com
ssh://example.com
145
Red Hat Satellite 6.11 Administering Red Hat Satellite
146
APPENDIX A. ADMINISTRATION SETTINGS
Host image template Boot disk iPXE - host iPXE template to use for host-specific
boot disks.
147
Red Hat Satellite 6.11 Administering Red Hat Satellite
Generic image template Boot disk iPXE - generic host iPXE template to use for generic host
boot disks.
Generic Grub2 EFI image Boot disk Grub2 EFI - generic Grub2 template to use for generic
template host Extensible Firmware Interface (EFI) host
boot disks.
Installation media caching Yes Installation media files are cached for full
host images.
Allowed bootdisk types [generic, host, full_host, List of permitted bootdisk types. Leave
subnet] blank to disable it.
148
APPENDIX A. ADMINISTRATION SETTINGS
Default synced OS finish Kickstart default finish Default finish template for new operating
template systems created from synced content.
Default synced OS user-data Kickstart default user data Default user data for new operating
systems created from synced content.
Default synced OS PXELinux Kickstart default PXELinux Default PXELinux template for new
template operating systems created from synced
content.
Default synced OS PXEGrub Kickstart default PXEGrub Default PXEGrub template for new
template operating systems created from synced
content.
Default synced OS Kickstart default PXEGrub2 Default PXEGrub2 template for new
PXEGrub2 template operating systems created from synced
content.
Default synced OS iPXE Kickstart default iPXE Default iPXE template for new operating
template systems created from synced content.
Default synced OS partition Kickstart default Default partitioning table for new
table operating systems created from synced
content.
Default synced OS kexec Discovery Red Hat kexec Default kexec template for new operating
template systems created from synced content.
Default synced OS Atomic Atomic Kickstart default Default provisioning template for new
template atomic operating systems created from
synced content.
149
Red Hat Satellite 6.11 Administering Red Hat Satellite
Sync Capsules after Content Yes Whether or not to auto sync Capsules
View promotion after a Content View promotion.
Default Red Hat Repository on_demand Default download policy for enabled
download policy Red Hat repositories. Either immediate
or on_demand .
Pulp client key /etc/pki/katello/private/pul Path for SSL key used for Pulp server
p-client.key authentication.
150
APPENDIX A. ADMINISTRATION SETTINGS
Pulp client cert /etc/pki/katello/certs/pulp- Path for SSL certificate used for Pulp
client.crt server authentication.
Default Location subscribed Default Location Default location where new subscribed
hosts hosts are stored after registration.
151
Red Hat Satellite 6.11 Administering Red Hat Satellite
Pulp bulk load size 2000 The number of items fetched from a
single paged Pulp API call.
152
APPENDIX A. ADMINISTRATION SETTINGS
Restrict registered Capsules Yes Only known Capsules can access features
that use Capsule authentication.
Require SSL for capsules Yes Client SSL certificates are used to
identify Capsules (:require_ssl should
also be enabled).
SSL private key /etc/foreman/client_key.p SSL Private Key path that Satellite uses
em to communicate with its proxies.
153
Red Hat Satellite 6.11 Administering Red Hat Satellite
Websockets SSL key etc/pki/katello/private/kat Private key file path that Satellite uses to
ello-apache.key encrypt websockets.
Login delegation logout URL Redirect your users to this URL on logout.
Enable Authorize login delegation also.
154
APPENDIX A. ADMINISTRATION SETTINGS
SMTP OpenSSL verify mode Default verification mode When using TLS, you can set how
OpenSSL checks the certificate.
155
Red Hat Satellite 6.11 Administering Red Hat Satellite
156
APPENDIX A. ADMINISTRATION SETTINGS
Libvirt default console 0.0.0.0 The IP address that should be used for
address the console listen address when
provisioning new virtual machines using
libvirt.
Update IP from built request No Satellite updates the host IP with the IP
that made the build request.
Use short name for VMs No Satellite uses the short hostname instead
of the FQDN for creating new virtual
machines.
DNS timeout [5, 10, 15, 20] List of timeouts (in seconds) for DNS
lookup attempts such as the
dns_lookup macro and DNS record
conflict validation.
157
Red Hat Satellite 6.11 Administering Red Hat Satellite
Clean up failed deployment Yes Satellite deletes the virtual machine if the
provisioning script ends with a non-zero
exit code.
Default PXE local template Default PXE menu item in local template
entry – local, local_chain_hd0 , or custom,
use blank for template default.
iPXE intermediate script iPXE intermediate script Intermediate iPXE script for unattended
installations.
158
APPENDIX A. ADMINISTRATION SETTINGS
Default 'Host initial Linux host_init_config default Default 'Host initial configuration'
configuration' template template, automatically assigned when a
new operating system is created.
Global default PXEGrub2 PXEGrub2 global default Global default PXEGrub2 template. This
template template is deployed to all configured
TFTP servers. It is not affected by
upgrades.
Global default PXELinux PXELinux global default Global default PXELinux template. This
template template is deployed to all configured
TFTP servers. It is not affected by
upgrades.
Global default PXEGrub PXEGrub global default Global default PXEGrub template. This
template template is deployed to all configured
TFTP servers. It is not affected by
upgrades.
Global default iPXE iPXE global default Global default iPXE template. This
template template is deployed to all configured
TFTP servers. It is not affected by
upgrades.
Local boot PXEGrub2 PXEGrub2 default local boot Template that is selected as PXEGrub2
template default for local boot.
Local boot PXELinux PXELinux default local boot Template that is selected as PXELinux
template default for local boot.
Local boot PXEGrub PXEGrub default local boot Template that is selected as PXEGrub
template default for local boot.
Local boot iPXE template iPXE default local boot Template that is selected as iPXE default
for local boot.
159
Red Hat Satellite 6.11 Administering Red Hat Satellite
Create new host when facts Yes Satellite creates the host when new facts
are uploaded are received.
Default location Default Location Hosts created after a Puppet run that did
not send a location fact are placed in this
location.
Default organization Default Organization Hosts created after a Puppet run that did
not send an organization fact are placed
in this organization.
Ignore facts for domain No Stop updating domain values from facts.
Update subnets from facts None Satellite updates a host’s subnet from its
facts.
Ignore interfaces facts for No Stop updating IP and MAC address values
provisioning from facts (affects all interfaces).
160
APPENDIX A. ADMINISTRATION SETTINGS
Ignore interfaces with [ lo, en*v*, usb*, vnet*, Skip creating or updating host network
matching identifier macvtap*, ;vdsmdummy;, interfaces objects with identifiers
veth*, tap*, qbr*, qvb*, matching these values from incoming
qvo*, qr-*, qg-*, vlinuxbr*, facts. You can use a * wildcard to match
vovsbr*, br-int] identifiers with indexes, e.g. macvtap*.
The ignored interface raw facts are still
stored in the database, see the Exclude
pattern setting for more details.
Exclude pattern for facts [ lo, en*v*, usb*, vnet*, Exclude pattern for all types of imported
stored in satellite macvtap*, ;vdsmdummy;, facts (Puppet, Ansible, rhsm). Those
veth*, tap*, qbr*, qvb*, facts are not stored in the satellite
qvo*, qr-*, qg-*, vlinuxbr*, database. You can use a * wildcard to
vovsbr*, br-int, match names with indexes, e.g. ignore*
load_averages::*, filters out ignore, ignore123 as well as
memory::swap::available a::ignore or even a::ignore123::b.
*,
memory::swap::capacity,
memory::swap::used*,
memory::system::availab
le*,
memory::system::capacit
y,
memory::system::used*,
memoryfree,
memoryfree_mb,
swapfree , swapfree_mb,
uptime_hours ,
uptime_days]
Create new host when report Yes Satellite creates the host when a report is
is uploaded received.
Default parameters lookup [ fqdn, hostgroup, os, Satellite evaluates host smart class
path domain] parameters in this order by default.
161
Red Hat Satellite 6.11 Administering Red Hat Satellite
Fallback to Any Capsule No Search the host for any proxy with
Remote Execution. This is useful when
the host has no subnet or the subnet
does not have an execution proxy.
SSH User root Default user to use for SSH. You can
override per host by setting the
remote_execution_ssh_user
parameter.
162
APPENDIX A. ADMINISTRATION SETTINGS
Default SSH password ***** Default password to use for SSH. You can
override per host by setting the
remote_execution_ssh_password
parameter.
Default SSH key passphrase ***** Default key passphrase to use for SSH.
You can override per host by setting the
remote_execution_ssh_key_passp
hrase parameter.
Form Job Template Run Command - SSH Default Choose a job template that is pre-
selected in job invocation form.
163
Red Hat Satellite 6.11 Administering Red Hat Satellite
Job Invocation Report Jobs - Invocation report Select a report template used for
Template template generating a report for a particular
remote execution job.
Default verbosity level Disabled Satellite adds this level of verbosity for
additional debugging output when
running Ansible playbooks.
Default Ansible inventory Ansible - Ansible Inventory Satellite uses this template to schedule
report template the report with Ansible inventory.
164
APPENDIX A. ADMINISTRATION SETTINGS
Capsule tasks batch size for Number of tasks which should be sent to
Ansible the Capsule in one request if
satellite_tasks_proxy_batch_trigge
r is enabled. If set, it overrides
satellite_tasks_proxy_batch_size
setting for Ansible jobs.
165