----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I don't believe that's possible without changing the mod_jserv source, but 
it's probably fairly easy to implement a weight of zero. The reason zero 
doesn't work now is that the weight simply indicates the number of copies 
of a pointer to that jserv instance to put into the circular linked list. 
If you enter zero, it will put zero copies into the list.


Bernie

At 03:21 PM 6/12/2000 -0700, Michael Grafton wrote:
>----------------------------------------------------------------
>BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>WHEN YOU POST, include all relevant version numbers, log files,
>and configuration files.  Don't make us guess your problem!!!
>----------------------------------------------------------------
>
>Thanks for the suggestion David.  Unfortunately this approach doesn't work
>for me because I'm trying to guard against the worst-possible scenario --
>failure that affects an entire box (disk failure for instance).  In that
>case I want mod_jserv to redirect traffic to a JVM running on a different
>machine, with minimal interruption of service.
>
>Mike
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of David
> > Engberg
> > Sent: Monday, June 12, 2000 2:59 PM
> > To: Java Apache Users
> > Subject: Re: implementing a "standby" load-balancing scheme
> >
> >
> > ----------------------------------------------------------------
> > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > WHEN YOU POST, include all relevant version numbers, log files,
> > and configuration files.  Don't make us guess your problem!!!
> > ----------------------------------------------------------------
> >
> > We do this with a JServ start-up shell script that hangs around and waits
> > for JServ to die, then starts a new iteration.  Put this in a loop that
> > will perform 10 restarts before giving up, send out email with each death
> > to the admin so you know what's happening.
> >
> > Since JServ is pretty quick to start-up on a Solaris box (a few seconds),
> > this seems to work pretty well.
> >
> >
> > --On Monday, June 12, 2000 2:50 PM -0700 Michael Grafton
> > <[EMAIL PROTECTED]> wrote:
> >
> > > ----------------------------------------------------------------
> > > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > > WHEN YOU POST, include all relevant version numbers, log files,
> > > and configuration files.  Don't make us guess your problem!!!
> > > ----------------------------------------------------------------
> > >
> > > Hey All --
> > >
> > > I'm wondering if anybody has any suggestions on how to run JServ with a
> > > "hot standby", i.e., one JServ normally services all the
> > requests, but if
> > > that JVM goes down, all traffic gets forwarded to the backup JVM.
> > >
> > > I tried using a weight of "0" and "1" in jserv.conf, but this
> > didn't work;
> > > as soon as the "1" weighted JVM went down, requests starting failing.
> > > Apparently mod_jserv doesn't do too well with the "0" weight in there.
> > >
> > > Any other way to do this without hacking mod_jserv?
> > >
> > > Michael A. Grafton
> > > Senior Software Engineer
> > > Live365.com
> > > ***Check Out My Broadcasts***
> > > [music to code to]
> > > http://www.live365.com/cgi-bin/directory.cgi?autostart=djgrafton
> > > [kitchen-sink]
> > > http://www.live365.com/cgi-bin/directory.cgi?autostart=homie
> > >
> > >
> > >
> > > --
> > > --------------------------------------------------------------
> > > Please read the FAQ! <http://java.apache.org/faq/>
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> > > Archives and Other:  <http://java.apache.org/main/mail.html>
> > > Problems?:           [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > Please read the FAQ! <http://java.apache.org/faq/>
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Archives and Other:  <http://java.apache.org/main/mail.html>
> > Problems?:           [EMAIL PROTECTED]
> >
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Archives and Other:  <http://java.apache.org/main/mail.html>
>Problems?:           [EMAIL PROTECTED]

Bernie Bernstein
Talk City Inc.
[EMAIL PROTECTED]             Join the Conversation.
voice: 617-244-0571                          http://www.talkcity.com/



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to