head	1.8;
access;
symbols;
locks
	nobody:1.8; strict;
comment	@# @;


1.8
date	99.04.16.23.03.37;	author nobody;	state Exp;
branches;
next	1.7;

1.7
date	99.04.01.18.35.09;	author nobody;	state Exp;
branches;
next	1.6;

1.6
date	99.03.23.17.21.56;	author nobody;	state Exp;
branches;
next	1.5;

1.5
date	99.03.04.23.13.10;	author httpd;	state Exp;
branches;
next	1.4;

1.4
date	99.03.04.22.48.37;	author httpd;	state Exp;
branches;
next	1.3;

1.3
date	99.03.04.18.57.00;	author httpd;	state Exp;
branches;
next	1.2;

1.2
date	99.03.04.18.56.02;	author httpd;	state Exp;
branches;
next	1.1;

1.1
date	99.03.04.18.55.37;	author httpd;	state Exp;
branches;
next	;


desc
@null
@


1.8
log
@null
@
text
@IDependOn-Set: 1
IDependOn-Set: 2
IDependOn-Set: 30
IDependOn-Set: 33
IDependOn-Set: 34
IDependOn-Set: 7
LastModifiedSecs: 922991709
Parent: 34
SequenceNumber: 4
Title: How do I use the load balancing features of Apache JServ 1.0b3 and higher?
Part: 0
Author-Set: jon@@working-dogs.com
LastModifiedSecs: 920573820
Type: monospaced
Lines: 64
----------
From: Jean-Luc Rochat <Jean-Luc.Rochat@@alcatel.fr>
To: Java Apache Users <java-apache-users@@list.working-dogs.com>
Subject: [repost] Load-balancing params setting
Date: Thu, Mar 4, 1999, 1:56 AM

FYI, I'm writing a load-balancing mini-HowTo. still to be finished ....

But I repost here load-balancing params description.

How it works :
A NEW request is a request wich is not in a HTTP session (no session cookie)
balance in the protocol URL means that NEW requests will be dispatched between
a set of JServ instances.
A JServ instance is one JServ URL : identified by protocol://host:port

A set contains 0 .. n JServ instances
a JServ instance can belong to 0 .. n sets

A cookie-trailer is a String appended to the end of the session cookie.
Routing parameters associate one cookie trailer to one JServ. (cookies are set
by JServ but chosen/used by mod_jserv)
One JServ can use 0..n cookie-trailers.

Configuration example :

# /try1 and /try2 are servlet mount points that point to the same zone zone1
# this apache will balance new requests to set1, which is a set of JServ
ionstances
ApJServMount /try1 balance://set1/zone1
ApJServMount /try2 balance://set1/zone1

# /test is a servlet mount point that points to set1 in another zone
ApJServMount /test  balance://set1/zone2

# /servlet is a servlet mount point that points to set2
ApJServMount /servlet  balance://set2/zone1

#set 1 description
ApJServBalance set1 PII450-1
ApJServBalance set1 PII450-2
#set 2 description (host firstE450 has a weight = 4, Sparc5 = 1 just an
exemple)
ApJServBalance set2 Sparc5 1
ApJServBalance set2 firstE450 4

#JServ instances description
ApJHost PII450-1 ajpv11://192.168.0.5:18500
ApJHost PII450-2 ajpv11://192.168.0.5:18501    // (same PC, 2 JServs)
ApJHost Sparc5 ajpv11://192.168.0.6:18500
ApJHost firstE450 ajpv11://192.168.0.7:8560

#session routing params
ApJRoute 567jkg PII450-1
ApJRoute yup33 PII450-2
ApJRoute sun1 Sparc5
ApJRoute 9985gg55 firstE450

This is still experimental. Working perfectly on some sites, but not totally
<SMILEY>idiot</SMILEY> proof. : you have to check  carefully your
configuration. Once your configuration is OK, it should do the job. As usual,
use it at your own risks.

Jean-Luc Rochat
EndPart: 0
Part: 1
Author-Set: anonymous
HideAttributions: 1
LastModifiedSecs: 922991700
Type: 
Lines: 4
Subcategories:


Answers in this category:
EndPart: 1
@


1.7
log
@null
@
text
@a82 1
DateOfPart: 1999-Apr-01 10:35am
d84 2
@


1.6
log
@null
@
text
@d7 1
a7 1
LastModifiedSecs: 922209715
d9 1
a9 1
SequenceNumber: 3
d83 1
a84 1
Type: directory
@


1.5
log
@null
@
text
@d7 1
a7 1
LastModifiedSecs: 920587717
d9 1
a9 1
SequenceNumber: 2
d81 10
@


1.4
log
@null
@
text
@d4 1
@


1.3
log
@null
@
text
@a2 1
IDependOn-Set: 29
d4 1
d6 2
a7 2
LastModifiedSecs: 920573820
Parent: 7
d12 1
a12 1
DateOfPart: 1999-Mar-04 10:57am
@


1.2
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 920573762
d8 1
a8 1
SequenceNumber: 1
d10 70
@


1.1
log
@null
@
text
@d3 1
d6 1
a6 1
LastModifiedSecs: 920573737
d8 2
a9 2
SequenceNumber: 0
Title: New Item
@
