Modern Middle Manager
Primarily my musings on the practical application of technology and management principles at a financial services company.
Still Working the Citrix Metaframe Angle

Friday, May 30, 2003  

We recently put another long-unused feature of our Cisco Catalyst 6509 to use -- to create a Citrix Metaframe server farm using server load balancing in Cisco's IOS. Any Catalyst 6509 with the MSFC card can do this. The upside is that we didn't have to pay extra for the Metaframe XPa or XPe licenses to perform the load balancing, instead using cheaper XPs licenses and hiding the servers behind the switch. The trick is to make sure that the clients and the servers are on different subnets. After that, it's pretty easy. Below is our configuration:

! Create a NAT pool for clients -- simplifies routing.
ip slb natpool CITRIX-CLIENTS 10.1.3.1 10.1.3.254 netmask 255.255.255.0
!
! Line up the server farm. This declares which real servers will be part of the farm.
! Connections are distributed by a weighted least-connections algorithm after the first
! four connections are made to the server. The maximum number of connections allowed
! is 20. Note one service is set for "no inservice". We had to take it out of the farm
! because it was misbehaving.
!
ip slb serverfarm CITRIXFARM
nat server
predictor leastconns
nat client CITRIX-CLIENTS
!
real 172.31.144.71
weight 4
maxconns 20
inservice
!
real 172.31.144.72
weight 4
maxconns 20
inservice
!
real 172.31.144.73
weight 4
maxconns 20
no inservice
!
! Create the virtual server. We used a subnet completely different from the clients & servers.
!
ip slb vserver CITRIX
virtual 172.31.145.79 tcp 0
serverfarm CITRIXFARM
inservice
!
! The following command is necessary to get slb working.
!
mls flow ip full

The cool part is that by melding server load balancing with a blade server we can scale our farm very quickly. Got to remember to test each new server before unleashing it on the end-users, though...

posted by Henry Jenkins | 5/30/2003 06:33:00 PM

Comments: Post a Comment
search
the author
archives
links
open source
vendors
stats
reading