dbTalk Databases Forums  

two instances of mssql 2008

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss two instances of mssql 2008 in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
m
 
Posts: n/a

Default two instances of mssql 2008 - 01-18-2011 , 07:05 AM






Hello everybody,

does anybody know in case we have two instances of mssql 2008 installed on
the same machine do they need to work on different ports?
one of them on 1433 (default mssql) and the other on some other port?

thanks,

regards

Reply With Quote
  #2  
Old   
Andrew Morton
 
Posts: n/a

Default Re: two instances of mssql 2008 - 01-18-2011 , 09:53 AM






m wrote:
Quote:
does anybody know in case we have two instances of mssql 2008
installed on the same machine do they need to work on different ports?
one of them on 1433 (default mssql) and the other on some other port?
You can leave the ports as they are; see
http://msdn.microsoft.com/en-us/libr...sql.90%29.aspx for an
explanation of what SQL Server Browser does.

--
Andrew

Reply With Quote
  #3  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: two instances of mssql 2008 - 01-18-2011 , 04:30 PM



m (web12master (AT) gmail (DOT) com) writes:
Quote:
does anybody know in case we have two instances of mssql 2008 installed on
the same machine do they need to work on different ports?
one of them on 1433 (default mssql) and the other on some other port?
Yes, you cannot have two servers listening on the same port. As Andrew
says, you don't take any extra precaution for this to happen. A default
instance will use port 1433, and a named instance will use a dynamic port.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

Reply With Quote
  #4  
Old   
m
 
Posts: n/a

Default Re: two instances of mssql 2008 - 01-19-2011 , 01:25 AM



Thanx for help.

So every time we made restart named instance will get different port.

Can we manage for named instance to have static port?
This is important for firewall configuration.
If we have different ports after every restart we should applay that changes
to firewall configuration, this makes extra work?

Thanx.



"Erland Sommarskog" <esquel (AT) sommarskog (DOT) se> wrote

Quote:
m (web12master (AT) gmail (DOT) com) writes:
does anybody know in case we have two instances of mssql 2008 installed
on
the same machine do they need to work on different ports?
one of them on 1433 (default mssql) and the other on some other port?

Yes, you cannot have two servers listening on the same port. As Andrew
says, you don't take any extra precaution for this to happen. A default
instance will use port 1433, and a named instance will use a dynamic port.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

Reply With Quote
  #5  
Old   
m
 
Posts: n/a

Default Re: two instances of mssql 2008 - 01-19-2011 , 01:51 AM



I have found what I'm looking for
http://msdn.microsoft.com/en-us/libr...v=sql.90).aspx

thanx again.

Regards

"m" <web12master (AT) gmail (DOT) com> wrote

Quote:
Thanx for help.

So every time we made restart named instance will get different port.

Can we manage for named instance to have static port?
This is important for firewall configuration.
If we have different ports after every restart we should applay that
changes to firewall configuration, this makes extra work?

Thanx.



"Erland Sommarskog" <esquel (AT) sommarskog (DOT) se> wrote in message
news:Xns9E71EF1F764CDYazorman (AT) 127 (DOT) 0.0.1...
m (web12master (AT) gmail (DOT) com) writes:
does anybody know in case we have two instances of mssql 2008 installed
on
the same machine do they need to work on different ports?
one of them on 1433 (default mssql) and the other on some other port?

Yes, you cannot have two servers listening on the same port. As Andrew
says, you don't take any extra precaution for this to happen. A default
instance will use port 1433, and a named instance will use a dynamic
port.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx



Reply With Quote
  #6  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: two instances of mssql 2008 - 01-19-2011 , 02:37 AM



m (web12master (AT) gmail (DOT) com) writes:
Quote:
So every time we made restart named instance will get different port.
Not really. First time it will make a choice, on restart the port will be
resued unless some other program have grabbed it.

Quote:
Can we manage for named instance to have static port?
Yes, you can set this up in the SQL Server Configuration Manager.





--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.