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
 General SQL Server Forums
 New to SQL Server Programming
 SQL / Network diagramming

Author  Topic 

WJHamel
Aged Yak Warrior

651 Posts

Posted - 2013-04-23 : 10:43:00
So, my new gig has 900+ physical server machines on site and a large number of virtual machines as well. Alot of Windows clustering going on within that.

No one person seems to have sufficient information about these clusters to provide feedback as to which machines are owners and which are nodes within any given cluster.

Is there any way within SQL or even within Windows to create a diagram which shows the cluster arrangement? I'm thinking something which looks like a MS Visio flowchart. I know you can log into any machine and open the Cluster Administrator to view resources and such, but this doesn't provide any means of exporting that data in any way.

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2013-04-23 : 11:10:51
This SQL query will show if a server is a cluster, the name of the current host, and the name of the cluster.

select
IsClustered = serverproperty('IsClustered'),
HostName = serverproperty('ComputerNamePhysicalNetBIOS'),
ServerName = serverproperty('MachineName')


To look through such a large installation, you would probably need a Powershell script. I can't help you with that, but Google is your friend.




CODO ERGO SUM
Go to Top of Page

WJHamel
Aged Yak Warrior

651 Posts

Posted - 2013-04-23 : 12:04:32
ugh. again wit da POWERSHELL!!!!


thanks. ;)
Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2013-04-23 : 12:53:08
Don't knock it, it gets a lot done:

http://www.kendalvandyke.com/2013/04/discover-diagnose-and-document-all-your.html
Go to Top of Page
   

- Advertisement -