LWN: Comments on "Fishy business" http://lwn.net/Articles/377103/ This is a special feed containing comments posted to the individual LWN article titled "Fishy business". hourly 2 Real machines vs. single-serving http://lwn.net/Articles/377825/rss 2010-03-09T10:53:17+00:00 dion <div class="FormattedComment"> Something strange happens when you start using tons of virtual machines, in stead of maintaining every machine and putting more services on it, every virtual machine tends to become a wrapper around a single service, once that service is no longer needed the vm is simply deleted.<br> <p> In the case of virtual machines that are created on demand and are sure to get nuked when they have served their purpose, I can certainly see a good reason for using function oriented names, because that name doesn't ever grow stale and once you have 17 similar servers doing pretty much the same thing then it becomes quite boring to come up with names and equally pointless.<br> <p> I have no need to name single-use build slaves, so they are simply xp-1, xp-2, xp-3 and so on, no human typically interacts with the machines in their entire lifetime (about a day) before they are deleted and re-created from the master image.<br> <p> For real, actual machines I still want an abstract name that have nothing at all to do with function and point function oriented CNAMEs at it as needed.<br> <p> <p> </div> Fishy business http://lwn.net/Articles/377754/rss 2010-03-08T18:28:59+00:00 nix <div class="FormattedComment"> In a past job, I had the great pleasure of sending the sysadmins a copy of <br> RFC2100 with the addition 'Learn, guys', when they decided, overnight, to <br> rename all our development systems from names like neptune and tabernacle <br> to nice memorable names like, if I can reconstruct one of <br> them, 'cddldsbgcorplr42-1' which encoded not just that this was a <br> development machine but the current name of the company and division and <br> the machine's *rack number* and location on its rack, with the declared <br> intention of changing this name whenever the company or division changed <br> names or the machine was reracked. (This was an improvement over their <br> previous edict, which was that all machines should be named after their IP <br> address. Even those getting their addresses from DHCP.)<br> <p> (despite that name: this machine was not in Utah. 'lds' meant 'London <br> development centre' or something like that. Centre starts with an 's', <br> donchaknow.)<br> <p> I found out later that said sysadmins didn't know what CNAMEs were. So <br> thanks for writing RFC2100: it started the painful process of imparting <br> Clue in this case, specifically that a machine can have many names.<br> <p> </div> Code names http://lwn.net/Articles/377728/rss 2010-03-08T17:37:22+00:00 jeremiah <div class="FormattedComment"> I never said I was trustworthy or that I could spell. Only that my life has been easier after moving <br> from code names to role based names, in a virtualized environment w/ one service per server. <br> Perhaps a hybrid approach would work best. With dns-1 and dns-2 as the hostnames and dns <br> as the CNAME? I realize that I'm beating a dead horse here, but let me continue anyway, since <br> this discussion will make me better at what I do, and therefor is more about understanding, than <br> arguing a point. <br> <p> I have 40+ fibre channel LUNS, in most cases each LUN represents server/service. Each has a <br> number and WWN associated with it. I can map a WWN to a NAME which is represents a target <br> WWN. no DNS here. I also have FC switches which need mapping as well, zone names etc. I have <br> 8 blades each of which has the ability to have 16 named LPARS. I also have wiki-documentation <br> for each complete mapping (IP,name,MAC,LUN,LPAR,VLAN,etc). The only thing that is constant in <br> this mess is the service that the machine is performing, and the IP address where it can be <br> found. Perhaps this is where the issue arises, in that in everyone else's experience, the IP <br> address and the Service are disconnected as well. When I bring a new replacement system online <br> I either copy it from a hardened clean copy, or the currently running copy, and run that LUN on a <br> different blade where I can test it etc. Then shut both the old and the new systems down, switch <br> the LUN mapping, and bring the new one up. This takes 2 - 5 min tops, which in my <br> environment, is fine. I don't have to change any DNS entries, logging, intrusion detection, etc. All <br> I have to do is change one entry on a fibre-channel controller. <br> <p> After reading what I have written, maybe I am 'slicing' and 'dicing' but at a different level, than <br> CNAMES. Because my LUNS are just numbers that I can't really control. And If I could, they would <br> become DNS-1,DNS-2,DNS-3. I will say though, that when trying to diagnose a problem, it <br> helps immensely to have strict naming conventions on every piece and configuration. <br> </div> Code names http://lwn.net/Articles/377718/rss 2010-03-08T16:04:20+00:00 Baylink <div class="FormattedComment"> I would say "well, if we can't trust you to spell 'slicing' and 'dicing' properly, then..." but Jon wants us to be polite and respectful. <br> <p> So I won't. :-)<br> <p> Seriously, though: the issue has to do with replacing machines. There are often cases where you *cannot* have two machines existing in the world with the same name; most of these have to do with commercial licensing and other related stupidities.<br> <p> If you're in such a regime, then you have no other real choice: the machine's "true name" has to be something new, different, and arbitrary -- the last because we've already established that it *can't* be the same name as the box it's replacing, which would then have to already have the functional name.<br> <p> If you're replacing one outbound FTP server with another already configured server, you drop in the replacement, test it, and then "swing" the DNS CNAME to point to it (as telco guys used to swing jumpers on switch frames at 2am on Sundays on Big Switch Cuts), and you're done.<br> <p> No muss, no fuss. <br> <p> But AEleen, Evi, or Tom can probably explain this to you much better than I can. :-)<br> </div> Fishy business http://lwn.net/Articles/377717/rss 2010-03-08T15:58:42+00:00 Baylink <div class="FormattedComment"> Speaking as an author of published research on this topic, Jeremiah (RFC 2100, to be precise), let me tell you that assigning to a machine a role based name is pretty much the Worst Imaginable Idea; any number of system administration textbooks (including the Purple Book and TPOSANA) can explain to you why in more detail than I have the time for right now.<br> <p> You're perfectly welcome -- and in fact, encouraged -- to assign *DNS aliases* to them that are function/role based, but don't name the *machines* that.<br> <p> Really. <br> <p> Your replacement will thank you. ;-)<br> </div> Fishy business http://lwn.net/Articles/377715/rss 2010-03-08T15:54:46+00:00 Baylink <div class="FormattedComment"> Who did dat?<br> <p> That's classic, classic stuff. :-)<br> <p> In other news: please lets not ever have *any* arguments that internal project names appearing on or in files ever infringe on any trademarks in any way in any jurisdiction, cause it's Just Not So.<br> </div> Code names http://lwn.net/Articles/377634/rss 2010-03-06T21:59:13+00:00 jeremiah <div class="FormattedComment"> yeah, but why should the names be different? esp. when all of the iptables rules, and routing are <br> by ip, and not name. And what could be more meaningful than staffvpn.x or clientvpn.x or dns.x or <br> ntp.x, web.y, etc? By keeping the hostnames the same, automated searches against centralized <br> syslogs never have to be changed, dns never has to be changed. I'm curious what benefit you <br> would get from sliceing-and-diceing?<br> </div> Code names http://lwn.net/Articles/377622/rss 2010-03-06T19:50:52+00:00 nix <div class="FormattedComment"> Um, we could always do the slice-and-dice dance. You give the server a <br> meaningful, memorable name, and a role-based CNAME.<br> </div> Code names http://lwn.net/Articles/377604/rss 2010-03-06T18:27:56+00:00 jeremiah <div class="FormattedComment"> Maybe that's what's tickling the back of my head, that they aren't code names, but handles. And <br> I find handles non-informative. There just seems to be this urge out there for cuteness. I'm not <br> going to win any argument on the topic, but it's nice to know what peoples reasons are. <br> <p> <p> As for server name, you can see my other post, which basically says virtualization and pool based <br> hardware enables s to names servers after services, because we can slice and dice a lot more <br> easily than we used to.<br> <p> <p> I love being able upgrade a server, and make sure that the one service running on it works, and <br> cal it a day. Or to clone a server, upgrade the close, and drop it into place, and delete the <br> original, without having to point to some other ip address etc, and then run down everything <br> that's screwed up, because we used a different name. And the best over all is being able to build <br> a completely new infrastructure one server/service at a time, and dropping them into place w/o <br> having to change anything else, or even being able to roll back those changes by putting in/ <br> bringing up the old server. <br> <p> <p> <p> </div> Fishy business http://lwn.net/Articles/377601/rss 2010-03-06T18:11:38+00:00 jeremiah <div class="FormattedComment"> Admittedly my internal product names are contrived, but as coders and what not, we are exports <br> at the TLA. So in daily use it would probably reduce to sls, and sle with some versioning tagged <br> on to the end. And as for say this to marketing, they can have there own external name, they <br> don't really need to know the internal one do they, since there going to be changing it all the <br> time anyway? <br> <p> <p> As for the servers, I've figured out where you and i differ. One of the things I do when wearing <br> my sysadmin hat as opposed to my developer hat, is PCI-DSS compliance for a payment <br> gateway. If you haven't done it, just know that it tedious to an extreme, but over all a good thing. <br> One of the things that it bring to the table, is that every service lives on a different server, to <br> minimize exposer from external threats. This is why we had an explosion in the number of <br> servers, but has enabled us to have a 1 to 1 service to server name based infrastructure. <br> Obviously no one is going to throw real hardware at a lot of these services, so most are handled <br> with virtualization. But each of those servers is named for its function as well which HBS-1 or <br> whatever. Combined with the Fibre channel LUN that one service/server or another is stored on. <br> Needless to say, we have a lot of infrastructure to manage, and it's all pool based. So the need <br> and the ability to name things according to service makes all of this manageable. Right now, I <br> manage 120+ servers, so it's all about manageability. <br> <p> I guess it's an apples to oranges kinda thing, in that I would not run the mail server, file server, <br> and other things on the same box, but that's a luxury I have and other may not. <br> </div> Code names http://lwn.net/Articles/377599/rss 2010-03-06T17:48:06+00:00 giraffedata <P>Product code names used to be actual code names, not at all the same thing as naming a file server "penguin." A <em>code</em> name is designed to obscure the identity of the thing named. <p> I worked for IBM in the days when it was the leader in just about every product line it had. Competitors had to wait to see what IBM produced in order to know what to produce themselves as alternatives. IBM had a lot to lose from people finding out what projects were going on in the company, so it not only gave the projects code names, but changed those names every year or two to keep the outsiders guessing as internal documents leaked out. <p> It's my impression that few companies today benefit from keeping it a secret what they're working on (I mean what the goal is, not how the company is doing it). So the name of a project isn't code at all -- just a handle. <p> "Telephone handset" would not be an adequate name, since the company probably discusses lots of potential handset products other than Swordfish. "Dream" (what the users will eventually call it) is not really practical because you want to work on a project long before it's time to nail down the marketing strategy. So we're left with arbitrary names. <p> Now, to the topic of giving cute names to things like servers as opposed to naming them after their function: I struggled with this for a long time and eventually concluded that purely symbolic (content-free) names are the best way to go, because it gives me more flexibility. Renaming occasionally seems to be a bigger pain than the additional step of connecting the name with the thing named every time. Fishy business http://lwn.net/Articles/377594/rss 2010-03-06T16:22:39+00:00 bronson <div class="FormattedComment"> At a previous company, we ran the mail server, file server, and hosted the <br> administrator home directories on the same machine (the devs had bigger <br> home dirs and required less uptime so they were on a different box). What <br> name would you propose for this machine?<br> <p> Now, let's say you move the mail server to a different host. Does the <br> hostname of the file server change too?<br> <p> As for your product branch examples, ssl-vpn-smb-v1 is awfully tedious to <br> pronounce. Can you picture saying this to marketing execs in face-to-face <br> meetings?<br> <p> Also, that seems pretty hard to remember. Is that smb-ssl-vpn-v1, or<br> vpn-smb-v1, or...? When typing it into an email, you'd probably have to <br> look it up to make sure you got it right.<br> <p> I agree, it's easy for pinhead manager go overboard on code names and sink <br> his team in a sea of jargon. However, in my experience, refusing to use <br> code names at all ends up being equally painful.<br> </div> Fishy business http://lwn.net/Articles/377590/rss 2010-03-06T15:55:26+00:00 jeremiah <div class="FormattedComment"> I guess I should have been more clear in my rant...<br> <p> I do agree hat everything needs a unique name, but I think it gets weird naming things after <br> other things, than it does naming them after what they do, or something like that.<br> <p> <p> example main file server used to be named 'penguin'<br> main firewall used to be named 'phoenix'<br> <p> now there are more along the lines of 'firewall.x' and 'fileserver.x'<br> <p> Perhaps this is more of a hardware/sysadmin issue than a software/development issue.<br> <p> but take a look at fedora for example FC13 vs. 'fleshy penguin' or whatever. I personally like <br> names that mean something. I realize that marketing/ someone is going to frig with the name. <br> But why wouldn't you use an internal name with meaning?<br> <p> example ssl-vpn-smb-v1, ssl-vpn-ent-v3, or whatever made since to the original developer. <br> I'm criticizing I'm just curious? I've had to come into to many projects where the LACK of a <br> meaningful internal name caused problems. <br> <p> </div> Fishy business http://lwn.net/Articles/377587/rss 2010-03-06T15:21:26+00:00 bronson <div class="FormattedComment"> You can get away with not using code names on small teams with a few deliverables.<br> <p> On large teams, though, they're absolutely essential. Otherwise you spend entire paragraphs trying to figure out what everybody's talking about.<br> <p> "Hey, was this change meant for the SSL-VPN product?"<br> "Which one, SMB or the enterprise?"<br> "SMB VPN doesn't exist anymore. Last week marketing renamed it to MyProtect."<br> "Ah. OK, was this change supposed to be in MyProtect?"<br> "Yeah, but not the hotfix. The main release."<br> "You know it was delayed for the URL rewrite feature?"<br> "Which, the hotfix or the main release?"<br> "The hotfix needed more attention so we rolled it into last week's staging. They're both in the main release now."<br> "Oh. OK, no, this is meant for the release after that."<br> <p> vs.<br> <p> "Hey, was this change meant for Sturgeon?"<br> "No, it's for Tilapia."<br> <p> I speak from experience... *shudder*<br> <p> </div> Fishy business http://lwn.net/Articles/377496/rss 2010-03-05T16:53:59+00:00 jeremiah <div class="FormattedComment"> After years of naming things after stuff, and then at some point do a lack of creativity or caring on <br> my part. I've come to the conclusion that code names are dumb. Yeah you can get exited about the <br> cool name and what not, but at some point in time your going to have to teach someone else what <br> it actually means, or your going to forget. <br> <p> We used to name all of our servers after birds, this was fine when there were 3 or 4 of them. After <br> 30+ this was no longer any fun, but a problem. <br> <p> Sorry folks, just needed to rant.<br> </div> Fishy business http://lwn.net/Articles/377396/rss 2010-03-04T22:33:32+00:00 dion <div class="FormattedComment"> Thy will be done: <a href="http://fuchsia.bikeshed.org/">http://fuchsia.bikeshed.org/</a><br> <p> ... Funny that I'll most likely be running into PHK tomorrow:)<br> </div> Fishy business http://lwn.net/Articles/377248/rss 2010-03-04T14:36:57+00:00 nix <div class="FormattedComment"> "The password is always 'swordfish'"? Oh no, the kernel is Marxist! ;}<br> <p> </div> Keep a bit of character http://lwn.net/Articles/377221/rss 2010-03-04T12:49:15+00:00 Oddscurity <div class="FormattedComment"> Exactly, I'm going to be happy when I can install a vanilla kernel on my seabass from now, the mutation can be loaded as a module and its temper can be set via debugfs.<br> </div> Keep a bit of character http://lwn.net/Articles/377214/rss 2010-03-04T11:21:59+00:00 epa <div class="FormattedComment"> One of the pleasures of browsing the kernel source is to see the original (non-marketing) codenames for devices - 'Spock', the 'Happy Meal' and so on (sorry if these examples are ancient, it's been a long time since I have needed to build a kernel). Non-technical users are never going to see the source code anyway, so why worry about confusing them?<br> </div> Fishy business http://lwn.net/Articles/377203/rss 2010-03-04T09:59:51+00:00 djm <div class="FormattedComment"> I demand the bikeshed be painted fuchsia.<br> </div>