background image

14

Chapter 2. Red Hat Update Agent

2.2.2.1. Hardware System Profile

After creating a username and password for your Red Hat Network account, the

Red Hat Update

Agent

probes 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 your system as shown in Figure 2-8. The default value

is the hostname for the system. You may modify this to be a more descriptive string, such as

Email

Server for Support Team

, if you find it more helpful. Optionally, you can enter a computer

serial or identification number for the 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).

Содержание NETWORK - USER REFERENCE GUIDE 2.0

Страница 1: ...Red Hat Network Enterprise User Reference Guide 2 0...

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

Страница 3: ...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 Notification Tool 35 3 1 Confi...

Страница 4: ...4 Archived Actions 64 4 7 5 Actions List 64 4 8 Users 65 4 8 1 User List 65 5 Red Hat Network Daemon 69 6 Using Red Hat Network with Red Hat Linux 6 2 71 7 Red Hat Network Registration Client 73 7 1...

Страница 5: ...e 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 Conventions When y...

Страница 6: ...ssword before 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 GU...

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

Страница 9: ...unning Red Hat Linux 6 2 7 3 and Red Hat Linux Advanced Server only The Red Hat Update Agent provides your initial connection to the Red Hat Network Once regis tered it enables channel subscription pa...

Страница 10: ...tifications Receive an email notification when an Errata Alert is issued for your system Errata Updates Scheduled delivery of Errata Updates with optional automatic installation Package installation S...

Страница 11: ...fications and Scheduled Package Installations You can configure the Red Hat Network to send you email notifications of new and updated software packages as soon as the packages are available through R...

Страница 12: ...2 or lower you may not have the Red Hat Network Reg istration Client or the Red Hat Update Agent installed Remember if you are a Red Hat Linux 8 0 user you do not need the Red Hat Network Registratio...

Страница 13: ...Linux 7 or higher CD ROM 1 in the RedHat RPMS directory or downloaded from the Red Hat FTP site available at ftp ftp redhat com or from a Red Hat FTP mirror available at http www redhat com mirrors ht...

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

Страница 15: ...portant 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 kernel the next tim...

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

Страница 19: ...e 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 redhat com you can u...

Страница 20: ...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 Figure 2 6 Error Username Alrea...

Страница 21: ...ame 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 Update Agent takes you to the screen shown in F...

Страница 22: ...Mount points The next step is choosing a profile name for your system as shown in Figure 2 8 The default value is the hostname for the system You may modify this to be a more descriptive string such...

Страница 23: ...RPM Database Information Only those packages you choose during this part of the registration will be included in your System Profile and you will receive notifications only about the packages in your...

Страница 24: ...2 2 Choosing RPM Packages to Exclude from the System Profile By default all RPM packages in your RPM database are included in your System Profile to be updated by Red Hat Network To exclude a package...

Страница 25: ...tem Profile 2 2 2 3 Finishing Registration As seen in Figure 2 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 Cancel at t...

Страница 26: ...Profile to 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 for continued instructions 2 3 Setup...

Страница 27: ...Section 4 6 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 dialo...

Страница 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: ...chose not to have the packages installed via the Red Hat Update Agent skip to Section 2 3 5 2 for further instructions If you configured it to install the packages the default setting the selected pa...

Страница 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: ...o the database 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 nod...

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

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

Страница 37: ...Agent offers 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 2 4 1 Using the Red Hat Update Agent Configur...

Страница 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: ...chCount 10 20 networkRetries 5 21 enableProxy No 22 proxyPassword 23 noSSLServerURL http www rhns redhat com XMLRPC 24 keepAfterInstall No 25 proxyUser 26 removeSkipList kernel 27 useGPG Yes 28 gpgKey...

Страница 42: ...34 Chapter 2 Red Hat Update Agent...

Страница 43: ...the GNOME desktop environment Starting with Red Hat Linux 7 3 the Red Hat Network Notification Tool appears on the GNOME Panel by default as shown in Figure 3 1 Figure 3 1 GNOME Panel with Red Hat Ne...

Страница 44: ...again right 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 Notification Tool also uses the system wid...

Страница 45: ...the applet the Available Updates tab displays a list of packages that can be updated on your system 3 3 Viewing Updates Clicking on the Red Hat Network Notification Tool displays a list of available...

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

Страница 47: ...using RHN Refer to Chapter 2 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 with the same...

Страница 48: ...e the entitlement levels of systems Advanced Search Quickly search all of your systems by specific criteria such as name hardware devices system info networking packages and location Activation Keys G...

Страница 49: ...utton Your results will appear at the bottom of the page Refer to the appropriate category for instructions on using these results 4 2 3 Systems Selected Also near the top of the page is a tool for ke...

Страница 50: ...t and symbols used throughout the interface Figure 4 2 Your Red Hat Network The top of the page shows how many systems need attention provides a link to quickly view those systems and displays a summa...

Страница 51: ...uch as name password email and title To modify any of this information merely make the changes in the appropriate text fields and click the Update button in the bottom right hand corner The email addr...

Страница 52: ...e left navigation bar to explore further 4 3 5 2 Quick Start Guide The Quick Start Guide page contains a brief overview of Red Hat Network and its many features If you are unfamiliar with RHN it is re...

Страница 53: ...k at the top of the Overview page takes you to a similar sum mary of your system groups It identifies group status and displays the number of systems contained Clicking on the number of systems takes...

Страница 54: ...s the version that shipped with Red Hat Linux 7 1 but the system has version 2 5 2 of the package installed the newer version of the package will be in the list of updated packages for the system Clic...

Страница 55: ...ved The system is entitled but the Red Hat Network Daemon has been disabled on the system The system is behind a firewall that does not allow connections over https port 443 The system is behind a pro...

Страница 56: ...ieve the list is outdated or incomplete or you installed the packages manually and did not have RHN install them click the Update Package List button on the bottom right hand corner of this page The n...

Страница 57: ...the Create button To modify a note click on its subject in the list of notes make your changes and click the Update button To remove a note click on its subject in the list of notes and then click the...

Страница 58: ...licking on the name of a group takes you to Details tab of its System Group Details page Refer to Section 4 4 3 3 for more information Systems Total number of systems contained by the group Clicking o...

Страница 59: ...ge Refer to Section 4 5 2 2 for more information Clicking the Affected Systems number lists all of the systems addressed by the Errata To apply the Errata Updates in this list select the systems and c...

Страница 60: ...d or remove the selected systems in any of the system groups toggle the appropriate radio buttons and click the Alter Membership button Channels Tool to manage channel subscriptions To subscribe or un...

Страница 61: ...bottom of the page For details about using the resulting system list refer to Section 4 4 2 4 4 7 Activation Keys RHN Enterprise customers can generate activation keys through the RHN website Each uni...

Страница 62: ...stem 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 7 2 system cannot be subscribed t...

Страница 63: ...stems affected and date updated Figure 4 5 Errata List Clicking on the Advisory takes you to the Details tab of the Errata Details page Clicking on the number of associated systems takes you to the Af...

Страница 64: ...apply the Errata as soon as possible the next time the Red Hat Network Daemon on the client systems con nect to RHN or schedule a date and time for the Errata Updates to occur Then click the Schedule...

Страница 65: ...the left navigation bar It displays the Errata Alerts your organization has created and disseminated 4 5 4 2 Manage Errata Unpublished The Unpublished Errata page appears when you click Unpublished b...

Страница 66: ...hannel is assigned automatically during registration based upon the Red Hat Linux release and system architecture selected In the case of public free channels RHL 6 2 7 x 8 0 the action will succeed I...

Страница 67: ...tab you see when you click on a channel It displays essential information about the channel such as summary description and architecture Clicking on its number of packages or systems subscribed takes...

Страница 68: ...rs when you attempt a subscription to such a channel through the Target Systems tab To complete the subscription read the agreement click the Accept button and then click the Confirm button To decline...

Страница 69: ...titled systems by following these steps 1 Select Software Channels from the top and left navigation bars 2 Click on the name of the channel that contains the package to be installed 3 On the Channel D...

Страница 70: ...ql packagename Newer Versions List of newer versions of the packages released via Errata Alerts Installed Systems List of systems with this package installed Target Systems List of systems on which th...

Страница 71: ...can be scheduled to apply all Errata Updates to a system Red Hat Network keeps track of the following action types 1 Package Installations For more information on how to perform package installations...

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

Страница 73: ...er to Section 4 4 2 6 for 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 clic...

Страница 74: ...of Organization Administrator or channel administrator select the appropriate checkbox before clicking Update Assigned Groups List of system groups that the user may administer To add or remove syste...

Страница 75: ...ways email phone fax or mail Red Hat may contact you To modify any of these options make your changes and click the Alter Preferences button Addresses General address billing address and shipping add...

Страница 76: ...68 Chapter 4 Red Hat Network Website...

Страница 77: ...allowed is one hour 60 minutes If you set the interval below one hour it will default to two hours 120 minutes You can view the status of the rhnsd by typing the command service rhnsd status or etc rc...

Страница 78: ...70 Chapter 5 Red Hat Network Daemon...

Страница 79: ...2 In the same shell 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 promp...

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

Страница 81: ...uilt into the Red Hat Update Agent After registering your system refer to Chapter 2 for instructions on starting the Red Hat Update Agent and begin steps listed in Section 2 3 7 1 Configuring the Red...

Страница 82: ...tpProxy to the name of the proxy server and port number in the format http HOST PORT For example to use the proxy server http squid mysite org on port 3128 you would change the value to http squid mys...

Страница 83: ...3 will appear If you continue it will overwrite your existing Digital Certificate file etc sysconfig rhn systemid and you will create a different System Profile You will no longer be able to use your...

Страница 84: ...ee Figure 7 5 The information gathered during the Red Hat Network registration process is used to create a System Profile The System Profile is essential if you wish to receive update notifications ab...

Страница 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: ...chine 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 enter your existing Red Hat Network user...

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

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

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

Страница 92: ...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 Update Agent and RHN website Refer to Chapter 2 and Ch...

Страница 93: ...Chapter 7 Red Hat Network Registration Client 85 Figure 7 15 Text Mode Welcome Screen...

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

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

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

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

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

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

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

Страница 101: ...mon See Red Hat Network Daemon deleting a system 47 Demo 2 Digital Certificate 3 download ISO images 60 E email address change 43 changing 66 entitlement with activation key 53 entitlements purchase h...

Страница 102: ...ring 35 icons 36 requirements 35 with a proxy server 36 Red Hat Network Registration Client See Registration Red Hat Update Agent 1 7 37 Command Line Arguments 25 Configuration 29 with a proxy server...

Страница 103: ...date See Red Hat Update Agent user account 11 77 user details modifying 66 user roles 66 users 65 billing address 67 changing email address 66 changing password 66 creating 66 general address 67 list...

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

Отзывы: