Forum Discussion
rhallbrook_7710
Feb 27, 2011Nimbostratus
Load Balancing DB backend
What is the most efficient and lowest latency configuration to LB a Webserver with SQL backend? Lets say for simplicity sake the LTM is configured with 3 VLAN's:
- External VLAN
- WWW VLAN
- SQL VLAN
The IP configuration is:
- External 10.10.0.x/24
- WWW 10.10.100.x/24
- SQL 10.10.200.x/24
The physical architecture is:
------------
-External -
------------
|
|
----------- ------------ --------------
- LTM -===Trunk===- Switch --------------- WWW -
----------- ------------ --------------
|
|
-----------
- SQL -
-----------
My goal is to LB the webservers and the SQL servers and have the VIP's that resolve via DNS reside on the External VLAN. https://www.mycompany.com resolves to 10.10.0.100 and the self IP for that VLAN is 10.10.0.10. The webservers have listening instances with IP's of 10.10.100.200, 10.10.100.201, 10.10.100.202 and SQL has instances of 10.10.200.200, 10.10.200.201 and 10.10.200.202 and a VIP of 10.10.200.100. I think I got everything...
Questions:
1. I have a pool of WWW servers and a pool of SQL servers. Whats the best way to LB the WWW connection to the SQL servers?
2. Is there a way to achieve this goal without SNATing?
3. In the past I have always recommended a direct connection to the SQL backend for lower latency and security. Is there any benefit to LBing the SQL servers in their own pool, with their own VIP?
4. Which type of persistence would you recommend?
5. What are the drawbacks?
6. What if I need uri-a to go to SQL server-a, b or c? Do you have a canned iRule?
7. Do you recommend a different architecture?
Thanks!!! Looking forward to your response. :)
RHally
- rhallbrook_7710NimbostratusAnyone? Anyone? Bueller...Bueller...Bueller?
- HamishCirrocumulus1. The best way to load balance will probably depend on your actual configurations... Assuming that your client isn't pool aware (i.e. Not something like a RAC aware client) and you need a VS for it, make the VS as simple as possible. If you LB at the TCP level and do no L7 inspection etc, you should be able to run in accelerated mode (Using the ASIC in older hardware, or the FPGA in newer hardware)
- hooleylistCirrostratus1. I agree with Hamish. You should be able to use a Performance Layer 4 VS with a FastL4 profile for most efficient processing of the traffic.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects