Slashdot Mirror


Wikimedia Simplifies By Moving To Ubuntu

David Gerard writes "Wikimedia, the organization that runs Wikipedia and associated sites, has moved its server infrastructure entirely to Ubuntu 8.04 from a hodge-podge of Ubuntu, Red Hat, and various Fedora versions. 400 servers were involved and the project has been going on for 2 years. (There's also a small amount of OpenSolaris on the backend. All open source!)"

31 of 215 comments (clear)

  1. Re:And? by Anonymous Coward · · Score: 4, Funny

    In related(ly boring) news, Sun Microsystems replaced 200 old worn-out keyboards on their office workstations. Also, a handful of Microsoft employees patched their OSes, and some guy in Phoenix got a paper cut on his finger.

  2. Re:And? by Anonymous Coward · · Score: 3, Informative

    8.04 is a LTS release. Which is obviously the reasoning behind the version choice.

  3. Re:did not know that.... by Rik+Sweeney · · Score: 5, Informative

    I did not know that ubuntu was a player in the server market.

    http://www.ubuntu.com/products/whatisubuntu/serveredition

  4. More surprised at the mess they had before by ACK!! · · Score: 3, Interesting

    For such a large effort, it seems wild they had so many different distros running in their environment.

    What do you guys think?

    --
    ACK /ak/ interj. 2. [from the comic strip "Bloom County"] An exclamation of surprised disgust, esp. i
    1. Re:More surprised at the mess they had before by Anonymous Coward · · Score: 4, Insightful

      I think that it's good to standardize on the best OS for your needs, but to find out which one is best you should first try running a bunch of them.

    2. Re:More surprised at the mess they had before by somersault · · Score: 4, Insightful

      I think it likely that Wikipedia started out as a small pet project, and just happened to grow piecemeal as they needed more and more resources as they grew in popularity. They wouldn't have been sure to start with just how popular they were going to become, how could they? Also take into account that perhaps they had been using different OSes in a consistent way (though I don't expect that to be likely), like some were just for webserving, some held a quick database of current articles, some machines held compressed archives, some were for intended for virtualisation and testing out of new designs, that kind of thing?

      Anyone who has written a small well planned (or perhaps not so well planned) application but then been asked to make many, many, many changes over the years will be able to sympathise I expect. It's much easier to design a large coherent system than grow one out of a smaller system..

      --
      which is totally what she said
    3. Re:More surprised at the mess they had before by David+Gerard · · Score: 4, Insightful

      I believe the devs (the sysadmins at Wikimedia are also called "devs") experimented with a wide range of OSes - various Fedoras, Red Hat, Ubuntu, FreeBSD, Solaris 10, OpenSolaris - in various situations to see what was best to work with. This is a rationalisation from that.

      Realistically, it's all Unix and it'll all do the job. So it then becomes a matter of picking one your team is comfortable with. With armchair sysadmins' distro wars, "perfect" is the enemy of "good" - there's nothing you can do with CentOS that you can't also do with Ubuntu, you eventually just have to pick a damn distro and stick with it.

      --
      http://rocknerd.co.uk
    4. Re:More surprised at the mess they had before by Tango42 · · Score: 3, Insightful

      Your mistake is in thinking it's a large effort - they started with just volunteers and then had only one or two full time staff for a while with the technical stuff still being done by volunteers. The first technical person wasn't hired until August 2005, four and a half years after the launch of Wikipedia (which, by that point, was already a top 50 website according to Alexa), they only have around 5 technical staff now. It's a very small project from that point of view, it's just a hell of a lot of servers!

    5. Re:More surprised at the mess they had before by David+Gerard · · Score: 4, Informative

      The first technical person was Brion, who'd done the job as a volunteer for quite a while before that.

      I started editing Wikipedia in early 2004. I believe they'd just made the radical jump from one box to three boxes.

      Now stuff is structured in a horizontally-expandable fashion. "Add some more Squids." "Add some more Apache servers." So a single platform is an obvious win, and picking one platform to standardise on is actually more important than which of various near-indistinguishable free Unix-like operating systems that could all do the job they pick.

      --
      http://rocknerd.co.uk
    6. Re:More surprised at the mess they had before by brion · · Score: 4, Informative

      That is an entirely accurate summary of the situation. :) We still have a tiny technical staff, and re-organization of things that got thrown together in a hurry long ago is an ongoing task.

      --

      Chu vi parolas Vikipedion?

  5. Re:did not know that.... by jedidiah · · Score: 5, Insightful

    I did not know that ubuntu was a player in the server market.

    THIS is what makes it "news that matters".

    --
    A Pirate and a Puritan look the same on a balance sheet.
  6. CentOS is free RHEL by Hero+Zzyzzx · · Score: 4, Interesting

    So it's unlikely the decisions were influenced heavily from a budgetary standpoint. If they wanted to stay with a free RHEL derivative linux that's essentially identical to the one you pay for, they'd be using CentOS.

    They chose Ubuntu. Maybe they just like it better? I think you can factor cost of out the equation.

    1. Re:CentOS is free RHEL by brion · · Score: 5, Informative

      Canonical has recently provided us a donated support contract, but that didn't influence our (much earlier) decision to stick with Ubuntu.

      Primarily:

      • We liked it better
      • It's nice that people can run the same version locally (who runs CentOS on their desktop? Playing CentOS vs RHEL just feels like a big fat kludge and tells you there's something broken about the distro.)
      • Unlike Debian stable, and like Fedora, it's updated fairly frequently so we get a decent rate of package updates for infrastructure...
      • ...unlike Fedora, it's not so bleeding edge that things die all the time (SELinux breaking everything, yay!)
      • ...and Canonical actually puts out security updates for a decent amount of time.
      --

      Chu vi parolas Vikipedion?

    2. Re:CentOS is free RHEL by brion · · Score: 3, Interesting

      Quick note -- we started our standardization to Ubuntu right around the time the first long-term support release (6.06 LTS) came out, offering the promise of much longer-period security updates. This was a big attractor versus continuing to play the Fedora upgrade game. (That is, even if we didn't keep everything at the latest version, we could continue to get necessary updates for old installations.)

      --

      Chu vi parolas Vikipedion?

  7. Re:The changeover went like a Breezy Badger by Aliencow · · Score: 3, Insightful

    With Gentoo, you have to be much more careful about what you update and when. They probably went to Ubuntu because it is based on Debian, and they can obtain support from Cannonical directly if needed.

  8. Re:And? by Ngarrang · · Score: 5, Informative

    How is this news?

    Well they either should have stuck with 7.10 or waited for 8.10.

    That's news...

    8.04 is a long-term release. In the world of servers, that counts for something. Also, there were changes from 7.10 to 8.04 that were probably things Wikimedia wanted to take advantage of.

    --
    Bearded Dragon
  9. Re:And? by Spatial · · Score: 3, Funny

    My finger hurts too. You know those bits of skin just above and behind your nails? Part on that the left side of my left index finger has gotten torn a little and now it's like a flap. The problem is, I don't need to alter the aerodynamics of my finger because I can't fly. It's really just painful, instead of useful, like on an aeroplane.

    Actually, does anyone know how that happens?

  10. Re:Is this really a good idea? by JeepFanatic · · Score: 4, Insightful
    I'll probably get modded Troll for this but whatever ...

    But as a server distro, I'm not so sure. I'm surprised that Wikimedia didn't go with a distribution that's more established for server needs.

    If you have an argument to make about the OS's merits as a server then make it based on facts. Tell us why you don't think it's a perfect fit on the server. Don't just say "I'm not so sure" and leave it hanging there. Support your position with something that can be argued.

  11. Re:And? by cyphercell · · Score: 4, Informative

    the cuticle doesn't properly detach itself from the nail as it grows. The nail's growth slowly tears your skin apart.

    --
    Under the influence of Post-Cyberpunk Gonzo Journalism
  12. Re:And? by EvilRyry · · Score: 5, Funny

    I'm sure Xorg and KDE4 are high on their priority list for their web servers.

  13. Re:And? by David+Gerard · · Score: 5, Funny

    You wouldn't believe how much nicer Squid and MySQL look in Compiz.

    --
    http://rocknerd.co.uk
  14. Re:homogeneity by David+Gerard · · Score: 4, Insightful

    Uh, whuh? You've obviously never had to herd a large number of machines. Most stuff running the same OS is the only way to live - jumpstart/kickstart, standard patch clusters, one local package repository server, that sorta thing.

    (I do in fact do this for a living. Standardised Solaris 10 servers with Blastwave for the open-source toys, CentOS 4 when we need Linux, local repository servers for both. A few Windows boxes with a locally-served copy of Cygwin on them. May I heartily recommend Cygwin on any Windows servers you may be stuck with - it makes life so much saner.)

    --
    http://rocknerd.co.uk
  15. Re:did not know that.... by brion · · Score: 5, Insightful

    Actually, the only difference between "Ubuntu Server Edition" and the "regular" Desktop version is which packages get installed by default.

    That's one of the things we like about Ubuntu -- the 'supported' version (should you want a support contract, or even just security updates for a longer period!) isn't a totally separate distro from what folks use at home.

    When Red Hat split "Red Hat Linux" into "Red Hat Enterprise Linux" (supported, but for $ only) and "Fedora" (free, fast-changing, no long-term security updates), they lost the benefit that techs would likely be running the same version of the software on their desktops and servers.

    --

    Chu vi parolas Vikipedion?

  16. Re:How many admins? by brion · · Score: 4, Informative

    Mass installation of a customized distro can do better than mass installation of a general distro (eg, the kernel and software can be optimized for your use case).

    And indeed, we use a slightly customized Ubuntu, in that we have our own patched versions of some packages (PHP, Squid, MySQL, some custom PHP extensions, etc) tweaked for performance or features we need, plus custom meta-packages to install the configurations we require on different server sub-types.

    This is pretty easy to do on any distro with a decent package manager. I still like apt better than yum, though!

    --

    Chu vi parolas Vikipedion?

  17. Re:Whither OpenSolaris? by brion · · Score: 4, Informative

    These are on our new image/media-upload fileservers. We're trying out the wonders of ZFS (snapshotting for consistent backups and "rm -rf oops" protection, potentially filesystem-level replication, etc).

    Since they're an isolated service type it's not a *huge* burden to have them be a little funky (eg, we don't randomly have an OpenSolaris box in the middle of the Apache/PHP cluster), though if we could do ZFS on Linux without jumping through scary hoops we'd happily to that instead!

    We'll try it out for a while, and if we're happy with it we'll keep using it, if not we'll migrate to something else eventually (the machines should as happily run Ubuntu as they do OpenSolaris)

    --

    Chu vi parolas Vikipedion?

  18. Re: Wikimedia Simplifies By Moving To Ubuntu by nick+graham · · Score: 5, Funny

    [citation needed]

  19. Re:Is this really a good idea? by Drew+M. · · Score: 3, Informative

    Just another person who's dealt with Ubuntu in a large enterprise setting. I don't mean for these comments to be flamebait, but it may come off that way. I'd just like to see more attention put toward them.

    1. Incomplete automated installer. You can do nearly anything from Redhat's kickstart, but working with d-i doing partitioning, especially more advanced lvm and software raid setup is nearly impossible without some custom scripting hacks outside of d-i. Also, don't even ask what happens when you have a usb disk (or even just a card reader) plugged into the machine at automated install time, guess what gets recognized as /dev/sda... Speaking of which, since Ubuntu has their own installer, they don't support, fix, or use d-i, which means a lot of the time you will run into other random d-i installation bugs.

    2. Ldap/krb5 stability. It's quite obvious that Ubuntu doesn't put a priority on testing or stability patching any of this, and in large scale deployments it just falls over on the server and client side.

    3. Nobody in the enterprise uses cds or dvds to install, everything is automated from PXE, which means creating a local mirror to install from. Guess how difficult it is to mirror the "pool" directory without also getting the packages from every other version of Ubuntu. Yes you could use a script that parses the Packages file and only downloads the packages you need, but that just leaves more room for errors. Why can't I just have a single directory I can rsync?

    4. When doing large scale automated apt-get update; apt-get upgrade tasks, ask what happens to apt-get/dpkg when a postinstall script fails, or there were file conflicts. Yes, the machine never fetches updates again. dpkg --configure -a and dpkg --purge --force-reinstreq and apt-get -f install are your manual cleanup friends. Also don't ask what happens when a user wants to install a local package with dpkg -i. Yes it prints an error, but unknowingly to the user the package actually gets half installed and breaks the automated update jobs. Why isn't there a --force flag to prevent this from happening?

    5. When patching packages, there's at least 8 different ways a diff could be included in the sources. Here's a incomplete list of a few different schemes I've found over the years:
    - Just drop the patches into patches/
    - Just drop the patches into a non-standard patches/ directory
    - Drop the patches into patches/ and add it to 00list
    - Drop the patches into patches/ and manually patch the source yourself
    - Edit the rules file and add in the patches manually

    They really needs to adopt a single patching format, rather than quilt, dpatch, dbs, cdbs, and a bunch of other minor ones.

    The sad part about this, is nearly all of these issues also exist in upstream Debian. I'd love to see these get fixed. I'd like more choices that I can run in the enterprise.

  20. Re:Simple is good by moosesocks · · Score: 4, Informative

    I need to overwhelmingly emphasize that OS X Server is *barely* suitable for a production environment.

    I'm a big fan of Apple, and do appreciate the nice GUIs that they provided with OS X Server. However, it's not particularly stable, tends to break at odd intervals, and ignores many common Unix conventions, making it a huge pain to perform certain tasks, or do things not supported by the GUI.

    It's a nice start, but I'd be very cautious about adopting it across your entire server infrastructure. Using it to host certain Apple-y apps might be fine, though I'd rely upon Linux/BSD for serious server tasks, especially if you already have the staff/experience to do so.

    --
    -- If you try to fail and succeed, which have you done? - Uli's moose
  21. Re:How many admins? by Colin+Smith · · Score: 3, Informative

    Try this for an idea... The whole concept of "installation" is wrong.

    Build your own distributions. One per purpose.

    Use something like RockLinux

    to build a ramdisk image which contains all of the software and configuration required for a particular application. By "all" I mean "only". You end up with a single file which you put on a tftp server, you boot your servers over dhcp, they pick up the OS image and boot to the image on a ramdisk.

    e.g. You might have one squid image, one PHP app server image, one Mysql rdbms server image etc. When the image boots it does whatever is required to run the app successully. e.g. putting a filesystem on the hard disk.

    The benefits:

    • Zero server configuration. (or close to it) this means no need for YUM, no RPM, no APT. No dependencies.
    • Massive scalability because of above.
    • Only tested images reach production. You know it is going to work because the production image is the same single file, you know exactly how it is going to perform because you tested exactly the same file already.
    • Everything is version controlled and completely repeatable as part of the build process.

    2 admins can run 500-1000 systems in a site easily because there is really only one machine; the network. Logarithmic increase in effort with the number of systems.

    --
    Deleted
  22. Re: Wikimedia Simplifies By Moving To Ubuntu by kesuki · · Score: 3, Funny

    nice, but you forgot the big one.

    "the neutrality of this article has been disputed"

  23. Re:And? by Matt+Perry · · Score: 4, Insightful

    It is when a new license costs $0.00. Other than deployment costs, there's no reason not to upgrade frequently.

    There is always risk involved when upgrading or deploying systems. Businesses don't upgrade just for the sake of upgrading. They will weigh the risks against the benefits and proceed if there is a clear advantage to upgrading. Like the saying goes, if it ain't broke, don't fix it. The cost of licenses can be minuscule compared to deployment costs, so much so that many licenses might as well be $0.00. Deployment costs can be some of your largest costs. How many people will it take to upgrade? What is their cost per hour to the business? Multiply that by the number of people involved. Have you deployed on an identical test system and tested your software to ensure that it will continue to function as required on the new production system? Do you have test scripts so that you can validate that it performs as required? Will you have to make changes to software or hardware to accommodate the upgrade? Will you need to update your documentation? What is your contingency plan should the upgrade fail? What will be the cost to the business if the system is unavailable outside of the deployment window?

    Some systems, like SAP, may take years to be deployed throughout an organization. Your favorite distro might reach the end of support before deployment even completes. For other systems, your time line for product upgrades and support may not be entirely within your control. What if your system is part of a product that needs approval from the FDA? With five years of support you may have eaten up three years of that during product development and FDA approval, leaving only two years of support for the OS on your products. That could leave you with a short product lifecycle or mean that you have to perform significant upgrades in the field.

    Other operating systems, such as Solaris, Windows, AIX, and HP-UX are supported for 10 and sometimes 12 years. The only saving grace for these enterprise Linux distros is that the source is available. But when the five years are up, then what? Will you still be able to pay Red Hat or Canonical to support your end-of-life Linux distro? What if they have made a business decision not to support end-of-life distros no matter what? If they will support it, it's safe to assume that your support contract will cost more than it did during the previous five years. And if you go somewhere else and hire some linux experts to support your distro, they won't have access to the information that the distro creators have. They won't have the documentation about why certain patches were applied, or specific changes were made, or other internal decisions. You better hope that your new support company is very careful and thorough.

    So then, would it have been a better investment to pay for Solaris and 10 years of support, pay for 10 years of Linux support, or pay to upgrade your systems every three to five years? I don't know. It depends on your goals. Clearly Wikipedia likes to move faster than the average business. They seem to be continually upgrading their wiki software and like staying on the leading edge. From reading about their server setup, they appear to have a lot of redundancy and can reduce their risk when upgrading. Three to five years of support for their operating systems is probably sufficient for their needs. But don't let that lull you into thinking that five years is long term.

    --
    Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.