|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Updating best practices
by Ugo Bellavance-2
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Hi,
I thought about using a simple script to update my DCC installation once a week. Something like: ============================ #! /bin/bash # # Lets not all hit the servers at the same time sleep $RANDOM sleep $RANDOM # update dcc /var/dcc/libexec/updatedcc -K ============================= Does it make sense? Is there more doc than the --help switch? It is not very usefull: updatedcc: [-xvU] [-e ENV=VAL] [-c CONF=VAL] [-s base-URL] [-V x.y.z]\ [-C pfile] [-T make-tgt] -K is not even there... Thanks, -- Ugo Bellavance (ugob@...) Consultant en Sécurité Informatique Lubik Inc. Site Web: http://www.lubik.ca # Tél.: 514-907-3253 # Sans Frais: 866-507-3253 # Fax.: 1-866-334-1426 Protection de courriel par LastSpam (www.lastspam.com) -- This message has been verified by LastSpam (http://www.lastspam.com) eMail security service, provided by Lubik Ce courriel a ete verifie par le service de securite pour courriels LastSpam (http://www.lastspam.com), fourni par Lubik (http://www.lubik.ca) www.lubik.ca _______________________________________________ DCC mailing list DCC@... http://www.rhyolite.com/mailman/listinfo/dcc |
|
|
Re: Updating best practices
by Vernon Schryver
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message > From: Ugo Bellavance <ugob@...>
> I thought about using a simple script to update my DCC installation > once a week. > > Something like: > ============================ > #! /bin/bash > # > > # Lets not all hit the servers at the same time sleep $RANDOM > sleep $RANDOM > > # update dcc > /var/dcc/libexec/updatedcc -K > ============================= > > Does it make sense? Yes. I've thought of adding mechanism to `updatedcc -K` to sleep a random number of minutes between 0 and 30, but it does not seem necessary yet. Recent versions have a hack that keeps `updatedcc -K` from working more often than once per week. That has solved some excess bandwidth problems I was having at one server. > Is there more doc than the --help switch? It is > not very usefull: There are comments in the script itself. > updatedcc: [-xvU] [-e ENV=VAL] [-c CONF=VAL] [-s base-URL] [-V x.y.z]\ > [-C pfile] [-T make-tgt] > > -K is not even there... thank you for pointing that out. I will fix it. Vernon Schryver vjs@... _______________________________________________ DCC mailing list DCC@... http://www.rhyolite.com/mailman/listinfo/dcc |
| Free Forum Powered by Nabble | Forum Help |