<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Naming Is A Hard Problem</title>
	<atom:link href="http://plathrop.tertiusfamily.net/blog/2009/01/20/naming-is-a-hard-problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://plathrop.tertiusfamily.net/blog/2009/01/20/naming-is-a-hard-problem/</link>
	<description>My thoughts on everything from Operations through Parenting and beyond.</description>
	<lastBuildDate>Tue, 18 May 2010 18:33:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nathan Milford</title>
		<link>http://plathrop.tertiusfamily.net/blog/2009/01/20/naming-is-a-hard-problem/comment-page-1/#comment-661</link>
		<dc:creator>Nathan Milford</dc:creator>
		<pubDate>Sat, 24 Apr 2010 02:03:23 +0000</pubDate>
		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/?p=31#comment-661</guid>
		<description>For small environments I use Kurosawa films (yojimbo, rashmon, etc..), I&#039;m a fan.

When I first started at outbrain the functionality of machines and what app was deployed on each one changed somewhat often. We had se1, be4, ofl2, api24 &amp; mysql4 all running Solr at one point.

It was frustrating.

We&#039;re moving to a generic host naming scheme that works thus:

ob + environment + last IP octet.

Where environment 1 is NYDC1 App VLAN,or 2 might be LADC2 Web VLAN.

So 192.168.252.4/24 is in our first NY Datacenter&#039;s app VLAN so it&#039;s hostname would be: ob1004.

Then I give it a cname related to it&#039;s function like api*, mysql*, cass* and also I create a TXT record that a bash script grabs it&#039;s prompt info from which ultimately looks like:

(ob1004)(nathan@ofl2:~)$

This makes it easy on the developers and Q&amp;A folks who need to get on a specific machine and it makes it easy on me since I don&#039;t need to change a mass of stuff if a machine&#039;s purpose changes.

- n</description>
		<content:encoded><![CDATA[<p>For small environments I use Kurosawa films (yojimbo, rashmon, etc..), I&#8217;m a fan.</p>
<p>When I first started at outbrain the functionality of machines and what app was deployed on each one changed somewhat often. We had se1, be4, ofl2, api24 &amp; mysql4 all running Solr at one point.</p>
<p>It was frustrating.</p>
<p>We&#8217;re moving to a generic host naming scheme that works thus:</p>
<p>ob + environment + last IP octet.</p>
<p>Where environment 1 is NYDC1 App VLAN,or 2 might be LADC2 Web VLAN.</p>
<p>So 192.168.252.4/24 is in our first NY Datacenter&#8217;s app VLAN so it&#8217;s hostname would be: ob1004.</p>
<p>Then I give it a cname related to it&#8217;s function like api*, mysql*, cass* and also I create a TXT record that a bash script grabs it&#8217;s prompt info from which ultimately looks like:</p>
<p>(ob1004)(nathan@ofl2:~)$</p>
<p>This makes it easy on the developers and Q&amp;A folks who need to get on a specific machine and it makes it easy on me since I don&#8217;t need to change a mass of stuff if a machine&#8217;s purpose changes.</p>
<p>- n</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: plathrop</title>
		<link>http://plathrop.tertiusfamily.net/blog/2009/01/20/naming-is-a-hard-problem/comment-page-1/#comment-660</link>
		<dc:creator>plathrop</dc:creator>
		<pubDate>Thu, 29 Jan 2009 01:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/?p=31#comment-660</guid>
		<description>I completely disagree with you here, actually. CNAMEs grant you a HUGE benefit when you want to move a service from one machine/cluster to another. Fail-over becomes as simple as updating the CNAME.

I used to follow the idea of functional names with meta-data until I started working on large-scale installations with a lot of re-purposing of servers.</description>
		<content:encoded><![CDATA[<p>I completely disagree with you here, actually. CNAMEs grant you a HUGE benefit when you want to move a service from one machine/cluster to another. Fail-over becomes as simple as updating the CNAME.</p>
<p>I used to follow the idea of functional names with meta-data until I started working on large-scale installations with a lot of re-purposing of servers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: plathrop</title>
		<link>http://plathrop.tertiusfamily.net/blog/2009/01/20/naming-is-a-hard-problem/comment-page-1/#comment-659</link>
		<dc:creator>plathrop</dc:creator>
		<pubDate>Thu, 29 Jan 2009 01:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/?p=31#comment-659</guid>
		<description>But what do you do when you move the server to a different rack location? Or repurpose it from a app/dns/whatever to something else?</description>
		<content:encoded><![CDATA[<p>But what do you do when you move the server to a different rack location? Or repurpose it from a app/dns/whatever to something else?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: plathrop</title>
		<link>http://plathrop.tertiusfamily.net/blog/2009/01/20/naming-is-a-hard-problem/comment-page-1/#comment-658</link>
		<dc:creator>plathrop</dc:creator>
		<pubDate>Thu, 29 Jan 2009 01:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/?p=31#comment-658</guid>
		<description>I like themes a lot, but I have definitely run into issues before. I think hostnames shouldn&#039;t matter as much as they do.</description>
		<content:encoded><![CDATA[<p>I like themes a lot, but I have definitely run into issues before. I think hostnames shouldn&#8217;t matter as much as they do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: egon</title>
		<link>http://plathrop.tertiusfamily.net/blog/2009/01/20/naming-is-a-hard-problem/comment-page-1/#comment-657</link>
		<dc:creator>egon</dc:creator>
		<pubDate>Thu, 29 Jan 2009 00:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/?p=31#comment-657</guid>
		<description>I use arbitrary names for sets of machines that are distinct.  Names of the moons of Jupiter, literature mentioned in &quot;Ghostbusters&quot;, interesting words from the dictionary...

For clusters or grids of machines, or pooled common machines, I use functional or positional names.  app1,app2,appN : dns1,dns2, or r1p1,r1p2 for names of machines that fill up rack 1, all of which are in a common cluster or grid.</description>
		<content:encoded><![CDATA[<p>I use arbitrary names for sets of machines that are distinct.  Names of the moons of Jupiter, literature mentioned in &#8220;Ghostbusters&#8221;, interesting words from the dictionary&#8230;</p>
<p>For clusters or grids of machines, or pooled common machines, I use functional or positional names.  app1,app2,appN : dns1,dns2, or r1p1,r1p2 for names of machines that fill up rack 1, all of which are in a common cluster or grid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://plathrop.tertiusfamily.net/blog/2009/01/20/naming-is-a-hard-problem/comment-page-1/#comment-656</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Wed, 28 Jan 2009 15:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/?p=31#comment-656</guid>
		<description>I work with a guy who uses names of Transformers.</description>
		<content:encoded><![CDATA[<p>I work with a guy who uses names of Transformers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jtimberman</title>
		<link>http://plathrop.tertiusfamily.net/blog/2009/01/20/naming-is-a-hard-problem/comment-page-1/#comment-655</link>
		<dc:creator>jtimberman</dc:creator>
		<pubDate>Wed, 21 Jan 2009 01:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://plathrop.tertiusfamily.net/blog/?p=31#comment-655</guid>
		<description>I like being able to look at a hostname or fqdn and know what function that server provides, optionally which environment it belongs to. For example:

web1prod
web1.prod.example.com

For multiple customer systems in a hosted environment that have the same domain:

custid-web1prod
web1prod.custid.example.com

Etc.

I don&#039;t like &quot;theme&quot; hostnames. They&#039;re not useful, especially in an environment that has high sysadmin turnover or even growth, because then each new person needs to be trained to know that systems named after star wars planets are web servers and star trek races are database servers. &quot;What does chewbacca do again?&quot; Sure, CNAMEs can be used, but thats extra hassle for very little practical gain. 

Instead, have fun with comments in your configuration code and git commit messages :-).</description>
		<content:encoded><![CDATA[<p>I like being able to look at a hostname or fqdn and know what function that server provides, optionally which environment it belongs to. For example:</p>
<p>web1prod<br />
web1.prod.example.com</p>
<p>For multiple customer systems in a hosted environment that have the same domain:</p>
<p>custid-web1prod<br />
web1prod.custid.example.com</p>
<p>Etc.</p>
<p>I don&#8217;t like &#8220;theme&#8221; hostnames. They&#8217;re not useful, especially in an environment that has high sysadmin turnover or even growth, because then each new person needs to be trained to know that systems named after star wars planets are web servers and star trek races are database servers. &#8220;What does chewbacca do again?&#8221; Sure, CNAMEs can be used, but thats extra hassle for very little practical gain. </p>
<p>Instead, have fun with comments in your configuration code and git commit messages <img src='http://plathrop.tertiusfamily.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
</channel>
</rss>
