Quantcast
Channel: High Availability (Clustering) forum
Viewing all articles
Browse latest Browse all 5654

How to get Cluster IP address?

$
0
0

Hi All,

I'm new to clustering,and having a two node cluster. I need write a piece of code to get the Cluster IP address. Below is the way i'm following

1) Read all resource entries from the registry path "HKLM\Cluster\Resources"

2) Parse through all the entries and check for the 'Name' key

3) Get the 'Address' property of the resource name "Cluster IP address"

This works fine for me. But now the same code has to work for other languages also(Japanese) and my code is failing with this string comparision of "Cluset IP Address". I cann't hard code it for every language.

 Is there any other way/ any API  to get the Cluster IP address? Please help me to get the solution.

Thanks in advance

Regards

Sree


Viewing all articles
Browse latest Browse all 5654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>