You are not logged in.

#1 2008-09-24 07:23:06

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Good practices of running an Arch server

Hi,

I mean, how to make it run as uneventfully as possible? As a desktop user I make full system upgrades without a second thought; I know, that the penalty is going to be affordable, but a server is another cup of tea. With Debian stable, for instance, it's obvious: no uprgades at all, just security updates trickling. On the other hand, with rolling release distributions the security updates are intergated into the flow; refusing to upgrade I'm actually refusing the security upgrades too. Or so I think in my ignorance smile .

Any suggestions?

Offline

#2 2008-09-24 08:24:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,473
Website

Re: Good practices of running an Arch server

Suggestions:

1) Don't run [testing]  tongue
2) Keep an eye on forums/mailing lists for update problems
3) Look at the list of updates before installing them

I update my work server about once every week or two.  If you update your desktop regularly, then you will know how long various packages have been around and hold off if you see potential problem causers.

Offline

#3 2008-09-24 15:50:19

CuleX
Member
Registered: 2007-09-15
Posts: 107

Re: Good practices of running an Arch server

I ran Arch for almost two years here with constant updates. Never had any stability issues. Maybe some changed configuration files, but other distributions are just overwriting your hand-written configuration.

Just keep an eye out to the updates. There may be some you want to do in single steps. You may not want to overwrite your glibc and try to continue updating (Zenwalk, anyone?) or things like that. Be careful, but you can't do much wrong.

This machine here is our internal services machine, DNS, local FTP, local HTTP and thin client host. Works like a charm. Just try it.

Last edited by CuleX (2008-09-24 15:52:13)

Offline

#4 2008-09-24 16:09:31

jo3
Member
Registered: 2007-08-18
Posts: 112

Re: Good practices of running an Arch server

I have been running an arch powered LAMP for almost a year w/o any problems. Like Allen said watch the updates carefully. Also only run services/apps that are required to fulfill your servers roll.
Was that obvious? tongue

Offline

#5 2008-09-25 00:29:40

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Good practices of running an Arch server

Like Allen said watch the updates carefully.

Ah... It all boils down to this non-answer, then smile . LAMP server? Fine! What am I supposed to do if a new Apache is coming? To upgrade is asking for trouble, not to upgrade is postponing the trouble... Any rule of thumb?

Offline

#6 2008-09-25 02:09:04

Anonymo
Member
Registered: 2005-04-07
Posts: 427
Website

Re: Good practices of running an Arch server

upgrade once you make sure it works great.  Usually people have an extra test machine or a virtual machine.

Offline

#7 2008-09-25 18:59:51

kant1
Member
Registered: 2006-11-28
Posts: 57

Re: Good practices of running an Arch server

Offline

#8 2008-09-25 22:53:06

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Good practices of running an Arch server

Also try to run updates when you can afford downtime, or downtime would the least in convenient.

For example there was a recent update with spamassassin which changed the path of spamc, this caused my mail server to fail to deliver mail!
Granted this is a home server so it didn't hurt me at all, but things do break and if they break say 4:30 when everyone is heading home, your less likely to get as many people pissed, unlike if you would have updated at noon!


Website - Blog - arch-home
Arch User since March 2005

Offline

#9 2008-09-26 07:33:36

stefan1975
Member
From: 53 6e 65 65 6b
Registered: 2007-04-16
Posts: 195

Re: Good practices of running an Arch server

I personally would just run a freebsd / centos server instead. Freebsd because it feels like the server-brother of Arch and Centos because it is RHEL's brother of fedora. I use fedora and ARch on my desktops because there I love the cutting/bleeding edge and like to tinker and have the latest and greatest break every now and then but for my servers I want something reeeaaaalllyy boring and stable and thus freebsd/centos.  those are so boringly stable it just isn't funny anymore. centos 5.x is supported for decades to come and what is more important, no out-of-family kernel upgrades during it's lifetime. I recently switched my home server from centos to freebsd just for he fun of it and it feels really good, snappy, KISS everything one woud want.

but that is just my 2c, of course Arch can also run perfectly as a server as ong as you pay attention. Not to upgrade all the time isn't recommended (i started a thread about selective updates, release notes for updates some time ago and was told in not vague words that the devs expect you to update all the time and if you are not fully up to date the configuration is not supported here), but I *never* had any issues (yet?) after updating my Arch system.

stefan


"root# su - bofh"
OS: F10_x64, Arch, Centos5.3, RHEL4.7, RHEL5.3
Desktop Hardware: Dell Precision M65 laptop, core2duo, 2gb, 80gb 7200rpm
Registered linux user #459910 since 1998

Offline

#10 2008-09-26 22:04:31

crouse
Arch Linux f@h Team Member
From: Iowa - USA
Registered: 2006-08-19
Posts: 907
Website

Re: Good practices of running an Arch server

I've ran several websites on Arch servers for over 2 years now..... only issue i had was forgetting to issue a /sbin/lilo command after a kernel update.  wink  (yes....that system had/has lilo not grub).   I personally love using Arch as a server OS.  I am however able to sustain the occasional reboot to install the new kernels without any problems, I don't have to have 5 year uptimes smile  I usually update my servers at night, so any downtime isn't noticed much from my users. (It's usually only about 2 minutes anyway........). 

On a side note, I usually update my desktop machines and THEN my servers ......... in case something breaks, it's my desktop that's affected not my server. I always leave the packages on the server so I can revert back to a previous version, of say php/mysql etc.....  I also make regular backups of the /etc/ dir so I have copies of all my config files in case something goes bonkers....  not that it ever has smile smile

Some of the Devs might say NOT to use Arch as a server, but I personally think they are just being cautious for your sake....... I think it makes a GREAT server OS.  The folks over at slicehost.com even have Arch as an OS option now ... so it's more than just ME using it as a server OS.

Offline

#11 2008-09-27 01:11:22

Ruckus
Member
Registered: 2007-02-17
Posts: 204

Re: Good practices of running an Arch server

crouse wrote:

I've ran several websites on Arch servers for over 2 years now..... only issue i had was forgetting to issue a /sbin/lilo command after a kernel update.  wink  (yes....that system had/has lilo not grub).   I personally love using Arch as a server OS.  I am however able to sustain the occasional reboot to install the new kernels without any problems, I don't have to have 5 year uptimes smile  I usually update my servers at night, so any downtime isn't noticed much from my users. (It's usually only about 2 minutes anyway........). 

On a side note, I usually update my desktop machines and THEN my servers ......... in case something breaks, it's my desktop that's affected not my server. I always leave the packages on the server so I can revert back to a previous version, of say php/mysql etc.....  I also make regular backups of the /etc/ dir so I have copies of all my config files in case something goes bonkers....  not that it ever has smile smile

Some of the Devs might say NOT to use Arch as a server, but I personally think they are just being cautious for your sake....... I think it makes a GREAT server OS.  The folks over at slicehost.com even have Arch as an OS option now ... so it's more than just ME using it as a server OS.

I'm currently at VPSLink.com and they too offer Arch. I think it's great.

Offline

Board footer

Powered by FluxBB