I’ve ended up with a number of machines on my network, and a need to name them all in a somewhat logical way. For several years I had them named after the planets, which worked well until the PCs for myself, my girlfriend, servers and Raspberry Pi’s quickly summed up to more than the eight planets. I’ve broadened it somewhat to include any Greek/Roman mythological figure, but the system is definitely not as clean as it used to be.

Do you have a coordinated naming theme for your machines?

  • @wheelcountry
    link
    English
    81 year ago

    Personally I use corporate-like naming scheme for my devices, the format is:

    [AABB-CCCC-DDEE]

    AA: Location of the device - HQ (home), CL (cloud).
    BB: Role of the device - HV (hypervisor), SV (server), NW (network) and workstation (WS).
    CCCC: Device brand (for NW), application running (for SV), and workstation purpose (for WS).
    DD: For server and workstation - OS running on the device (WN=Windows, LX=Linux, MA=macOS). For network device - their role on network (RT=router, AP=access point, SW=switch).
    EE: # of the device, year of purchase for WS.

    For example, here’s my router, KASM server and my gaming PC hostnames:

    HQNW-UBNT-RT01
    HQSV-KASM-LX01
    HQWS-GAME-WN16
    

    Still trying to optimize this naming scheme, like removing all the dash, but currently too lazy to do it lol.

    • @knaak
      link
      English
      11 year ago

      My kubernetes cluster is k3s1, k3s2, k3w1, k3w2, etc. My load balancer is called… lb.home.lan. I guess that we are not as creative.