background image

Chapter 2. Red Hat Update Agent

19

2.3.1. Choosing a Channel

The first step is to select the channel from which you want the updated packages to be retrieved. After

you send your System Profile, the

Channels

screen (Figure 2-14) appears. Select the appropriate

base channel and click

Forward

to continue. Refer to Section 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 dialog box in Figure 2-15 will appear. This means a connection to Red

Hat Network is being established and your customized list of updates is being retrieved. This might

take some time, depending on the speed of your connection and the number of packages you have

installed.

Figure 2-15. Retrieve Update Information

Summary of Contents for NETWORK 2.6

Page 1: ...Red Hat Network 2 6 Enterprise Reference Guide...

Page 2: ...dow 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 tr...

Page 3: ...ommand 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 Not...

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

Page 5: ...twork 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 Doc...

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: ...ata you need to save 2 More to Come The Red Hat Network Enterprise User Reference Guide is constantly expanding as new Red Hat Network features and service plans are launched 2 1 Send in Your Feedback...

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: ...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 a...

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: ...inish changing your configuration press Enter to 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 mak...

Page 42: ...scribed to the RHN channels and system groups selected during key generation The system will not be subscribed 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: ...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: ...actions on currently 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...

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: ...ill 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 package lists and...

Page 53: ...hn feedback address collects customer input and provides an auto response but nothing more The technical support form ensures the customer will get a per sonalized and helpful response in a timely man...

Page 54: ...to perform actions on them simultaneously Refer to Section 4 4 4 System Set Manager for details Status Shows which type of Errata Alerts are applicable to the system or confirms that it is up to date...

Page 55: ...s configured when registering it The default name is the hostname of the system Clicking on the name of a system takes you to the System Details page for the system Refer to Section 4 4 2 6 System Det...

Page 56: ...rewall 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 2 6 S...

Page 57: ...ut any user intervention Customers should note that Red Hat does not recommend the use of the auto update feature for production systems because conflicts between packages and environments can cause s...

Page 58: ...wn menu and click the Compare button To create a stored profile based upon the existing system click the Create System Profile button enter any additional information you desire and click the Create P...

Page 59: ...ion 4 4 2 6 System Details 4 Assign system group permissions to users Refer to Section 4 8 Users As shown in Figure 4 4 the System Groups list displays all of your system groups Figure 4 4 System Grou...

Page 60: ...ription and click the Create Group button Make sure you use a name that clearly sets this group apart from others The new group will appear in the System Groups list 4 4 3 2 Adding and Removing System...

Page 61: ...checkboxes and click the Update button 4 4 4 System Set Manager The System Set Manager allows you to perform the following actions on a system set the current set of selected systems Apply Errata upda...

Page 62: ...hen clicking the Reboot Systems button sets those systems for reboot Delete Systems Clicking Delete System Profiles then the Confirm Deletions button removes the selected profiles permanently System P...

Page 63: ...p of the page After auto entitling a message appears at the top of the System Entitlements page indicating the number of systems successfully entitled to the Enterprise service level 4 4 6 Advanced Se...

Page 64: ...e bottom 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 man...

Page 65: ...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 66: ...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 67: ...the organization such as a custom engineering application A system must be subscribed to one base channel only This base channel is assigned automatically during registration based upon the Red Hat Li...

Page 68: ...It displays essential information about the channel such as summary description and architecture In addition a Globally Subscribable checkbox can be seen by Organization Administrators and Channel Ad...

Page 69: ...er to Section 4 4 2 6 System Details for more information If it is a child channel you will also have the option within this tab of unsubscribing systems from the channel Use the checkboxes to select...

Page 70: ...ownload 4 6 5 1 Package Install Only packages included in a system s subscribed channels can be installed or updated on that system Important If you use scheduled package installation the packages wil...

Page 71: ...following tabs Details Details about the package including subtabs for overview dependencies change log and file list Overview A summary of the package including the package description size and vers...

Page 72: ...o apply Errata Updates refer to Section 4 5 2 1 Apply Errata Updates 3 Hardware Profile Updates To schedule a hardware profile refresh go to a system list under the Systems category click on the name...

Page 73: ...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 74: ...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 75: ...tion 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 Us...

Page 76: ...of system events RHN List Page Size Maximum number of 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...

Page 77: ...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 78: ...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 79: ...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 80: ...72 Chapter 6 Using Red Hat Network with Red Hat Linux 6 2...

Page 81: ...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 82: ...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 83: ...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 84: ...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 85: ...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 86: ...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 87: ...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 88: ...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 89: ...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 90: ...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 91: ...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 92: ...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 93: ...Client 85 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 94: ...86 Chapter 7 Red Hat Network Registration Client...

Page 95: ...g_ks from the rhn_register package 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...

Page 96: ...efore each connection This certificate is issued by Red Hat and passed to the system as part of the registration process It includes unique information about the registered system to avoid fraudulent...

Page 97: ...packages they are placed on the Red Hat Public File Server 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...

Page 98: ...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 99: ...ministrator group can add systems to the organization System ID A unique string of characters and numbers that identifies a registered system It is stored in the system s Digital Certificate System Pr...

Page 100: ...92 Glossary...

Page 101: ...l List 59 child channel 59 conventions document i D daemon 69 deleting a system 48 Demo 2 Digital Certificate 4 download ISO images 61 E email address change 43 changing 67 entitlement with activation...

Page 102: ...apply Errata Updates 48 58 62 viewing status 69 Red Hat Network Registration Client See Registration Red Hat Update Agent 1 7 37 activation keys 33 Command Line Arguments 25 Configuration 29 with a p...

Page 103: ...account 11 77 user details modifying 67 user roles 67 users 66 billing address 68 changing email address 67 changing password 67 creating 67 general address 68 list of 66 roles 67 shipping address 68...

Page 104: ......

Reviews: