04-16-2007 02:08 PM
I have 2 6509 with Sup720's and I have my CSM in an active standby set up on 2 cores.
what i am looking to do is set up 2 servers that are load balanced but traffic only going to one server. The only time I need traffic to hit the second server is if the first server fails.
04-17-2007 05:05 AM
Hi
You don't say what version of software the CSM's are using so it's a little difficult to be precise.
Having said that what you can do is
1) put the server you want all traffic to go in one serverfarm eg. sfarm1
2) Put the other server that you only want used if the primary server fails into a different serverfarm eg sfarm2
3) When you define your vserver you can specify a backup serverfarm.
So you tell your vserver to use sfarm1 but if that serverfarm goes offline to use sfarm2.
This backup serverfarm functionality is in the docs. If you have problems finding it let me know the version of code for your CSM modules and i'll send you a link.
HTH
Jon
04-17-2007 06:29 AM
Hello Jon,
CSM with SSL WS-X6066-SLB-S-K9 SW 2.1(4)
Will I be able to have my primary DB server on one Vlan and the backup on another VLAN?
serverfarm BACKUP-STATIC
nat server
nat client RICH
real 10.160.10.100
inservice
serverfarm STATIC
nat server
nat client RICH
real 10.150.10.100
inservice
vserver STATIC
virtual 10.150.80.100 tcp www
serverfarm static backup BACKUP-STATIC
persistent rebalance
inservice
Will both servers know how to talk back to the VIP?
Aslo please send me that link if you dont mind.
Thanks
Steve
04-17-2007 08:05 AM
Hi Steve
Yes, you should be fine if the serverfarms are on different vlans.
Attached is a link to csm-s config guide for 2.1(x), specifically the vserver config.
HTH
Jon
04-17-2007 01:54 PM
Hello Jon,
what do you think of these configs for the CSM?
serverfarm BACKUP-NRTCBORA011
nat server
nat client Pool
real 10.160.32.166 1521
inservice
!
serverfarm STATIC-NRTCBORA010
nat server
nat client Pool
real 10.150.32.166 1521
inservice
!
vserver STATIC
virtual 10.150.80.20 tcp 1521
serverfarm STATIC-NRTCBORA010 backup BACKUP-NRTCBORA011
persistent rebalance
inservice
!
serverfarm NRTCBSOAP-SRV
nat server
nat client POOL
real 10.150.30.28
inservice
real 10.150.30.31
inservice
real 10.160.30.28
inservice
!
vserver NRTCBSOAP8033-SRV
virtual 10.150.80.21 8033
serverfarm NRTCBSOAP-SRV
sticky 60
replicate csrp sticky
replicate csrp connection
persistent rebalance
inservice
!
vserver NRTCBSOAP44333-SRV
virtual 10.150.80.21 44333
serverfarm NRTCBSOAP-SRV
sticky 60
replicate csrp sticky
replicate csrp connection
persistent rebalance
inservice
04-17-2007 10:40 PM
Hi Steve
The backup stuff looks fine. Give it a go and let me know how you get on.
Jon
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: