Red Hat Satellite-6.4-Quick Start Guide-en-US
Red Hat Satellite-6.4-Quick Start Guide-en-US
Red Hat Satellite-6.4-Quick Start Guide-en-US
Installing, configuring, and provisioning physical and virtual hosts from Red Hat
Satellite Servers.
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
The Red Hat Satellite Quick Start Guide is designed to help you quickly install and configure Red
Hat Satellite Server, as well as provision physical and virtual hosts. This guide is aimed primarily at
Satellite administrators with sound networking knowledge and skills.
Table of Contents
Table of Contents
. . . . . . . . . . . 1.. .SHOULD
CHAPTER . . . . . . . . . .YOU
. . . . .USE
. . . . .THIS
. . . . .GUIDE?
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3. . . . . . . . . . . . .
.CHAPTER
. . . . . . . . . . 2.
. . INSTALLING
. . . . . . . . . . . . . .SATELLITE
. . . . . . . . . . . .SERVER
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4. . . . . . . . . . . . .
2.1. PREPARING FOR SATELLITE SERVER INSTALLATION 4
2.2. REGISTERING TO RED HAT SUBSCRIPTION MANAGEMENT 4
2.3. IDENTIFYING AND ATTACHING THE SATELLITE SUBSCRIPTION TO THE HOST 4
2.4. CONFIGURING REPOSITORIES 6
2.5. INSTALLING SATELLITE SERVER 6
2.6. CREATING A SUBSCRIPTION ALLOCATION IN CUSTOMER PORTAL 6
2.6.1. Adding Subscriptions to an Allocation 7
2.7. EXPORTING A SUBSCRIPTION MANIFEST FROM THE CUSTOMER PORTAL 7
2.8. UPLOADING A MANIFEST TO YOUR SATELLITE SERVER 7
.CHAPTER
. . . . . . . . . . 3.
. . ASSOCIATING
. . . . . . . . . . . . . . . .OBJECTS
. . . . . . . . . . WITH
. . . . . . THE
. . . . . DEFAULT
. . . . . . . . . . .ORGANIZATION
. . . . . . . . . . . . . . . . .AND
. . . . . LOCATION
. . . . . . . . . . . . . . . . . . . . . . . . . . 9. . . . . . . . . . . . .
3.1. CREATING A NEW DOMAIN 9
3.2. ASSOCIATING THE DOMAIN WITH THE DEFAULT ORGANIZATION 9
3.3. CONFIGURING THE SUBNET 10
. . . . . . . . . . . 4.
CHAPTER . . .IMPORTING
. . . . . . . . . . . . SUBSCRIPTIONS
. . . . . . . . . . . . . . . . . . AND
. . . . . .SYNCHRONIZING
. . . . . . . . . . . . . . . . . . CONTENT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
..............
4.1. ENABLING RED HAT REPOSITORIES 13
4.2. CREATING A CUSTOM PRODUCT 14
4.3. SYNCHRONIZING CONTENT 15
.CHAPTER
. . . . . . . . . . 5.
. . MANAGING
. . . . . . . . . . . . .AND
. . . . . PROMOTING
. . . . . . . . . . . . . . CONTENT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
..............
5.1. CREATING APPLICATION LIFE CYCLE ENVIRONMENTS 17
5.2. CREATING SIMPLE CONTENT VIEWS 17
5.3. ADDING RED HAT ENTERPRISE LINUX REPOSITORIES 17
5.4. ADDING PUPPET MODULES TO A CONTENT VIEW 18
5.5. PUBLISHING A CONTENT VIEW 19
5.6. CREATING AND EDITING ACTIVATION KEYS 20
. . . . . . . . . . . 6.
CHAPTER . . .PATCHING
. . . . . . . . . . . YOUR
. . . . . . .SYSTEMS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
..............
6.1. REGISTERING EXISTING HOSTS 22
6.1.1. Registering an Existing Red Hat Enterprise Linux Host 22
6.1.2. Registering an Atomic Host 22
6.2. PATCHING YOUR SYSTEM USING KATELLO AGENT 23
6.2.1. Installing Katello Agent 23
6.2.2. Applying Errata to Content Hosts 23
6.3. PATCHING YOUR SYSTEM USING REMOTE EXECUTION 24
6.3.1. Enabling Remote Execution on a Host 24
6.3.2. Installing Errata on Your Host 24
.CHAPTER
. . . . . . . . . . 7.
. . FINALIZING
. . . . . . . . . . . . . THE
. . . . .PROVISIONING
. . . . . . . . . . . . . . . . CONFIGURATION
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
..............
7.1. CREATING CUSTOM PROVISIONING TEMPLATES 25
7.2. CREATING HOST GROUPS 25
. . . . . . . . . . . 8.
CHAPTER . . .PROVISIONING
. . . . . . . . . . . . . . . .HOSTS
. . . . . . . .USING
. . . . . . .A
. .PXE-LESS
. . . . . . . . . . . DISCOVERY
. . . . . . . . . . . . . IMAGE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
..............
1
Red Hat Satellite 6.4 Quick Start Guide
2
CHAPTER 1. SHOULD YOU USE THIS GUIDE?
You should use this guide if the following assumptions apply to your environment:
You can connect to the Red Hat Content Network to obtain packages and receive updates.
You have an existing external DNS server that you want to connect to Satellite Server.
Your environment does not use DHCP, or uses external DHCP services.
You have an existing host that you want to register to Satellite to use for patching.
Some of the tasks in this guide use example information. You should ensure that you use values that are
specific to your environment.
If your environment does not fit with these assumptions, you can use the following resources to assist
you with installing Satellite Server:
10 Steps to Build an SOE: How Red Hat Satellite 6 Supports Setting Up a Standard Operating
Environment
3
Red Hat Satellite 6.4 Quick Start Guide
Prerequisites
You must create a Red Hat Enterprise Linux 7 host before you can install and configure Satellite
Server. Red Hat Enterprise Linux version 7.5 or later is supported. For more information about
installing Red Hat Enterprise Linux 7, see the Red Hat Enterprise Linux 7 Installation Guide .
Ensure that your environment meets the requirements for installation, including meeting
storage requirements, and ensuring that network ports and firewalls are open and configured.
For more information, see the Preparing your Environment for Installation in Installing Satellite
Server from a Connected Network.
1. Register your Satellite Server, using your user name and password.
# subscription-manager register
Username:
Password:
The system has been registered with ID: 541084ff2-44cab-4eb1-9fa1-7683431bcf9a
4
CHAPTER 2. INSTALLING SATELLITE SERVER
Suggested: 1
Service Level: Premium
Service Type: L1-L3
Multi-Entitlement: No
Ends: 10/07/2014
System Type: Physical
2. Make a note of the Pool ID so that you can attach it to your Satellite host. Your Pool ID will be
different than the example provided.
3. To attach your subscription to your Satellite Server, enter the following command, using your
Pool ID:
4. To verify that the subscriptions are successfully attached, enter the following command:
+-------------------------------------------+
Consumed Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Satellite
Provides: Red Hat Satellite
Red Hat Enterprise Linux Server
Red Hat Software Collections (for RHEL Server)
Red Hat Satellite
Red Hat Satellite 6
Red Hat Software Collections (for RHEL Server)
Red Hat Satellite Capsule
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
Red Hat Satellite with Embedded Oracle
Red Hat Satellite Capsule
Red Hat Enterprise Linux High Availability (for RHEL Server)
SKU: MCT0370
Contract: 10293569
Account: 5361051
Serial: 1653856191250699363
Pool ID: 8a85f9874152663c0541943739717d11
Active: True
Quantity Used: 1
Service Level: Premium
Service Type: L1-L3
Status Details:
Starts: 10/08/2013
Ends: 10/07/2014
System Type: Physical
5
Red Hat Satellite 6.4 Quick Start Guide
2. Enable the Red Hat Satellite, Red Hat Enterprise Linux, and Red Hat Software Collections
repositories.
# yum update
You can access your subscription information on the Red Hat Customer Portal. You can also assign
subscriptions for use in on-premise management applications, such as Red Hat Satellite, using
subscription allocations.
6
CHAPTER 2. INSTALLING SATELLITE SERVER
1. Open https://access.redhat.com/ in your browser and log in to your Red Hat account.
6. From the Type list, select the type and version that corresponds to your Satellite Server.
7. Click Create.
5. A list of your Red Hat product subscriptions appears. Enter the Entitlement Quantity for each
product.
When you have added subscriptions to the allocation, export the manifest file.
From the Details tab, under the Subscription section, by clicking the Export Manifest button.
When the manifest is exported, the Customer Portal encodes the selected subscriptions certificates and
creates a .zip archive. This is the Subscription Manifest, which can be uploaded into Satellite Server.
7
Red Hat Satellite 6.4 Quick Start Guide
8
CHAPTER 3. ASSOCIATING OBJECTS WITH THE DEFAULT ORGANIZATION AND LOCATION
2. In the DNS Domain field, enter the full DNS domain name.
3. In the Fullname field, enter the plain text name of the domain.
5. Click Add Parameter and fill in the Name and Value fields.
6. Click the Locations tab, and add the location where the domain resides.
7. Click the Organizations tab, and add the organization that the domain belongs to.
NOTE
In this example, the --dns-id option uses 1, which is the ID of the Satellite Server’s
Integrated Capsule.
Associating the Domain with the Default Organization Using the Web UI
3. On the Locations tab, click Default_Location to add it to the Selected items list.
4. On the Organizations tab, click Default_Organization to add it to the Selected items list.
5. Click Submit.
9
Red Hat Satellite 6.4 Quick Start Guide
Associating the Domain with the Default Organization Using Hammer ClI
2. Click New Subnet and enter the information specific to your environment.
Name: Provisioning_Net
IPAM: None
Name: Provisioning_Net
10
CHAPTER 3. ASSOCIATING OBJECTS WITH THE DEFAULT ORGANIZATION AND LOCATION
IPAM: None
3. Click Submit.
6. On the Capsules tab, change the TFTP and Discovery Proxy capsule to reflect the host name
of the Satellite Server.
7. On the Locations tab, select Default_Location under All items to associate the domain with the
default location.
8. On the Organizations tab, select Default_Organization under All items to associate the domain
with the default organization.
1. Create a subnet.
11
Red Hat Satellite 6.4 Quick Start Guide
--gateway 172.17.13.1 \
--from 172.17.13.100 \
--to 172.17.13.150 \
--tftp-id 1
NOTE
12
CHAPTER 4. IMPORTING SUBSCRIPTIONS AND SYNCHRONIZING CONTENT
NOTE
For a list of repositories required to install Red Hat Satellite 6.4, see Content Delivery
Network Repositories in the Release Notes.
Select the appropriate release for your environment. You can use the examples in this topic to enable
the following repositories:
Enabling Red Hat Enterprise Linux 7 Server Repositories Using the Web UI
1. In the Satellite web UI, navigate to Content > Red Hat Repositories.
2. Use the Search field to enter the following repository name: Red Hat Enterprise Linux 7
Server (RPMs).
3. In the Available Repositories pane, click on Red Hat Enterprise Linux 7 Server (RPMs)to
expand the repository set.
4. For the x86_64 7.5 entry, click the Enable icon to enable the repository.
5. Use the Search field to enter the following repository name: Red Hat Satellite Tools 6.4 (for
RHEL 7 Server) (RPMs).
6. In the Available Repositories pane, click on Red Hat Satellite Tools 6.4 (for RHEL 7 Server)
(RPMs) to expand the repository set.
7. For the x86_64 entry, click the Enable icon to enable the repository.
8. Use the Search field to enter the following repository name: Red Hat Enterprise Linux Server 7
(Kickstart).
9. In the Available Repositories pane, click on Red Hat Enterprise Linux 7 Server (Kickstart)to
expand the repository set.
10. For the x86_64 7.5 entry, click the Enable icon to enable the repository.
Enabling Red Hat Enterprise Linux 7 Server Repositories Using Hammer CLI
13
Red Hat Satellite 6.4 Quick Start Guide
3. Click Save.
7. Click Save.
14
CHAPTER 4. IMPORTING SUBSCRIPTIONS AND SYNCHRONIZING CONTENT
2. Click Content → Products and click Custom Products in the Name field.
3. On the Repositories tab, click Puppet Modules to modify the Puppet Modules repository.
4. In the Upload Package section, click Choose Files, and navigate to the motd module that you
downloaded.
5. Click Upload.
For the --content-type option, specify whether you want yum, puppet, or docker content. The
command accepts only lower-case text.
Synchronizing Content Using Red Hat Enterprise Linux 7 Server Using the Web UI
Red Hat Enterprise Linux 7 Server - Satellite Tools 6.4 RPMs x86_64.
4. Navigate to Red Hat Enterprise Linux Server→ 7.5 → x86_64 and select Red Hat Enterprise
Linux 7 Server Kickstart x86_64 7.5.
15
Red Hat Satellite 6.4 Quick Start Guide
16
CHAPTER 5. MANAGING AND PROMOTING CONTENT
1. Click Content → Life Cycle Environments to open the Life Cycle Environment Paths page.
4. Click Save.
1. Click Content → Content Views and then click Create New View.
17
Red Hat Satellite 6.4 Quick Start Guide
You can add Red Hat Enterprise Linux repositories to a Content View. Optionally, you can use the
procedure described in this topic to add Red Hat repositories, custom repositories, or both to a Content
View.
In the following example, all content is included in the published Content View. Optionally, you can
create filters to control whether content is included or excluded from the published Content View.
1. Navigate to Content > Content Views, and then select the Content View you want to edit.
2. In the Content View pane, click the Yum Content tab, and then select Repositories.
3. In the Add tab, select the following repositories from the Repository Selection list:
Red Hat Satellite Tools 6.4 for RHEL 7 Server RPMs x86_64
18
CHAPTER 5. MANAGING AND PROMOTING CONTENT
3. On the Puppet Modules tab, click Add New Module to display a list of available Puppet
Modules.
You can use the Filter field to help locate the required module.
5. Click Select Version next to the version of the module that you want to add.
NOTE
If you select "Use Latest" when you select which Puppet module version to use, it means
that whenever a new version of the Content View is published, the latest version of that
module is included in the published view.
2. Click the name of the Content View that you want to publish.
3. Click Publish New Version to display the Publish New Version page.
This specifies the version and allows you to enter a comment to reflect any changes made to the
Content View.
6. Select the check box for the Dev environment, and then click Promote Version.
19
Red Hat Satellite 6.4 Quick Start Guide
1. On the main menu, click Content → Activation Keys → New Activation Key.
5. In the Content View drop-down list, select the RHEL 7 x86_64 Content View, and then click
Save.
6. On the Activation Keys page, click the Subscriptions tab, then click the Add tab to display the
list of available subscriptions.
7. From the list of available subscriptions, select the subscriptions you want to add.
2. Add a subscription.
20
CHAPTER 5. MANAGING AND PROMOTING CONTENT
--subscription-id 8 \
--organization "Default_Organization"
If you do not plan to use Satellite Server to patch your systems, continue to Creating Provisioning
Templates.
21
Red Hat Satellite 6.4 Quick Start Guide
# subscription-manager clean
This installs the proper certificates which allow communication between the client and the
Satellite Server.
3. Run katello-rhsm-consumer:
NOTE
22
CHAPTER 6. PATCHING YOUR SYSTEMS
NOTE
Because Atomic is functionally an appliance, we do not recommend that you try to install
katello-agent on it.
The goferd service must be running so that the Red Hat Satellite Server or Capsule Server can provide
information about errata that are applicable for content hosts.
2. Select the Errata tab to view the list of errata applicable to the content host.
23
Red Hat Satellite 6.4 Quick Start Guide
1. Go to Hosts → All hosts and click the check box next to the host’s name.
2. Click Select Action and select Schedule Remote Job from the drop-down menu.
4. In the Job template drop-down menu, select Install Errata-Katello SSH Default.
24
CHAPTER 7. FINALIZING THE PROVISIONING CONFIGURATION
2. In the Name column, select Kickstart Default iPXE or PXELinux in the list of provisioning
templates.
This displays the configuration tabs where you can customize the template.
3. On the Association tab, select the appropriate operating system and click Submit.
5. On the Association tab, select the appropriate operating system and click Submit.
6. On the main menu, click Hosts → Operating Systems and select the appropriate operating
system.
This displays the configuration tabs where you can customize the operating system.
9. On the Templates tab, select Katello Kickstart Default from the provision drop-down list.
10. Select Discovery Red Hat kexec from the kexec drop-down list and click Submit.
If you use PXE-less discovery, you should use the kexec template type.
25
Red Hat Satellite 6.4 Quick Start Guide
need to specify the same properties for each host. You can associate an activation key with a host
group, which allows the provisioned host to be registered to the Satellite Server and associated with the
selected life cycle environment, Content View, subscriptions, and so on.
1. On the main menu, click Configure → Host Groups, and then click New Host Group.
Name: RHEL6Server-x86_64
Content Source: The FQDN of your Capsule (in this case the Satellite Server)
3. On the Puppet Classes tab, select the motd puppet module from the list of available classes.
Domain: example.org
Subnet: Provisioning_Net
Realm: For the purposes of this example, leave this field blank. If you have configured realm
management, for example IPA, select the appropriate realm here.
Architecture: x86_64
Media: Default_Organization/Library Red Hat Server 6.5 x86_64. In this example, this is
automatically populated. If this field is not automatically populated, it means the
Organization and Location associations are not correctly configured.
9. Click Submit.
26
CHAPTER 7. FINALIZING THE PROVISIONING CONFIGURATION
27
Red Hat Satellite 6.4 Quick Start Guide
You can use the Discovery image ISO to boot either bare metal hardware or virtual systems and attach
them to the Satellite Server. Both DHCP and static IP networking are supported. The Discovery Plug-
ins are installed by default and are a part of the subscribed repository.
1. Verify that your Satellite Server has a compatible version of the discovery plug-ins.
2. For physical systems, transfer the ISO image onto a USB stick or CDROM/DVD. For virtual
systems, attach the ISO image to a virtual CD-ROM.
4. Select either Manual network setup or Discover with DHCP, depending on your environment.
5. If the host has multiple NICs, choose the primary network interface and click Select.
7. Enter the full Satellite Server URL and select the Server connection type. Click Next.
10. Click Provision, enter the information for your host and click Submit.
28