We're setting up two clusters. One dev and one prod. The Production will host two SQL instances - a OLTP and a DW.
The development will host 4 OLTP non-production environments and at least one DW non-production. We're working on getting more DW non-prods and possibly more OLTP systems.
I'm considering a naming scheme like this, where PROJ would be 3 initials for the project name.
Dev Cluster
- MSSQLPROJD1\D1 (DEV)
- MSSQLPROJD2\D2 (TEST)
- MSSQLPROJD3\D3 (QA)
- MSSQLPROJD4\D4 (STAGE)
- MSSQLPROJD5\D5 (DW)
Prd Cluster
- MSSQLPROJP1\P1 (PRD)
- MSSQLPROJP2\P2 (DW)
To the left of the slash, each name must be unique network wide. On each server, the instance name, to the right of the slash, must be unique.
Any thoughts on this? I'm trying to avoid having instance names drifting from reality as the project progresses - say we change what we call a certain environment or want to repurpose one. Then we can update a listing of the purposes for the instances and be done with it.
How has a scheme like this worked out for you? Maybe you do things another way in your shop - tell me about it.
Thanks.
rev2
Dev Cluster
- SQLERPD1\D1 (DEV)
- SQLERPD2\D2 (TEST)
- SQLERPD3\D3 (QA)
- SQLERPD4\D4 (STAGE)
- SQLERPD10\D10 (DWDev)
- SQLERPD11\D11 (DWTest)*
Prd Cluster
- SQLERPP1\P1 (PRD)
- SQLERPP10\P10 (DW)
*hoped for, but not spec'd as of now.
There are a million different naming standards which people use. There isn't really a right or wrong one to use, as long as the standard that you use works for you in your environment over the long term. The worst thing that you can need to do is to change your naming convention after you have picked one.
Something to think about is how will this convention work if you add another Dev cluster, or another prod cluster. Will it continue to scale well?
Personally I like to use a naming convention like this. You can easily modify this as needed with site names, etc as needed.
Physical machines:
The Windows Cluster Name:
The SQL virtual Names:
This way you can quickly and easily see which physical machines a virtual name belongs two without having to log onto the server to look. And it scales nicely as you add another cluster that becomes what I've shown below. You can add more clusters easily, you can add more instances to any cluster without making things complex to figure out.
Physical machines:
The Windows Cluster Name:
The SQL virtual Names: