08-26-2009 01:34 PM
I have a request to loadbalance Microsoft Communicator. Communicator has multiple ports that need loadbalanced. Is it as easy as creating a server farm with real servers and creating multiple virtual farms with each port (example below)?
serverfarm OCS_FARM_CLT
nat server
no nat client
predictor leastconns
real 192.168.100.91
inservice
real 192.168.100.92
inservice
!
serverfarm OCS_FARM_SVR
nat server
nat client OCS_POOL
predictor leastconns
real 192.168.100.91
inservice
real 192.168.100.92
inservice
vserver OCS_FARM_CLT_v
virtual 192.168.100.90 tcp 5060
vlan 298
serverfarm OCS_FARM_CLT
persistent rebalance
inservice
!
vserver OCS_FARM_SVR_v
virtual 192.168.100.90 tcp 5060
vlan 198
serverfarm OCS_FARM_SVR
persistent rebalance
inservice
!
vserver OCS_FARM_CLT_v
virtual 192.168.100.90 tcp 5061
vlan 298
serverfarm OCS_FARM_CLT
persistent rebalance
inservice
!
vserver OCS_FARM_SVR_v
virtual 192.168.100.90 tcp 5061
vlan 198
serverfarm OCS_FARM_SVR
persistent rebalance
inservice
!
vserver OCS_FARM_CLT_v
virtual 192.168.100.90 tcp 444
vlan 298
serverfarm OCS_FARM_CLT
persistent rebalance
inservice
!
vserver OCS_FARM_SVR_v
virtual 192.168.100.90 tcp 444
vlan 198
serverfarm OCS_FARM_SVR
persistent rebalance
inservice
!
08-26-2009 10:05 PM
You are just missing one piece.
If you need to guarantee that one client communicate at the same time with the same server on all different ports, you need to tie those vservers together with a sticky group.
Simply create a sticky src ip group and assign to all vservers. Just one group for all vservers.
Also, be aware that the 'vlan x' command is not mandatory under the vserver.
So, if you want traffic from any vlan to hit the rule, simply remove the command.
Gilles.
08-28-2009 11:26 AM
Thanks for your quick response. I will add the sticky src ip group and test it out. Thanks again!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide