Slashdot Mirror


Server Naming Conventions?

Some random reader sent in: "Hi, I'm wondering what others out there use for server naming conventions. Our data centre right now houses a little under 200 servers, with plans to grow up to 4000 servers within the next five years. We'd like to pick something flexible and easy to manage with any tracking system. The servers we'll be implementing include SUN, HPUX, and AIX servers, in addition to existing Compaq and HP Intel servers, so we'll have to adhere to limitations placed on hostnames by manufacturers (ie HPUX lets you have an 8 character hostname)." We had a similar story a few years ago.

The reader continues:

"Here's a few ideas we've been tossing around, using Joe's Deli as an example:

- [four letter "name"][two letter service type][2 numbers] eg) jdelwb03.domain.com
+ easy to determine the function and name
- hard to remember and pronounce, once you run out of four character servers, determining the name and function will be difficult. Joe's Deli and John's Delivery will have conflicting names

- [random combination of numbers and letters]
eg) ak1jop3d.domain.com
+ none really
- confusing.. really confusing. Can you imagine saying to someone "log on to alpha kappa one john omikron peter three delta?"

- [theme based name]
name servers based on a theme, eg Gundam
eg) zaku.domain.com, gelgoog.domain.com
+ easily identifiable - all Gundam names belong to Joe's Deli, easy to pronounce and remember
- hard for a new tech or management (why would they need to know?) to associate to a server

"I'd like to know what others in the tech community use for server naming policies when planning large scale data centres. Also, with data centres located nationally, does the naming convention pose any problems? Thanks."

36 of 959 comments (clear)

  1. Seven Dwarfs? by Yoda2 · · Score: 3, Funny

    You could name them after the seven dwarfs, but then I'm not sure what you'd do with the other 3997?

    1. Re:Seven Dwarfs? by graveytrain · · Score: 5, Funny

      Must be using windows calculator to get that remainder...

      --
      "Just tell him ya did it! That's what he wants to hear anyway..."
  2. Naming Conventions. by actappan · · Score: 5, Funny

    I've always like the idea of naming your systems after your exec staff. Makes rebuilding them kinda fun - and if they're windos boxen - you know that at some point you'll get to reformat your CEO.

    --
    \Drew National Data Director, John Edwards for President
    1. Re:Naming Conventions. by JabberWokky · · Score: 3, Funny
      Shafey and Twan sounded like extremely steriotypical flaming gay names. It works better if you are sitting in an IT room, and can refer to them with a sudden lisp. Or if you've wrestled with them for several years and their "sudden death" problems, and are desperate to find *something* funny in the situation. (FWIW, it was due to the fact that the network was split both ArcNet and Ethernet, and the Digiboards plus two interface cards caused apparantly irreconcilable catastrophic conflicts).

      --
      Evan "Lovely network - WP 5.1 on a bunch of 8086s and 80286s for the real important types"

      --
      "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
    2. Re:Naming Conventions. by pmc · · Score: 3, Funny

      Another good choice is colors, red, blue, green, etc...

      One place where I worked had (city code)(location code)(machine designation)(colour) - lots of offices in the same city.

      Anyway, a typical server name would be NYCVENSGREEN. The key was that they all had an S before the colour, which lead to such names as

      STEAK
      SLIME
      STEAL

      Ah - the hours we spent trying to think these up.

  3. Just to annoy the RIAA by Anonymous Coward · · Score: 3, Funny

    Name them after pop-stars. Hey, Britney is down again. N-Sync has crashed.

    1. Re:Just to annoy the RIAA by PugMajere · · Score: 3, Funny

      Don't you mean, "hey look, Britney is going down again."

    2. Re:Just to annoy the RIAA by gorehog · · Score: 5, Funny

      more fun is when segments crash..."Britney an J-Lo are going down on us again."

      Phrasing is everything.

    3. Re:Just to annoy the RIAA by _xeno_ · · Score: 5, Funny
      more fun is when segments crash..."Britney an J-Lo are going down on us again."

      I wonder what it means that my first thought was "the servers named Britney and J-Lo have stopped functioning" and it took almost a full 10 seconds before I realized the other meaning...

      Damn, I need to get out more...

      --
      You are in a maze of twisty little relative jumps, all alike.
    4. Re:Just to annoy the RIAA by Anonymous+DWord · · Score: 5, Funny

      "Ohmigod! Britney's ports are all open! She's getting rooted like crazy!"

      --
      "If he thinks he can hide and run from the United States and our allies, he's sorely mistaken." Bush on bin Laden
  4. Government conspiracies by 0zzymandias · · Score: 5, Funny

    I like to make my customers think... That's why I have echelon, bigbrother, etc. It's lot's of fun. I have learned to stay away from religious names though. I once had a baptist minister who wondered why a WHOIS on his domain showed his nameserver as Lucifer.

  5. No no no... by burtonator · · Score: 5, Funny

    use 128 bit UUIDs... no collision!

    AD87D0A9S8D90A9D80AD90ASD8A0D80F0A80D8F0AASD3

    if that isn't easy to remember I don't know what is!

  6. Re:themes are good by Dark+Paladin · · Score: 4, Funny

    Personally, I've thought about naming servers after sexually transmitted diseases. Imagine walking into a room: "Hey, can you check Syphylis? For some reason AIDS isn't talking to it."

  7. Much too complicated! by itwerx · · Score: 3, Funny

    Not to mention none of the users are gonna understand the reference anyway.
    Far more logical to name as follows:

    SRVR1
    .
    .
    .
    SRVR4000

    It is a simple matter then to hand out a quick-reference pamphlet to your users defining what each server is.
    Be sure to order the reference by server name, rather than function or department, as this is how they will be listed in Network Neighborhood. Your users cannot be expected to understand the difference between a print server and a SQL server anyway - no need to confuse them any more than necessary.

    (and if you really do this I want a copy of your next performance review! rofl...)

  8. Remainder? by John+Harrison · · Score: 4, Funny
    The remainder what is left over after an integer division operation.

    If you had stuck with the word "answer" you would have been fine. But you had to try to look smart and look where that got you! Modded up as funny, while making a simple mistake yourself!

    If I were clever, I would leave a clever comment here.

  9. Re:Naming Conventions by Ooblek · · Score: 3, Funny
    You could also just use GUIDGEN on your local windows box to name your servers:

    9A962BCC-97E0-4268-ABD4-FB5E7236DF64
    AAEBD785-B9CB-405c-A09A-91719C979626
    DDDFB01E-5979-454f-BE1E-175453F52127
    Etc.

    Then its sort of like remembering phone numbers. What, you can't rememberize 4000+ phone numbers? Then you buy ACT! or some other contact management software. Then you set up contact reminders to make you remember to ping the server to make sure its alive or back it up. Your reminder list probably wouldn't be more than a few hundred entries on each day. You could polish that off before lunch. Then ask for a raise because you solved the problem without doing hardly any work! Thats reusability, and they pay people a lot to be good at it you know.

  10. Re:Element names work well for a small low-order n by wirefarm · · Score: 5, Funny

    A good friend of mine was told to pick an element for his machine name at one job, but of course all of the good elements were taken by that time. (Who the hell wants to be Boron, after all...)

    What did he choose?

    Immodium.

    That still cracks me up - (thanks, Dave!)

    Cheers,
    Jim in Tokyo

    --
    -- My Weblog.
  11. Mary, call them all Mary by Pac · · Score: 4, Funny

    So you never have a problem remembering their names as with that girl in the restaurant last weekend. Why they have to have different names anyway. So just call them Mary as it should be and add a nice reminder to self about where you last saw the babe, as in MaryFromAccounting, MaryWebServing. You can make the reminders more complex just to help a bit, as in GorgeusMaryWebServing, PlainMaryWebServing.

    1. Re:Mary, call them all Mary by TheCrunch · · Score: 3, Funny

      Hmmm. I dunno... there's something about Mary...

      (sorry, couldn't resist)

      --
      My life is one big siesta in which I'm dreaming I wished my life was one big siesta.
  12. Re:Sci-Fi by Moonshadow · · Score: 3, Funny

    All of our servers are named after mythological/horoscopic characters/creatures, ie Hercules, Athena, Draco, Aries, Phoenix, etc. Works for us. They were originally given names like TTIBDC01, TTIBDC02, etc. Not only more confusing, it doesn't sound as cool in conversation.

    "So, did you install that latest patch on Phoenix?" sounds a lot better than "Updated TTIBDC01 lately?"

    Of course, with that many servers, you're better off naming them with random character strings. Here, I'll get you started...

    for($i=0;$i<4000;$i++)
    $hostname[] = md5(rand(0,(float) microtime() * 10000000));

    :D

  13. And after seven... by Ungrounded+Lightning · · Score: 5, Funny

    My wife was expanding a lab with a preexisting "seven dwarves" naming scheme. So she invented some extra dwarves.

    The two I remember were "sleazy" and "scuzzy".

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    1. Re:And after seven... by JabberWokky · · Score: 3, Funny
      .
      It's spelled SCSI.

      --
      Evan

      --
      "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
    2. Re:And after seven... by MrPoopyPants · · Score: 3, Funny

      What about Gimli?

    3. Re:And after seven... by Anonymous Coward · · Score: 3, Funny

      I remember working at a company where the workstations were named after the 7 dwarves and the NFS file server was named snow white. So of course the seven dwarves had to mount snow white at the same time.

  14. Re:Element names work well for a small low-order n by j3110 · · Score: 4, Funny

    You mean atomic number right? Or was 2 Deutronium? :) Yep... Deutronium is unstable, it crashed again last night. Something about Deutronium's configuration, I guess. Sounds like this guy needs to invent a few elements. He'll even make it to the coveted Unobtainium. (I wouldn't use this one in hopes that I could get that Quantum computer on the net.) I guess I'm odd for giving them a name based on their function (Web1, web2, db1, db2). My CSC dept. names their servers after birds( Eagle, Hawk, Ospre(doesn't help when you can't spell them)). A friend and I built a cluster, and named it chicken. We even printed a picture and put it on the front to make it easily identifiable.

    I like elements though, very clever! :)

    --
    Karma Clown
  15. Re:No... by Anonymous Coward · · Score: 5, Funny

    Actually, he's probably referring to the three living dwarves. Only Grumpy, Bashful and Doc are still alive.

    Sleepy was killed in 1968 when he accidently drove off a cliff (most people who know Sleepy dispute the police report that indicated alcohol was to blame).

    Sneezy died of natural causes in 1973 (pollen counts were extremely high that year).

    Happy and Dopey were found dead in a hotel room in 1982 of an aparent heroin overdose.

  16. Re:More themes by redcup · · Score: 5, Funny

    That still doesn't beat sexual positions.

    "Hey, would you try DoggyStyle? I can't get in.

    --

    RC
  17. Smurfs by oo7tushar · · Score: 3, Funny

    Smurfs are good to use as there's so many. Of course that only gets you a couple 1000. You could put them into Quadrants, talk about them as if they were in gangs...the Reds, Blues and so on. Then the head node of each grouping could be papa smurf. That kinda thing.

  18. Re:Check the RFC by nelsonal · · Score: 3, Funny

    Great, I'm color blind. Try explaining to your boss why you just formatted the brown sever when you were supposed to do the green one.

    --
    Degaussing scares the bad magnetism out of the monitor and fills it with good karma.
  19. Re:Element names work well for a small low-order n by Man+of+E · · Score: 3, Funny
    Who the hell wants to be Boron

    Moron is a good element too.

    --
    Ceci n'est pas une sig
  20. Re:Element names work well for a small low-order n by DA_MAN_DA_MYTH · · Score: 5, Funny

    Thank you, I just hit an all time low when I just looked down at my dev machine I am at right now, realizing my machine's name. The label I happen to see upon the face...

    BORON

    --
    "It takes many nails to build a crib, but one screw to fill it."
  21. Re:Instead of Sci-Fi by more+fool+you · · Score: 3, Funny

    and do you call the win2k box uranus?

  22. Re:Instead of Sci-Fi by Pig+Hogger · · Score: 4, Funny
    and do you call the win2k box uranus?
    Don't you know? The International Astronomical Union just renamed Uranus, because it was tired of the enless jokes about that.

    It is now named Urectum.

  23. Re:Sci-Fi by Anonymous+DWord · · Score: 3, Funny

    Sounds cool. The Win2K servers could be JDean, BHolly, Pre, AEarhart...

    --
    "If he thinks he can hide and run from the United States and our allies, he's sorely mistaken." Bush on bin Laden
  24. Boot Up! by epsalon · · Score: 5, Funny

    A:Boot up?
    B:Which server?
    A:Up.
    B:Up who?
    A:The server.
    B:Which?
    A:Boot up.
    B:Boot up what server?
    A:No no what server should stay up!
    B:I don't know.
    A:No no that's our web server.
    B:Your web server is "I don't know"?
    A:Yes. But nevermind, we need to boot up.
    B:What server?
    A:What server should stay up.
    B:I'm ASKING YOU THAT! WHAT SERVER SHOULD STAY UP?
    A:Certainly.
    B:Oh at last! So certainly should stay up. Ok, so I should boot what server?
    A:No no no, what server should stay up!
    B:Certainly.
    A:OK, so now boot up!
    B:AAAAARGH! What does that server do?
    A:It's a mail server.
    B:So, what you get mail what server does it say in the headers it's from?
    A:No no, what server's our web server. It says it's from up.
    B:What do you mean up? Mail can't come from up!
    A:It can if it's our mail server.
    B:You're mail server is called "it" and it should boot it up?
    A:No no no! It's our DNS server! We should be booting up!
    B:So we should be booting it up?
    A:No. We should be booting up.
    B:THAT'S WHAT I SAID!

    ...

  25. Re:Element names work well for a small low-order n by Derek · · Score: 3, Funny
    "One lab I was in that had a lot of computers used deities..."
    That's funny, in our lab the administrators named themselves after deity! (Which was fine, except for all the bowing and blood offerings.)

    -Derek