Cluster IP address, Max number of nodes in a cluster Options

السؤال Cluster IP address, Max number of nodes in a cluster Options

  • Tuesday, June 17, 2008 5:24 AM
     
     
    Hi,

    I am using Failover Cluster API's to gather information about the cluster. Here us tge URL http://msdn.microsoft.com/en-us/library/aa372859(VS.85).aspx

    PROBLEM: I am not able to find any API which would return the IP address of the cluster, maximum number of nodes supported by the cluster.


    My cluster is MS SQL Server Cluster. I need to find the IP address of the SQL Server also.


    There is a COM interface which provides the functionality to gather this information, IClusCfgClusterInfo but my code is supposed to support Windows 2000 OS also, so cannot use this interface. There is an API provided by Failover Clustering, called ResUtilGetCoreClusterResources() using which I am able to find the IP address of the Cluster but again this API is introduced in Windows 2003 and not supported with Windows 2000.

    In short I want to gather following values for SQL Server Cluster

    1. Cluster IP address
    2. SQL Server(s) IP addresses
    3. Maximum number of nodes supported by the cluster

    on Win 2K as well as Win 2K3


    Is there any way to retrieve this information


    Thanks in advance


    Regards
    - Aniket