Red Hat NETWORK 3.7 - CHANNEL MANAGEMENTT GUIDE Manual

Channel management
Hide thumbs Also See for NETWORK 3.7 - CHANNEL MANAGEMENTT GUIDE:

Advertisement

Red Hat Network 3.7
Channel Management Guide

Advertisement

Table of Contents
loading

Summary of Contents for Red Hat NETWORK 3.7 - CHANNEL MANAGEMENTT GUIDE

  • Page 1 Red Hat Network 3.7 Channel Management Guide...
  • Page 2 All other trademarks referenced herein are the property of their respective owners. The GPG fingerprint of the security@redhat.com key is: CA 20 86 86 2B D6 9D FC 65 F6 EC C4 21 91 80 CD DB 42 A6 0E...
  • Page 3: Table Of Contents

    Table of Contents 1. Introduction............................. 1 2. Introduction to RHN Channels...................... 3 2.1. Base Channels and Child Channels ................... 3 2.2. Subscribing to Channels ....................3 2.3. Channel Availability ......................4 2.4. Tools, Repositories, and Practices ..................4 3. Building Custom Packages......................5 3.1.
  • Page 5: Introduction

    In some instances, this document will refer to actions to be taken on the Red Hat Network Web servers. For Proxy customers, this will refer to the central Red Hat Network Servers at https://rhn.redhat.com. For Satellite customers, this will refer to the RHN Satellite Server at the customer site.
  • Page 6 Chapter 1. Introduction...
  • Page 7: Introduction To Rhn Channels

    Chapter 2. Introduction to RHN Channels A Red Hat Network channel is a collection of packages. Channels help to segregate packages by sensible rules: a channel may contain packages from a specific Red Hat distribution, for instance. A channel may contain packages for an application or family of applications. Users may also define channels for their own particular needs;...
  • Page 8: Channel Availability

    Chapter 2. Introduction to RHN Channels custom channels through the website. For more information on subscribing to channels online, refer to the RHN Website chapter of the RHN Reference Guide. 2.3. Channel Availability There are many channels in Red Hat Network. Some are available to all users, some are available to users in a particular organization, and others are available only to customers who have purchased access to them.
  • Page 9: Building Custom Packages

    Chapter 3. Building Custom Packages There are many things that might go wrong when building packages. This is especially true when these packages must be delivered and installed through Red Hat Network. This chapter describes how to build packages of the highest quality that may be successfully delivered via Red Hat Network. 3.1.
  • Page 10: Rhn Rpm Guidelines

    1. Learn RPM. It is crucial to have a fundamental understanding of the important features of RPM to build packages properly. For more information about RPM, consult the following resources: http://www.rpm.org/RPM-HOWTO/ • http://www.redhat.com/docs/books/max-rpm/ • http://www.rpm.org/mailing_list/ • 2. When building an RPM for a child channel, build the package on a fresh install of Red Hat Enterprise Linux of the same version as the child’s base channel.
  • Page 11: Digital Signatures For Rhn Packages

    Chapter 3. Building Custom Packages 13. It may be tempting to create an RPM by archiving files and then unarchiving them in the post- install script, but do not do it. This defeats the purpose of RPM. If the files in the archive are not included in the file list, they cannot be verified or examined for conflicts.
  • Page 12: Signing Packages

    Chapter 3. Building Custom Packages Is this correct (y/n)? Press [y] to confirm your decision. Your next task is to provide a User ID containing your name, your email address, and an optional comment. Each will be requested individually. When you are finished, you will be presented with a summary of the information you entered.
  • Page 13 Chapter 3. Building Custom Packages is the key ID, which tells RPM which signature in your GPG keyring to use. This _gpg_name value can be derived from the command: gpg --list-keys To sign the package package-name-1.0-1.noarch.rpm, use the following command: rpm --resign package-name-1.0-1.noarch.rpm Enter your passphrase.
  • Page 14 Chapter 3. Building Custom Packages...
  • Page 15: Custom Channel And Package Management

    Chapter 4. Custom Channel and Package Management Custom channels allow administrators to use the Red Hat Network infrastructure to deploy packages built and maintained by their organizations. All channel and package management activities will take place in the Channels tab of the RHN website. The instructions here should be used in conjunction with the RHN website chapter of the RHN Reference Guide.
  • Page 16: Managed Software Channel Details

    Chapter 4. Custom Channel and Package Management 4.3. Managed Software Channel Details Virtually all custom channel management tasks are carried out within the Managed Software Chan- nel Details page, accessed by clicking Manage Software Channels in the left navigation bar and then the name of channel to be altered.
  • Page 17: Manage Software Packages

    Chapter 4. Custom Channel and Package Management parentheses identify whether the cloned Erratum has been published or modified from the orig- inal advisory. A plus sign (+) before the flag indicates affirmative, the cloned Errata has been published. A minus sign (-) before the flag denotes negative, for instance "-mod" may mean a package has been deleted.
  • Page 18: Creating A Software Channel

    Chapter 4. Custom Channel and Package Management boxes and click Delete Packages. A confirmation page will appear with the packages listed. Click Confirm to delete the packages entirely. Remember, since the actual RPMs are stored on the RHN Proxy Server, its custom packages cannot be downloaded through the RHN website, although they are listed.
  • Page 19: Cloning Software Channels

    Chapter 4. Custom Channel and Package Management confirmation page will appear with the packages listed. Click Confirm to associate the packages with the channel. The List/Remove subtab of the Managed Software Channel Details page will appear with the new packages listed. Once packages are assigned to a channel, the Errata cache will be updated to reflect the changes.
  • Page 20 Chapter 4. Custom Channel and Package Management...
  • Page 21: Custom Errata Management

    Chapter 5. Custom Errata Management Custom Errata enable customers who have their own private channel to issue Errata Alerts for their packages. All Errata management activities will take place in the Errata tab of the RHN website. The instructions here should be used in conjunction with the RHN website chapter of the RHN Manage- ment Reference Guide.
  • Page 22: Creating And Editing Errata

    Chapter 5. Custom Errata Management Details — Provides the primary information you entered about the custom Errata Alert during its • creation. This includes a synopsis, advisory name and type, related product, bugs, description, solu- tion, keywords, references, and notes. To change any of this information, make your modifications in the appropriate fields and click Update Errata.
  • Page 23: Cloning Errata

    Chapter 5. Custom Errata Management 5.4. Assigning Packages to Errata In the Managed Errata Details page, click the Packages tab and then the Add subtab. To associate packages with the Errata being edited, select the option now containing the packages from the View dropdown menu and click View.
  • Page 24 Chapter 5. Custom Errata Management...
  • Page 25: Uploading And Maintaining Custom Packages

    Chapter 6. Uploading and Maintaining Custom Packages Depending upon which Red Hat Network service is used, there are two different mechanisms for uploading packages to private channels. Customers of the RHN Proxy Server will use the RHN Package Manager application, which sends package header information to the central Red Hat Network Servers and places the package itself into the local repository of the RHN Proxy Server from which RHN Package Manager is invoked.
  • Page 26 Chapter 6. Uploading and Maintaining Custom Packages The label_of_private_channel is the custom channel created to receive these packages. Be sure you use the precise channel label specified during its creation. If you have one or more channels specified (using ), the uploaded package headers will be linked to all the channels --channel identified.
  • Page 27: Uploading Packages To Rhn Satellite Server

    Chapter 6. Uploading and Maintaining Custom Packages Option Description Check if local directory is in sync with the server. -s, --sync Print the current configuration and exit. -p, --printconf Only push the packages that are newer than packages --newest already pushed to the server for the specified channel. Don’t fail if packages are unsigned.
  • Page 28 Chapter 6. Uploading and Maintaining Custom Packages 6.2.1. Configuring the RHN Push application Push When installed, central configuration file installed . This file contains values for all the options contained in Table /etc/sysconfig/rhn/rhnpushrc 6-2. In addition, the application creates upon its initial use. ~/.rhnpushrc ./.rhnpushrc These distinct configuration files are useful in varying your settings depending on the directory from...
  • Page 29: Using The Rhn Push Application

    Chapter 6. Uploading and Maintaining Custom Packages Option Description Push only the packages that are newer than those on the --newest server. Please note that source RPMs are special in that their versions are never compared. Therefore, using this option with RHN Push will upload source RPMs for the specified channels only if they were not previously uploaded, and binaries built from them exist in those channels.
  • Page 30 Chapter 6. Uploading and Maintaining Custom Packages The label_of_private_channel is the custom channel created to receive these packages. Be sure you use the precise channel label specified during its creation. If you have one or more channels specified (using ), the uploaded package headers will be linked to all the channels --channel identified.
  • Page 31: Index

    Index using, 25 rhn_package_manager, 21 (See Also RHN Package Manager) command line options, 22 rhn_package_manager.conf, 22 Channels cloning, 15 benefits, 5 deleting, 15 RPM Package Manager intro, 3 (See RPM) custom packages, 5 building, 5 guidelines, 6 signing, 8 Software upload to RHN Proxy Server, 21 Channel Management, 12 upload to RHN Satellite Server, 23...

Table of Contents