<div dir="ltr"><div>There are tons of different views on how to name a machine. And there is even an RFC on the subject [1]. Every idea has their own merit but I'll try and summarize my view:<br><br></div><div>Hostnames should be:<br>
</div><div> - Short (This is of course relative, but I shouldn't have to type 35+ characters to reach a machine.)<br></div><div> - Easily remembered ( see above ^ )<br></div><div> - Human Readable ( Actually, pronounceable and writeable, thus dis-ambiguous )<br>
</div><div> - English Language<br></div><div> - Preferably without numbers, there are accepted occasions like clusters etc. <br></div><div> - Non-descriptive<br></div><div> - Themed (if they "belong" with each other in some way)<br>
</div><div> - Unique (within the complete domain structure / organization, not globally unique)<br><br></div><div>Hostnames should NOT:<br></div><div> - Contain a location or "on premises"-identification (especially virtual, "on premise"-identification can be ok if these are "hidden" from the "public")<br>
</div><div> - Contain VLAN information<br></div><div> - Contain IP-information (Seriously, its DNS for a reason)<br></div><div> - Be tied to a project name / function<br></div><div> - Be tied to a brand from a vendor<br></div>
<div><br></div><div>Why is this good?<br></div><div> - It makes it easy to remember<br></div><div> - Easy to inform / communicate<br></div><div> - Secure (does not give away information) <br></div><div> - Does not add confusion<br>
</div><div> - Does not introduce bugs <br></div><div><br></div><div>What is the easiest way to achieve this?<br></div><div> - Themed hostnames, pick a well known theme, say, The Simpsons. Homer, Marge, Lisa, Bart, Grandpa, Selma etc. <br>
</div><div> - Add this theme to a specific service, say, webservers.<br></div><div><br></div><div>I think you get the jest. <br><br>With that being said, we have a naming convention already, which in my mind looks a little something like:<br>
<br></div><div>Physical Servers: <br></div><div><provider>#.<a href="http://ovirt.org">ovirt.org</a><br><br></div><div>Virtual Servers:<br></div><div><provider>#.<a href="http://ovirt.org">ovirt.org</a><br><br>
Service name:<br></div><div><servicename>.<a href="http://ovirt.org">ovirt.org</a><br><br></div><div>What I could argue, about the above, is that the convention for Virtual Servers should not be "<provider>#.<a href="http://ovirt.org">ovirt.org</a>" but rather a non-descriptive themed name. <br>
<br>Why is this? <br>Well, ponder the theoretical example that we want to remove our account at linode, thus, remove "<a href="http://linode01.ovirt.org">linode01.ovirt.org</a>" but we want to keep the services it provides. If we'd pick a non-descriptive neutral themed name, this VM can easily be moved elsewhere without any updates other then redirecting the DNS-name.<br>
<br></div><div>This is the point where people argue, "Sure, but we are smart and use CNAMEs for our services, noone uses "<a href="http://linode01.ovirt.org">linode01.ovirt.org</a>" as a reference directly." At which point I simply answer, "Im totally fine with that, but I dont think that's true. Its an ideal, a good one at that, but not how it works.".<br>
<br></div><div>Not only that, What if, say, we have... "<a href="http://oursupervm01.ovirt.org">oursupervm01.ovirt.org</a>" that has a geo-replication between Alterway and Rackspace locations since it is super important to us. And then it moves in between these sites without us having to worry about it. (Sure, there are quite a bit of work needed to be done before this can be achieved, but I think you see my point).<br>
<br></div><div>Ah well that's my one, two, three ce... euros for this discussion.<br></div><div></div><div><br>[1] - <a href="http://tools.ietf.org/html/rfc1178">http://tools.ietf.org/html/rfc1178</a><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Apr 4, 2013 at 1:37 AM, Karsten 'quaid' Wade <span dir="ltr"><<a href="mailto:kwade@redhat.com" target="_blank">kwade@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 04/03/2013 12:02 AM, Alexander Rydekull wrote:<br>
> I vote for <non_descriptive_name_of_function> as a hostname, first of all.<br>
<br>
</div>Meaning, we pick a theme and name hosts based on that? Flowers, baked<br>
goods, Asgardians, etc.<br>
<br>
I suppose I'm the one who starting us on the <name_by_location> and<br>
generally supported <descriptive_name_of_function>. Curious what your<br>
objection is to the latter?<br>
<br>
I think <a href="http://engine.alterway.ovirt.org" target="_blank">engine.alterway.ovirt.org</a> has a nice flow to it, but I like long<br>
subdomains. :)<br>
<br>
- Karsten<br>
<div><div class="h5"><br>
> But to keep with the theme of what we have, I vote for engine01 or<br>
> manager01 or whatever.<br>
><br>
><br>
> On Wed, Apr 3, 2013 at 12:41 AM, Ewoud Kohl van Wijngaarden <<br>
> <a href="mailto:ewoud%2Bovirt@kohlvanwijngaarden.nl">ewoud+ovirt@kohlvanwijngaarden.nl</a>> wrote:<br>
><br>
>> On Mon, Mar 25, 2013 at 06:05:07AM -0400, Eyal Edri wrote:<br>
>>> I'm guessing we'd want to give the instance a proper fqdn -><br>
>>> "<a href="http://manager01.ovirt.org" target="_blank">manager01.ovirt.org</a>", "<a href="http://engine.ovirt.org" target="_blank">engine.ovirt.org</a>" ?<br>
>><br>
>> I dislike those options. manager01 (to me) implies a cluster where each<br>
>> managerXX is a node. engine implies there is only one which won't be<br>
>> true since we'll set up another engine at rackspace. I'd prefer to have<br>
>> one, but as far as I know this is currently not possible (and maybe due<br>
>> to latency even a bad idea).<br>
>><br>
>> How about <a href="http://engine.alterway.ovirt.org" target="_blank">engine.alterway.ovirt.org</a>, <a href="http://engine-alterway.ovirt.org" target="_blank">engine-alterway.ovirt.org</a> or<br>
>> <a href="http://alterway-engine.ovirt.org" target="_blank">alterway-engine.ovirt.org</a>?<br>
>> _______________________________________________<br>
>> Infra mailing list<br>
>> <a href="mailto:Infra@ovirt.org">Infra@ovirt.org</a><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/infra" target="_blank">http://lists.ovirt.org/mailman/listinfo/infra</a><br>
>><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Infra mailing list<br>
> <a href="mailto:Infra@ovirt.org">Infra@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/infra" target="_blank">http://lists.ovirt.org/mailman/listinfo/infra</a><br>
><br>
<br>
<br>
--<br>
</div></div>Karsten 'quaid' Wade, Sr. Analyst - Community Growth<br>
<a href="http://TheOpenSourceWay.org" target="_blank">http://TheOpenSourceWay.org</a> .^\ <a href="http://community.redhat.com" target="_blank">http://community.redhat.com</a><br>
@quaid (<a href="http://identi.ca/twitter/IRC" target="_blank">identi.ca/twitter/IRC</a>) \v' gpg: AD0E0C41<br>
<br>
<br>_______________________________________________<br>
Infra mailing list<br>
<a href="mailto:Infra@ovirt.org">Infra@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/infra" target="_blank">http://lists.ovirt.org/mailman/listinfo/infra</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>/Alexander Rydekull
</div>