background image

34

Chapter 2. Red Hat Update Agent

Summary of Contents for NETWORK BASIC - USER 4.2

Page 1: ...Red Hat Network Basic User Reference Guide 4 2...

Page 2: ...Shadow Man logo RPM Maximum RPM the RPM logo Linux Library PowerTools Linux Undercover RHmember RHmember More Rough Cuts Rawhide and all Red Hat based trademarks and logos are trademarks or registered...

Page 3: ...t Finished 24 2 3 5 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 3 Red Hat Network Alert Notification Tool 35 3...

Page 4: ...3 Disabling 59 5 4 Troubleshooting 59 6 Using Red Hat Network with Red Hat Linux 6 2 61 7 Red Hat Network Registration Client 63 7 1 Configuring the Red Hat Network Registration Client 63 7 2 Startin...

Page 5: ...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 player 1 Document...

Page 6: ...fore stopping top level of a menu on a GUI screen or window When you see a word in this style it indicates that the word is the top level of a pulldown menu If you click on the word on the GUI screen...

Page 7: ...ditionally we use several different strategies to draw your attention to certain pieces of information In order of how critical the information is to your system these items will be marked as note tip...

Page 8: ...o data you need to save 2 More to Come The Red Hat Network Basic User Reference Guide is constantly expanding as new Red Hat Network features and service plans are launched 2 1 Send in Your Feedback I...

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: ...h the 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 Basic The RHN Basic service is idea...

Page 11: ...ch Systems Search through systems based on a number of criteria packages networking information even hardware asset tags System Grouping Web servers database servers workstations and other workload fo...

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: ...Screen the Red Hat Privacy Statement appears See Figure 2 4 Red Hat is committed to protecting your privacy The information gathered during the Red Hat Network registration process is used to create a...

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: ...he system If you do not wish to include information about your hardware or network in your System Profile deselect Include information about hardware and network see Figure 2 8 Figure 2 8 System Profi...

Page 24: ...PM list can be modified through the Red Hat Network Web interface or by using the Red Hat Update Agent Figure 2 9 shows the progress bar you will see while the Red Hat Update Agent gathers a list of t...

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: ...on the first time you 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 t...

Page 36: ...gj4 TzQSx77uYokw1EqQ2wk OZoaEtcubsNMquuLCMWijYhGBBgRAgAGBQI36lRyAAoJECGRgM3bQqYOhyYAnj7h VDY FJAGqmtZpwVp9IlitW5tAJ4xQApr jNFZCTksnI 4O1765F7tA 3AHZ END PGP PUBLIC KEY BLOCK 2 At the shell prompt impo...

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: ...5 proxyUser 26 removeSkipList kernel 27 useGPG Yes 28 gpgKeyRing etc sysconfig rhn up2date keyring gpg 29 httpProxy 30 headerCacheSize 40 31 forceInstall No Enter number of item to edit return to exit...

Page 42: ...34 Chapter 2 Red Hat Update Agent...

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: ...ht 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 co...

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: ...h Search Errata Alerts based on specific criteria such as synopsis advisory type and package name Software View and manage the available RHN channels and the packages they contain Channels View a list...

Page 49: ...s These lists have some common features for navigation For instance you can navigate through virtually all lists by clicking the back and next arrows above and below the right side of the table Some l...

Page 50: ...are not entitled Inactive Systems Number of systems that have not checked into RHN for 24 hours or more Refer to Section 4 4 1 4 Inactive for details The Action Summary section provides the following...

Page 51: ...nter it and click the Update button A confirmation email will be sent to the new email address responding to the confirmation email will validate the new email address Note that false email addresses...

Page 52: ...u 4 3 5 1 Help Desk The Help Desk page summarizes the help options available within this section Click either the links within this page or the buttons on the left navigation bar to explore further 4...

Page 53: ...work Services Use and Subscription Agreement and its Limited Product Warranty 4 4 Systems If you click the Systems tab on the top navigation bar the Systems category and links appear The pages in the...

Page 54: ...ict likely exists in the system s pack age profile or in the up2date configuration file To resolve the conflict either schedule a package list update or remove the packages from the Package Exceptions...

Page 55: ...irewall that does not allow connections over https port 443 The system is behind a proxy that has not been properly configured Some other barrier exists between the system and the RHN Servers 4 4 1 5...

Page 56: ...rk Daemon must be enabled on the systems for this feature to work Hardware Detailed information about the system including networking BIOS storage and other devices This appears only if you selected t...

Page 57: ...fer to Section 4 6 1 Channels for more information Notes Provides you with a place to create notes about the system To add a new note click the create new note button type a subject and details and cl...

Page 58: ...want to receive an email when Errata Alerts are issued for your system go to Your RHN Your Preferences and select Receive email notifications Red Hat releases Errata Alerts in three categories or type...

Page 59: ...Updates to a system the system must be entitled You can apply all applicable Errata Updates to a system by clicking on Systems Systems in the top and left navigation bars Click on the name of an entit...

Page 60: ...e Errata as Pending only with no mention of the previous failure Clicking a status other than None takes you to the Action Details page This column corresponds to one on the Errata tab of the System D...

Page 61: ...elevant and All 4 6 1 1 Relevant Channels As shown in Figure 4 5 the Relevant Channels page is shown by default when you click Channels in the left navigation bar It displays a list of channels now as...

Page 62: ...rkstation and links The filter is case insensitive Subscribed Systems List of entitled systems subscribed to the channel The list displays system names base channels and their levels of entitlement Cl...

Page 63: ...ia the RHN Daemon You must have the RHN Daemon enabled on your systems Refer to Chapter 5 Red Hat Network Daemon for more details To apply Errata Updates refer to Section 4 5 2 1 Apply Errata Updates...

Page 64: ...package installed 4 7 Schedule If you click the Schedule tab on the top navigation bar the Schedule category and links appear These pages enable you to keep track of the actions taking place within yo...

Page 65: ...e the checkboxes in this column to select actions After selecting actions you can either add them to your selection list or move them to the Archived Actions list If you archive a pending action it is...

Page 66: ...t of systems on which the action has been successfully undertaken Clicking a system name takes you to its System Details page Refer to Section 4 4 1 5 System Details for more information In Progress S...

Page 67: ...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 68: ...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 69: ...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 70: ...62 Chapter 6 Using Red Hat Network with Red Hat Linux 6 2...

Page 71: ...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 72: ...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 73: ...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 infor mation you transfer will not be encrypted If...

Page 74: ...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 75: ...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 76: ...or If you have already registered a machine and 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 en...

Page 77: ...your system for the following information Red Hat Linux version Hostname IP address CPU model CPU speed Amount of RAM PCI devices Disk sizes Mount points The next step is choosing a profile name for...

Page 78: ...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 79: ...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 80: ...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 81: ...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 82: ...em that you just registered Then click the Update Entitlements button at the bottom of the page The number of entitlements remaining will decrease and your system is now ready to use the Red Hat Updat...

Page 83: ...Client 75 screens and fields in both versions Thus if you are using the text mode version you can still follow the instructions that begin in Section 7 2 Starting the Red Hat Network Registration Clie...

Page 84: ...76 Chapter 7 Red Hat Network Registration Client...

Page 85: ...service level offerings Basic was formerly called Software Manager Basic offers the same services as the Software Manager subscription did plus more new features Bug Fix Alert An Errata Alert that pe...

Page 86: ...use E Email Notification Similar to an Errata Alert except the information is delivered via email If the email notifi cations option is selected notifications are sent for every Red Hat Network Errata...

Page 87: ...ver and on the Red Hat Network Server and an Errata is generated Errata Alert RHN Errata Alert that updated packages based on Red Hat Errata are available for one or more systems within an organizatio...

Page 88: ...ersion of the package which files were installed with the package a brief description of the package the installation date and more RPM Update Red Hat Network option to deliver the RPM packages based...

Page 89: ...about the client system It is created during the registration process The software information is a list of RPM packages and their versions installed on the client system The System Profile is used to...

Page 90: ...82 Glossary...

Page 91: ...mo 2 Digital Certificate 4 download ISO images 54 E email address change 43 entitlements purchase history 44 purchasing 44 Errata 50 Advanced Search 52 All Errata 51 apply applicable 48 Relevant Errat...

Page 92: ...7 Command Line Arguments 25 Configuration 29 with a proxy server 29 Registration 63 as part of an organization 13 68 Configuration 63 Email notification 11 67 Hardware System Profile 14 69 Password 11...

Page 93: ...Search 52 Help 44 logging in 39 navigation bar 39 overview 39 Purchase History 44 Relevant Errata 50 Schedule 56 Software 52 Software Search 55 System Details 47 System Entitlements 49 System List 45...

Page 94: ......

Reviews: