The information in this article applies to:
SUMMARYApplications not specifically designed to run on Microsoft Cluster Server can become confused with regard to host names when set up as generic applications or services. This confusion can occur when the applications make calls by using the GetHostName() or GetComputerName() APIs. Typically, the application will fail with regard to the node name as opposed to the cluster name. MORE INFORMATION
Set the dependencies for the application to include only a dependency on the network name to which the application needs access. Under the parameters page, make sure that the "Use Network Name for Computer Name" check box is selected. Selecting this check box has the effect of setting the environment variable _CLUSTER_NETWORK_NAME_ for the context of the application. Calls to GetHostName() and GetComputerName() return the value of the variable as opposed to the host name of computer name of the node.
Q183832 GetHostName() Must Support Alternate Computer Names
Keywords : |
Last Reviewed: February 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |