Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This question already has an answer here:

I'm currently building a private servers farm with a thousand and thousand hosts, and I suddenly faced a really interesting question that I was unable to answer at the moment.

Is there a Standard ISO/Whatever for servers hostname attribution into a really large environnement?

For now, my puppet generate a random alphanumeric hostname that it not relevant for anyone connecting on the host.

That fine, and I'm able to connect to the correct server and service for maintenance because my puppet is managing all my host and link them to Nagios which has category etc.

But I'm really interesting to know if someone already faced this kind of question AND/OR if you have personal experience and testimony.

Many thanks!

share|improve this question

marked as duplicate by Iain, MadHatter, Tom O'Connor Feb 12 at 10:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
    
    
I don't think that the links answers to the question because it's mainly focus on PC Workstations where I'm rather focus on Server side, even if the RFC answer is something that I looking for. –  Dr I Feb 12 at 10:22

1 Answer 1

up vote 1 down vote accepted

I'm using a Proxmox cluster with a lot of container, and I use "technical" naming based on the container id, for example, container id 101 will give an hostname of vm101.internal-domain.tld and I try to map the private ip to the container id (actually I start from 1000 my id).

However, for long-lived container, I use a CNAME to describe and easily go back to it.

My naming convention is : 'generic to precise'.

Example:

My organization is named "acme", I've the acme.net domain. I'm working a project named "terminator", I'll have terminator.acme.net, now, if for example my terminator project have differents service like frontends, mysql, etc.

I'll name them like these:

  • production.mysql.terminator.acme.net
  • production.frontend01.terminator.acme.net
  • staging.mysql.terminator.acme.net

It works well for me.

So basically the pattern is {environnement}.{service}.{project}.{company}.net

share|improve this answer
    
I quit agree your nomenclature and I'll try to use it since I've got a single domain with many sub-organization. So mark your nomenclature as the correct one. –  Dr I Feb 13 at 15:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.