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

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Locating SQL Server Instances on a Network

Author  Topic 

MGouders
Starting Member

30 Posts

Posted - 2009-10-05 : 11:54:21
Hi,
I am in a need to search for a certain server on the network

I have found two ways to use to search
a) sqlcmd -L
b) WMI => wbemtest => namespace:root\directory\ldap => QUERY:SELECT * FROM ds_ms_sql_sqlserver

Both methods return different results

Please elaborate on both methods and also, what other different approaches can be taken to search for sql server(s) on a corporate network?

Thank You Very Much

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-10-05 : 13:32:26
We use SMS to search for SQL Servers on the network that we don't know about.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

gvphubli
Yak Posting Veteran

54 Posts

Posted - 2009-10-05 : 13:41:29
In both the methods that "MGouders" is using the results might be different due to the previlages under which which they run. Some time WMI has some extra restrictions. And in couple of cases I have seen the SQL instance running has restricted network configuration due to which it will not be exposed.

Best method is, after preparing you prepare the list automatically(via network scanning) publish it to the internal user group and get the confirmations.


TechnologyYogi
http://gvphubli.blogspot.com/
Go to Top of Page

MGouders
Starting Member

30 Posts

Posted - 2009-10-05 : 14:23:49
Thanks for the Knowledge Sharing

tkizer, can you please elaborate on how to use SMS to locate server instances across a corporate network.

gvphubli, thanks for the more detailed respond
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2009-10-05 : 14:29:17
Tara might just "Just _____ Google it"

http://www.sqlteam.com/article/finding-sql-servers-running-on-a-network

http://sqlserver2000.databases.aspfaq.com/how-do-i-find-all-the-available-sql-servers-on-my-network.html



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-10-05 : 14:49:47
We have an SMS team that handles configuring that tool and scanning for the servers, so I'm unable to provide any information on that except to say that's the tool we use. SMS provides a report that the DBAs then scan to find any that perhaps may need licenses.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -