View previous topic :: View next topic |
Author |
Message |
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Sat Jul 08, 2006 2:15 pm Post subject: |
|
|
electrofreak wrote: | AidanJT wrote: | meh, etc-update and dispatch-conf both suck at managing config updates. |
People always say such things... but I've really never had a problem with just plain old etc-update. I've never even tried dispatch-conf. |
Until you update 6-odd daemons with 30-odd configs to update, make a mistake and break your whole server. It's a well acknowledged problem. It's not a big a deal with desktops since the number of files is minimal and if your desktop goes down it's not the end of the world, pop into terminal, fix the problem, done. Accidents like that on servers are much more devistating, prolonged downtime can cost businesses millions in lost revenue, guess what happens to the administrator when that happens. |
|
Back to top |
|
|
electrofreak l33t
Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Sat Jul 08, 2006 2:50 pm Post subject: |
|
|
I run a server, desktop, and laptop, and have done so for several years... I have never had a problem. _________________ Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10 |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Sat Jul 08, 2006 4:04 pm Post subject: |
|
|
electrofreak wrote: | I run a server, desktop, and laptop, and have done so for several years... I have never had a problem. |
Same here, but two people running their own little home server isn't the same as a team of administrators running an enterprise network. Mistakes can and will happen in this kind of enviroment for one reason or another. A mistake for me will only mean slight loss of productivity, and maybe a bit of internet downtime. A mistake in an enterprise can mean losses in the millions from loss of productivity and/or lost revenue and cost people jobs/family/livelyhoods. For an administrator of an enterprise network, often the easiest and less risky way to handle config updates is just discard the new ones entirely, but that can mean over time they can be missing important comments, changes in config syntax, new/invalidated options etc.. etc-update and dispatch-conf is just not an efficent way of dealing with config updates at all. |
|
Back to top |
|
|
chris.c.hogan Apprentice
Joined: 02 Oct 2005 Posts: 189
|
Posted: Sat Jul 08, 2006 9:29 pm Post subject: |
|
|
I have a cron job that does emerge --sync every Thusday at 4AM on my main server. I share /usr/portage via NFS to the rest of the network. I have a cron job on each machine runs emerge -pvu world every Friday at 4AM. The script sends an email with the results.
I manually sync if I'm after a package and the ebuild in my portage is broken, or out-of-date.
I see a lot of people here sync once a week, 3 or 4AM, on weekends I'd guess. Are there statistics available for portage server load? It might be interesting to see how the load varies according to time-zone. It wouldn't be an accurate picture of Gentoo use across the globe. There are far too many people who don't fit the above profile. However, it would be interesting... Besides, it would be good to know just how much stress the servers are under, and when. |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sat Jul 08, 2006 9:36 pm Post subject: |
|
|
AidanJT wrote: | Accidents like that on servers are much more devistating, prolonged downtime can cost businesses millions in lost revenue, guess what happens to the administrator when that happens. |
Simple - (s)he'll get fired because of beeing dump. One who implements changes/updates (even minor ones) directly in production environment without proper testing them *before going live* has missed one essentail part of the job. _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Sat Jul 08, 2006 10:28 pm Post subject: |
|
|
Think4UrS11 wrote: | AidanJT wrote: | Accidents like that on servers are much more devistating, prolonged downtime can cost businesses millions in lost revenue, guess what happens to the administrator when that happens. |
Simple - (s)he'll get fired because of beeing dump. One who implements changes/updates (even minor ones) directly in production environment without proper testing them *before going live* has missed one essentail part of the job. |
To err is human, leaving opertunity to make big errors is unnessecery and just puts enterprise admins right off a system. It's like putting a soldier in a mine field, no matter how much training he has and how cautious he is, there's still a good chance he'll blow himself up. Being 'dumb' has nothing to do with it, mistakes can and do happen. Given an option between walking a known minefield and walking an unfortified field, guess which one the soldier will pick. |
|
Back to top |
|
|
kraut Apprentice
Joined: 03 Jun 2005 Posts: 179
|
Posted: Sat Jul 08, 2006 10:31 pm Post subject: |
|
|
Think4UrS11 wrote: | AidanJT wrote: | Accidents like that on servers are much more devistating, prolonged downtime can cost businesses millions in lost revenue, guess what happens to the administrator when that happens. |
Simple - (s)he'll get fired because of beeing dump. One who implements changes/updates (even minor ones) directly in production environment without proper testing them *before going live* has missed one essentail part of the job. |
thats what he told. so he is *not* using etc-update on a production server.
i myself am not using it at all. i do the changes to the conf's manually. the conf in question will be copied to *.ok. and even if everything fails, i am able to step one ebuild back.
never ever had a problem with this.
OTOH: most daemons work with the old config anyway
you seldom need to change config files, really..
OK, a few days ago you did have to add something to postfix. though.. it worked anyway, just you got a warning in the logs.
apache, php and whatnot is working since month with old configs!
Last edited by kraut on Sat Jul 08, 2006 10:34 pm; edited 1 time in total |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Sat Jul 08, 2006 10:32 pm Post subject: |
|
|
kraut wrote: | thats what he told. so he is *not* using etc-update on a production server.
i myself am not using it at all. i do the changes to the conf's manually. the conf in question will be copied to *.ok. and even if everything fails, i am able to step one ebuild back.
never ever had a problem with this.
OTOH: most daemons work with the old config anyway |
Not when there's a change in the syntax, or change in option behaviour that you miss because you deleted the changed comments. My point here is config handling on Gentoo (and most other unicies) is needlessly monogomous and error prone. |
|
Back to top |
|
|
kraut Apprentice
Joined: 03 Jun 2005 Posts: 179
|
Posted: Sat Jul 08, 2006 10:36 pm Post subject: |
|
|
AidanJT wrote: |
Not when there's a change in the syntax, or change in option behaviour that you miss because you deleted the changed comments. My point here is config handling on Gentoo (and most other unicies) is needlessly monogomous and error prone. |
hmm.. a change in syntax happens rarely. really.
not that you shouldnt test in a testing environment, though..
what i was going to point out is:
before you let etc-update or dispatch-conf haveing a go. check if your old conf works! if it does, you are done. |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Sat Jul 08, 2006 10:39 pm Post subject: |
|
|
AidanJT wrote: | My point here is config handling on Gentoo (and most other unicies) is needlessly monogomous and error prone. |
There's no reason why a standard syntax can't be put in place to simplify and automate config management.
Last edited by aidanjt on Sun Jul 09, 2006 1:02 am; edited 1 time in total |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sat Jul 08, 2006 11:15 pm Post subject: |
|
|
AidanJT wrote: | Think4UrS11 wrote: | Simple - (s)he'll get fired because of beeing dump. One who implements changes/updates (even minor ones) directly in production environment without proper testing them *before going live* has missed one essentail part of the job. |
To err is human, leaving opertunity to make big errors is unnessecery and just puts enterprise admins right off a system. It's like putting a soldier in a mine field, no matter how much training he has and how cautious he is, there's still a good chance he'll blow himself up. Being 'dumb' has nothing to do with it, mistakes can and do happen. Given an option between walking a known minefield and walking an unfortified field, guess which one the soldier will pick. |
If you do proper testing beforehand you wont 'walk blind'. To stay in the picture the testing does the job a mine-clearing tank does. There's simply no need to run blindly through a mine field when you can plan your steps. _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Sat Jul 08, 2006 11:24 pm Post subject: |
|
|
Think4UrS11 wrote: | If you do proper testing beforehand you wont 'walk blind'. To stay in the picture the testing does the job a mine-clearing tank does. There's simply no need to run blindly through a mine field when you can plan your steps. |
See above post. |
|
Back to top |
|
|
kraut Apprentice
Joined: 03 Jun 2005 Posts: 179
|
Posted: Sun Jul 09, 2006 12:04 am Post subject: |
|
|
<lol>, you are even quoting yourself - are you from portugal? <SCNR> |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Sun Jul 09, 2006 12:13 am Post subject: |
|
|
kraut wrote: | <lol>, you are even quoting yourself - are you from portugal? <SCNR> |
It just saves me having to repeat myself, it gets boring after awhile. |
|
Back to top |
|
|
Penguin of Wonder Apprentice
Joined: 17 Jan 2006 Posts: 280 Location: West Virginia
|
Posted: Sun Jul 09, 2006 3:21 am Post subject: |
|
|
xef wrote: | I know what it is... We need girlfriends |
That cracks me up, because when I'm with my gf I'll sync once a month maybe, when I'm not with her, its everyday. How sad is that? Linux becomes my gf when she's gone. _________________ My Linux Blog
AMD64 3700+
2G DDR 3200 Ram
320G HDD |
|
Back to top |
|
|
Trent Arms n00b
Joined: 23 Mar 2006 Posts: 8 Location: Ohio, USA
|
Posted: Sun Jul 09, 2006 4:09 am Post subject: |
|
|
When I sync I do it right before I install or recompile something, but only if more than two days has passed since my last sync. It's worked fine up to now... |
|
Back to top |
|
|
IcedStitch n00b
Joined: 14 Nov 2003 Posts: 11
|
Posted: Sun Jul 09, 2006 4:11 am Post subject: Once a week |
|
|
Once a week, and then emerge -uD world |
|
Back to top |
|
|
wols Tux's lil' helper
Joined: 06 Nov 2005 Posts: 92 Location: Franken
|
Posted: Sun Jul 09, 2006 9:33 am Post subject: |
|
|
Hello from Germany,
once at week on saturday my desktop. On sunday my notebook and my VDR uses the desktop as rsync-server.
I look with 'emerge -vpDu system' and 'emerge -vpDu world' for news but run it not every week. _________________ Danke und weiter so! |
|
Back to top |
|
|
My_World Guru
Joined: 01 Sep 2003 Posts: 339 Location: Kalahari Desert
|
Posted: Sun Jul 09, 2006 10:16 am Post subject: |
|
|
Depends on circumstances.
If I synced today and something broke I will sync the next day to get the fix (~x86) otherwise maybe twice a week, usually Mondays and Fridays.
On my laptop I only sync once a week since it is frustrating to wait for it to compile all the new packages. _________________ "Ubuntu" - an African word meaning "Gentoo is too hard for me". |
|
Back to top |
|
|
Venceremos n00b
Joined: 14 Jan 2005 Posts: 45 Location: Gdansk, Poland
|
Posted: Sun Jul 09, 2006 3:56 pm Post subject: |
|
|
I sync only if I feel the need to change/install something. Usually that doesn't happen so offten. Lets say once a month. |
|
Back to top |
|
|
paul.marsh n00b
Joined: 09 Feb 2006 Posts: 35 Location: Sydney
|
Posted: Sun Jul 09, 2006 10:34 pm Post subject: |
|
|
About once per month; more frequently only if I need something not in my local tree |
|
Back to top |
|
|
znmeb n00b
Joined: 29 Dec 2003 Posts: 25 Location: Beaverton, Oregon, USA
|
Posted: Mon Jul 10, 2006 5:34 am Post subject: Sync frequency |
|
|
I have three machines running Gentoo. One of them I sync just about every day. The others I sync whenever they are up. I run mostly ~x86 level software on all of them, with the exception of some critical things like GCC. It's pretty rare that I get into trouble with ~x86, and it's even rarer (now) that I can't fix it. _________________ --
M. Edward (Ed) Borasky
znmeb@borasky-research.net
http://www.borasky-research.net/ |
|
Back to top |
|
|
chrismortimore l33t
Joined: 03 Dec 2005 Posts: 721 Location: Edinburgh, UK
|
Posted: Mon Jul 10, 2006 9:38 am Post subject: |
|
|
Spin-Doc wrote: | I sync twice a day, but emerge i only do once a day | Correct me if I'm wrong, but doesn't Gentoo "netiquette" say only sync once a day because it strains the servers too much? I thought I read that in the MOTD that pops up when you sync... _________________ Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB |
|
Back to top |
|
|
Monkeh Veteran
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Mon Jul 10, 2006 11:02 am Post subject: |
|
|
Unless you need to, you should only sync once a day per machine (and NFS export /usr/portage or run a local server if you're running more than a couple of machines). More than that is generally unneeded, and does put strain on servers for no good reason (and unless you're using a local server, your own or at a uni for example, you should use rsync.europe.gentoo.org or whatever is appropriate for your location, get a different server each sync). |
|
Back to top |
|
|
dreeh n00b
Joined: 24 Mar 2006 Posts: 10 Location: Germany, Bavarian, Wolfratshausen
|
Posted: Mon Jul 10, 2006 12:15 pm Post subject: |
|
|
i love updates my box is syncing every day. |
|
Back to top |
|
|
|