Author Topic: Possible to track number of current connections on backend servers?  (Read 880 times)

paulh

  • Member
  • **
  • Posts: 6
    • View Profile
There are some servers that don't completely die behind the ZTM but their connection count is significantly less than others in the group.  I know it is possible to list the virtual servers via SOAP.  But I'm not finding anything that indicates I could pull down a connection counter for servers/pools that would allow me to identify servers that are having problems.
Is there a connection counter via SOAP that will enable this?
Thanks

karthy

  • Administrator
  • Wizard
  • *****
  • Posts: 112
  • karthy
    • View Profile
    • netic.dk
    • Email
Re: Possible to track number of current connections on backend servers?
« Reply #1 on: August 26, 2011, 07:04:26 am »
Hi

I do not know about the SOAP calls but you can graph the number of backend connections in the activity->real time view.

Connections to the backend servers is determined by both the loadbalancing algorithm (you can choose "least connections" to achieve a fair amount of connections) but also the session affinity rules can interfere with the distribution.

If you would like our help to debug this, then please tell us about your chosen loadbalancing algorithm and session settings but also about the capacity of the backendservers (in particular: do they have the same capacity and do they do the same work?)

Best regards,
Karsten

Owen

  • Wizard
  • *****
  • Posts: 61
  • Zeus developer, "borrowed" by marketing
    • View Profile
    • Splash
    • Email
Re: Possible to track number of current connections on backend servers?
« Reply #2 on: August 26, 2011, 04:00:03 pm »
The counters that you graph are also published through the SOAP API (and SNMP), generally in the API's System.Stats interface.

The functions 'getNodeCurrentConn' and 'getNodeCurrentRequests' will give you the information you require.

regards

Owen