April 8, 2016 at 1:12 am
LS,
I was asked to scan the LAN for SQL servers to find all SQL servers in and out of our maintenace scoop.
I have tried 'SQLCMD -L' but this methode just gave me 10 pct of all servers in scoop....
I also tried Pingsql3cl but this methode is just scanning but gave me no results whatsoever....
-- SQLPing3cl.exe -scantype range -startIP 100.100.101.0 -EndIP 100.100.101.254 -Output results.csv
Is there a way to scan the LAN which is working ???
Please help me out on this....
Regards,
GKramer
The Netherlands
April 8, 2016 at 1:15 am
I have used Microsoft Assessment and Planning (MAP) Toolkit before where it gives you information on your estate, including your SQL Servers. Thought about trying this?
April 8, 2016 at 2:14 am
BL0B_EATER,
I was not aware of this MAP toolkit....
I just installed version 9 and my first scan is running.... hope this will do the trick.
Guus
April 8, 2016 at 7:05 am
mmmmmmm
The first scan ran for several hours ending up crashing my PC......(with no results).
Retrying the same settings || Collect inventory data - IP-range - add credentials - with the same DB as the first run || is ending in a blanco data-collection screen (Machines inventoried - Collections remaining).
What I'm I doing wrong here.....
Regards, GKramer
April 8, 2016 at 7:10 am
I've only done it using Active Directory rather than an IP range but when I got that screen it took a while for any numbers to appear. Have you clicked on Details at the bottom?
April 9, 2016 at 8:18 am
The machine performing the scan with sqlcmd or sqlping must have network connectivity to all network segments to discover all SQL servers
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
April 9, 2016 at 12:01 pm
Beatrix Kiddo (4/8/2016)
I've only done it using Active Directory
Ooooooo.... I'd love to see that! Got any code you could share? And, no... it doesn't have to be T-SQL.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2016 at 2:46 am
Oh no, sorry to get your hopes up, I think I phrased it badly. I used the Active Directory settings in the MAP toolkit (rather than scanning an IP range). Sorry about that.
April 11, 2016 at 9:03 am
IIRC, I used this once upon a time
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply