Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Google Gets Slack with Software Updates

Posted by ScuttleMonkey on Tue Oct 17, 2006 02:35 PM
from the showing-off-your-toys dept.
An anonymous reader writes "While Google's open source project titled 'Slack' was released over a year ago, last week's Australian Unix Users Group Conference marks the first time that Google has ever discussed the system in public. Corporate systems administrator Michael Still helped to illuminate a little bit about how Google uses Slack and how their network of computers fits together. From the article: '"Slack is a source deployment system and it's the way we install applications on servers," Still said, adding Slack is based around a centralized configuration repository which is then deployed onto selected machines in a "pull" method. Each of the "worker" machines asks for its new configuration regularly or when a manual command is run.'"
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • Name infringement? (Score:2, Informative)

    How closely is Google Slack, tied to Slackware? If it's not, why did they choose that name? The Slashdot icon and URL suggests this story has to do with Linux.
  • Here's the source code (Score:5, Informative)

    by Benley (102665) on Tuesday October 17 2006, @02:41PM (#16474825)
    (http://google.com/ | Last Journal: Tuesday October 23 2001, @03:00PM)

    Before anybody says "Hey! Where's the source?!", let me just provide a link right now:

    http://www.sundell.net/~alan/projects/slack/ [sundell.net]

    Do me a favor and don't destroy sundell's server, or he's likely to hurt me :-P

    • Re:Here's the source code by Mateo_LeFou (Score:2) Tuesday October 17 2006, @02:48PM
    • Re:Here's the source code by ardran (Score:1) Tuesday October 17 2006, @02:48PM
    • Coral Cache (Score:5, Informative)

      by dch24 (904899) on Tuesday October 17 2006, @02:53PM (#16475025)
      I doubt it will get too slashdotted, but just in case, this is the link with the downloads coming from coral cache:

      Index of /~alan/projects/slack

      [TXT] COPYING 13-Oct-2006 00:09 1k
      [TXT] ChangeLog 13-Oct-2006 00:09 7k
      [ ] slack-0.13.1.tar.gz [nyud.net] 08-Jan-2005 20:01 28k
      [ ] slack-0.13.2.tar.gz [nyud.net] 09-Feb-2005 11:27 28k
      [ ] slack-0.14.0.tar.gz [nyud.net] 13-Oct-2006 00:09 47k

      Short Description:

      slack is a configuration management system designed to appeal to lazy
      admins (like me). It's an evolution from the usual "put files in some
      central directory" that is faily common practice. It's descended from an
      earlier system I also wrote, called "subsets", and uses a multi-stage
      rsync to fix some of the problems I had there.

      Basically, it's a glorified wrapper around rsync.

      License:
      See the file COPYING.

      Getting slack:
      http://www.sundell.net/~alan/projects/slack/ [sundell.net]

      Documentation:
      Not much, but there's some in doc/

      Reporting problems:
      Send an email to <sundell (at gmail.com)>. Probably want to put
      "slack" in the subject and be patient for replies. :)

      $Id: README,v 1.5 2006/09/25 21:35:22 alan Exp $
      [ Parent ]
      • Re: bittorrent by Ayanami Rei (Score:2) Tuesday October 17 2006, @09:07PM
      • 1 reply beneath your current threshold.
    • Re:Here's the source code by Chacham (Score:1) Tuesday October 17 2006, @03:23PM
  • Makes sense (Score:3, Interesting)

    by frosty_tsm (933163) on Tuesday October 17 2006, @02:46PM (#16474911)
    Google has what, 700,000 servers? I would imagine that along the way they would have found existing solutions inadequate. Now they are making a version of their tool available other developers.
    • Re:Makes sense by doti (Score:2) Tuesday October 17 2006, @02:57PM
    • Re:Makes sense by charlesnw (Score:1) Tuesday October 17 2006, @03:07PM
    • Re:Makes sense by 51mon (Score:2) Tuesday October 17 2006, @06:27PM
    • Re:Makes sense by AoT (Score:2) Tuesday October 17 2006, @04:49PM
    • Re:Makes sense (Score:4, Informative)

      by Benley (102665) on Tuesday October 17 2006, @06:35PM (#16478045)
      (http://google.com/ | Last Journal: Tuesday October 23 2001, @03:00PM)

      You (and most others here) are largely missing the point. Slack is not a replacement for apt or rpm. It's more comparable to something like cfengine, although it's only vaguely in the same universe because Slack is so much simpler. Here's what goes in a slack role:

      • a preinstall script
      • a set of files (config files, little scripts, etc)
      • a "fixfiles" script for setting permissions on the files before they're moved into place
      • a postinstall script

      That's it. You don't tar it up, you don't make a package, you don't have to learn a special language to describe your changes, etc. Nothing fancy. I know those four items sound similar to what you can do with a package management system, and they are, but that's not what this is for. You don't put binaries (for example) in a Slack role - slack is for higher-level stuff like your customized config files. You *could* roll custom packages for your config files and whatnot, but that's a lot of work (relatively speaking).

      Say I've got a slack role for my web server. In the preinstall script, I'd make sure the right packages are installed, so I'd do something like "apt-get install apache2". Then in the files section, I'd have etc/apache2/httpd.conf along with whatever other config files I use for my installation. In the postinstall script I could check to see if I've just installed new config files and restart apache if I have.

      That's all there is to it - it's purposely extremely simple, to make it easier than just copying files from an existing server to a new one when you set one up. Laziness usually wins out (a law of human nature, not a statement about google sysadmins :-P), so if config management is too much work, it either has to be forced upon everybody or it won't be used. Additionally, since you don't do anything with the files and scripts you put in a slack role, you can trivially put your slack repository in Subversion or CVS or your revision control du jour, so getting people to use Slack has the nice side effect of also getting them to use revision control for their config files!

      And yes, I use it on my personal server with two admins :-P

      [ Parent ]
    • 1 reply beneath your current threshold.
  • Slackware (Score:1, Funny)

    by Anonymous Coward on Tuesday October 17 2006, @02:47PM (#16474931)
    "I think SLackware sounds better than Microsoft" -- Pat.

    Can't google come up with their own name?

    --
    Submit goats: http://www.historymatters.org.uk/output/page97.asp [historymatters.org.uk]
  • Sounds similar to our setup (Score:5, Interesting)

    by nsanders (208050) on Tuesday October 17 2006, @02:47PM (#16474939)
    (http://www.slashdot.org/)
    We run Ubuntu in my department and ended up building an in-house Apt repository/svn/rsync system to maintain all our machines. We also use custom scripts that monitor NFS shares to emergency push operations. Obviously our down side is that an entire .deb package must be rebuilt for each change, but it's nice to see Google's method isn't out of this world after all.
  • Confusing title? (Score:1, Troll)

    I'm sure I'm not the only one who immediately thought of this [slackware.com], am I?
    I'd have chosen something else, even at the risk of it sounding ridiculous.
    Like one of my projects [sf.net], for example.
  • I knew it! (Score:5, Funny)

    by Rachel Lucid (964267) on Tuesday October 17 2006, @03:03PM (#16475215)
    (http://www.lastres0rt.com/ | Last Journal: Friday July 14 2006, @02:31PM)
    The SubGenius must have slack.
    Google makes Slack.
    Ergo,
    Google is the corporate incarnation of 'Bob'!


    ... What? Someone had to say it!

    • Re:I knew it! by martin-boundary (Score:2) Tuesday October 17 2006, @06:45PM
      • Re:I knew it! by Rachel Lucid (Score:2) Tuesday October 17 2006, @09:50PM
        • Re:I knew it! by martin-boundary (Score:2) Wednesday October 18 2006, @04:41AM
    • Re:I knew it! by inKubus (Score:2) Tuesday October 17 2006, @07:16PM
    • Re:I knew it! by Bing Tsher E (Score:1) Tuesday October 17 2006, @07:44PM
  • by 0racle (667029) on Tuesday October 17 2006, @03:06PM (#16475261)
    This sounds almost exactly like the Active Directory's ability to publish and/or assign software to Domain members.
  • Not new (Score:5, Interesting)

    Sounds very much like CFEngine http://www.cfengine.org/ [cfengine.org] with subversion?

  • Kinda similar to APT (Score:3, Informative)

    by Tarlus (1000874) on Tuesday October 17 2006, @03:17PM (#16475419)
    (http://tarlus.homeip.net:12345/)
    What they're describing there is like Debian's apt-get, or BSD's portage (also incorporated in Gentoo). Each of those technologies I listed are most commonly used to install packages from a common central repository over the internet (per distro). But, each of them can be configured to retrieve and install packages from a localized server. It's actually a very handy thing to have in large-scale networks because instead of installing and updating packages on each machine over the internet from a remote repository, you just update one machine from the internet and let all the rest of them update from it, thus cutting way back in internet usage and greatly reducing the time needed for the local machines to download and install updates.

    Sounds like Slack is a simplified version of all of that.
    • Re:Kinda similar to APT (Score:4, Informative)

      by nsanders (208050) on Tuesday October 17 2006, @03:28PM (#16475637)
      (http://www.slashdot.org/)
      Some what. We use APT here in our department. One of the big changes from SLACK is that it doesn't require you to compile packages like RPMs or DEBs. We have a couple of very large applications that take up 1-3GB and it takes a very long time to rebuild the packages. Slack negates such a need.
      [ Parent ]
    • Re:Kinda similar to APT by not already in use (Score:1) Tuesday October 17 2006, @03:29PM
    • Re:Kinda similar to APT by apachetoolbox (Score:3) Tuesday October 17 2006, @03:31PM
    • BZZZT! (Score:4, Informative)

      by SanityInAnarchy (655584) <ninja@slaphack.com> on Tuesday October 17 2006, @03:36PM (#16475757)
      (Last Journal: Tuesday October 30, @10:59AM)
      What they're describing there is like Debian's apt-get, or BSD's portage (also incorporated in Gentoo).

      Gentoo is not Ports. Ports is not Gentoo. Gentoo is inspired by BSD's ports, which is why the Gentoo package manager is named portage. But there are huge differences.

      Last I checked, Ports was primarily a distribution system. Portage is a full-fledged package manager that happens to use source packages, and happens to have a file called "make.conf".

      Each of those technologies I listed are most commonly used to install packages from a common central repository over the internet (per distro). But, each of them can be configured to retrieve and install packages from a localized server.

      True, and they mention this. Gentoo's probably the closest, but their main motivation for rolling their own is to be able to go into a filesystem and tweak it, instead of having to tweak, build an RPM (or Deb, or whatever), download that to the target machine, etc etc.

      It's also simultaneously a like cfengine, which is used to manage configurations. That is, it's not just for packages, but also for app configurations. That is, if your webserver goes down, hard, you can bring a new one up in an hour, 100% automated, and it will be configured the exact same way as the old one. If you need to add a new webserver to the cluster, same process. Want to change the config on a webserver? Test it on a local machine, then put the new httpd.conf on the Slack server, and watch all the frontend machines download it.

      Personally, I think they should've at least looked into cfengine, but APT alone is not enough. Saying APT could do it is like saying you can write a webserver in assembly -- yes, you can, but why would you want to?

      [ Parent ]
      • Re:BZZZT! (Score:4, Informative)

        by drsmithy (35869) <drsmithy AT gmail DOT com> on Wednesday October 18 2006, @06:47AM (#16482865)

        Personally, I think they should've at least looked into cfengine [...]

        Maybe they did ? I looked into cfengine for automating our server configurations and my head asploded.

        Then I experimenting with it for a few weeks, but I could never quite grok how it was supposed to work and always had the feeling that "this is as much work as managing all the systems manually anyway". It seems extremely capable, but it's very difficult to use if you want to do anything that's more trivial than pushing (or pulling) a bunch of files (for which some rsync fiddling is _vastly_ easier).

        [ Parent ]
        • Re:BZZZT! by SanityInAnarchy (Score:2) Wednesday October 18 2006, @02:21PM
      • Emerge is a script of the Portage system by Laebshade (Score:2) Tuesday October 17 2006, @10:57PM
      • 1 reply beneath your current threshold.
    • Re:Kinda similar to APT by jb.hl.com (Score:2) Tuesday October 17 2006, @04:14PM
    • 1 reply beneath your current threshold.
  • the Cult of Bob (Score:1)

    by xtype2.5 (761755) on Tuesday October 17 2006, @03:27PM (#16475627)
    Bob says to get as much slack as you can!
  • radmind (Score:2, Interesting)

    by Anonymous Coward on Tuesday October 17 2006, @03:34PM (#16475729)
    As soon as I read this I immediately though of radmind [umich.edu], which, by the vague descriptions seems to do exactly what is going on above. I encourage everyone to take a look!
  • CFengine (Score:5, Insightful)

    by Pegasus (13291) on Tuesday October 17 2006, @04:40PM (#16476553)
    (http://nerv.eu.org/)
    How exactly does this compare to CFengine [cfengine.org]? From the short slack description it would seem like cfengine is a much more mature solution ...
  • how is that different/better than... (Score:3, Interesting)

    by oohshiny (998054) on Tuesday October 17 2006, @04:40PM (#16476561)
    There are a bunch of widely used systems like this: rdist, cfengine, fai, ... In what way is "Slack" supposed to be better? Or is this simply a case of NIH?
  • Also Obligatory... (Score:1)

    by bbockholt (543469) on Tuesday October 17 2006, @05:49PM (#16477409)
    (Last Journal: Friday February 13 2004, @06:10PM)

    ...deployed onto selected machines in a "pull" method.

    So one machine says to the other, "Hey, give me some SLACK, will ya?"

  • Reply from Google: (Score:1)

    by SFSouthpaw (797536) on Tuesday October 17 2006, @07:31PM (#16478791)
    (http://www.sfsouthpaw.org/)
    "We're a busy company, give us some slack! Jeez!"
  • finallyy... (Score:1)

    by slack_prad (942084) on Wednesday October 18 2006, @01:41AM (#16481545)
    (Last Journal: Saturday March 03 2007, @04:33AM)
    I get to sue google
  • Re:FP (Score:4, Funny)

    Google is all over the news these days. They should go on vacation.

    s/News/Slashdot is a little more accurate :)

    Maybe Google bought OSTG when nobody was looking. Might help explain why Taco's omelet is a little heavy on the Google sauce lately.
    [ Parent ]
  • by SirTalon42 (751509) on Tuesday October 17 2006, @03:06PM (#16475265)
    Awww! Poor 7 digiter is upset by OSS? Enjoy your Windows (you should probably not use the internet though, most versions of Windows uses FreeBSD's network stack)!
    [ Parent ]
  • by bunions (970377) on Tuesday October 17 2006, @03:33PM (#16475715)
    what?
    [ Parent ]
  • by Anonymous Coward on Tuesday October 17 2006, @04:02PM (#16476117)
    OK, this is old news to everyone except ^, but how is open source "bad for business"? It creates jobs for graphics designers and web designers, among others. And plus, there's more to software than what it'll do to the economy. Users have a lot to gain from using Linux. Gamers could use a less-bloated OS, and even complete newbs could benefit from an XP-like desktop that doesn't crash as much and has better packaging. For most people, it's about sticking it to the man, not the man sticking it to everyone else. Linux is about rebellion- it's about burning the Windows flag.
    PS: The only person who deserves immediate death is... well, I can't really think of anyone immediately.
    [ Parent ]
  • Mod Parent Up; Not a troll (Score:2, Insightful)

    by Anonymous Coward on Tuesday October 17 2006, @04:14PM (#16476251)
    The parent is clearly not a troll, folks.

    The distribution tarball is 28k. This is a tiny little one-man project that is little more than exactly what the parent said. There are 90234580928345 other dumb little rsync wrappers on sourceforge, many of which are MORE functional. Why focus on this one?

    I'm not the only one who is getting sick and tired of everyone pulling out their e-penis at the slightest mention of Google and jerking vigorously. Nor am I the only one sick of half of all slashdot articles being nothing but spew from the Google spin machine.

    [ Parent ]
  • by Anonymous Coward on Tuesday October 17 2006, @05:05PM (#16476859)
    I've seen better trolls from 10 year olds. C'mon, at least call RMS a smelly pot smoking hippie socialist that thinks we should all live in communes and wear clothing made from fig leaves. Or something.

    Whatever happened to finely crafted trolls and flamebait? I'm tellin ya, these young'uns... there's no pride in their ruthless barbs anymore.
    [ Parent ]
  • 8 replies beneath your current threshold.