Red Hat Satellite 6.3

Similar documents
Red Hat CloudForms 4.0

Red Hat Developer Studio 12.0

.NET Core 2.0 Release Notes for Containers

Red Hat CloudForms 4.1

Red Hat CloudForms 4.0

Red Hat CloudForms 4.5 Integration with AWS CloudFormation and OpenStack Heat

Red Hat Satellite 6.4

Red Hat OpenStack Platform 13

Red Hat JBoss Developer Studio 11.1

Red Hat JBoss A-MQ 6.0

Red Hat JBoss Fuse 6.1

Red Hat JBoss A-MQ 6.3

Red Hat Enterprise Linux OpenStack Platform 7 Fujitsu ETERNUS Back End Guide

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 13

Red Hat Process Automation Manager 7.0 Executing a business process in Business Central

Red Hat Process Automation Manager 7.0 Planning a Red Hat Process Automation Manager installation

Red Hat 3Scale 2.0 Terminology

Red Hat Application Migration Toolkit 4.0

Red Hat Cloud Infrastructure 1.1

Red Hat Enterprise Virtualization 3.6

Red Hat JBoss Enterprise Application Platform 7.1

Red Hat 3scale 2.3 Accounts

Red Hat Virtualization 4.1 Hardware Considerations for Implementing SR-IOV

Red Hat Network Satellite 5.4

Red Hat Mobile Application Platform Hosted 3

Red Hat JBoss BRMS 6.0

Red Hat OpenStack Platform 13

Red Hat Cloud Suite 1.1

Red Hat Application Migration Toolkit 4.2

Red Hat JBoss Enterprise Application Platform 7.2

Red Hat JBoss Data Grid 7.1 Feature Support Document

Red Hat JBoss Data Virtualization 6.2 Using the Dashboard Builder. David Sage

Red Hat CloudForms 4.5

Red Hat OpenStack Platform 12

Red Hat OpenStack Platform 8 Configure firewall rules for Red Hat OpenStack Platform director

Red Hat Ceph Storage 2 Using Keystone to Authenticate Ceph Object Gateway Users

Red Hat JBoss Fuse 6.3

Red Hat OpenStack Platform 10 CephFS Back End Guide for the Shared File System Service

Red Hat Virtualization 4.0

Red Hat JBoss Data Grid 6.4

Red Hat Virtualization 4.2

Red Hat JBoss Fuse 6.1

Red Hat Process Automation Manager 7.0 Managing and monitoring business processes in Business Central

Red Hat CloudForms 4.6

Red Hat AMQ 7.2 Introducing Red Hat AMQ 7

Red Hat OpenStack Platform 9 Introduction to the OpenStack Dashboard

Red Hat Ceph Storage 3

Red Hat JBoss Developer Studio Integration Stack 10.0 Installation Guide

Red Hat CloudForms 4.5 Introduction to the Self Service User Interface

Red Hat JBoss Developer Studio Integration Stack 9.0 Installation Guide

Red Hat Ceph Storage 3

Red Hat JBoss Enterprise Application Platform 7.0

Red Hat CloudForms 4.6

Red Hat Enterprise Virtualization 3.6

Red Hat JBoss Enterprise Application Platform 7.2

Red Hat OpenStack Platform 14

Red Hat JBoss Data Virtualization 6.3 Getting Started Guide

Red Hat Developer Studio 12.9

Red Hat CloudForms 4.6

Red Hat Virtualization 4.1 Product Guide

Red Hat Ceph Storage Release Notes

Red Hat Decision Manager 7.0 Migrating from Red Hat JBoss BRMS 6.4 to Red Hat Decision Manager 7.0

Red Hat Mobile Application Platform Hosted 3

JBoss Enterprise Application Platform 5

Red Hat Container Development Kit 3.0 Release Notes and Known Issues

Red Hat Decision Manager 7.0 Designing a decision service using guided rules

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 10

Red Hat Security Data API 1.0

Red Hat Enterprise Linux 5 Global Network Block Device

Red Hat JBoss Fuse 6.1

Red Hat Development Suite 1.1 Installation Guide

Red Hat JBoss Developer Studio Integration Stack 8.0

Red Hat JBoss BRMS 6.4

Red Hat JBoss Developer Studio 9.1

Red Hat JBoss Middleware for OpenShift 3

Red Hat OpenStack Platform 11 Monitoring Tools Configuration Guide

Red Hat CloudForms 4.0

Red Hat Decision Manager 7.0 Migrating from Red Hat JBoss BRMS 6.4 to Red Hat Decision Manager 7.0

Red Hat Certified Cloud and Service Provider Certification 1.0

Red Hat JBoss BRMS 6.1

Red Hat JBoss Developer Studio 9.0

Red Hat Decision Manager 7.0 Designing a decision service using guided rule templates

Edition 0.1. real scenarios for managing EAP instances. Last Updated:

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 10 Product Guide

Red Hat OpenShift Application Runtimes 1

Red Hat Enterprise Virtualization 3.6

Red Hat Enterprise Virtualization 3.6 Introduction to the User Portal

Red Hat Fuse 7.2 Fuse Online Sample Integration Tutorials

Red Hat CloudForms 4.6

Red Hat JBoss Fuse 6.3

Red Hat JBoss BPM Suite 6.4

Red Hat Decision Manager 7.0

Red Hat Single Sign-On 7.1 Getting Started Guide

Red Hat Process Automation Manager 7.0 Migrating from Red Hat JBoss BPM Suite 6.4 to Red Hat Process Automation Manager 7.0

Red Hat Single Sign-On 7.2

Red Hat Developer Studio 12.0

Red Hat Ceph Storage 3

Transcription:

Red Hat Satellite 6.3 Errata Management Guide Installing Errata on Red Hat Satellite 6.3 Last Updated: 2018-05-04

Red Hat Satellite 6.3 Errata Management Guide Installing Errata on Red Hat Satellite 6.3 Red Hat Satellite Documentation Team satellite-doc-list@redhat.com

Legal Notice Copyright 2018 Red Hat, Inc. 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, 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. Java is a registered trademark of Oracle and/or its affiliates. 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 Software Collections 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. All other trademarks are the property of their respective owners. Abstract This guide describes how to install errata on Red Hat Satellite Server 6.

Table of Contents Table of Contents. CHAPTER.......... 1... INTRODUCTION................................................................................................ 3. 1.1. AUDIENCE 3 1.2. REQUIREMENTS 3. CHAPTER.......... 2.. CONFIGURATION................................................................................................ 4. 2.1. UPDATING THE SATELLITE REPOSITORIES 4. CHAPTER.......... 3... MONTHLY............ PATCHING........... EXAMPLE......................................................................... 5. 3.1. DEFINING A CONTENT VIEW TO FILTER ERRATA 5. CHAPTER.......... 4.... EXTERNAL............ LINKS................................................................................... 7. 1

Red Hat Satellite 6.3 Errata Management Guide 2

CHAPTER 1. INTRODUCTION CHAPTER 1. INTRODUCTION This document explains how Red Hat Satellite 6 can support a rigid patching lifecycle for Red Hat Enterprise Linux systems. This document explains how to perform in Satellite 6 patching procedures that are similar to the patching procedures defined in Rich Jerrido s Red Hat Satellite 5.6 Errata Management Guide. In that guide, the command spacewalk-clone-by-date was the primary mechanism by which a patching schedule was defined. Satellite 6 has no such command and instead uses hammer. This guide explains how to use hammer to define a Content View that performs the same function as spacewalk-cloneby-date. 1.1. AUDIENCE The audience for this guide is Systems and Security Administrators who are responsible for implementing a scalable and rigid patching schedule. 1.2. REQUIREMENTS Readers of this guide should be familiar with Red Hat Satellite and its terminology. 3

Red Hat Satellite 6.3 Errata Management Guide This chapter explains how to configure Satellite 6. CHAPTER 2. CONFIGURATION 2.1. UPDATING THE SATELLITE REPOSITORIES Red Hat Satellite s repositories should be kept up to date with the latest errata available from Red Hat. Run the following command often to ensure that Red Hat Satellite is kept up to date: # hammer repository synchronize --product "prod_name" --name "repo_name" - -organization-id="id" For the procedures in this guide to work as intended, systems registered to Red Hat Satellite must be updated by means of the Content Views that are defined in this guide. Your organization should also consider the use of synchronization plans for the purpose of keeping your Satellite repositories up-to-date. Synchronization plans define the automated updating of select repositories at specified intervals. See Creating a Synchronization Plan in the Hammer CLI Guide for information on defining synchronization plans. 4

CHAPTER 3. MONTHLY PATCHING EXAMPLE CHAPTER 3. MONTHLY PATCHING EXAMPLE This chapter explains how to use Satellite to deploy errata to systems each month. In this example, we assume that we are patching systems in March of 2016. NOTE This procedure replicates the functionality of the spacewalk-clone-by-date command that was present in Satellite 5, and was described in this document written by Rich Jerrido: Satellite 5.6 Errata Management Guide. The command-line tool hammer is used in Satellite 6 to perform the same functions that the spacewalk-clone-bydate command performed in Satellite 5. 3.1. DEFINING A CONTENT VIEW TO FILTER ERRATA In this procedure, we create a Content View, add a filter to the Content View to include the errata in the Content View, and then restrict the filter by date by means of a filter rule. 1. Create a Content View. # hammer -p PASSWORD content-view create --name='test_cv' -- organization="default Organization" NOTE The previous command passes the password in plaintext. This method is included in this guide for the sake of customers who are used to this method of authentication, but a more secure method of storing passwords, involving the storage of the password in a.yml file, is recommended to our customers and is to be found here: Authentication in the Hammer CLI Guide. 2. Create a filter for the errata. # hammer -p PASSWORD content-view filter create --name='test_filter' --organization="default Organization" --content-view='test_cv' -- type=erratum 3. Create the filter rule with the date. In this example, the date is 30 Mar 2016. This rule means that all errata on or after 30 Mar 2016 will be excluded. # hammer -p PASSWORD content-view filter rule create --contentview='filter_test' --organization="default Organization" -- content-view-filter='my-filter' --start-date=2016-03-30 -- types=security,enhancement,bugfix 4. Promote the Content View to the lifecycle environment so that the errata in it are available to that lifecycle environment: $ hammer content-view version promote --content-view cv_name \ --organization-label="default Organization" --to-lifecycle- 5

Red Hat Satellite 6.3 Errata Management Guide environment env_name 5. Use the following command to add a repository to a Content View without clobbering the existing list of repositories that have been added to that Content View: $ hammer content-view add-repository --organization-label org_label --name cv_name --repository-id repo_id 6. Apply the errata to the host, using the commands in the Hammer CLI Guide: $ hammer host errata apply --host <hostname> --errata-ids <erratum_id1>,<erratum_id2>... For more detail on commands that apply errata to hosts, see Applying Errata to a Content Host in the Hammer CLI Guide. 6

CHAPTER 4. EXTERNAL LINKS CHAPTER 4. EXTERNAL LINKS The following links provide more information about using hammer, and can be used in conjunction with the procedures in this guide to define more completely your organization s patching strategy. 1. Applying Errata to a Host - This section from the Hammer CLI Guide explains how to apply specific Errata to hosts. 2. Adding Repositories to a Content View, from the Hammer CLI Guide. 3. Hammer Cheat Sheet 4. Satellite 5.6 Errata Management Guide by Rich Jerrido 7