Red Hat NETWORK 2.8 - MANAGEMENT Скачать руководство пользователя страница 9

Chapter 1.

What is Red Hat Network?

Have you ever read about a new version of a software package and wanted to install it but could not

find it?
Have you ever tried to find an RPM through an Internet search engine or an RPM Repository and been

linked to a site that you have never heard of?
Have you ever tried to find an RPM but instead found only the source files that you had to compile

yourself?
Have you ever spent hours or even days visiting different websites to see if you have the latest packages

installed on your system, only to have to do it again in a few months?
Those days are over with Red Hat Network (RHN). RHN provides the solution to all your system

software management needs.
Red Hat Network is an Internet solution for managing a Red Hat Linux system or a network of Red

Hat Linux systems. All Security Alerts, Bug Fix Alerts, and Enhancement Alerts (collectively known

as Errata Alerts) can be downloaded directly from Red Hat. You can even have updates scheduled to

be delivered directly to your system as soon as they are released.
The main components of Red Hat Network are as follows:

The

Red Hat Update Agent

The Red Hat Network Website

Red Hat Network Daemon

The

Red Hat Network Registration Client

- for systems running 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, package installs, and management of System Profiles. Red Hat

Linux 8.0 systems will even use the Red Hat Update Agent to be registered to RHN. See Chapter 2

Red Hat Update Agent

for further information.

You can use either of the two Red Hat Network user interfaces:

https://rhn.redhat.com

The

Red Hat Update Agent

Both the website and the

Red Hat Update Agent

allow you to view Errata Alerts from in the Red

Hat Errata list. Only packages relevant to your system are shown. Red Hat Network can also be

configured to verify packages once downloaded, ignore update notifications for certain packages, and

view package details before downloading them.
The

Red Hat Network Daemon

(

rhnsd

) runs in the background as a service and probes the Red Hat

Network for notifications and updates at set time intervals (see Chapter 5

Red Hat Network Daemon

for further information). This daemon is necessary if you want to schedule updates or other actions

through the website.
The

Red Hat Network Registration Client

allows you to register your older Red Hat Linux (prior to

8.0) and Red Hat Enterprise Linux (2.1) systems with RHN. Registration involves creating a unique

RHN username and password, probing the hardware on your system to create a Hardware Profile, and

Содержание NETWORK 2.8 - MANAGEMENT

Страница 1: ...Red Hat Network 2 8 Management Reference Guide...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 8: ...no data you need to save 2 More to Come The Red Hat Network Management Reference Guide is constantly expanding as new Red Hat Network features and service plans are launched 2 1 Send in Your Feedback...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 14: ...6 Chapter 1 What is Red Hat Network...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 36: ...gj4 TzQSx77uYokw1EqQ2wk OZoaEtcubsNMquuLCMWijYhGBBgRAgAGBQI36lRyAAoJECGRgM3bQqYOhyYAnj7h VDY FJAGqmtZpwVp9IlitW5tAJ4xQApr jNFZCTksnI 4O1765F7tA 3AHZ END PGP PUBLIC KEY BLOCK 2 At the shell prompt impo...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 46: ...38 Chapter 3 Red Hat Network Alert Notification Tool...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 54: ...cted To select systems mark the appro priate checkboxes and click the Update List button below the column Selected systems are added to the System Set Manager After adding systems to the System Set Ma...

Страница 55: ...d Hat Update Agent Refer to Section 4 4 2 6 System Details or Section 2 4 1 3 Package Exceptions Settings respectively for instructions System The name of the system as configured when registering it...

Страница 56: ...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 Network Daemon for instructions on restarting and troubleshoo...

Страница 57: ...es page of the Your RHN category Refer to Section 4 3 2 Your Preferences for instructions Note that RHN will send these summaries only to verified email addresses Automatic application of relevant err...

Страница 58: ...s of stored profiles and other Management systems To make the comparison with a stored profile select that profile from the pulldown menu and click the Compare button To make the compar ison with anot...

Страница 59: ...Add systems to system groups Refer to Section 4 4 3 2 Adding and Removing Systems in Groups 3 Remove systems from system groups Refer to Section 4 4 2 6 System Details 4 Assign system group permission...

Страница 60: ...n 4 4 4 System Set Manager for more information 4 4 3 1 Creating Groups To add a new system group click the create new group button on the top left corner Type a name and description and click the Cre...

Страница 61: ...n users that potentially have permission to manage the system group Organization Administrators are clearly identified To change the system group s users se lect and unselect the appropriate checkboxe...

Страница 62: ...utton schedules a package profile update Reboot Systems Selecting the appropriate systems and then clicking the Reboot Systems button sets those systems for reboot Delete Systems Clicking Delete Syste...

Страница 63: ...t entitlements available If you need to purchase additional entitlements click the Buy them now link at the top of the page After auto entitling a message appears at the top of the System Entitlements...

Страница 64: ...key can be re enabled by selecting the checkbox After making these changes click the Update Keys button on the bottom right hand corner of the page 4 5 Errata If you click the Errata tab on the top na...

Страница 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...

Страница 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...

Страница 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...

Страница 68: ...child channel This is the first tab you see when you click on a channel It displays essential information about the channel such as summary description and architecture In addition a Globally Subscri...

Страница 69: ...the list for the substring at the beginning in the middle or at the end of the package name For example typing ks in the filter might return all the ksconfig krb5 workstation and links The filter is...

Страница 70: ...es of software that when installed enable your system to operate Packages are grouped by channels to help you more easily determine which are applicable to your systems These packages can be retrieved...

Страница 71: ...the Package Details page will appear This page contains the following tabs Details Details about the package including subtabs for overview dependencies change log and file list Overview A summary of...

Страница 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...

Страница 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...

Страница 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...

Страница 75: ...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...

Страница 76: ...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...

Страница 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...

Страница 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...

Страница 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...

Страница 80: ...72 Chapter 6 Using Red Hat Network with Red Hat Linux 6 2...

Страница 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...

Страница 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...

Страница 83: ...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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 94: ...86 Chapter 7 Red Hat Network Registration Client...

Страница 95: ...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...

Страница 96: ...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...

Страница 97: ...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...

Страница 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...

Страница 99: ...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...

Страница 100: ...92 Glossary...

Страница 101: ...st 59 child channel 59 conventions document i D daemon 69 deleting a system 48 Demo 2 Digital Certificate 4 download ISO images 62 E email address change 43 changing 67 entitlement with activation key...

Страница 102: ...apply Errata Updates 49 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 pr...

Страница 103: ...ser 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...

Страница 104: ......

Отзывы: