Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: Urgent: Load Balancer Needed Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
CelloJ
Newbie
Newbie


Joined: 14 April 2008
Location: United States
Online Status: Offline
Posts: 22
Posted: 14 July 2008 at 9:35am | IP Logged Quote CelloJ

Dear Forum,

I have a situation in which I need to create a virtual load balancer on the fly using v. 2 Lite.

I have found info on how to Load Balance in v.3, but need your help to do it in v.2.  By looking at the v3 instructions below, I can see all v2 is missing is the ability to randomize.

At the moment, I cannot upgrade to v3 because my rules are long and very much untested in v3.  Please help!

RewriteMap hosts rnd:hosts.txt

RewriteCond %{HTTP:Host} (www)\.mysite.com [NC]
RewriteRule (.*) http://${hosts:%1}.mysite.com$1 [R,L]

The example above assumes the creation of an external subdomain, but in my case, it would be easier to randomize on a internal IP...  Is that possible?

Thank you so much in advance,

CelloJ

Back to Top View CelloJ's Profile Search for other posts by CelloJ Visit CelloJ's Homepage
 
CelloJ
Newbie
Newbie


Joined: 14 April 2008
Location: United States
Online Status: Offline
Posts: 22
Posted: 14 July 2008 at 9:36am | IP Logged Quote CelloJ

I am thinking that randomizing on a proxy could work...
Back to Top View CelloJ's Profile Search for other posts by CelloJ Visit CelloJ's Homepage
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 28 July 2008 at 5:43pm | IP Logged Quote Lexey

ISAPI_Rewrite 2 does not provide randomization functions. You will need to create your own script performing balancing. Then you could rewrite all incoming requests to this script with the help of ISAPI_Rewrite.
Back to Top View Lexey's Profile Search for other posts by Lexey
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum