Showing posts with label review. Show all posts
Showing posts with label review. Show all posts

Monday, November 13, 2006

44 Rules for Server Administration

This blog moved to a new location, please visit us at http://ramble.m2m.at.

The recent German Linux Magazin had a nice article about rules for server administration.

basics:
  1. use different machines for services which need the same performance resources
  2. monitor your services
  3. limit your swap processes
  4. do not waste memory installing unneeded applications
  5. separate partitions for system, logs and data
  6. log everything
  7. save the configuration before any change
  8. keep static content in the cache
  9. stop intruders at the firewall
  10. use port knocking
web server:
  1. choose the multi-processing module which fits your CPUs
  2. use caching
  3. limit usage of .htaccess
  4. do not use symbolic links
  5. do not use lookups
  6. optimize MaxClients
  7. do not log everything
  8. use sendfile
  9. use MMAP
  10. switch of server-status
mail server:
  1. limit the number of instances
  2. use the spam filter enabled RAM disk
  3. cache DNS requests
  4. use postfix only once per mail
  5. use reject_unkown_sender_domain
  6. only use local data for postfix lookups
  7. use rate limiting for clients
  8. kick problematic mails
database server:
  1. use the correct index type
  2. delete an unneeded index
  3. optimize your tables
  4. optimize your SQL statements
  5. use soft parsing
  6. limit the size of your tables
  7. separate OLTP and DSS
  8. use persistent connections
  9. be careful with the timing of batch jobs
  10. monitor the number of connections
samba:
  1. do not touch your configuration
  2. provide enough RAM
  3. monitor the network
  4. activate Oplocks
  5. use Winbind
  6. deactivate "case sensitive"
Read the article it is really nice.

Sunday, November 12, 2006

File Scrubber for iLiad

Copying files from Mac OS X to the iRex iLiad reader creates .DS_Store files and ._ files on the iLiad. Sometimes this seems to be a problem - some PDFs could not be opened any more. Unfortunately those files are not visible in the OS X finder. Connecting the iLiad to an WinXP computer allows to remove them but it is really clumsy having to use multiple computers.

Matt Jadud, wrote an OS X a application called iliad-scrub which runs through the iLiad folder and cleans the files automatically. Thanks Matt!

Friday, October 13, 2006

How long does it take to setup a Virtual Server?

For a new project we needed a new web server. Finally we had to choose between a dedicated server from a budget hosting company and a virtual web server from a reputable hoster.

Because we wanted to try something new, and we needed some features which a normal virtual web server does not provide. We decided to choose the budget company. Unfortunately it is situated in a neighbor state. This seems to be a bureaucratic obstacle. They could not accept our order. However, one day later they called to tell us it will be possible end of this year. We heard a lot of horror stories about this company. But after all their support was really professional and we will test it as soon as it possible.

So we went for the reputable hosting company based in our own country. Basically the same price but for a different product with less features. We have already other projects on their site so it should be no problem.

day 1

They had a nice web interface with a shop to choose your needs. We selected the virtual server, entered a domain name which comes for free (it's included in the price). Then we entered our customer ID, some additional information, and clicked on the continue button. A new window opened saying:

Please fill in all fields marked with *

Strange thing because there was no input field at all.

Well could be the interface does not like Safari. So we tried again with Firefox. Same result. Switched to another computer using Windows and Internet Explorer. Same result.

Fortunately there was a special support button for shop issues. Clicked. You had to be logged in to reach the support. We logged in. A new window appeared saying the requested page is unavailable.

So we clicked on the technical support button, described the problem and submitted the form.

day 2

We got an answer saying, they saw that our order could not be processed, but they didn't know why. However we could order by phone.

Perfect, so we called. Nice music. Quite fast we heard a human voice. We got a name of the selling man. Nice music. More music. A human voice. The responsible employee could not be reached. We got a phone number which would allow as to call directly.

Three phone calls later - Mr X was still unavailable - a nice man told us we can order by fax. He would send us the necessary forms by email.

A couple of seconds later we had the forms. Filled them in and returned them to a magical fax number.

day 3

nothing

day 4

nothing

day 5

Perhaps we used the wrong telephone number for the fax? Well, we called again. Mr X was again not available. After some music be were connected to Mr Y who told us that they received the fax and that our server would be available the very same day.

day 6

nothing

day 7

nothing

day 8

We received a mail that the domain had been registered.

day 9

We received the login data.

In German we have a proverb:

Good things take time.

The strange thing: Last year we ordered a server at the same company on the 24th of December (yes it is a working day in our country) and had it ready to go on next working day the 27th.