Automating Synchronization
61
Figure 8.3. User Delete Confirmation
Many other options exist for managing users. You can find instructions for them in the RHN website
chapter of the
RHN Reference Guide
.
8.8. Automating Synchronization
Manually synchronizing the RHN Satellite Server 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
Summary of Contents for NETWORK SATELLITE 5.1.1 - RELEASE NOTES
Page 1: ...Red Hat Network Satellite 5 1 1 Installation Guide Red Hat Network Satellite ...
Page 18: ...14 ...
Page 22: ...18 ...
Page 36: ...32 ...
Page 50: ...46 ...
Page 56: ...52 ...
Page 68: ...64 ...
Page 71: ...67 Appendix B Revision History Revision History Revision 1 0 ...
Page 72: ...68 ...