SQL Server instance naming conventions

Does anyone have any suggestions for a good naming convention for SQL Server instances?

I have taken over a group of SQL Servers with mostly default names but more instances will be installed in the future.  I'm looking to distinguish between DEV, Test and Production instances.  

Apps are involved of course but I'm not sure if I should attempt to include, say, three letters that represent the app.  

Also not sure if I should include, say, three letters representing the company's name.  

Also not sure if I should include 'SQL' somewhere in there.

I've also seen variations where DBA's have included the letter 'V' for virtual and 'I' for instance.

I would like to hear some opinions about what is a good, simple and flexible naming convention.

AustinSeven
LVL 10
AustinSevenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ShogunWadeCommented:
Hi Austin.   I gues from "Also not sure if I should include, say, three letters representing the company's name. "   you have identified that the key issue really is that of  "How do I name my instances so that they wont conflict with any that may be from a vendor?"

I dont think there is any point in putting "SQL" into the name as by definition it is sql.   i also dont think there is any point in using I or V etc as a prefix,   since by definition an unnamed instance is refered to as <MachineName> and a named instance as <MachineName>\<InstanceName>   thus there is already an inbuilt distinction.

I use named instances quite a bit.  especially with shipped out MSDE.    The approach we take is to have an initial 4 chars indicating the companyname  + '_' + a part distinguising the purpose of the instance + if required '_T' for test or '_D' for dev

eg: (not that i work for FORD ,but)

SERVER1\FORD_Sales_D    --Dev instance  
SERVER1\FORD_Sales_T    -- Test instance
SERVER1\FORD_Sales       -- live instance

The problem is when the name is already in use.   Im afread there is no easy answer to this other than in the pre-install to verify it. and abort or use reserve instance name.

0
KarinLoosCommented:
my 2 cents
Servername\PRODUCTION
Servername\TEST
Servername\DEVELOPMENT

I would not include app references in the instance name, essentially you might decide to move apps in the future and are then
stuck with a naming reference which at that stage doesnt apply. Also SQL server is not restricted to only running 1 database
at a time, you can have multiple db's on a server , each associated with a different app.

THe i / v  reference might be useful.
HTH
0
ShogunWadeCommented:
Do you need any more assistance with this question ?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AustinSevenAuthor Commented:
thanks.

AustinSeven
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.