Solved

Ientify if I am connecting to a SQL server clustered database

Posted on 2012-03-20
3
150 Views
Last Modified: 2012-03-20
Hi,
I am new to SQL clustering.

I have been given a SQL 2008 database which I can connect successfully using SSMS 2008. How I can locate if this is a clustered database? I would prefer a T-SQL stmt.
I have access to the windows box in case that helps.

Thanks
0
Comment
Question by:crazywolf2010
[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
  • 2
3 Comments
 
LVL 69

Accepted Solution

by:
Scott Pletcher earned 500 total points
ID: 37742700
SELECT SERVERPROPERTY('IsClustered')
0
 

Author Comment

by:crazywolf2010
ID: 37742925
Do you have a piece of SQL which will return all attributes of a SQL server cluster?
For example version, cluster configuration, machines in cluster, name of cluster, database created .....
0
 
LVL 69

Expert Comment

by:Scott Pletcher
ID: 37743092
SERVERPROPERTY() has several different parameters that will return a list of different things about the server.  Please see Books Online -- or do a Google search for "SQL Server SERVERPROPERTY" -- to get full details on everything SERVERPROPERTY can provide.

Remember, clustering is not part of SQL Server itself.  Typically Windows clustering is used for SQL Server.  (That's the only clustering I'm familiar with, but I think maybe SQL can run under other clustering.)

So clustering details -- # machines in cluster, etc. -- will not be directly available from SQL Server.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

623 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