[Spacewalk-list] Automatic hardware refresh in Spacewalk
Santi Saez
santisaez at woop.es
Mon Feb 16 17:32:30 UTC 2009
El 16/2/09 16:18, Thomas Ellis escribió:
> rhn-profile-sync in cron would do the job... you may want to randomise
> the time each server does this though, since you won't want the whole of
> your estate hitting the spacewalk server at the same time for obvious
> reasons.
>
> For frequency, it really depends on how much lag you want to have
> between the hardware change and the profile update, running
> rhn-profile-sync in cron.weekly/monthly should do the trick.
Dear Thomas,
Thanks for all the tips and advices, we finally add a "rhn-profile-sync"
call in a custom start script and in a cronjob:
21 46 * * 6 root sleep `expr $RANDOM \% 600` ;
/usr/sbin/rhn-profile-sync
Regards,
--
Santi Saez
http://woop.es
More information about the Spacewalk-list
mailing list