Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Ientify if I am connecting to a SQL server clustered database

Posted on 2012-03-20
3
Medium Priority
?
154 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
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Scott Pletcher earned 2000 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 70

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Screencast - Getting to Know the Pipeline

971 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