background image

Chapter 2. Red Hat Update Agent

31

Figure 2-25. Retrieval/Installation Settings

The following package retrieval options can be selected (see Figure 2-25):

Do not install packages after retrieval

— download selected RPM packages to desired directory

and ignore the installation preferences

Do not upgrade packages when local configuration file has been modified

— if the configuration

file has been modified for a package such as

apache

or

squid

, do not attemp to upgrade it. This

option is useful if you are installing custom RPMs on your system and you do not want them

updated or reverted to the default Red Hat Linux packages.

Retrieve source RPM along with binary package

— download both the source (

*.src.rpm

)

and the binary (

*.[architecture].rpm

) files

The following installation options are configurable (see Figure 2-25):

Use GPG to verify package integrity

— before installing the packages, verify Red Hat’s GPG

signature (highly recommended for security reasons)

After installation, keep binary packages on disk

— save binary packages in desired directory

instead of deleting them after installation

Enable RPM rollbacks

— allow "undo" of updates. This requires additional storage space.

The following additional options are configurable from this tab:

Override version stored in System Profile

— override the Red Hat Linux version in your System

Profile

Package storage directory

— change the directory where packages are downloaded; the default

location is

/var/spool/up2date

2.4.1.3. Package Exceptions Settings

The

Package Exceptions

tab allows you to define which packages to exclude from the list of updated

RPM packages according to the package name or file name (see Figure 2-26).

Summary of Contents for NETWORK 2.9 - MANAGEMENT

Page 1: ...Red Hat Network 2 9 Management Reference Guide...

Page 2: ...Rough Cuts Rawhide and all Red Hat based trademarks and logos are trademarks or registered trademarks of Red Hat Inc in the United States and other countries Linux is a registered trademark of Linus...

Page 3: ...Command Line Version 25 2 4 Configuration 29 2 4 1 Using the Red Hat Update Agent Configuration Tool 29 2 4 2 Command Line Version 32 2 5 Registering with Activation Keys 33 3 Red Hat Network Alert No...

Page 4: ...8 1 User List 67 5 Red Hat Network Daemon 71 5 1 Configuring 71 5 2 Viewing Status 71 5 3 Disabling 71 5 4 Troubleshooting 71 6 Using Red Hat Network with Red Hat Linux 6 2 73 7 Red Hat Network Regis...

Page 5: ...Hat Network please refer to the whitepapers available at http www redhat com docs wp For an interactive demo of RHN go to http rhn redhat com demo rhn_demo html It requires the Macromedia Flash playe...

Page 6: ...checkbox if you would like your screensaver to require a password before stopping top level of a menu on a GUI screen or window A word in this style indicates that the word is the top level of a pulld...

Page 7: ...displayed in this style In the following example version number is displayed in this style The directory for the kernel source is usr src version number where version number is the version of the ker...

Page 8: ...could result in data loss or a corrupted system environment 2 More to Come The Red Hat Network Management Reference Guide is constantly expanding as new Red Hat Network features and service plans are...

Page 9: ...ning Red Hat Linux 6 2 7 3 and Red Hat Enterprise Linux 2 1 only The Red Hat Update Agent provides your initial connection to the Red Hat Network Once regis tered it enables channel subscription packa...

Page 10: ...e full repository of RPMs available to Red Hat Network users Search Errata Search through the collection of all errata ever released through Red Hat Network 1 2 Update The RHN Update service is ideal...

Page 11: ...e the package set on a system with the package sets of similar systems with one click Search Systems Search through systems based on a number of criteria packages networking information even hardware...

Page 12: ...Red Hat Errata list and Red Hat Network Tip Refer to https rhn redhat com help faq for a list of Frequently Asked Questions 1 6 Before You Begin Red Hat Network is available for Red Hat Linux 6 2 and...

Page 13: ...or the Red Hat Update Agent runs if the X Window System is available Table 1 1 Red Hat Network Packages If the packages are not installed they can be found on the Red Hat Linux 7 or higher CD ROM 1 in...

Page 14: ...6 Chapter 1 What is Red Hat Network...

Page 15: ...Hat Update Agent Important You must use Red Hat Update Agent Version 2 5 4 or higher to upgrade your kernel automatically It will install the updated kernel and configure LILO or GRUB to boot the new...

Page 16: ...ault location is var spool up2date This option is useful if you do not have enough space in the configured location justdb Only add packages to the database and do not install them dbpath dir Specify...

Page 17: ...this message again Figure 2 2 Install GPG Key 2 2 Registration Before you begin using Red Hat Network you need to create a username password and System Profile Upon launch the Red Hat Update Agent sen...

Page 18: ...e you start the Red Hat Update Agent Click Forward to continue Figure 2 3 Welcome Screen After clicking through the Welcome Screen the Red Hat Privacy Statement appears See Figure 2 4 Red Hat is commi...

Page 19: ...nd password Once logged in to Red Hat Network you can modify your preferences view your existing System Profile or obtain the latest Red Hat software packages Note If you are already a member of redha...

Page 20: ...er Account You must choose a unique username If you enter one already in use you will see an error message see Figure 2 6 Try different usernames until you find one that has not been used Warning Be s...

Page 21: ...you can log into Red Hat Network with your username and password to view all your systems simultaneously In the Create Account screen click Forward to continue If you are a new user to RHN the Red Hat...

Page 22: ...of hardware and software information about your Red Hat Linux system The System Profile information is used by Red Hat Network to determine what software update notifications you receive 2 2 2 1 Hardw...

Page 23: ...e information about hardware and network see Figure 2 8 Figure 2 8 System Profile Hardware Click Forward to continue with the registration process 2 2 2 2 Software System Profile The software System P...

Page 24: ...e progress bar you will see while the Red Hat Update Agent gathers a list of the RPM packages installed on your system This operation may take some time depending on your system installation Figure 2...

Page 25: ...hat the Canna devel and Canna libs packages have been omitted from the package list Choose which packages to exclude if any from the System Profile and click Forward to continue with the registration...

Page 26: ...Red Hat Network You will know your System Profile has been successfully sent when you see the Channels screen Figure 2 14 appear Refer to Section 2 3 1 Choosing a Channel for continued instructions 2...

Page 27: ...ion 4 6 Software for more information on channels and how channels are used to determine which packages are installed Figure 2 14 Channels 2 3 2 Choosing Packages to Update After clicking Forward the...

Page 28: ...stering your System Profile these are displayed in Figure 2 17 You may override these settings and include any of these packages in the update by selecting the checkboxes next to them To see a summary...

Page 29: ...date Agent 21 Figure 2 18 View Advisory The Available Package Updates screen is the next to appear If your system is not up to date your customized list of available updated packages is displayed as s...

Page 30: ...ests for RPM dependencies and prompts you if you have chosen to omit packages that are required for software updates that you did choose The dialog box in Figure 2 20 is shown while it is testing for...

Page 31: ...have the packages installed via the Red Hat Update Agent skip to Section 2 3 5 2 Manual Package Installation for further instructions If you configured it to install the packages the default setting...

Page 32: ...tion Finished 2 3 4 Update Agent Finished When the Red Hat Update Agent has finished downloading the desired packages and installing them if you chose the install option you will see the screen in Fig...

Page 33: ...of the Red Hat Update Agent allows you to perform advanced functions or to perform actions with little or no interaction For example the following command updates your system with no interaction It w...

Page 34: ...atabase and do not install them k packagedir Specify a colon separated path of directories to look for packages in before trying to download them l list List packages relevant to the system nodownload...

Page 35: ...u start Red Hat Update Agent you need to install the Red Hat GPG key manually If you do not have it installed you will see the following message Your GPG keyring does not contain the Red Hat Inc publi...

Page 36: ...2wk OZoaEtcubsNMquuLCMWijYhGBBgRAgAGBQI36lRyAAoJECGRgM3bQqYOhyYAnj7h VDY FJAGqmtZpwVp9IlitW5tAJ4xQApr jNFZCTksnI 4O1765F7tA 3AHZ END PGP PUBLIC KEY BLOCK 2 At the shell prompt import the key with the...

Page 37: ...rs various options to configure its settings If you are not running the X Window System or prefer the command line version skip to Section 2 4 2 Command Line Version 2 4 1 Using the Red Hat Update Age...

Page 38: ...for detailed instructions 2 4 1 2 Retrieval Installation Settings The Retrieval Installation tab allows you to customize your software package retrieval and package installation preferences Warning Y...

Page 39: ...e rpm files The following installation options are configurable see Figure 2 25 Use GPG to verify package integrity before installing the packages verify Red Hat s GPG signature highly recommended for...

Page 40: ...Update Agent will not display any packages beginning with kernel To exclude packages by file name follow the same rules except click the Add button next to the File Names to Skip section Figure 2 26 P...

Page 41: ...save your changes and exit Press q and then Enter to quit without saving your changes Important Although this isn t configurable users should still make note that the port used by the Red Hat Update...

Page 42: ...cribed to the RHN channels and system groups selected during key generation The system will not be sub scribed to channels that contain packages not suitable for the system For example a Red Hat Linux...

Page 43: ...Red Hat Linux 7 3 the Red Hat Network Alert Notification Tool appears on the panel by default as shown in Figure 3 1 Figure 3 1 GNOME Panel with Red Hat Network Alert Notification Tool If it does not...

Page 44: ...t click on the applet and select Configuration Your preferences are written to the file rhn applet conf in your home directory The Red Hat Network Alert Notification Tool also uses the system wide con...

Page 45: ...l displays a list of available updates To alter your list of excluded packages click the Ignored Packages tab and make your modifications Figure 3 3 Available Updates 3 4 Applying Updates If the syste...

Page 46: ...38 Chapter 3 Red Hat Network Alert Notification Tool...

Page 47: ...HN Refer to Chapter 2 Red Hat Update Agent for step by step instructions After registering your system with Red Hat Network go back to http rhn redhat com and complete the username and password fields...

Page 48: ...selected systems System Entitlements Change the entitlement levels of systems Advanced Search Quickly search all of your systems by specific criteria such as name hardware devices system info network...

Page 49: ...ted for use in the System Set Manager It identifies the number selected at all times and provides the means to work with them Clicking the Clear button deselects all systems while clicking the Manage...

Page 50: ...Systems pages The System Summary section of Your RHN page provides the following information Total Systems Number of total systems that you have registered for your organization Out of Date Systems Nu...

Page 51: ...ork password the one used to log into RHN and red hat com you will not see your new one as you type it for security reasons Also for security your password is represented by 12 asterisks no matter how...

Page 52: ...f items that will appear in a list on a single page If more items are in the list clicking the Next button will display the next group of items This preference applies to system lists Errata lists pac...

Page 53: ...address handles billing and purchasing questions while the rhn users list en ables customers to help one another The rhn feedback address collects customer input and provides an auto response but noth...

Page 54: ...nformation for each system Select Only Management entitled systems can be selected To select systems mark the appro priate checkboxes and click the Update List button below the column Selected systems...

Page 55: ...chedule a package list update or remove the packages from the Package Exceptions list for the Red Hat Update Agent Refer to Section 4 4 2 6 System Details or Section 2 4 1 3 Package Exceptions Setting...

Page 56: ...service System Profiles that remain unentitled for 180 days 6 months are removed The system is entitled but the Red Hat Network Daemon has been disabled on the system Refer to Chapter 5 Red Hat Networ...

Page 57: ...s affecting packages such as scheduled Errata Up dates and system reboots or failures to check in In addition to including the system here you must choose to receive email notifications in the Your Pr...

Page 58: ...m from the available channels Click on the package name to view its Package Details page To install packages select them and click the Install Selected Packages button Profiles Gives you the ability t...

Page 59: ...ed but have not begun To unschedule a pending event select the event and click the Cancel Events button at the bottom of the page Package Event Errata Event Preferences Event System Event 4 4 3 System...

Page 60: ...ab of its System Group Details page Refer to Section 4 4 3 3 System Group Details for more information The status icons call for differing degrees of attention All systems within group are up to date...

Page 61: ...m Group Details page contains five tabs Details Basic information about the system group the group name and group description To change this information make your changes in the appropriate fields and...

Page 62: ...now selected To delete systems from this particular set select them and click the Remove button Errata List of Errata Updates applicable to the current system set To apply updates select the Errata an...

Page 63: ...ed in the summary These are actions affecting packages such as scheduled Errata Updates and system reboots or failures to check in In addition to including the systems here you must choose to receive...

Page 64: ...ms according to specific criteria These criteria include system details hardware devices interface networking packages and loca tion The activity selections Days Since Last Checkin for instance can be...

Page 65: ...m right hand corner of the page 4 5 Errata If you click the Errata tab on the top navigation bar the Errata category and links appear The pages in the Errata category allow you to track and manage Err...

Page 66: ...rata Details for more information 4 5 2 1 Apply Errata Updates Errata Alerts include a list of updated packages that are required to apply the Errata Update To apply Errata Updates to a system the sys...

Page 67: ...el containing the package the package will not be installed on that system If a newer version of the package is already on the system the package will not be installed on that system If an older versi...

Page 68: ...cture that contains extra packages needed only for the organization such as a custom engineering application A system must be subscribed to one base channel only This base channel is assigned automati...

Page 69: ...ssential information about the channel such as summary description and architecture In addition a Globally Subscribable checkbox can be seen by Organization Administrators and Channel Administrators T...

Page 70: ...stems List of entitled systems subscribed to the channel The list displays system names base channels and their levels of entitlement Clicking on a system name takes you to its System Details page Ref...

Page 71: ...t navigation bar It works identically to the Relevant button with one exception It displays all ISOs available to you through Red Hat Network regardless of whether you have systems associated with the...

Page 72: ...the packages you must install them manually To download packages through the Systems category refer to Section 4 4 2 6 System Details To download individual RPMs and SRPMs through the Software categor...

Page 73: ...lace within your systems An action is a scheduled RHN task that is to be performed on one or more client systems For example an action can be scheduled to apply all Errata Updates to a system Red Hat...

Page 74: ...ns that you have selected to store for review 4 7 5 Actions List In each page each row in the list represents a single scheduled event or action that might affect multiple systems and involve various...

Page 75: ...more information In Progress Systems List of systems on which the action is now being undertaken To cancel an action select the system using the appropriate checkbox and click the Unschedule Action b...

Page 76: ...etion Unless you are an RHN Satellite Server customer you must contact rhn support redhat com to have users removed RHN Satellite Server customers may use the button on the User Details page 4 8 1 2 U...

Page 77: ...anagement Identifies channels the user may manage To change these select or unselect the appropriate checkboxes and click the Update Permissions button This status does not enable the user to create n...

Page 78: ...70 Chapter 4 Red Hat Network Website...

Page 79: ...dify the configuration file you must as root restart the daemon with the command service rhnsd restart or etc rc d init d rhnsd restart Important The minimum time interval allowed is one hour 60 minut...

Page 80: ...Daemon is activated and running You may ensure this by running the follow ing commands chkconfig level 345 rhnsd on service rhnsd start If these are correct and your systems still indicate they are no...

Page 81: ...l prompt execute the command cd rhnpackages to change to the new direc tory 3 Go to http rhn redhat com help rh62 pxt and download the necessary packages 4 Go back to the shell prompt in the rhnpackag...

Page 82: ...74 Chapter 6 Using Red Hat Network with Red Hat Linux 6 2...

Page 83: ...tion functionality built into the Red Hat Update Agent After registering your system refer to Chapter 2 Red Hat Update Agent for instructions on starting the Red Hat Update Agent and begin steps liste...

Page 84: ...the number of the item that you want to modify and enter a new value for the option When you finish changing your configuration press Enter to save your changes and exit Press q and then Enter to quit...

Page 85: ...al console or remote terminal Refer to Section 7 7 Text Mode RHN Registration Client for further details Caution You must use Python 1 5 2 24 or later with Secure Sockets Layer SSL support If not the...

Page 86: ...stration process If you click Cancel the registration process will end and no information will be sent Figure 7 4 Welcome Screen Red Hat is committed to protecting your privacy see Figure 7 5 The info...

Page 87: ...nd a valid email address In the screen shown in Figure 7 7 you must choose a username and password Once logged in to Red Hat Network you can modify your preferences view your existing System Profile o...

Page 88: ...created a System Profile you can add a new machine to your account Run the Red Hat Network Registration Client on the new machine you wish to add and enter your existing Red Hat Network username and...

Page 89: ...stem Profile After creating a username and password for your Red Hat Network account the Red Hat Network Registration Client probes your system for the following information Red Hat Linux version Host...

Page 90: ...you will only receive notifications about the packages in your System Profile Thus if you use an older version of a package and deselect it from the list it will not be replaced with a newer version T...

Page 91: ...ncluded in your System Profile to be up dated by Red Hat Network To exclude a package uncheck the package from the list by clicking the checkbox beside the package name For example Figure 7 11 shows t...

Page 92: ...de from System Profile 7 5 Finishing Registration As seen in Figure 7 12 the last step of registration is to confirm that you want to send your System Profile to the Red Hat Network If you choose Canc...

Page 93: ...me time depending on your connection speed Figure 7 13 Send System Profile to Red Hat Network You will know your System Profile has been successfully sent when you see the Registration Fin ished scree...

Page 94: ...ction from the dropdown menu under the Entitlement column beside the name of the system you just registered Only increases in entitlement levels are allowed Systems cannot be re entitled to a lower en...

Page 95: ...s for the text mode Red Hat Network Registration Client are almost identical to the screens for the graphical Red Hat Network Registration Client Some of the text in the text mode version is more conc...

Page 96: ...88 Chapter 7 Red Hat Network Registration Client...

Page 97: ...ackage B Base Channel A base channel is a type of Channel that consists of a list of packages based on a specific architecture and Red Hat Linux release For example all the packages in Red Hat Linux 9...

Page 98: ...he Errata description of the Errata and a list of which systems are affected by the report Enhancement Alert An Errata Alert that pertains to a package enhancement request Entitled Server A server tha...

Page 99: ...em details O Organization Administrator Organization Administrator are sets of users that have the highest level of control over an orga nization s Red Hat Network account Members of this group can ad...

Page 100: ...ether to install the packages after they are downloaded RPM A software package manager that was developed by Red Hat It can be used to build install query verify update and uninstall software packages...

Page 101: ...characters and numbers that identifies a registered system It is stored in the system s Digital Certificate System Profile Hardware and software information about the client system It is created duri...

Page 102: ...94 Glossary...

Page 103: ...annel List 60 child channel 60 conventions document i D daemon 71 deleting a system 48 Demo 2 Digital Certificate 4 download ISO images 62 E email address change 43 changing 68 entitlement with activa...

Page 104: ...1 71 configuring 71 disabling 71 troubleshooting 71 using to apply Errata Updates 49 59 63 viewing status 71 Red Hat Network Registration Client See Registration Red Hat Update Agent 1 7 37 activatio...

Page 105: ...up2date See Red Hat Update Agent Update 2 user account 11 79 user details modifying 68 user roles 68 users 67 billing address 69 changing email address 68 changing password 68 creating 68 general add...

Page 106: ......

Reviews: