I have configured two Cisco CSS 11501 in Active/Stanby mode for load balancing operations on two servers. The two servers are configured on a cluster mode.
The system is working but there is an issue that one of the servers is getting more requests than the other. This is causing the server to have a higher utilisation and this is slowing down its performance.
Is this occuring because of the load balancing algorithm I have used?
I have checked and both servers have a weight of 1.
Please find attached the configurations, topology and outputs.
Since you've got two redundant threads going on, I'm moving my answer to your follow-up question to me to this thread so everyone contributing can see and take part in the same discussion. Please disregard the other thread for the same question.
As Gilles and I have pointed out, your configuration of sticky will cause uneven load balancing. Even if you change from source IP to cookie, sticky will still take precedence over the load balancing predictor. If sticky did not take precedence over the predictor, then there would be no point in configuring sticky. The whole purpose of sticky is to keep a client on the same server for the same VIP.
So the CSS works like this:
1) New client connection comes into CSS destined to VIP
2) CSS checks to see if there is a sticky entry for this client
3) If sticky entry exists, client is sent (stuck) to the same server
4) If no sticky entry exists, CSS will load balance client according to predictor (ie. leastconns, round-robin, etc.)
So, in your case, you would need to determine what is more important in your environment: a) even distribution of connections across real servers, or b) maintaining sticky for clients.
the uri http://172.22.72.25:7778/ is only used to match a content rule. Only after a content rule is matched, will it check for a sticky entry, and if none exists, it will use the load balance predictor such as leastconns. So yes, you could use leastconns with that uri.
As for your error, after you configured sticky (advanced-balance), did the error stop? If so, then your application clearly requires sticky. And if your application does require sticky, then you will not be able to achieve perfectly even load balancing across your servers. The CSS is at the mercy of your sticky configuration.
If you need sticky, and are overwhelming one server due to this, then you would need to either increase the capacity of your server(s) or add more servers to the server farm. This may not be the answer you're looking for, but look at it this way. Currently, you have two servers being load balanced, and one is getting more connections than the other causing degraded preformance on that server. What will happen if one of the two servers fails and ALL connections have to go to only one server? You could suffer a full or partial outage, even though the VIP is up and one server is online. Ideally, either one of the two servers should be able to handle the load if one of them fails. Now, if you add a third server to the content rule, then perhaps each should have enough capacity such that any two of them could handle the full load on the VIP.
If you are load balancing two servers, they should each run, under normal conditions, not more than 50% of capacity.
If you are load balancing three servers, they should each run, under normal conditions, not more than 65% of capacity.
Usually, we can access ESXi Shell by pressing Alt+F1 from ESXi DCUI (Direct Console User Interface).
But on HyperFlex system, it just shows black window.
This is expected behavior because HyperFlex redirects ESXi Shell output to SoL...
Configuring an Export Policy Using the GUI
This procedure explains how to configure an Export policy using the APIC GUI. Follow these steps to trigger a backup of your data:
On the menu bar, choose Admi...
RBAC users like email@example.com may fail HX Connect login. At that time, "Incorrect user name or password(100005)" is shown as a failure reason.
RBAC users can login to vCenter server. So, RBAC username and passwo...