Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

IP port configuration for servers with more than one MS SQL instance installed.

Posted on 2014-04-15
7
Medium Priority
?
184 Views
Last Modified: 2014-04-15
Hi,

I'm working on a SQL 2012 standard Server.  It's been running a default instance using a specified IP port for some time fine.

Now I have to install another instance on the same server.

Whats the best way to setup IP port configuration?

SHould I set both to dynamic?  Keep the first set to a specific port and set the new one to dynamic or give that a fixed port too?

We have a number of apps that have been working well with the default SQL server instance running a specific port so I'm not that keen to change it...

(For info, the server has one fixed IP address)

thanks.
0
Comment
Question by:jmsjms
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 40001760
If one has a fixed port, i would give the new instance one too.
0
 

Author Comment

by:jmsjms
ID: 40001766
OK thanks Carl.  

Is there any best practise or normally used port?  I'm tempted to give it the next port up from the 1433 default but I'm not sure if it's used already.
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 2000 total points
ID: 40001769
When I was a full time DBA standard practice was to put each instance on its own port, usually starting at 65001 and working upwards (arbitary starting point really), rather than leaving any instances on the default port.

1434 is used by the SQL Browser Service, so you shouldn't use it for an instance.
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 

Author Comment

by:jmsjms
ID: 40001819
If it's not the standard port do you have to put the port in when entering the servername\instance name in sql management studio?
0
 

Author Comment

by:jmsjms
ID: 40001886
The answer is no you dont.  I couldnt connect to the new instance until I reset the windows server firewall.
0
 

Author Closing Comment

by:jmsjms
ID: 40001889
Thanks for your help.
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 40001936
No problem. Just a quick note - you only need to specify the port if you have the Browser Service disabled, otherwise the browser service will internally resolve the port number for you.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question