Dear team,
i just need your asissatnce on VM naming convention. Can you please help me with the best practices of the same.
regards
Mr VMware
Yes, you can certainly use spaces, "-" and "_". What you should not use are language specific special characters.
André
I don't believe there's a documented best practise - but I also don't believe there's any reason for a virtual machine to adopt a different naming strategy from a physical machine.
I would certainly say - don't do this:
[dcname][rackname][servername][role][number]
As soon as you vmotion it to another server, the name is wrong. Renaming servers because you use vmotion is a terrible idea.
How do you currently name your system? Personally I don't really care whether a system is running physically or virtually and choose the name based on the systems role (e.g. DC001, DC002, FS001, SQL01, ...) This also prevents from the need to make exceptions in case you e.g. convert a physical system to a virtual machine, as renaming a system in such a case is not really desirable in most cases.
André
I've seen a wide range of ways that people name virtual servers and for a wide range of reasons. I think Josh has the right idea by first indicating what you should not do, which is using any sort of naming convention that would be a variable, especially in dynamic virtual environments. Other than that, many people use the same conventions they used for physical servers.
If you happen to be starting from scratch or you're doing P2V and looking for a naming change, here's some additional thoughts:
TL;DR Version
Best practice: If you're not naming your servers after Lord of the Rings characters, you're doing it wrong.
Dear All,
first of all many thanks for ur precious suggestions.....
i just want to ask can i use space , special characters (-,_), when setting a display name of a VM.
regards
Mr VMware
Yes, you can certainly use spaces, "-" and "_". What you should not use are language specific special characters.
André
In our environment, we use <team_name>_<DNS Name>. This is because we have quite a number of IT teams administering different VMs. By doing so, we are able to easily configure VM alerts to the different IT teams through centalized mailbox and mailrules.