Red Hat NETWORK - USER 3.0 Guía de instalación Pagina 78

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 86
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 77
Chapter 8. Maintenance
74
search.errata.advisory_score_threshold : minimum score an errata advisory result needs to be
returned back as a query result (.30)
search.min_ngram : minimum length of n-gram characters. Note that any change to this value
requires clean-index to be run, and doc-indexes need to be modified and rebuilt) (1)
search.max_ngram : maximum length of n-gram characters. Note that any change to this value
requires clean-index to be run, and doc-indexes need to be modified and rebuilt) (5)
search.doc.limit_results : type true to limit the number of results both on search.score_threshold
and restrict max hits to be below search.max_hits_returned; type false means to return all
documentation search matches (false)
search.schedule.interval : input the time in miliseconds to control the interval with which the
SearchServer polls the database for changes; the default is 5 minutes (300000).
search.log.explain.results : used during development and debugging. If set to true, this will log
additional information showing what influences the score of each result. (false)
8.9. Automating Synchronization
Manually synchronizing the RHN Satellite repository with Red Hat Network can be a time-intensive
task. United States business hours tend to be the peak usage time for Red Hat Network, so
synchronization at that time may be slow. For these reasons, Red Hat encourages you to automate
synchronization at other times to better balance load and ensure quick synchronization. Continental
United States business hours are roughly 8:00 AM to 9:00 PM EST (UTC -5), due to four time zones,
Monday through Friday. These hours may vary seasonally by one hour. Further, Red Hat strongly
recommends that synchronization occur randomly for best performance.
This automation can be set easily by the addition of a simple cron job. To do this, edit the crontab as
root:
crontab -e
This opens the crontab in a text editor, by default Vi. Another editor can be used by first changing the
EDITOR variable, like so: export EDITOR=gedit.
Once opened, use the first five fields (minute, hour, day, month, and weekday) to schedule
the synchronization. Remember, hours use military time. Edit the crontab to include random
synchronization, like so:
0 1 * * * perl -le 'sleep rand 9000' && satellite-sync --email >/dev/null \
2>/dev/null
This particular job will run randomly between 1:00 a.m. and 3:30 a.m. system time each night and
redirect stdout and stderr from cron to prevent duplicating the more easily read message from
satellite-sync. Options other than --email can also be included. Refer to Table 6.2, “Satellite
Import/Sync Options” for the full list of options. Once you exit from the editor, the modified crontab is
installed immediately.
8.10. Implementing PAM Authentication
As security measures become increasingly complex, administrators must be given tools that simplify
their management. For this reason, RHN Satellite supports network-based authentication systems via
Vista de pagina 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 84 85 86

Comentarios a estos manuales

Sin comentarios