What’s everyone’s server naming scheme?

  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 hours ago

    In a business with tens of thousands of servers, it makes sense to have long complicated names.

    I’m actually not convinced of this approach. It’s one of those things that makes perfect logical sense when you say it - but in practice “DBDWWHORCLHHIP01” is just as meaningless as “Hercules”. And it’s a lot more difficult to say, remember and differentiate from “DBDWWHORCLHHID01”. You may as well just use UUIDs at that point.

    Humans are really good at associating names with things. It’s why people have names. We don’t call people “AMCAM601W” for a reason. Even in conversations you don’t rattle off the long initialism names of systems - you say “The <product> database”.

    • Tetsuo@jlai.lu
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 hours ago

      I think you choose a poor example.

      When I say long name I wasn’t implying meaningless ones.

      Most business with a lot of machines uses long names where everything as a logical meaning.

      [Site][service][Rack][User selected 8 chars name]

      I mean you dont have to use such obtuse names. But if you have a lot of servers you have to have a long name or you will risk exhausting the available names.

      I’m just saying long names dont have to be obtuse or confusing. You can use user selected names as a suffix to a more functional initial prefix. So that people who work this area of the infrastructure can have clear names but at the same time some other sys admin that never worked on it can still know where and who is responsible of the server.

      My initial point is just that the namespace and length of hostnames mostly depends on what you want to do. For a homelab you dont need wide namespace. But for a large business using short names wouldn’t be practical either.