Solved

Ientify if I am connecting to a SQL server clustered database

Posted on 2012-03-20
3
148 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Split string into 3 separate fields 5 36
Tracking Problematic Page Splits 1 50
Trying to understand why my Index is so large 12 52
Importing from CSV to SSMS 2 9
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.
In this article I will describe the Copy Database Wizard 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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 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