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

use network name for computer name - generic service

$
0
0

Little setup-information to make the question a little more clear:

we have a windows server 2008r2 cluster which hosts some services (java based). All these services are cluster unaware atm and are clustered using a generic service container.

Now, we have noticed that some services can't seem to function properly after a failover and have determined that the problem is located with the use of the ip-adresses. As the services are cluster unaware, they will use the node ip-adress. So in fact, the ip that these services use depends on which node it is running.

Now, these services communicate communicate with cliënt which will only accept 1 ip. as it is configured to work with the ip of one node, a failover will mean that the service will not be able to communicate with the cliënt anymore.

Now, we have considered using preferred owners but that won't solve anything. Now, we have found the option " use network name for computer name". (generic service options - general).

If I put the network name resource as dependency, and i choose this option, will my service be able to resolve the ip and use the ip of the resource group instead of using the individual node ip? This would give us the option to change the Ip that the client accepts to the ip of the resource group

Can someone confirm this theory? Thanks a lot

greetings jeroen

information on http://support.microsoft.com/kb/198893?wa=wsignin1.0

Applications 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.

NOTE: This variable is ALWAYS a user variable. Do not attempt to set it manually to be a system variable. Doing so can cause failures and, in extreme cases, the inability to log on.

"Use Network Name for Computer Name" will be unavailable if multiple dependencies exist. Set the dependency, click to select the check box, and add other dependencies as needed.



Viewing all articles
Browse latest Browse all 6672

Trending Articles



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