Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Clustering > Querying Cluster IP Address using WMI

Reply
Thread Tools Display Modes

Querying Cluster IP Address using WMI

 
 
newbie2
Guest
Posts: n/a

 
      11-24-2008
I can view a cluster IP Address manually:
Launch Cluster Administrator.
1. Right-click on the Resource: Cluster IP Address - [Cluster name]
2. Select Property.
3. At Parameters table, it shows the Address.

But how do I do this using WMI. I want to supply a cluster name, and have
WMI return the Cluster IP Address info.

I tried several ways, using MSCluster_ClusterToNetwork and
MSCluster_ClusterToNetworkInterface. It seems they returned the IP addresses
for individual nodes, not the cluster itself.

 
Reply With Quote
 
 
 
 
Marcin
Guest
Posts: n/a

 
      11-25-2008
You should be able to extract this info from the cluster registry hive on
any of the nodes (use \\root\default:StdRegProv). You can find the actual
code at
http://social.msdn.microsoft.com/For...-d81a8ad86330/

hth
Marcin


"newbie2" <> wrote in message
news:471EDAEB-1D98-4F52-A7E3-...
>I can view a cluster IP Address manually:
> Launch Cluster Administrator.
> 1. Right-click on the Resource: Cluster IP Address - [Cluster name]
> 2. Select Property.
> 3. At Parameters table, it shows the Address.
>
> But how do I do this using WMI. I want to supply a cluster name, and have
> WMI return the Cluster IP Address info.
>
> I tried several ways, using MSCluster_ClusterToNetwork and
> MSCluster_ClusterToNetworkInterface. It seems they returned the IP
> addresses
> for individual nodes, not the cluster itself.
>



 
Reply With Quote
 
newbie2
Guest
Posts: n/a

 
      11-26-2008
I figured it out. In the MSCluster_Resource, get the collection of
PrivateProprties, which is part of MSCluster_Property object. Then I can loop
through each name and value to get IP address for the cluster. Just need to
beware to get PrivateProperties.Properties_.

"Marcin" wrote:

> You should be able to extract this info from the cluster registry hive on
> any of the nodes (use \\root\default:StdRegProv). You can find the actual
> code at
> http://social.msdn.microsoft.com/For...-d81a8ad86330/
>
> hth
> Marcin
>
>
> "newbie2" <> wrote in message
> news:471EDAEB-1D98-4F52-A7E3-...
> >I can view a cluster IP Address manually:
> > Launch Cluster Administrator.
> > 1. Right-click on the Resource: Cluster IP Address - [Cluster name]
> > 2. Select Property.
> > 3. At Parameters table, it shows the Address.
> >
> > But how do I do this using WMI. I want to supply a cluster name, and have
> > WMI return the Cluster IP Address info.
> >
> > I tried several ways, using MSCluster_ClusterToNetwork and
> > MSCluster_ClusterToNetworkInterface. It seems they returned the IP
> > addresses
> > for individual nodes, not the cluster itself.
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cluster IP Address Idan Clustering 1 05-15-2007 10:11 PM
Querying IP Address / Connection Info on Vista: returns TDI_PENDIN David Yon Windows Vista Drivers 2 07-12-2006 08:54 PM
IP Address Conflict with virtual cluster address. Compactor Clustering 2 03-11-2006 12:26 AM
Change Cluster IP address Andy Chow Clustering 1 09-22-2005 11:55 AM
Cluster mac address Jose Luis Gomez Clustering 1 02-17-2005 09:21 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59