Server naming help

Status
Not open for further replies.

sryan2k1

Ars Legatus Legionis
46,882
Subscriptor++
I've got a question about how you guys name servers that perform multiple roles, my current naming scheme for physical servers is

LOC-FUNCTION#, the first domain controller in Ann Arbor would be AA-DC1

Virtual servers follow LOC-VM-FUNC, for example our OpenFire server is AA-VM-OPENFIRE.

I'm about to set up a VM that is going to do Sharepoint, WSUS, and possibly some printer dutys, what would you guys name it?
 
Interesting timing; I’m in the middle of redoing our naming convention myself, I was going to post about this on Monday.

We used to use SITE-OS-SERIAL for instance hq-2003-21 the 21st 2003 server at the HQ building. But then I decided that the OS wasn’t important in the name or how many servers we have of the kind of OS.

Now I’m looking at UN LOCODE (usually the same as the airport code) for the city plus a numeral for the building. Then add in a 4 letter abbreviation for the role and a numeral. So the 3rd Microsoft file server in our 2 building in Santa Fe would be saf02msfs01.

Almost all of our servers are single role but we’re using the mlti abbreviation for multiuse servers.

For you box I would do arb01mlti01

Here is a list of other codes we’re planning on using; this list is still tentative, any comments are welcome.


Code:
*Sites*

SAF01		;site
SAF02		;site
SAF03		;site
SAF04		;site
SAF05		;site
MNH01	        ;site
UIU01		;site
UIU02		;site
DAL01	        ;site

*Servers\Services*

VHVI		;vm host VMware VI
VHVS		;vm host VMware Virtual Server
VHHV		;vm host hyper-v
VHLD		;vm host Sun Logical Domains
VHSZ		;vm host Sun Solaris Zones
VIVC		;VMware Virtual Center (should this be in app servers?)

FSZF		;file server ZFS backed (mixed nfs, smb, etc)
FSAM		;file server samba (samba same as regular MS share, maybe combine?)
FMSS		;file server Microsoft regular SMB share
FMSD		;file server MS DFS
FSNA		;file server NetApp NAS (does brand matter? maybe just NAS like FNAS?)

ADDC		;Active Directory DC (break out GC?)
ADRO		;Active Directory read only DC
DSEE		;Sun Java System Directory Server Enterprise Edition (inculdes DS sync)
RHDS		;Red Hat Directory Server
OPDS		;Apple Open Directory
ARAD		; RADIUS

NAME		;DNS server (break out bind vs. ms?)
DHCP		;DHCP server (break out isc vs. ms?)
SLOG		;Syslog (dedicated not part of a nms)
NMSM		;Network Management System management server (for nagios, OpenNMS etc ...)
PKSM		;packet sniffer collector
PKSC		;packet sniffer mgmt host
OXMG		;OS X management host

DKOX		;OS X desktop
DKMS		;MS desktop (break out vista and xp?)
DKSL		;Solaris desktop
DKLX		;Linux desktop (break out distros?)

SRSI		;SunRay Software Server internal
SRSE		;SunRay Software Server external (does this matter? maybe roll into SRSI?)
TSJS		;MS TS desktop\frontend server
TSSL		;MS TS Silo
TSUX		;Unix termial server, for sunray or XDMCP (break out Linux, Solaris, etc here?)
CXJS		;Citrix desktop\frontend server
CXSL		;Citrix Silo
TSGW		;TS gateway, CAG can use this as well

SMTP		;SMTP, MTA unimportant
MALB		;generic mailbox, POP3 or IMAP (not for Exchange)
EXMB		;Exchange Mailbox
EXCA		;Exchange Client Access
EXUM		;Exchange Unified Message
EXHT		;Exchange Hub Transport 
EXET		;Exchange Edge Transport

AVSM		;Symantec Antivirus
AVTR		;Trend Antivirus

UIMS		;unattended installation MS WDS
UIJS		;unattended installation Sun Jumpstart
UIKS		;unattended installation RedHat KickStart

DBMS		;database MS sql server (this is for DB backends, not mixed app svr and db)
DMMY		;database MySQL (this is for DB backends, not mixed app svr and db)
DMOR		;database Oracle (this is for DB backends, not mixed app svr and db)
DBPG		;database PostgreSQL (this is for DB backends, not mixed app svr and db)

MLTI		;multiple services (muti-use servers discouraged, use for edge case or small branch)

ARIE		;front end app servers, may included backing database
AFIE		;front end app servers, may included backing database
ACTP		;front end app servers, may included backing database
AVOY		;front end app servers, may included backing database
AVER		;front end app servers, may included backing database
AWIK		;front end app servers, may included backing database
ACDM		;front end app servers, may included backing database
AFDE		;front end app servers, may included backing database
ARTT		;front end app servers, may included backing database
ASEL		;front end app servers, may included backing database

*network hardware*

SWLT		;layer 3 switch, brand unimportant
SWSD		;layer 2 switch, brand unimportant
ROUT		;router, brand, routing protos or redundancy unimportant 
CUDU		;external CSU/DSU
VOMB		;VoIP voicemail mailbox
VOPH		;VoIP hard phone
FWAL		;firewall, brand unimportant
WICR		;wireless controller
WIAP		;wireless AP
FSOP		;freespace optic end point
WANA		;wan accelerator
NACS		;network admissions control server (should this be in infra services?)

*misc hardware*

STSA		;storage array, small single or dual server
STSF		;storage frame, large storage (does this matter? maybe roll into STSA?)
SRSC		;server service processor, iLO, ILOM, DRAC (should these be tied to hosts?)
STSC		;storage array out band management, SAN or DAS but not NAS
TPSC		;tape library service processor
TPLB		;tape library (for assets, we are addressing the SP with TPSC)
SCHV		;HVAC management
SESC		;security cameras
SSST		;site security station, for security guard stations
SSMG		;site security mgmt for motion detectors, window alarm, door locks, etc ...

I'm not trying to thread hijack, just tossing out some ideas for you.
 
We have a standard convention which applies for servers and workstations.

Here's the "pseudo naming" convention (for internal servers): Role - Country - City - Purpose - Number:
So a domain controller in Auckland New Zealand is: snzaucdc01

The roles are done on a:
vmware - VMWare Server (for the VMWare hosts)
dc - Domain Controller
file - File Server
citrix - Citrix Cluster
mail - Mail Servers
web - Web Server
proxy - ISA Proxy Servers
wsus - Antivirus and WSUS deployment server

Naming is heirarchical - so at our sites (where the server is a domain controller and file server, the server gets named as a domain controller.
Or a citrix box, running IIS (for the Citrix web interface), gets labelled as a Citrix box and not a web server.

Just note that we don't have states in NZ, though if you went with something like this, you might like to add the state code in between the country and city code?

Anyway, Our border/gateway servers (in the colo center) are labelled as [purpose]gw.
So our proxy in the colo is proxygw, incoming mail is mailgw, etc.

It's not the most sophisticated (or complex) naming system, however it works for us.
 

LordFrith

Ars Legatus Legionis
25,252
Subscriptor++
What is the purpose of the names of your machines?

Will the services that people access them through be set up in some automated way? Do normal users need to remember the names?

I would vote for servers, position alone is sufficient, since that's the way you will send people to repair them. "B1F1R1AA1" for "Building 1, Floor 1, Room 1, Rack AA, position 1". Then services can migrate around, machines can be replaced, etc, etc.
 

ronelson

Ars Legatus Legionis
21,399
Subscriptor
Have a short name and a long name for your servers, it will make it easier depending on the task.

RTPNM100 - Located in RTP, this is the Node Manager for Offer #100 (a contract with a specific customer usually)
rtpnm100c0006r22 - same server, in server room c, rack 6, 22 ru's from the bottom.

I definitely recommend at least three characters for the location and 3-6 characters for the number part. You'd know best - 000001, 000002 looks horrible if you know you'll never have more than 100 servers, but three digits may be too small if you're going to have thousands.
 
Personally, I think a little too much effort is given to finding the perfect server (or client) name scheme. I'm especially not-fond of encoding functions, OS info, and locations into system names. We try to pre-build the perfect name scheme, and 3 years down the road we find we have painted ourselves into an uncomfortable corner!

I gave this a little more explication and thought in my blog: http://quux.tumblr.com/post/46193078
 

montegard

Ars Scholae Palatinae
996
Okay, that sounds like far too much work. I name mine things like dc1, printsrvsec, staff-fs, sccm2007. Granted we still have under a hundred servers so I can see if you are geographically diverse using a city code but especially the one example ronelson gave is just far too long for a name. There are description fields or inventory databases you can use for all this minutia. Also I think in the instance of physical hardware a vinyl label can go a long way. We label the system, power cord with the plug it goes into, patch cord with the port it goes into and KVM with the port it goes into on the panels/PDU. Then all that information can be on your asset page when you have to do work on say Staff-fs, pull up and if needed print the page and you should have all pertinent info without having a gazillion character name.

PS I still recommend everyone give up and just name your servers LOTR/Simpsons/Star Wars themed names. OMG Where is Alderaan? I sense a great disturbance in the datacenter.
 
Originally posted by adminfoo:
Personally, I think a little too much effort is given to finding the perfect server (or client) name scheme. I'm especially not-fond of encoding functions, OS info, and locations into system names. We try to pre-build the perfect name scheme, and 3 years down the road we find we have painted ourselves into an uncomfortable corner!

I gave this a little more explication and thought in my blog: http://quux.tumblr.com/post/46193078

I read your blog and I have a few thoughts.
* Systems change over time. If SF-FS-01 (a fileserver) gets an AV signature server service added to it, do we have to rename the server to SF-FSAV-01? Or do we just live with the idea that our names aren’t as descriptive as they used to be?
I can see this one. The bulk of our servers single purpose but I could see this hitting someone else. I do like cyberchuck.nz's idea of rules for naming precedence.
* The computer name field is short. 15 characters is all you get. So you end up with rather cryptic names which can be …

* Hard to pronounce. If I’m talking to the guy in our (loud!) SF data center, and asking him to reboot SF-DC-01, but he instead reboots SF-BC-01, avoidable hilarity may ensue!
I skipped the dashes so that I would have more space. I do see your scenario regarding misunderstanding names. But that could happen to other names as well for instance at one point I had a server named diablo and a server named diabolik.
* Names become increasingly more cryptic, or people don’t apply them correctly. Some servers are SF-xx-xx, some are SFO-xx-xx. And what do we do about the servers in Redmond, WA, versus the ones in Redmond, OR? Or the fact that we now have two locations in Chicago?
This why I use unlocode, although something else might work. Redmond, WA would be XLC while Redmond, OR would be RMD. I add a numeral for each building, but you could also make the numeral stand for each floor or something else. Your Chicago sites would be CHI01 and CHI02.

This also requires some discipline on the part of IT; I feel that the iron fist is a good thing to have in IT in general. If they aren’t following naming standards what else aren’t they following? I’m also concerned with your comment regarding users naming their own machines. First I wouldn’t give them that control and second what if they name it something malicious?
* Name schemes paint us into corners when unexpected situations arise. Do we amend the name scheme and rename all systems to reflect the changes? Or do we live with the fact that we now have two or more different name schemes … and we can’t be sure which is which?
I have mutl for edge use. If your naming overall is not scaling then perhaps you could have a large switch over at some point? This also requires some consideration for scaling. I don’t have a 1000 servers but I try to setup things so that I could support a 1000 servers. If I had a 1000 I would be thinking about 10000.

We also maintain a wiki with pages on each machine that go into history, current config, location, service history, etc …

I do like your idea of putting the description felid to more use; I could defiantly see that being useful in my company.
 

LTParis

Ars Legatus Legionis
23,426
Subscriptor
We do simple location/device/number for our convention, although our servers have a simpler rule right now, come our server refresh that will change to the new convention:

HQSVR01 (main HQ)
SHSWI01 (shop switch)
ATFWL01 (atlanta firewall)
LSDSK001 (laguna seca desktop)
RELAP001 (remote user laptop)
WBWAP01 (white building wireless access point)
SEPRN01 (sebring printer)

You get the idea. If something needs a common name, like our DFS file server (called library) I use WINS and DNS names to point to it, that way if the convention changes the user's experience won't.
 
Originally posted by twdog:
This also requires some discipline on the part of IT; I feel that the iron fist is a good thing to have in IT in general. If they aren’t following naming standards what else aren’t they following? I’m also concerned with your comment regarding users naming their own machines. First I wouldn’t give them that control and second what if they name it something malicious?
I actually want to remove the iron fist of IT where it makes no sense to apply. I get frustrated with admins who want to treat all users like children by dictating such minor things as desktop backrounds. I also dislike the 'IT as guardian of good manners' role. I think by and large, if you treat people like adults they act like adults. Besides which, the user who sets a malicious/pornographic computername or desktop wallpaper is probably violating more basic sections of the AUP, and should get a sitdown with his boss.

So I don't mind giving the user these little bits of freedom which can't hurt the systems at all (at worst you have some prudish person reporting to HR "Bob named his PC 'f*ckyou'", and even this will be a fairly rare thing). And that user will probably enjoy the breath of fresh air it give him, and gain a correspondingly higher opinion of IT.

You had some other excellent thoughts, though. I don't present that plan as being the right one for every shop - just an alternative way of looking at the problem.
 

LordFrith

Ars Legatus Legionis
25,252
Subscriptor++
Originally posted by adminfoo:
Originally posted by twdog:
This also requires some discipline on the part of IT; I feel that the iron fist is a good thing to have in IT in general. If they aren’t following naming standards what else arenÂ’t they following? IÂ’m also concerned with your comment regarding users naming their own machines. First I wouldnÂ’t give them that control and second what if they name it something malicious?

I actually want to remove the iron fist of IT where it makes no sense to apply. I get frustrated with admins who want to treat all users like children by dictating such minor things as desktop backrounds. I also dislike the 'IT as guardian of good manners' role. I think by and large, if you treat people like adults they act like adults. Besides which, the user who sets a malicious/pornographic computername or desktop wallpaper is probably violating more basic sections of the AUP, and should get a sitdown with his boss.

So I don't mind giving the user these little bits of freedom which can't hurt the systems at all (at worst you have some prudish person reporting to HR "Bob named his PC 'f*ckyou'", and even this will be a fairly rare thing). And that user will probably enjoy the breath of fresh air it give him, and gain a correspondingly higher opinion of IT.


Completely agree, and where were you during the last time we had this discussion? -- :) --

I personally believe that client systems should have any name. Servers (in our size) are useful to have names based on place. clustername-rackname-rackposition, which makes it easy to find on the floor of a large datacenter. Now, of course, we probably have many more computers in a cluster than most people have total, so, ymmv.
 

ronelson

Ars Legatus Legionis
21,399
Subscriptor
Granted we still have under a hundred servers so I can see if you are geographically diverse using a city code but especially the one example ronelson gave is just far too long for a name.
It may be too long for some, but that is why you also have a short name. The long name is PERFECT for the guy in a remote data center on the other end of the world. I never even have to look it up in a database because the hostname itself tells the guy on the other end of the line where to look. This is important when 1) you have over 50 IDCs to support and 2) that person may or may not speak the same language as you.

In 99% of cases, though, we use the shortname, RTPNM100 - from there we can look up serial, OS, etc. in the database.
* Hard to pronounce. If I’m talking to the guy in our (loud!) SF data center, and asking him to reboot SF-DC-01, but he instead reboots SF-BC-01, avoidable hilarity may ensue!
You do know how to use a phonetic alphabet, right? Sierra Foxtrot Dash Delta Charlie Dash Zero One. No confusion.
And what do we do about the servers in Redmond, WA, versus the ones in Redmond, OR? Or the fact that we now have two locations in Chicago?
There's a magical code that is unique, at least within countries - airport codes! Personally, I wish we would use RDU instead of RTP, but they installed our shit before someone got wise. At least it's better than another group that used single letters. J = Secaucus, New Jersey, S = Sydney Australia. Now we have San Jose, CA...we ended up with 'V' for Valley -- :) --
 
Originally posted by adminfoo:
I actually want to remove the iron fist of IT where it makes no sense to apply. I get frustrated with admins who want to treat all users like children by dictating such minor things as desktop backrounds. I also dislike the 'IT as guardian of good manners' role. I think by and large, if you treat people like adults they act like adults. Besides which, the user who sets a malicious/pornographic computername or desktop wallpaper is probably violating more basic sections of the AUP, and should get a sitdown with his boss.

So I don't mind giving the user these little bits of freedom which can't hurt the systems at all (at worst you have some prudish person reporting to HR "Bob named his PC 'f*ckyou'", and even this will be a fairly rare thing). And that user will probably enjoy the breath of fresh air it give him, and gain a correspondingly higher opinion of IT.

You had some other excellent thoughts, though. I don't present that plan as being the right one for every shop - just an alternative way of looking at the problem.

I wanted to clarify that by malicious name I had something in mind like renaming their workstation to the name of an existing server or perhaps something like “porn server” and then load it up with malware trying to get someone to infect their desktop. I wasn’t thinking about names that might offend someone.

I'm going to drop the subject of giving rights to users its going OT and we’ll just have to agree to disagree. Maybe I’ll post some thoughts in the battlefront someday regarding users and the role of IT in the company.

A question for the people suggesting strictly location based names … what would you name a VM that doesn’t have a physical location? Would you name it based on the location of the host?
 
Originally posted by LordFrith:
Completely agree, and where were you during the last time we had this discussion? -- :) --

So I followed that link, and I read those four pages of heated debate ... over computernames. And I can only say ... wow. Some days I am ashamed to be a sysadmin.

It's clear that there are people who are quite passionate on this topic, and spend much time trying to devise The One Naming Scheme To Rule Them All. For the record, I have been one of these people. I've been the guy suggesting name schemes, and I have been the bastard at the other end of the table shooting down each proposal with increasingly zany (but still plausible! always, some shred of plausibility must be maintained!) "what if this happens" counter arguments. I have done this in small environments and I have done this in large environments (if you consider IBM large).

And having thought this thing through from one end to another and back again, then seen how those name schemes actually *worked* over the months and years following their introduction ... I have come to this conclusion:

itsatrap

You build your name scheme, and you police it, and you rename incorrectly-named-things, and you build automated audit systems to help you keep things groomed ... and one day you realize that you could have spent that time building a better multi-attribute inventory/ticketing system, rather than trying to cram many attributes into one poor little 15-char string, then keep it all straight. The harder you try to hold on to a name scheme in a reasonably complex and moving environment (let's toss in a few company acquisitions just for fun), the more your knuckles bleed.

But all this is just my take on the situation. I'm not trying to convert anyone, and won't argue all the little nuances of this, that, and the other thing. That other thread has been there, done that. If name schemes jazz you and the users are not lined up outside your cubicle with brass knuckles and wierd ninja weapons, then by all means, have at it.

But one day you'll be replaced. And so will your naming scheme. My non-naming scheme will probably face the same fate.

Please note, none of the above is meant as a slur or snark aimed at anyone in this thread or elsewhere in the world. It's just my own personal feelings on this topic, having been there and back again. If I go to work tomorrow for a boss who is married to his particular name scheme (or lose out in the cooperative discussion with my fellow admins), I'll sigh, smile, and pick up that thorny cross again.

One technote for twdog, who was civil in his response: how are they gonna steal an already assigned servername? AD's not gonna let them have it, and IT still runs the DNS servers (in case they're trying to name a standalone system). So they have a system which nothing else can find on the network. And I just don't see how a naming scheme is the first line of defense against "load it up with malware trying to get someone to infect their desktop". That person is gonna get a visit from HR no matter what his system is named.

-- View image here: http://lh3.ggpht.com/BryanLockwood/SKfGD7JsFKI/AAAAAAAAAVs/GkHJoYPqpdI/%5C%5Ccojones.org%5Cfiles%5Cusers%5Cbryan%5CDesktop%5Cdupename.PNG?imgmax=512 --
 

M. Jones

Ars Tribunus Angusticlavius
9,988
Originally posted by adminfoo:
So I don't mind giving the user these little bits of freedom which can't hurt the systems at all (at worst you have some prudish person reporting to HR "Bob named his PC 'f*ckyou'", and even this will be a fairly rare thing). And that user will probably enjoy the breath of fresh air it give him, and gain a correspondingly higher opinion of IT.

I agree. However, you have to remember there are a lot of IT managers out there who want to make sure an issue like this can never make it to HR. For whatever reason, they don't want to be perceived as being "the cause of the problem", even though we all know it's the employee or user who's the cause of the problem. Then there are those instances that some firms manage to get into where HR can't or won't do the job, yet HR needs to make sure no lawsuits can be filed against the company. Maybe it's an outside partner, extranet, contracting firm or something else.

I've been in a firm where it was said that no IT policies could be enforced, because HR wasn't going to take any action (for reasons I don't know). At the same time IT couldn't act unilaterally because of existing perception problems...
 

M. Jones

Ars Tribunus Angusticlavius
9,988
Originally posted by adminfoo:
Personally, I think a little too much effort is given to finding the perfect server (or client) name scheme. I'm especially not-fond of encoding functions, OS info, and locations into system names. We try to pre-build the perfect name scheme, and 3 years down the road we find we have painted ourselves into an uncomfortable corner!

I gave this a little more explication and thought in my blog: http://quux.tumblr.com/post/46193078

Having worked within systems imposed by others, I don't find a ton of value in them. I have some special-function hosts and a few Windows servers named by function now, but the general-purpose ones are given arbitrary names. As you mentioned in your blog entry, I've used HINFO/TXT records exported from a homegrown database in the past, and now mostly use /etc/motd for inline documentation until the ultimate management database gets built. Inline documentation is great for getting on track, and works for most anything with code or a config file (e.g., not for most Microsoft things).

We do leverage wikis for application and build documentation but haven't decided to use them for general host tracking yet.
 

Whittey

Ars Tribunus Militum
2,026
We name our servers by Owner|Description|Number. That description is really up to the guy building the box. Our desktops go by their asset tag number.

So for example:
UHDIAP0 - UH (owner), DI (diagnostic imaging), AP (application, though usually we use app), 0 (first one).
UHDIAP1 - Figure that one out
UHDIRP0 - RP would be reports.

In the end, I actually don't give two hoots what the server name is. An easier name to remember is key for me. I know UHDIAP0/1/etc. I know UHIMPACTMD. I know UHEFS01, 2, 3, 4 and 5. I may not know where they are in the datacenter, but that's why we have a map. Cluster names are all vSomethingAppropraite. vImpactMD for example. vsqla. vsqlb. No reason to make it rediculous. Want to know which datacenter they're in? Ping it. Being as we've only got two DC's, 10.202 = Nashville, 10.anythingelse = Cleveland.

I can only hope that people that name their machines by location don't have a reorg or consolidation project. Then you're fighting with disinformation, or redoing a ton of work on the client end just to make your DC easier to navigate.

And then, of course, is the magic of a CNAME. UHEFSSRV isn't really something that you want to tell a user. Using "userserver" for your home drive, "dataserver" for the main shared drive, etc. Again, easy names are key (just don't go overboard on the cnames).


-=Whittey=-
 

Vinnie Pasetta

Ars Scholae Palatinae
746
Originally posted by Whittey:
And then, of course, is the magic of a CNAME. UHEFSSRV isn't really something that you want to tell a user. Using "userserver" for your home drive, "dataserver" for the main shared drive, etc. Again, easy names are key (just don't go overboard on the cnames).


Or use Windows DFS shares so end user/low level techs do not even know the server name but instead use the domain as the first entry in a UNC path. -- :) --
 

Longbow_

Smack-Fu Master, in training
65
Ive found the following convention useful for my purposes. Company | 3 Character Country Code | Function | Instance #

For example:
SBXUSAFS01 - Sandbox Company, United States, File Server #1
NEAAUSPS03 - New Age Company, Australia, Print Server #3

etc,. I try not to dick around if theyre VMs or not, or what VMHost theyre supposed to be on. That gets moved around a lot.

What suits for you depends on your infrastructure and what kind of information you need from it.

I find the naming convention nice when youre working with a bevy of machines you can at least identify why everything is so slow when youre connecting to SBXINDTS01, when you really meant SBXUSATS01, etc,.

Text filtering is nice too, if you ever had a spreadsheet of computer names, oh I just want all Great Britain servers, or I just want all TS servers, etc,. Without having to add extra columns...
 

jantman

Seniorius Lurkius
5
I felt like I just have to throw something in here...

I work for a large (60,000+ user) educational institution. Each department has their own naming scheme for their systems - whether it be functional (i.e. web12), locational (bldg12-rm43-web6), or random (millenniumFalcon, hanSolo, homer, etc.).

My personal thoughts:
Hardware changes. Boxes go down. Services should stay up. I prefer to use CNAMES for everything client-facing. For actual host naming, in a departmental environment , I'm a big fan of a "random" naming convention - presidents, cartoon characters, etc. preceded by the department name, i.e. finance-lincoln, or netops-homer. (with a service-based CNAME).

IMHO, the questions that need to be answered in determining a naming convention (assuming CNAMES are used and the *actual* hostnames are really only needed by admin/ops staff) are:
1) How many names need to be remembered by an average admin? In a small organization, or a departmental context, a relatively low number would be easier to remember with meaningful words as names (characters, presidents, cars, etc.) rather than some formula (bldg123-rm32-rack6-machine4). However, if admins have large scope (say, one Linux admin group) and have to keep track of large numbers of machines, a formula would probably work better.
2) How much standardization needs to take place? Is it OK, at the largest organizational level, to have departments do their own thing, like finance-spongebob and ops-NSS02-hq?
3) Do logical groups of hosts need to be handled in the naming scheme? If so, how will that be done? I know departments that reserve logical groups of names (presidents, car manufacturers, stars, etc.) for clusters. My department has a number of similar machines distributed around campus, generally named like {function}{serial}-{building}{room}, so we may have media-campuscenter012, media-library025, and media2-library025.
 

signus-x

Seniorius Lurkius
35
In our naming convention, we specify production vs. test server, physical vs. virtual, site, and server type (application server, infrastructure, file, web) then a number.

For example we might have SPDETA508.

S - Production server
P - Physical server
DET - Detroit site
A - application server
508 - unique number

We break out our numbering also, so for example 400 - 499 might be for clustered servers, 500 - 599 might be for assembly line servers, etc.
 

M. Jones

Ars Tribunus Angusticlavius
9,988
Originally posted by jantman:
My personal thoughts:
Hardware changes. Boxes go down. Services should stay up. I prefer to use CNAMES for everything client-facing. For actual host naming, in a departmental environment , I'm a big fan of a "random" naming convention - presidents, cartoon characters, etc. preceded by the department name, i.e. finance-lincoln, or netops-homer. (with a service-based CNAME).
Aliases FTW. Trivial with many services (NTP, POP3, IMAP, SMTP, non-vhost HTTP), requires some configuration for others (HTTP/1.1 vhosts, SMB/CIFS, etc).
 
Status
Not open for further replies.