Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Finding all SQL Servers
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jbates99
Constraint Violating Yak Guru

396 Posts

Posted - 08/27/2013 :  14:03:05  Show Profile  Reply with Quote
Sometimes it can be difficult to identify all of your SQL Server installations.

Is command osql /L still the best technique?
Thanks Jack

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 08/29/2013 :  05:58:43  Show Profile  Visit jackv's Homepage  Reply with Quote
Try SQLCMD /L , if using sql server versions from 2005.


Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

djj55
Constraint Violating Yak Guru

USA
352 Posts

Posted - 08/29/2013 :  08:58:58  Show Profile  Reply with Quote
If you are interested in a third party solution, i.e. cost. I use Idera SQL Administrator Tool which has a SQL instance search tool.
I do believe there is a free trial.

djj
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 09/01/2013 :  06:10:54  Show Profile  Visit jackv's Homepage  Reply with Quote
Once you've captured the sql server instances , store in a spreadsheet or other repository. Run daily health checks \ etc .
Maintaining an inventory management is important in DR situations

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

jbates99
Constraint Violating Yak Guru

396 Posts

Posted - 09/03/2013 :  10:03:10  Show Profile  Reply with Quote
Thanks jacky and djj55.

I ran SQLCMD /L and it returned the same list of instances - except 1. OSQL /L picked up a second instance on a server that has Sharepoint installed.
SQLCMD /L did not listg that sharepoint (named instance)

It just seems to be difficult to know for certain you have found all sql server instances.
If anyone has a solid technique, pls let me know.
Thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000