[prev in list] [next in list] [prev in thread] [next in thread] 

List:       loadbalancing-l
Subject:    [load balancing] Rule based load balancing in BIG IP
From:       Girish Mundewadi <gi_rish () yahoo ! com>
Date:       2003-06-18 14:16:25
[Download RAW message or body]

Hi 

I would like to know if any body has done the following thing in BIGIP.

Scenario: We have got lot of web cast servers (50). Planning to use the BIGIP for \
redirecting the clients to respective servers using the rules based load balancing. \
Would like to use http redirect depends on the client ip address. Sample is attached \
below. I don't want to use the "use pool" in the rule because the connection will \
remain with BIGIP. When you see the client net stat. It shows the client is connected \
to BIG IP virtual server. Which is not feasible here in our scenario. Based on client \
ip we would like to do http redirect to the respective nearest server. But in this \
case, when redirecting to the server. If server fails then response fails, client \
will not get the response. In this case, I would like use the other backup severs \
which is same for all locations. These web cast servers serving same thing. But \
distributed globally for different locations. How should I achieve this??

I would to like achieve two things.

1.       Redirecting of URL’s based on clients address.

2.       If one of the URL fails (server), then I should able to use backup URL \
(server.)

Note: If I define a pool, with one server main (URL) and one backup server then the \
connection will remain with BIGIP virtual server ip address. Even though I get the \
backup for the URL’s. We don't want this to happen. So I am avoiding the pool concept

The BIG IP should involve in only redirecting the url's based on client's

SAMPLE RULE:

if (client_addr == one of abcd0001addrs) {

redirect to "http://"abcd0001.xyz.com

}

else {

if (client_addr == one of abcd0002addrs) {

redirect to "http://abcd0002.xyz.com"

}

In the above rule if abcd001 server fails then. Client will not get the response.

I am having the other backup server. But no clue how it can be taken care?

Please let me know if anybody has idea or concepts to do this

Thanks,

Girish

 



---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!


[Attachment #3 (text/html)]

<DIV>
<P></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi <?xml:namespace prefix = o ns \
= "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P> <P><SPAN \
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I would like to know if any body has done \
the following thing in BIGIP.<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">Scenario: We have got lot of web cast servers (50). Planning to \
use the BIGIP for redirecting the clients to respective servers using the rules based \
load balancing. Would like to use http redirect depends on the client ip address. \
Sample is attached below. I don't want to use the "use pool" in the rule because the \
connection will remain with BIGIP. When you see the client net stat. It shows the \
client is connected to BIG IP virtual server. Which is not feasible here in our \
scenario. Based on client ip we would like to do http redirect to the respective \
nearest server. But in this case, when redirecting to the server. If server fails \
then response fails, client will not get the response. In this case, I would like use \
the other backup severs which is same for all locations. These web cast servers \
serving same thing. But distributed globally for different locations. How should I \
achieve this??<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">I would to like achieve two things.<o:p></o:p></SPAN></P> <P \
style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: \
list .5in"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1.<SPAN style="FONT: 7pt \
'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN \
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Redirecting of URL’s based on clients \
address.<o:p></o:p></SPAN></P> <P style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; \
mso-list: l0 level1 lfo1; tab-stops: list .5in"><SPAN style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">2.<SPAN style="FONT: 7pt 'Times New \
Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-SIZE: \
10pt; FONT-FAMILY: Arial">If one of the URL fails (server), then I should able to use \
backup URL (server.)<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">Note: If I define a pool, with one server main (URL) and one \
backup server then the connection will remain with BIGIP virtual server ip address. \
Even though I get the backup for the URL’s. We don't want this to happen. So I am \
avoiding the pool concept<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">The BIG IP should involve in only redirecting the url's based on \
client's<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">SAMPLE RULE:<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">if (client_addr == one of abcd0001addrs) {<o:p></o:p></SPAN></P> \
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">redirect to \
"http://"abcd0001.xyz.com<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">}<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">else {<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">if (client_addr == one of abcd0002addrs) {<o:p></o:p></SPAN></P> \
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">redirect to \
"http://abcd0002.xyz.com"<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">}<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial">In the above rule if abcd001 server fails then. Client will not \
get the response.<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">I am having the other backup server. But no clue how it can be taken \
care?<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; \
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; \
mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Please let me know if anybody \
has idea or concepts to do this</SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; \
FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: \
EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Thanks,</SPAN></P> \
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times \
New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: \
AR-SA">Girish</SPAN></P> <P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; \
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; \
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"></SPAN>&nbsp;</P></DIV><p><hr \
SIZE=1> Do you Yahoo!?<br>
<a href="http://pa.yahoo.com/*http://rd.yahoo.com/evt=1207/*http://promo.yahoo.com/sbc/">SBC \
Yahoo! DSL</a> - Now only $29.95 per month!


____________________
The Load Balancing Mailing List
Unsubscribe:    mailto:majordomo@vegan.net?body=unsubscribe%20lb-l
Archive:        http://vegan.net/lb/archive
LBDigest:       http://lbdigest.com
MRTG with SLB:  http://vegan.net/MRTG
Hosted by:	http://www.tokkisystems.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic