SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL server instance ip's


SQL server instance ip's

Author
Message
gaganks
gaganks
SSC-Enthusiastic
SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)

Group: General Forum Members
Points: 141 Visits: 555
Hi All,
Can anyone advise on how to find on which ip is my SQL server instance running on a Cluster node.
Assuming that we have some 5 to 6 ip's. Is there any query/T-sql we can run to check this.?
( offcourse i would know what the SQL instance is on by seeing my
Instance).
Any help is much appericiated.
Thanks in Advance,
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)

Group: General Forum Members
Points: 92025 Visits: 17972
is this a Windows 2003 or Windows 2008 cluster?

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
gaganks
gaganks
SSC-Enthusiastic
SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)

Group: General Forum Members
Points: 141 Visits: 555
its Windows 2003. But would it not be the same with Windows 2008
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)

Group: General Forum Members
Points: 92025 Visits: 17972
Clustering has changed a lot between the 2 platforms. On the Cluster node go into cluster administrator and select the resource group for the instance you wish to view details. Inside this group will be an IP address resource, double click to view the properties and find the IP address.

Why don't you have all these details documented, this would be the most sensible option.

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
gaganks
gaganks
SSC-Enthusiastic
SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)

Group: General Forum Members
Points: 141 Visits: 555
Thanks Perry, But is there a T-SQL statement to know this incase a user doesn't have RDT access.

Thank you.
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)SSC Guru (92K reputation)

Group: General Forum Members
Points: 92025 Visits: 17972
gaganks (10/19/2010)
Thanks Perry, But is there a T-SQL statement to know this incase a user doesn't have RDT access.

Thank you.

Not as I remember, the entry point into the clustered instance is via the virtual network name. You could ping this and get the IP address that way.
Personally, I always document the systems that I work with so that resources may be identified immediately without having to interrogate the cluster!

Execute the following query against your clustered instance to find the name info


select
serverproperty('ComputerNamePhysicalNetBIOS') as PhysicalComputerName,
SERVERPROPERTY('MachineName') AS VirtualNetworkName,
SERVERPROPERTY('ServerName') as FullInstanceName



-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search