Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Hardware

Server Naming Conventions? 961

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."

This discussion has been archived. No new comments can be posted.

Server Naming Conventions?

Comments Filter:
  • by Ars-Fartsica ( 166957 ) on Tuesday March 12, 2002 @06:52PM (#3152810)
    Create namespaces for your servers and structure them as such. For example, p.1.foo.com, p.2.foo.com, secure.3.foo.com, login.5.foo.com, etc.

    This lets you distinguish between the server number in a rotation (the second element) and the specific service it is supporting (the first element).

  • Our Convention (Score:2, Interesting)

    by Sawbones ( 176430 ) on Tuesday March 12, 2002 @06:52PM (#3152816)
    granted it's a 10 character convention, but still:

    [2 letters] - data center

    [3 letters] - group name

    [2 letters] - service type (wb, sq, lb)

    [3 characters] - server number (A01, A02)

    it works pretty well. For something with only one datacenter you may try some sort of physical location indicator rather than a data center name like server row number. It makes it a heck of a lot easier when you need to physically track down a server.
  • Close to home (Score:3, Interesting)

    by catfood ( 40112 ) on Tuesday March 12, 2002 @06:55PM (#3152842) Homepage

    For my little network at the home office I use the original (pre- annexation) names of streets in the neighborhood.

    My wife thinks this is cool because she loves local history.

    I think it's cool because I get to use names like maple, kuchle, liberty, newburgh, and columbus. Only the real old-timers from the hood get it. They enjoy knowing a little something about computers that younger people don't, even though it's totally non-technical.

    As a practical matter, it's a nearly inexhaustible "theme" category; as you need more names, just reach out to a larger radius. In a decent-sized city you'll need a full Class C to max out the theme.

  • Naming Conventions (Score:5, Interesting)

    by nurightshu ( 517038 ) <rightshu@cox.net> on Tuesday March 12, 2002 @06:55PM (#3152850) Homepage Journal

    At the company I work at, we have ~5000 servers worldwide, and they all follow the same naming convention:

    • 2-character nation ID
    • 2-character state/province/region ID
    • 3-character city ID
    • 2-character production/development classifier
    • 3-character unique numeric number

    Thus, a production server in Minneapolis, Minnesota would be usmnminpsnnn , or a development server in Vancouver, BC, would be cabcvandsnnn .

  • by StandardDeviant ( 122674 ) on Tuesday March 12, 2002 @06:56PM (#3152860) Homepage Journal
    At $job[-2] we had about 200 hosts, give or take. Effectively, we did the name + number bit, becuase in our case, the servers were either standalone functionality (e.g. primedns.foo.com, secdns.foo.com, extwww.foo.com), or part of a large herd of machines doing the same thing: pbs001 .. pbs111 .. pbsXYZ (number cruncher machines running the pbs job batch control system). My advice to you is locate the "unique" machines, and give them names that strongly reflect their function on the network. The "herd members" you should give numeric names to (e.g. aix9999, fbsd3333, lnux2222, etc.) that also reflect the operating system being used (standardize the abbreviated os names, of course, nothing like wondering if 'dux' is a machine that quacks or a data general UX host). Keep an electronic (and paper!) record of what client is on which herd machine. I know the number thing seems a little impersonal, but how many anime series are there that can scale to several thousand host names? Even if you like war and peace, you'd run out after several hundred...
  • Major cities. (Score:2, Interesting)

    by prizzznecious ( 551920 ) <hwky@fre[ ]ell.org ['esh' in gap]> on Tuesday March 12, 2002 @06:57PM (#3152863) Homepage
    Perhaps it doesn't have the same geek appeal as sci-fi or anime, but where I work the servers are named after major cities across the world. I find this to be a better choice than something geeky because everybody knows the major world cities, and so the names are extremely easy for people to remember.

    As an extra special bonus, it makes you feel like you're the president or something when you're having meetings about various world cities. Or at least.. uh.. it makes me feel that way.
  • well...duh.... (Score:2, Interesting)

    by Zurk ( 37028 ) <zurktech@gmail . c om> on Tuesday March 12, 2002 @06:57PM (#3152864) Journal
    just name the servers after the *functions* they serve rather than a theme or other crap.
    for example :
    MR237BWEB01 - Mail Room number 237B Webserver 1.
    CONF225FIL01 - Conference room 225 File Server 1.
    EXTCOMPWEB01 - External Company web server 1.
    alternatively you could also do the theme thing and assign some genre to a particular department.
    for example, all accounting servers could be named after fish e.g. bluefish, haddock, trout, etc.
    or colors or star wars themes or anything else.
    i prefer the dept/room number/server type/server number scheme myself and using acronyms you could easily keep it under 8 characters for the host name.
    Of course be sure to add the host names into a comma delimited file with an explanation and ip address/subnet and room location of the server (or rack location). Make sure you keep the file someplace publically accessible like on a webserver someplace.
  • people names? (Score:2, Interesting)

    by LMCBoy ( 185365 ) on Tuesday March 12, 2002 @06:57PM (#3152871) Homepage Journal
    How about just using first names of people? They'd be easy to pronounce/remember, there's an effectively limitless supply to draw from (just get one of those "Name Your Baby" books), and you could even group servers topically (Joe's Deli gets Russian female names, John's Delivery gets African male names, etc).
  • An example I've seen used for a larger server farm. Looking at the layout of the server farm, they're usually aligned in rows and columns.

    They had the name as such:

    Row + Column + 4 letter name.

    So, for the Joe's Deli example, which is in row 15 and column 20, you could have:
    1520jdel.domain.com

    You could also have:

    Row + Column + 2 letter name + 2 letter service type

    So for Joe's Deli again:

    1520jdwb.domain.com

    The downside is if you physically move the servers around, it can cause problems.
  • by Apuleius ( 6901 ) on Tuesday March 12, 2002 @06:58PM (#3152879) Journal
    1. None at all. Good for security. A naming
    convention is a nice shortcut when a script
    kiddie is portscanning.

    2. Naming conventions. (I.e. name the
    Web server "Tolkein-Place-Names", the
    mail server "Famous-Composers", et cetera.)
  • by jrwillis ( 306262 ) on Tuesday March 12, 2002 @06:58PM (#3152887) Homepage
    If you support a large number of offices like my I.T. group does (state government) the following method works great for us. All normal file servers in our system use this convention. The first two letters are always fs for file server followed by the first two letters of the city in which the server is located and then the first letter of the street it's located on. We add a few characters on the end for other internal tracking purposes, but this covers most of the important stuff. An example of this in use would be FSJAExxx with the x's being extra info. This system has worked great so far on the third largest network in Texas. I know this won't help the poster much, but maybe someone out there can use it.
  • by Mark Pitman ( 1610 ) on Tuesday March 12, 2002 @07:01PM (#3152915) Homepage
    I agree. The other thing to do then is create a database of all your servernames with additional descriptive info about the server, such as location, function, who it is allocated to, etc. If you try to stuff all that info into a short name with a bunch of abreviations, it is going to become useless anyway.

    Comicbook character names and so-forth are fun, but can be seen as unprofessional by some, and possibly even offensive in some cases.
  • What I used (Score:3, Interesting)

    by rosewood ( 99925 ) <<ur.tahc> <ta> <doowesor>> on Tuesday March 12, 2002 @07:02PM (#3152924) Homepage Journal
    Okay Im a big literature dork (not a spelling dork) and I named all the servers based of characters from Canterbury Tales by Chaucer. Then, I used shakespeare characters (we had one box prown to crashing named Hamlet, god that killed me - Im a loser). After that to please my co-worker, we did a few steven king titles and then some Clancy. Those were the only modern literature relations - the rest were all classic literature but pretty random. Cervantes, Poe, Melvil, Orwell (1984 and AFarm were both there), and so many more. Book titles, famous characters, and authors were all game. We tried hard to associate the server type with the character if we could

    We had fights with management wanting names like MAIL01, MAIL02, etc. but I bit them down when I told them that if one server type ever got above 100 then it would be a bitch or over 1000, etc.

    Upper management liked the scheme cause when they would show clients the server rooms they would see these great literature references on the boxes which made us look inteligent. Win + Win.
  • Conventions (Score:2, Interesting)

    by F250SuperDuty ( 65363 ) on Tuesday March 12, 2002 @07:07PM (#3152983) Homepage
    My last job, the previous regime had set up the naming conventions as follows:

    2 Character City Code
    4 Character Building Code
    2-3 Character Descriptor (WS, IIS, FS, ADP, etc)
    2-3 Character # (For more than one box)

    So we'd have "PHMAILSVR01" (Philadelphia Mail Building File Server #1)

    Currently, our workstations are USERNAME-OS (ie; JDOE-W2K, JDOE-LNX, etc). Servers have great names (no set convention), but they do have aliases that are cleaner (fileserver1 == pinky).

    -k
  • Re:Check the RFC (Score:3, Interesting)

    by sben ( 71467 ) on Tuesday March 12, 2002 @07:09PM (#3152996)
    Very interesting.

    Of historical interest, from the RFC (written in 1990): "Extremely well-known hostnames such as 'sri-nic' and 'uunet' should be avoided since they are understood in conversation as absolute addresses even without a domain." I consider myself a bit of an old-timer, but though I recognize uunet, I've never even heard of sri-nic. I'm sure someone knows about this; please inform!
  • by taliver ( 174409 ) on Tuesday March 12, 2002 @07:10PM (#3153012)
    You don't need to worry about someone determining your scheme and starting to hunt through your ports using the naming scheme.

  • by panic911 ( 224370 ) on Tuesday March 12, 2002 @07:13PM (#3153036) Homepage
    At home I used to use the planets of the solar system. My router was a Sun SparcStation and it's name was sun (it was the one that all the other computers/planets revolved around). Each other computer was mercury, venus, earth, mars, etc.

    Now I have my computers setup with the names of transformers.. rodimus, galvatron, megatron, optimus, etc

    Here at work we use greek gods.. zeus, hermes, atlas, ares, nemesis, athena, pan, etc

    Although those won't be very practical if you got a server-farm of 4000+ servers :p.. just some suggestions.
  • by jfroot ( 455025 ) <darmok@tanagra.ca> on Tuesday March 12, 2002 @07:15PM (#3153048) Homepage
    At the last company I worked for [netnation.com] we used transformers as our naming convention. There are plenty [digiserve.com] of names available and you can get fairly creative with using the names:

    All NT machines can be decepticons because they are evil [att.net], and all UNIX machines can be Autobots becuase they are friendly.

    Your biggest UNIX machine can be Optimus and your biggest NT machine can be Megatron.

    Your tape library can be Soundwave because he was the transformer that you put tapes into.

    Your entire NOC can spend a fun filled afternoon debating naming decisions. It is a fun waste of time!

  • Interplay (Score:2, Interesting)

    by Sivar ( 316343 ) <charlesnburns[ AT ]gmail DOT com> on Tuesday March 12, 2002 @07:19PM (#3153077)
    I name my servers after Interplay's RPGs; Planescape, Neverwinter, Icewind, etc. This would likely not work particularly well for a 4,000 server setup. In a case like that, I would probably name by function (webserver, fileserver, DB, etc.) mixed with, perhaps, location on a server grid system. For example:
    r6.c42.room21.db4 or something (meaning Row 6, Column 42, server room 21, database server number four)
    Once you have that many servers, cute little names just become a pain in the ass.
  • by krokodil ( 110356 ) on Tuesday March 12, 2002 @07:20PM (#3153086) Homepage
    Thus, a production server in Minneapolis, Minnesota would be usmnminpsnnn


    I think snnn.ps.min.mn.us.company.com will look way better.

  • Instead of Sci-Fi (Score:2, Interesting)

    by cbv ( 221379 ) on Tuesday March 12, 2002 @07:38PM (#3153239) Homepage
    ... we use sort of a planetarian approach.

    All main servers are named after suns (eg Sol),
    secondary servers after planets (eg Terra),
    third-level servers after planetoids (eg Moon),
    and so on
  • I'm sure that he meant atomic number, since atomic weights are non-integer, except for Carbon.

    Personally, I favor naming them after scientists - this is what 95% of the world's laboratories in every field do. The two computers in my dad's lab are Watson and Crick (he doesn't even work with DNA). Substitute other sorts of famous people; presidents, athletes, whatever.

    The anime characters are good, if that's what people in your group can remember. One lab I was in that had a lot of computers used deities; Linux were Hindu deities, NT were Greek, and Irix were Egyptian. We added a Mac (OS X) which I named Arawn (Welsh deity).

    With 200 machines, you're gonna run out of pet names really fast, so I think you'd need to assign a whole new category of names to each busines, so Joe's Delivery could get Rolling Stones songs, and John's Delicatessen could get war criminals. That would be cool, and that way any administrative subdivisions could use naming conventions that they were good at remembering.

    Oh! I have an idea, you could assign each company a word (Winter and Dog, say) and name every computer associated with that company that word, in a different language. All of the web-servers could be french (Hiver and Chien?), the POP servers spanish (Invierno and Perro) and so forth.
  • Re:be sensible (Score:5, Interesting)

    by DeathBunny ( 24311 ) on Tuesday March 12, 2002 @07:54PM (#3153345)
    Personally I'd encode them using one or two characters to denote the platform ( i = intel, s = sun, h = hp, blah blah). Then use the additional characters to denote room, rack, etc etc. If you're allowed to use sub domains that makes your life much easier.


    That's stupid. Now if I move the server from one rack space to another, or upgrade it to a different platform then all my users have to change the config on any applications that reference the server? Not a long term scalable solution.


    Keep location and platform information in a seperate document or database. Or create HINFO records in DNS.

  • by bentini ( 161979 ) on Tuesday March 12, 2002 @08:03PM (#3153422)
    On the subject of execs:
    I'm a student at Stanford, and one of my profs set up a lab a couple years back where each of the workstations was a logical operation. And, Xor, Nand, Or, Iff, etc.
    The server was called "gates", because each of these is a logic gate.
    Then, Bill Gates donated money and there was going to be a Gates Computer Science building.
    Needless to say, my prof lost his name pretty damn quickly, and old Bill was relented to.
  • When I woked for a certain hardware manufacturer a few years back, we sort of ad-hoc'd new box names- of course the inevitable growing pains and conflicts arose so we came up with the following conventions for different business units:

    Rodents:

    • NUTRIA.DOMAIN.COM
    • JERBOA.DOMAIN.COM
    • VOLE.DOMAIN.COM

    Lamentably, we ran out of rodents; using so many we almost broke the convention by moving to marsupials. Also, certain uptight folks we worked with also took umbrage to their machine being the RAT, BEAVER or (heaven forbid) GERBIL. Which gave rise to...

    Invertebrate Meiofauna:

    • OLIGOCHAETA.DOMAIN.COM
    • NEMATODA.DOMAIN.COM
    • KINORHYNCHA.DOMAIN.COM

    We could have grown forever with this convention, it's just that only one guy could come up with new ones. So we settled on...

    Cheese:

    • PECORINO.DOMAIN.COM
    • GORGONZOLA.DOMAIN.COM
    • CASUMARZU.DOMAIN.COM

    But the best convention came from a crappy .com I worked for a few years ago:

    Storied scientists:

    • PLANCK.DOMAIN.COM
    • HAWKING.DOMAIN.COM
    • FARRADAY.DOMAIN.COM
  • Naming conventions (Score:1, Interesting)

    by Anonymous Coward on Tuesday March 12, 2002 @09:38PM (#3153936)
    One of the most simple I have found is

    racknumber.unitplacement.domain.com

    ie if it is rack 12 and the bottom of the server was at the 24U holes it would be

    012.24u.domain.com
  • by Pac ( 9516 ) <paulo...candido@@@gmail...com> on Tuesday March 12, 2002 @11:49PM (#3154470)
    Do the kind people moderating the above as Informative cared to read RFC 2100? Have the said moderating beings cared to noticed it was issued on April 1st, 1997? Has the date ringed a bell? No? Guessed so.

    As for RFC 2100, it is funny. Very old, but funny anyway.
  • Whisky! (Score:2, Interesting)

    by Zo0ok ( 209803 ) on Wednesday March 13, 2002 @09:38AM (#3155903) Homepage
    Whisky is a great base for computer naming (even though if you have 4000 machines and a 8-character limit it will not work very well).

    I use Great Single malts for my favourite machines (Ardbeg for my G4, Port-Ellen for my Firewall and Auchroisk for my laptop). Machines that I dont like that much, particularly those running windows, can be named using nasty American blends like Jim Bean (Huh!).

    Looking at www.maltmadness.com most people will find more Whiskys than they have computers (and they are rated as well).

    If you are using American, Irish, Canadian and Scotch Wiskies and still cant come up with more names, just add bottling etc:

    ardbeg1975
    ardbeg17years
    ardbeg_caskstrength

    etc.
  • by PhoenxHwk ( 254106 ) on Wednesday March 13, 2002 @11:31AM (#3156521) Homepage
    One word: Pokemon.

    We've got a lab at school in which the machines are all named after Pokemon. It's kinda silly to log into Wigglytuff, but you've got hundreds of names to use.

UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn

Working...