- From: Ryan Dooley <
>
- To:
- Subject: [chef] Re: Hostname Naming Strategies
- Date: Thu, 05 Aug 2010 14:07:48 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=Qr01PDBxzeF6oHlNyNiYkK8hIfQYXdxhhQFqo48AhMh3PECFVwJ3VD1lYr88PCVow2 J3v8GSxSR/AnmnoAz+d1vimplMeTlBkVdhwV3XzVc9HGalKJ55R7pD1C8BSNbHVSg7lT ouJLgBjfkNo55lzedIGqCS9k7Ceg9D0Df1wFk=
On 8/5/2010 1:01 PM, Ryan Chavez wrote:
>
Hi All,
>
>
We're starting to think through more of our infrastructure work, and I'm
>
curious how you all approach naming your boxes. We were thinking a simple
>
prefix followed by an index that increments with each new box that starts
>
up. But we're wondering what the best way is to manage that counter. Is
>
that something you all delegate to the opscode server?
>
>
And how do you deal with host names when you scale up/down capacity?
>
>
We're trying to figure this stuff out on our own, so looking to learn from
>
those who have been down this road already.
>
>
Thanks!
>
Ryan Chavez
Machine names (well, A records) should not convey function is pretty
much the rule we lived by here at Powerset.
Our machines are named something like this:
aa0-006-4.u.powerset.com
aa = the data center
0 = the network core
006 = the switch number in the data center (switches are named
aa0-006.u.powerset.com)
4 = the switch port.
u.powerset.com is our giant DDNS zone where all of our hosts live.
All the 'details' for a host, such as the data centers physical address,
the model of the switch or the host, are all in our inventory database
we call Boltz.
If we have to associate a function with a machine we use CNAMEs which
follow the convention:
fucntion.datacenter.powerset.com (e.g. ganglia.aa.powerset.com)
function might be something like nagios or ganglia
datacenter follows the hosts naming structure above.
Cheers,
Ryan
Archive powered by MHonArc 2.6.16.