Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Ientify if I am connecting to a SQL server clustered database

Posted on 2012-03-20
3
Medium Priority
?
152 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 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 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
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.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

730 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