vADC Blog

Health monitoring with Riverbed Stingray Traffic Manager

by pwallace_1 on ‎01-26-2014 04:02 PM (2,550 Views)

In the previous article on load balancing, we showed how easy it is to create a new service with Stingray software. Stingray can use a range of different algorithms to distribute the workload, but in this article we will look at how we monitor the performance and health of all the web servers which are under the control of Stingray Traffic Manager.

If you want to take a web server node out of service manually, it is easy to change state from active to draining or disabled using the simple drop-down menu. But if that node fails unexpectedly, Stingray Traffic Manager will identify the problem, route traffic away from that node, and raise an alert to let you know there's a problem.

Health-PieOk.png

So let’s imagine you are receiving traffic requests through at a steady rate of about 100 transactions a second. Using the activity monitor, you can see that Riverbed Stingray is evenly balancing that workload across three web server nodes in the pool. This pie chart shows how each of the three nodes in this resource pool is handling approximately one-third of the traffic:

I can simulate a network failure by dropping traffic from that node, and Stingray detects the traffic has failed, raises an alert, and the graphics clearly show how the workload is redistributed across the remaining two nodes in the pool. And as you watch the pie chart in the activity monitor, you can see how traffic is now split between the two remaining active nodes, until they are each handling half of the workload:

Health-Pie20.pngHealth-Pie10.pngHealth-Pie00.png

When that web server has recovered, Stingray notices that node has come back again, and starts to redistribute the workload. Traffic is wound back up again, and as you can see from the status messages, we are back to green, and we are back to full capacity.

Screen Shot 2014-01-24 at 14.51.50.png

For more information:

Even more to explore on Riverbed.com:

Previous Article:

How to set up load balancing using Riverbed Stingray Traffic Manager

Next article:

Content caching for dynamic web applications with Stingray

(This article is part of a series starting with Back to Basics - What is a Traffic Manager, Anyway?)