Jump to content
Welcome to our new Citrix community!

Netscaler Monitor Using DNS Name instead of IP Adresse


Stephan Burger

Recommended Posts

Hi all,

 

we are using netscaler ADC with the load balancer http - monitor send "GET /service/IsAlive". But I got an Error 400  Bad Request.

 

The reason for this answer is that the apache server only works with dns and not with ip requests.

 

In wiresharke i see the Full request URI: http://192.168.1.2:3712/service/IsAlive (where 192.168.1.2 is the IP of the server with the dnsname example1.com)

 

If I define a monitor with include the servername  (like send GET http://example1.com:3712/services/IsAlive) it works fine. But then i have to define for each server (example1, examle2,...) an own monitor.

 

Is it possible to define an http monitor with the dns name of the FQDN of the servers?

 

 

 

 

 

 

Link to comment
Share on other sites

To probe my name you would need a separate monitor for each destination service. Either in the Send Request or using the Custom header option (noted below).

 

Is the service monitor port 3712 the same as the actual service port you've defined, if not, you can use the monitor's destination port override.

 

You could also try an http monitor with a host header insertion BUT would still need separate monitors for each destination service.

https://support.citrix.com/article/CTX126037/netscaler-httpecv-monitor-probe-fails-and-returns-404-not-found-response-code

This will allow you to specify a separate FQDN Host header per monitor; you would still need a monitor for each service.

 

Link to comment
Share on other sites

You can also load balance by name by creating the services by fqdn with a dns lookup; but it is a cached dns lookup and may not solve the monitor problem. (If that's what you meant.)

Create your server objects by name instead of IP; then create services. You would likely still need the custom monitor per service though.  

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...