Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Same SQL Server Instance name on two different Windows 2008 R2 servers


Same SQL Server Instance name on two different Windows 2008 R2 servers

Author
Message
raghusg
raghusg
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 52
Hi,

We have two different Windows 2008 R2 servers (Server1 and Server2) on the same domain. The questions I have are:

1) Can I have the same named instance on both the servers (Server1\Instance1, Server2\Instance2)?
2) Will this cause any problems for operations.

Thanks in advance for the replies.


Raghuveer S



Lowell
Lowell
SSChampion
SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)

Group: General Forum Members
Points: 14959 Visits: 38977
raghusg (5/13/2013)
Hi,
We have two different Windows 2008 R2 servers (Server1 and Server2) on the same domain. The questions I have are:
1) Can I have the same named instance on both the servers (Server1\Instance1, Server2\Instance2)?
2) Will this cause any problems for operations.
Thanks in advance for the replies.
Raghuveer S


Your example doesn't have the same instance names? typo?

a classic example in my shop is everyones developer machines have 2008 and 2012 both as instances.

so my machine, DEV223, has instances named DEV223\SQL2008 and DEV223\SQL2012.

The guy in the next cube has a machine named DEV241, and he has isntances named DEV241\SQL2008 and DEV241\SQL2012

it's the combination of machine name + instance name that is required to be unique across the network, not just the isntance name.
Does that help?

Lowell

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

raghusg
raghusg
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 52
Thank you very much for the response.

Sorry for the typo.

Yes, it does answer the question.

The combination of Server Name\Instancename in our case would be WIDSQL04\ProjectWise (Development) and WIPSQL04\ProjectWise (Production).

Do you see any problems with this?


Thanks again.



Steve Jones
Steve Jones
SSC-Dedicated
SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)

Group: Administrators
Points: 36148 Visits: 18751
I'm assuming the part in parenthesis is for our benefit and not part of the name? If so, you are fine.

Instance names must be unique on a Windows host. On a network, the hostname\instancename must be unique. These two are unique

WIDSQL04\ProjectWise
WIPSQL04\ProjectWise

Because the hostname is different.

Put another way, I can have a "Sales" instance on every windows machine on my network.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
lsalih
lsalih
SSC Veteran
SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)

Group: General Forum Members
Points: 201 Visits: 1044
Steve -

Question for you, I know this is an old post but I was curious about where you have two different nodes (node1 and node2) and having two sql instances with the same name. Would it be acceptable:

Server1:
SQLSERVER\Instance1

Server2:
SQLSERVER\Instance1

I know if you are on the same network, you use servername\instancename to connect to SQL. I assume the above case it is not acceptable since both server name and instance names are the same even though they are on different nodes. Please correct me if I am wrong.

Thanks,



Perry Whittle
Perry Whittle
SSCrazy Eights
SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)

Group: General Forum Members
Points: 8784 Visits: 16558
lsalih (10/27/2014)
Steve -

Question for you, I know this is an old post but I was curious about where you have two different nodes (node1 and node2) and having two sql instances with the same name. Would it be acceptable:

Server1:
SQLSERVER\Instance1

Server2:
SQLSERVER\Instance1

I know if you are on the same network, you use servername\instancename to connect to SQL. I assume the above case it is not acceptable since both server name and instance names are the same even though they are on different nodes. Please correct me if I am wrong.

Thanks,

No, on a Windows network the computername must be unique and usually no more than 15 characters.

You cannot have 2 hosts called SQLServer. You could have the following

Server1:
SQLSERVER1\Instance1

Server2:
SQLSERVER2\Instance1

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
lsalih
lsalih
SSC Veteran
SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)

Group: General Forum Members
Points: 201 Visits: 1044
Perry - Thank you.



Steve Jones
Steve Jones
SSC-Dedicated
SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)

Group: Administrators
Points: 36148 Visits: 18751
What Perry said.

Windows name unique. SQL instance names unique on a host.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search