background image

Red Hat Network 3.7

Reference Guide

Содержание NETWORK 3.7 -

Страница 1: ...Red Hat Network 3 7 Reference Guide...

Страница 2: ...http www opencontent org openpub Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder Distribution of the work or der...

Страница 3: ...inished 25 2 3 5 Command Line Version 26 2 4 Configuration 30 2 4 1 Using the Red Hat Update Agent Configuration Tool 30 2 4 2 Command Line Version 33 2 5 Registering with Activation Keys 34 3 Red Hat...

Страница 4: ...h 85 6 4 7 Activation Keys 85 6 4 8 Stored Profiles 87 6 4 9 Custom System Info 87 6 4 10 Kickstart 87 6 5 Errata 94 6 5 1 Relevant Errata 95 6 5 2 All Errata 95 6 5 3 Advanced Search 97 6 6 Channels...

Страница 5: ...fig Files 129 A 1 2 Getting a Config File 129 A 1 3 Viewing Config Channels 129 A 1 4 Differentiating between Config Files 130 A 1 5 Verifying Config Files 130 A 2 Red Hat Network Configuration Manage...

Страница 6: ...C 5 8 Linux Process Counts by State 154 C 5 9 Linux Process Count Total 154 C 5 10 Linux Process Health 155 C 5 11 Linux Process Running 156 C 5 12 Linux Swap Usage 156 C 5 13 Linux TCP Connections b...

Страница 7: ...C 9 14 Oracle Tablespace Usage 176 C 9 15 Oracle TNS Ping 177 C 10 RHN Satellite Server 177 C 10 1 RHN Satellite Server Disk Space 177 C 10 2 RHN Satellite Server Execution Time 178 C 10 3 RHN Satell...

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

Страница 9: ...ed to use the separate Red Hat Network Registration Client before starting the Red Hat Update Agent Refer to Chapter 5 Red Hat Network Registration Client for instructions Systems running Red Hat Ente...

Страница 10: ...entify a particular GUI screen or an element on a GUI screen such as text associated with a checkbox or field Example Select the Require Password checkbox if you would like your screensaver to require...

Страница 11: ...is meant to be replaced with data provided by the user is displayed in this style In the following example version number is displayed in this style The directory for the kernel source is usr src ker...

Страница 12: ...vailable within the Help section of the RHN website and at http www redhat com docs Note Although this manual reflects the most current information possible read the RHN Release Notes for information...

Страница 13: ...x 2 1 only The Red Hat Update Agent up2date provides your initial connection to Red Hat Network Once registered it enables channel subscription package installs and management of System Profiles Red H...

Страница 14: ...ttp rhn redhat com purchase_info pxt With each Update subscription you receive the essential functionality provided to Demo users plus Easy ISOs For customers who have purchased subscriptions to Red H...

Страница 15: ...to each subscribe the systems to a new channel or apply all Errata to them with a single action Batch Processing Figuring out a list of outdated packages for a thousand systems would take days for a...

Страница 16: ...can be sent to a different method or address Central Status The results of all probes are summarized in a single Probe Status page with the systems affected broken down by state Reporting By selectin...

Страница 17: ...ackaged with older versions of the Red Hat Update Agent and the Red Hat Network Registration Client reached its end of life August 28 2003 Users attempting to connect using this certificate will recei...

Страница 18: ...Red Hat Network Registration Client runs if the X Window System is available up2date Provides the Red Hat Update Agent command line version and the Red Hat Network Daemon up2date gnome Provides the GN...

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

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

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

Страница 22: ...hen register your systems using that activation key and find those System Profiles within RHN immediately Refer to Section 2 5 Registering with Activation Keys for instructions After installing the Re...

Страница 23: ...and a valid email address In the screen shown in Figure 2 5 choose a username and password Once logged in to Red Hat Network you can modify your preferences view your existing System Profile or obtain...

Страница 24: ...cters long Cannot contain any tabs Cannot contain any line feeds Passwords are case sensitive for obvious reasons Figure 2 5 Create a User Account You must choose a unique username If you enter one al...

Страница 25: ...er your existing Red Hat Network username and password The new machine will be added to your existing account and you can log into Red Hat Network with your username and password to view all your syst...

Страница 26: ...rdware and software information about your Red Hat Enterprise Linux system The System Profile information is used by Red Hat Network to determine what software update notifications you receive 2 2 2 1...

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

Страница 28: ...r 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 the RPM packages installed on your system This operation may take so...

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

Страница 30: ...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 Software Channel for continued instructi...

Страница 31: ...ile the Channels screen Figure 2 14 appears Select the appropriate base channel and click Forward to continue The Red Hat Update Agent offers only the channels enabled for the system in RHN or your RH...

Страница 32: ...ages available for your system the dialog box in Figure 2 16 appears Click OK to exit the Red Hat Update Agent Figure 2 16 No new packages needed If you excluded any packages while registering your Sy...

Страница 33: ...ou want to view the advisory for the RPM Alert click the View Advisory button This will display what type of Errata Alert it is and what problem s it addresses as shown in Figure 2 18 Click OK to clos...

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

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

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

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

Страница 38: ...ing command up2date nox The command line version 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 comm...

Страница 39: ...cies get source Fetch the source package specified without resolving dependencies gpg flags Show the flags GPG will be invoked with such as the keyring hardware Update this system s hardware profile o...

Страница 40: ...This option is useful if you do not have enough space in the configured location undo Reverse the last package set update u update Update system with all relevant packages upgrade to release release v...

Страница 41: ...deXJDdb4LcbEhErFU3CpRCjZ6AOnFuiV1MGdulZXvEUgBA I6 PDE5nBHfZY3zPjyLPZVtgYioJpZqcRIx g bX2O8kPqvJEuZ19tLCdykfZGpy bsV7QdSGqBk3snNOizmFj543RaHyEbnwKWbNADhujWMeUAxN 7Q8UmVkIEhhdCwg SW5jLiAoU2VjdXJpdHkgUmV...

Страница 42: ...RPM packages yourself your System Profile will not be updated automatically You will need to send your updated System Profile to the RHN Servers To synchronize the RPM package list on your local syste...

Страница 43: ...ORT For example to use the proxy server http squid mysite org on port 3128 you would enter http squid mysite org 3128 in the text field Additionally if your proxy server requires a username and passwo...

Страница 44: ...he default Red Hat Enterprise 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...

Страница 45: ...ith the character string will be excluded from the list For example if the string kernel in the Package Names to Skip section the Red Hat Update Agent will not display any packages beginning with kern...

Страница 46: ...q to quit without saving Enter 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 exi...

Страница 47: ...t creating a special key for the desired results To do this specify the keys separated by commas like this rhnreg_ks activationkey 7202f3b7d218cf59b764f9f6e9fa281b 39f41081f0329c20798876f37cb9p6a3 Not...

Страница 48: ...ed If the child channel matches the system s base channel subscription succeeds If it does not the subscription fails silently Refer to Section 6 6 Channels for more information Keys may be modified b...

Страница 49: ...emon can be configured by editing the etc sysconfig rhn rhnsd configuration file This is actually the configuration file the rhnsd initialization script uses The most important setting offered by the...

Страница 50: ...rectly your system can communicate with RHN via SSL port 443 You may test this by running the following command from a shell prompt telnet xmlrpc rhn redhat com 443 the Red Hat Network Daemon is activ...

Страница 51: ...d Hat Enterprise Linux 3 the Red Hat Network Alert Notification Tool appears on the panel by default as shown in Figure 4 1 Figure 4 1 GNOME Panel with Red Hat Network Alert Notification Tool If it do...

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

Страница 53: ...tion Tool displays a list of available updates To alter your list of excluded packages click the Ignored Packages tab and make your modifications Figure 4 3 Available Updates 4 4 Applying Updates If t...

Страница 54: ...42 Chapter 4 Red Hat Network Alert Notification Tool...

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

Страница 56: ...name password authentication for the proxy and set proxyUser and proxyPassword to the appropriate username and password for the proxy To bypass SSL in etc sysconfig rhn rhn_register change the protoco...

Страница 57: ...re 5 2 Use Python 1 5 2 24 or later If you have already registered your system and try to register it again the dialog box shown in Figure 5 3 will appear If you continue it will overwrite your existi...

Страница 58: ...reen Red Hat is committed to protecting your privacy see Figure 5 5 The information gathered during the Red Hat Network registration process is used to create a System Profile The System Profile is es...

Страница 59: ...nd a valid email address In the screen shown in Figure 5 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...

Страница 60: ...e following restrictions apply to both your username and password Must be at least four characters long Cannot contain any tabs Cannot contain any line feeds Passwords are case sensitive for obvious r...

Страница 61: ...stem The software System Profile information is used by Red Hat Network to determine what software update notifications you receive 5 4 1 Hardware System Profile After creating a username and password...

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

Страница 63: ...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 5 11 shows t...

Страница 64: ...de from System Profile 5 5 Finishing Registration As seen in Figure 5 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...

Страница 65: ...me time depending on your connection speed Figure 5 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...

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

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

Страница 68: ...56 Chapter 5 Red Hat Network Registration Client...

Страница 69: ...icon does follow the associated entitlement is needed Remember that Provisioning inherits all of the functions of Management If an icon precedes a paragraph only the specific portion of the page or ta...

Страница 70: ...enerate an activation key for an RHN entitled system This activa tion key can be used to grant a specified level of entitlement or group membership to a newly registered system with the rhnreg_ks comm...

Страница 71: ...ils for more information 6 1 4 Quick Search In addition to the Advanced Search functionality offered within some categories the RHN website also offers a Quick Search tool near the top of each page To...

Страница 72: ...system yet or do not have a redhat com account create a new account by clicking Create Account After creating a new user account you must register your system before using RHN Refer to Chapter 2 Red H...

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

Страница 74: ...riate text fields and click the Update button in the bottom right hand corner Remember if you change your Red Hat Network password the one used to log into RHN and red hat com you will not see your ne...

Страница 75: ...ing the Next button will display the next group of items This preference applies to system lists Errata lists package lists and so on Time Zone Set your time zone so that scheduled actions are schedul...

Страница 76: ...chnical support The Customer Service 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 a...

Страница 77: ...nd packages and entitlement level Clicking on the name of a system takes you to its System Details page Refer to Section 6 4 2 6 System Details for more information Figure 6 3 Systems Overview Clickin...

Страница 78: ...up to date Critical Errata available update strongly recommended Updates available and recommended System is locked Actions prohibited System is being kickstarted Updates have been scheduled System no...

Страница 79: ...the systems that have not yet been entitled for Red Hat Network service 6 4 2 4 Ungrouped The Ungrouped page displays the systems that have not yet been assigned to a specific system group 6 4 2 5 Ina...

Страница 80: ...customers to immediately initiate tasks on Provisioning entitled systems rather than wait for those systems to check in with RHN Scheduling actions through push is identical to the process of scheduli...

Страница 81: ...ist of hardware 6 4 2 6 1 4 System Details Details Notes 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 click the Create but...

Страница 82: ...other information are passing through one or more RHN Proxy Servers It identifies the Proxies being used and the order in which data passes through them to reach this system The Proxy connecting direc...

Страница 83: ...nnels for the system Click on the latest package name to view its Package Details page To upgrade packages immediately select them and click the Upgrade Packages button To download the packages as a t...

Страница 84: ...e Modify Base Channel button Refer to Section 6 6 1 Software Channels for more information 6 4 2 6 4 2 System Details Channels Configuration Assists in managing the configuration of the system This se...

Страница 85: ...iguration File Details for instructions To replicate the file within a config channel select its checkbox click the Copy to Config Channel button and select the destination channel To remove a file se...

Страница 86: ...eld and click the Tag Current Snapshot button Refer to Section 6 4 2 6 6 1 System Details Snapshots Snapshots to tag older snapshots You may then revert using this tag directly by clicking its name in...

Страница 87: ...me button 6 4 2 6 8 System Details Events Displays past current and scheduled actions on the system You may cancel pending events here The following sections describe the Events subtabs and the featur...

Страница 88: ...ructions Once the probe has been added you must reconfigure your Monitoring infrastructure to recognize it Refer to Section 6 9 3 Scout Config Push for details After the probe has run its results beco...

Страница 89: ...up once regardless of the number of groups to which it belongs Refer to Section 6 4 4 System Set Manager for details Status Shows which type of Errata Alerts are applicable to the group or confirms th...

Страница 90: ...just that and should be used with caution Clicking Work with Group functions similarly to the Use Group button from the System Groups list in that it loads the group s systems and launches the System...

Страница 91: ...bscribe systems to from channels Update system profiles Modify system preferences such as scheduled download and installation of packages Kickstart several Provisioning entitled systems at once Set th...

Страница 92: ...bscribed to the channel from which the package comes Click on the channel name and select the packages from the list Then click the Install Packages button 6 4 4 4 2 System Set Manager Packages Upgrad...

Страница 93: ...channels are used lowest first Channels not assigned a numeric value will not be associated with the systems Your local configuration channel will always override all other channels Once you ve establ...

Страница 94: ...this should be done with caution Select the new base channel from the pulldown menus and click the Change Base Channels button 6 4 4 7 System Set Manager Provisioning Provisioning Options for provisio...

Страница 95: ...allows you to remove values for all selected systems Click the Remove Values button to finalize the deletion 6 4 4 8 3 System Set Manager Misc Reboot Systems Selecting the appropriate systems and the...

Страница 96: ...itlements To use all of the features of RHN your systems must be entitled subscribed to an RHN service level Use the System Entitlements page to configure which systems are entitled to which service o...

Страница 97: ...ems according to specific criteria These criteria include custom system information system details hardware devices interface net working packages and location The activity selections Days Since Last...

Страница 98: ...information about a key such as the channels or groups click its description in the key list make your modifications in the appropriate tab and click the Update Key button To disassociate channels and...

Страница 99: ...identify an asset tag for each system To do this you must create an asset key within the Custom System Info page Click create new key at the upper right corner of the page Enter a descriptive label a...

Страница 100: ...ion needed for the new machine to boot This includes an IP address the default gateway to be used the netmask of the network the IP address of the TFTP or HTTP server holding the bootloader program an...

Страница 101: ...r that file by including the following line within the Partition Details field of the Kickstart Details Options tab include tmp part include You may clone or delete the profile at any time using links...

Страница 102: ...n for correctness As an example you might need to kickstart a system using eth1 kickstart network configuration but eth0 is the primary network interface for the box as identified in the network field...

Страница 103: ...Kickstart GPG and SSL Keys page and associate it with all relevant kickstart profiles This association should be made on the GPG and SSL keys subtab of the Kickstart Details page Not doing this will r...

Страница 104: ...button Note that a unique description is required 6 4 10 9 Kickstart Distributions Enables you to identify custom installation trees that may be used for kickstarting Satellite users should note that...

Страница 105: ...lar expression wildcards can be included When finished you may include the file preservation list in the kickstart profile to be used on systems containing those files Refer to Section 6 4 10 3 Creati...

Страница 106: ...stalls RHN supports kickstarts through a Pre Boot Execution Envi ronment PXE This is less error prone than CDs enables kickstarting from bare metal and integrates with existing PXE DHCP environments T...

Страница 107: ...o the pages described within this chapter you may view Errata by product line from the following location https rhn redhat com errata 6 5 1 Relevant Errata As shown in Figure 6 5 the Relevant Errata p...

Страница 108: ...tems tab of the Errata Details page Then individually select the systems to be updated and click the Apply Errata button Double check the systems to be updated on the confirmation page then click the...

Страница 109: ...r instance if an action fails and you reschedule it this column will show the status of the Errata as Pending only with no mention of the previous failure Clicking a status other than None takes you t...

Страница 110: ...ges included in a system s subscribed channels can be installed or updated on that system Further RHN Satellite Server and RHN Proxy Server customers have channel management authority This authority g...

Страница 111: ...the channel Organization Administrators and Channel Administrators can always subscribe systems to any chan nel Only customers with custom base channels may change their systems base channel assign m...

Страница 112: ...fig krb5 workstation and links The filter is case insensitive 6 6 1 4 6 Software Channel Details Subscribed Systems List of entitled systems subscribed to the channel The list displays system names ba...

Страница 113: ...efer to http www redhat com download howto_download html for additional download instructions and steps to burn images to discs Refer to the operating system s respective installation guide for instru...

Страница 114: ...contains the package to be installed 3 On the Software Channel Details page click on the Packages tab 4 Click on the name of the package you want to install 5 On the Package Details page click on the...

Страница 115: ...also be installed on the system for this one to function properly It also lists packages that it obsoletes or has conflicts with 6 6 5 3 1 3 Package Details Details Change Log The events of this pack...

Страница 116: ...needed by all rhncfg packages rhncfg actions The code required to run configuration actions scheduled via the RHN web site rhncfg client A command line interface to the client features of the RHN Con...

Страница 117: ...b Refer to Section 6 6 6 5 Configuration Channel Details for instructions 6 6 6 2 2 Manage Config Channels Config Channels System The System Config Channels page can be retrieved by selecting it from...

Страница 118: ...ile or directory to go to its details page Refer to Section 6 6 6 6 Configuration File Details for instructions To replicate a file within a config channel select its checkbox click the Copy to Config...

Страница 119: ...upper right corner of the page This page contains the following tabs 6 6 6 6 1 Configuration File Details Details General information about the file This is the first tab you see when you click on a...

Страница 120: ...ddition to variables for custom system information the following standard macros are supported rhn system sid rhn system profile_name rhn system description rhn system hostname rhn system ip_address r...

Страница 121: ...efault will be overridden by the actual value on any system containing it For instructions on developing custom system information keys refer to Section 6 4 9 Custom System Info Using the Red Hat Netw...

Страница 122: ...nding Actions 6 7 2 Failed Actions Actions that could not be completed If the action returns an error it will be displayed 6 7 3 Completed Actions Actions that have succeeded 6 7 4 Archived Actions Ac...

Страница 123: ...click on an action It displays the action type scheduling administrator earliest execution and notes Clicking the Errata Advisory takes you to the Errata Details page The Errata Advisory appears only...

Страница 124: ...ys tems in the organization using either the RHN website or the Red Hat Network Configuration Manager Monitoring Administrator This role allows for the scheduling of probes and oversight of other Moni...

Страница 125: ...can click on the username in the User List to make system and group assignments Refer to Section 6 8 2 2 User Details for more information Warning Be careful when creating users because no interface...

Страница 126: ...select the default group or groups from the dropdown menu at the bottom of the page Then click the Update Defaults button An asterisk appears next to the names of the defaults in the dropdown menu 6 8...

Страница 127: ...User Details Notification Methods Email and pager addresses designated to receive alerts from Monitoring probes To create a method click create new method and complete the fields If you will receive...

Страница 128: ...ables below The counts at the top include probes for all systems in your organization while the tables display probes on only those systems to which you have access through the System Group Administra...

Страница 129: ...onnection cannot be established to the monitored system It is also possible the probes configuration parameters are not correct and their data cannot be found Finally this state may indicate a softwar...

Страница 130: ...g Push Scout Configs The table on this page identifies the date and time of requested and completed pushes Clicking the name of the server opens its RHNMD SSH Public Key 6 9 4 General Config Collects...

Страница 131: ...ents are required for all systems to be monitored and are currently bundled with Provisioning entitlements Monitoring is supported only on Red Hat Enterprise Linux systems Entitlements may be obtained...

Страница 132: ...inux Virtual Memory LogAgent Log Pattern Match LogAgent Log Size Network Services Remote Ping Oracle Client Connectivity General Remote Program General Remote Program with Data 7 2 2 Installing the Re...

Страница 133: ...as long as the required SSH key can be put in the user s ssh authorized_keys file 3 Identify the port used by the daemon as identified in its etc ssh sshd_config configura tion file The default is por...

Страница 134: ...domain during installation of your RHN Satellite Server and configured sendmail to properly handle incoming mail Refer to the Installation chapter of the RHN Satellite Server Installation Guide for de...

Страница 135: ...D which is a unique character string representing the precise message and probe In the above message the Send ID is 01dc8hqw Pager notifications by necessity contain only the most important details na...

Страница 136: ...ration 7 3 5 Deleting Notification Methods Theoretically removing notification methods should be as easy if not easier than creating them After all you must populate no fields to conduct the deletion...

Страница 137: ...notifications should be sent Selecting 1 minute and the Probe Notification checkbox means you will receive no tifications every minute the probe surpasses its CRITICAL or WARNING thresholds Refer to...

Страница 138: ...nitoring related activities are conducted through the RHN website Red Hat provides access to some command line diagnostic tools that may help you determine the cause of errors To use these tools you m...

Страница 139: ...Description help List the available options and exit probe PROBE_ID Run the probe with this ID prob_arg PARAMETER Override any probe parameters from the database module PERL_MODULE Package name of alt...

Страница 140: ...128 Chapter 7 Monitoring...

Страница 141: ...idual client system From there you may use it to gain knowledge about how RHN will deploy configuration files to the particular system The Red Hat Network Configuration Client offers these primary mod...

Страница 142: ...rhn cfg tmp 2004 01 13 14 18 31 000000000 0500 etc foo txt 2003 12 16 21 35 32 000000000 0500 1 3 1 5 blaaaaaaaaaaaaaaah In addition you may include the topdir option to compare config files in RHN w...

Страница 143: ...k Configuration Manager is 30 minutes To alter this add the server session_lifetime option and new value to the etc rhn rhn conf file on the server running the manager like so server session_lifetime...

Страница 144: ...nel d dest file DEST_FILE Conflicts with topdir Identify the destination path and filename of a single file t topdir TOPDIR Conflicts with dest file Handle multiple files at a different location than...

Страница 145: ...04 01 13 14 36 41 config channel blah2 revision 1 tmp dest_path foo txt 2004 01 13 14 42 42 config channel blah3 revision 1 1 1 20 foo blaaaaaaaaaaaaaaah BEGIN PGP SIGNATURE Version GnuPG v1 0 6 GNU L...

Страница 146: ...hannel 14 config channel 17 Note that this does not list local_override or server_import channels A 2 9 Removing a File from a Channel To remove a file from a channel issue the command rhncfg manager...

Страница 147: ...revision of a file in a channel or add the first revision to that channel if none existed before for the given path issue the command rhncfg manager update channel channel label dest file path to file...

Страница 148: ...136 Appendix A Command Line Config Management Tools...

Страница 149: ...makes some of the calls B 1 Using the auth Class and Getting the Session It is worth noting you will almost invariably use the auth class first This class offers a single method login Use this to esta...

Страница 150: ...make the association B 6 Sample API Script The following sample script depicts how an RHN API client should be constructed Review the com ments and links for a full discussion of the calls made usr b...

Страница 151: ...ems client call system list_user_systems session for my system systems print Dumper system print n nCapturing ID of system systems 0 name n n my systemid systems 0 id This next call returns a list of...

Страница 152: ...140 Appendix B RHN API Access...

Страница 153: ...riptions in this appendix Then apply relevant probes to Monitoring entitled systems within your organization as described in Section 6 9 Monitoring While adding those probes select meaningful threshol...

Страница 154: ...rChild setting The ExtendedStatus directive in the httpd conf file of the Web server must be set to On for this probe to function properly Field Value Application Protocol http Port 80 Pathname server...

Страница 155: ...Web server was last started No metrics are collected by this probe which is designed to help track service level agreements SLAs Field Value Application Protocol http Port 80 Pathname server status U...

Страница 156: ...community_prefix managed_server_name in order for the SNMP query to return results for the desired Managed Server Finally SNMP must be enabled on each monitored system SNMP support can be enabled and...

Страница 157: ...ebLogic JDBC Connection Pool The BEA WebLogic JDBC Connection Pool probe monitors the Java Database Connection JDBC pool on a domain Admin Server only no Managed Servers and collects the following met...

Страница 158: ...3 5 BEA WebLogic Servlet The BEA WebLogic Servlet probe monitors the performance of a particular servlet deployed on a WebLogic server and collects the following metrics High Execution Time The highe...

Страница 159: ...ing the thresholds C 4 1 General Remote Program The General Remote Program probe allows you to run any command or script on your system and obtain a status string Note that the resulting message will...

Страница 160: ...XML is case sensitive The data item key name cannot be changed and it must collect a number as its value Field Value Command OK Exit Status 0 Warning Exit Status 1 Critical Exit Status 2 Timeout 15 T...

Страница 161: ...ield If the expected string is not found the probe returns a CRITICAL status Field Value Send Expect Port 1 Timeout 10 Critical Maximum Latency Warning Maximum Latency Table C 12 General TCP Check set...

Страница 162: ...rt 161 SNMP Version 2 Timeout 15 Table C 14 General Uptime SNMP settings C 5 Linux The probes in this section monitor essential aspects of your Linux systems from CPU usage to virtual memory Apply the...

Страница 163: ...he mon itored system to execute this probe Also the Disk number or disk name parameter must match the format that is seen when the iostat command is run on the commandline If the format is not identic...

Страница 164: ...em There is an inode for each file and a file is uniquely identified by the file system on which it resides and its inode number on that system Requirements The Red Hat Network Monitoring Daemon rhnmd...

Страница 165: ...ents The Red Hat Network Monitoring Daemon rhnmd must be running on the moni tored system to execute this probe Field Value Timeout 15 Critical CPU Load 1 minute average Warning CPU Load 1 minute aver...

Страница 166: ...arent process has not yet received notification of its termination by executing some form of the wait system call Stopped One that has been stopped before its execution could be executed Sleeping One...

Страница 167: ...in the graph Child Process Groups The number of child processes spawned from the specified parent process A child process inherits most of its attributes such as open files from its parent Threads The...

Страница 168: ...ample to verify that two instances of the Apache HTTP Server are running regardless of the dynamic number of child processes If it is not selected the probe conducts a straightforward count of the num...

Страница 169: ...connection established SYN_RCVD The connection request has been received from the network This probe can be helpful in finding and isolating network traffic to specific IP addresses or examining netwo...

Страница 170: ...s currently logged in Requirements The Red Hat Network Monitoring Daemon rhnmd must be running on the moni tored system to execute this probe Field Value Timeout 15 Critical Maximum Users Warning Maxi...

Страница 171: ...obe last ran Requirements The Red Hat Network Monitoring Daemon rhnmd must be running on the moni tored system to execute this probe For this probe to run the nocpulse user must be granted read access...

Страница 172: ...Line Rate The number of lines written per minute to the log file since the probe last ran Requirements The Red Hat Network Monitoring Daemon rhnmd must be running on the moni tored system to execute t...

Страница 173: ...Database Accessibility probe tests connectivity through a database account that has no database privileges If no connection is made then a CRITICAL status results Field Value Username Password MySQL...

Страница 174: ...bles settings C 7 4 MySQL Query Rate The MySQL Query Rate probe monitors the MySQL server and collects the following metric Query Rate The average number of queries per second per database server Fiel...

Страница 175: ...es DNS Lookup probe uses the dig command to see if it can resolve the system or domain name specified in the Host or Address to look up field It collects the following metric Query Time The time in mi...

Страница 176: ...erride the default port 143 It collects the following metric Remote Service Latency The time it takes in seconds for the IMAP server to answer a connection request The required Expect value is the str...

Страница 177: ...s Network Address Translation NAT to support internal and external IP addresses this option may be used to check a secondary IP address rather than the primary address associated with the hostname Not...

Страница 178: ...many ICMP ECHO packets are sent to the address This probe collects the following metrics Round Trip Average The time it takes in milliseconds for the ICMP ECHO packet to go to and from the IP address...

Страница 179: ...u will need to specify the program name or program number and the protocol over which the conversation will occur plus the usual timeout Field Value Protocol TCP UDP udp Service Name nfs Timeout 10 Cr...

Страница 180: ...server version information If the probe receives an invalid response it will display the message returned from the server and generate a WARNING state Field Value SSH Port 22 Timeout 5 Critical Maximu...

Страница 181: ...of the database and associations made by run ning ORACLE_HOME rdbms admin catalog sql In addition for these probes to function prop erly the Oracle user configured in the probe must have minimum priv...

Страница 182: ...e Sessions Used Table C 48 Oracle Active Sessions settings C 9 2 Oracle Availability The Oracle Availability probe determines the availability of the database from the RHN Satellite Server Field Value...

Страница 183: ...a consistent mode Physical Reads The cumulative number of blocks read from disk Buffer Cache Hit Ratio The rate the database goes to the buffer instead of the hard disk to retrieve data A low ratio su...

Страница 184: ...ctionary Cache Hit Ratio so as to optimize the SHARED_POOL_SIZE in init ora It collects the following metrics Data Dictionary Hit Ratio The ratio of cache hits to cache lookup attempts in the data dic...

Страница 185: ...9 8 Oracle Idle Sessions The Oracle Idle Sessions probe monitors an Oracle instance and collects the following metric Idle Sessions The number of Oracle sessions that are idle as determined by the re...

Страница 186: ...Library Cache probe computes the Library Cache Miss Ratio so as to optimize the SHARED_POOL_SIZE in init ora It collects the following metrics Library Cache Miss Ratio The rate a library cache pin mis...

Страница 187: ...e Locks Warning Maximum Active Locks Table C 58 Oracle Locks settings C 9 12 Oracle Redo Log The Oracle Redo Log probe monitors an Oracle database instance and collects the following metrics Redo Log...

Страница 188: ...s configured with an extent size of 1 MB and max extents of 10 can grow to a maximum of 20 MB by being extended by 1 MB ten times This probe can be configured to alert by 1 the number of allocated ext...

Страница 189: ...Password Oracle Port 1521 Tablespace Name Timeout 30 Critical Maximum Available Space Used Warning Maximum Available Space Used Table C 61 Oracle Tablespace Usage settings C 9 15 Oracle TNS Ping The O...

Страница 190: ...RHN Satellite Server Disk Space settings C 10 2 RHN Satellite Server Execution Time The RHN Satellite Server Execution Time probe monitors the execution time for probes run from a Satellite and collec...

Страница 191: ...execution time the number goes up Field Value Critical Maximum Probe Latency Average Warning Maximum Probe Latency Average Table C 66 RHN Satellite Server Latency settings C 10 5 RHN Satellite Server...

Страница 192: ...arent processes have not yet received notification of their termination by executing some form of the wait system call Stopped The number of processes that have been stopped before their executions co...

Страница 193: ...set and a stack space A thread is also called a lightweight process Physical Memory Used The amount of physical memory in kilobytes being used by the specified process Virtual Memory Used The amount...

Страница 194: ...11 RHN Satellite Server Swap The RHN Satellite Server Swap probe monitors the percent of free swap space available on a Satellite A CRITICAL status results if the value falls below the Critical thresh...

Страница 195: ...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 release For example all the packages in Red Hat Enterprise...

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

Страница 197: ...ion 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 add users systems and system groups to the organiza...

Страница 198: ...o configure its preferences including whether 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 verif...

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

Страница 200: ...188 Glossary...

Страница 201: ...el List 97 child channel 97 client applications obtaining 5 Config Channel List 104 config channels details 106 107 global 105 list of 104 Config Channels and Files Config Channel List 104 config mana...

Страница 202: ...c 152 Load 153 Memory Usage 153 probes nocpulse 150 Process Count Total 155 Process Counts by State 154 Process Health 155 Process Running 156 Swap Usage 156 TCP Connections by State 157 Users 158 Vir...

Страница 203: ...ganization Administrator 114 overview of website 57 P package installation scheduled 4 package list Updating on server 30 70 packages details 103 downloading 102 filter 100 installing 102 overview 102...

Страница 204: ...he RHN Server 126 Oracle 169 RHN Satellite Server 177 thresholds 125 WebLogic 143 Provisioning service level 3 proxy server with Red Hat Network Alert Notification Tool 40 with Red Hat Network Registr...

Страница 205: ...ation 48 Configuration 43 Email notification 47 Hardware System Profile 49 Password 47 RPM Package List 50 Software System Profile 50 System Profile 47 49 text mode 55 through the Web 60 username 47 w...

Страница 206: ...er details modifying 113 user roles 114 users 111 billing address 115 changing email address 114 changing password 114 creating 113 general address 115 list of 112 roles 112 114 shipping address 115 U...

Страница 207: ...195 Your Account 62 Your RHN 60 Y Your RHN 60 Account Deactivation 62 Addresses 62 Email 62 Help 63 Purchase History 63 Your Account 62 Your Preferences 63...

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

Отзывы: