You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Wladimir Boton <wb...@gmail.com> on 2007/08/01 20:12:22 UTC

Load Balancing installation

Hi, How do I install Roller Weblogger in a Load Balacing infrastructure?

I would like to install Roller in two machines. Thought round robin DNS or
hardware load balance device the user should be able to access either one
and see the same posts and comments.

I think that I should install Tomcat using load balance with JK or
mod_proxy. But and about Roller itself? It is prepared to share the same
database? And about sharing the post images?

I googled this subject and didn't find useful information.
Someone can help?

-- 
Wladimir Boton
http://www.wboton.com

Re: Load Balancing installation

Posted by Leon Messerschmidt <le...@lonelyplanet.com.au>.
Hi Dave,

I signed up for a new account a couple of months ago but I don't have
permission to add/modify pages.

I've fillout out and signed the form for contributers and mailed it to
Apache; it should be there somewhere.  There are a number of
improvements that I want to add to the wiki if I can just get the access
worked out.

~ Leon

On Tue, 2007-08-07 at 19:45 -0400, Dave wrote:
> Leon, what did you do to get access to the wiki.
> Did the sign-up below fail? Did you never get a resonse?
> 
>    http://cwiki.apache.org/confluence/signup.action
> 
> - Dave
> 
> 
> 
> On 8/7/07, Leon Messerschmidt <le...@lonelyplanet.com.au> wrote:
> > Is it ok if I add the instructions to the .odt manual?  I'll just need
> > someone to commit it for me.
> >
> > ~ Leon
> >
> > On Tue, 2007-08-07 at 19:45 -0300, Wladimir Boton wrote:
> > > Leon, any news about this? Did someone get you access to wiki?
> > >
> > > Someone knows if Roller 4.0 will have load balance installation
> > > instructions?
> > >
> > >
> > > On 8/2/07, Leon Messerschmidt <le...@lonelyplanet.com.au>
> > > wrote:
> > >
> > >         The information is already scattered throughout the list
> > >         archives.  I
> > >         would prefer to consolidate it, because this question pops up
> > >         from time
> > >         to time.
> > >
> > >         Is there anybody on this list that can help me out with access
> > >         to the
> > >         wiki?  Or at least give me the process involved to get some
> > >         content on
> > >         there?
> > >
> > >         ~ Leon
> > >
> > >         On Thu, 2007-08-02 at 14:23 -0300, Wladimir Boton wrote:
> > >         > Hi Leon, could you send the information to the list until
> > >         you have
> > >         > acces to the wiki?
> > >         >
> > >         >
> > >         > On 8/1/07, Leon Messerschmidt
> > >         <le...@lonelyplanet.com.au>
> > >         > wrote:
> > >         >
> > >         >         I've done quite a bit of work on this and I could
> > >         add a
> > >         >         summary of all
> > >         >         the load balancing information that is scattered
> > >         through the
> > >         >         mailing
> > >         >         list in the wiki if I could get access to it.
> > >         >
> > >         >         ~  Leon
> > >         >
> > >         >         On Wed, 2007-08-01 at 18:02 -0400, Andrew Smalera
> > >         wrote:
> > >         >         > Glad I can perhaps contribute something here since
> > >         the list
> > >         >         has been so
> > >         >         > valuable to me.
> > >         >         >
> > >         >         > I have recently had Roller deployed to a high
> > >         availability
> > >         >         environment.  My
> > >         >         > understanding (from what the datacenter folks tell
> > >         me) is
> > >         >         that the HA
> > >         >         > configuration part of things is a load balancer in
> > >         front of
> > >         >         2 boxes, each
> > >         >         > with Apache, mod_jk, and Tomcat 5.0.  Behind that
> > >         is an
> > >         >         Oracle RAC DB (2
> > >         >         > boxes also).  I'm not sure what load balancing
> > >         method is
> > >         >         being used.  So far
> > >         >         > it seems to be running fine.
> > >         >         >
> > >         >         > some things I've noticed are:
> > >         >         >
> > >         >         > 1 - If you're changing some core settings (like
> > >         front page
> > >         >         blog handle I
> > >         >         > believe) you'll want to restart the web app in
> > >         Tomcat on the
> > >         >         other server
> > >         >         > for it to pick it up
> > >         >         > 2 - I deployed Roller as a unpacked directory vs.
> > >         a WAR file
> > >         >         and pointed
> > >         >         > both servers at a shared location, seems to be
> > >         working fine
> > >         >         no competing for
> > >         >         > resources etc.
> > >         >         > 3 - I set the file uploads directory to also be
> > >         the same
> > >         >         folder at a shared
> > >         >         > location which I believe will eliminate the issue
> > >         of one
> > >         >         server uploading
> > >         >         > the file and the other one not seeing it..  so I'd
> > >         suggest
> > >         >         doing that.
> > >         >         >
> > >         >         > We just deployed a few days ago so if I see
> > >         anything else
> > >         >         useful to relay I
> > >         >         > will post it.
> > >         >         >
> > >         >         > Andrew
> > >         >         >
> > >         >         >
> > >         >         >
> > >         >         >
> > >         >         > ----- Original Message -----
> > >         >         > From: "Wladimir Boton" <wb...@gmail.com>
> > >         >         > To: <us...@roller.apache.org>
> > >         >         > Sent: Wednesday, August 01, 2007 2:12 PM
> > >         >         > Subject: Load Balancing installation
> > >         >         >
> > >         >         >
> > >         >         > > Hi, How do I install Roller Weblogger in a Load
> > >         Balacing
> > >         >         infrastructure?
> > >         >         > >
> > >         >         > > I would like to install Roller in two machines.
> > >         Thought
> > >         >         round robin DNS or
> > >         >         > > hardware load balance device the user should be
> > >         able to
> > >         >         access either one
> > >         >         > > and see the same posts and comments.
> > >         >         > >
> > >         >         > > I think that I should install Tomcat using load
> > >         balance
> > >         >         with JK or
> > >         >         > > mod_proxy. But and about Roller itself? It is
> > >         prepared to
> > >         >         share the same
> > >         >         > > database? And about sharing the post images?
> > >         >         > >
> > >         >         > > I googled this subject and didn't find useful
> > >         information.
> > >         >         > > Someone can help?
> > >         >         > >
> > >         >         > > --
> > >         >         > > Wladimir Boton
> > >         >         > > http://www.wboton.com
> > >         >         > >
> > >         >         >
> > >         >
> > >         >
> > >         ______________________________________________________________________
> > >         >         This email, including attachments, is intended only
> > >         for the
> > >         >         addressee
> > >         >         and may be confidential, privileged and subject to
> > >         >         copyright.  If you
> > >         >         have received this email in error, please advise the
> > >         sender
> > >         >         and delete
> > >         >         it.  If you are not the intended recipient of this
> > >         email, you
> > >         >         must not
> > >         >         use, copy or disclose its content to anyone.  You
> > >         must not
> > >         >         copy or
> > >         >         communicate to others content that is confidential
> > >         or subject
> > >         >         to
> > >         >         copyright, unless you have the consent of the
> > >         content owner.
> > >         >
> > >         >
> > >         >
> > >         > --
> > >         > Wladimir Boton
> > >         > http://www.wboton.com
> > >
> > >         ______________________________________________________________________
> > >         This email, including attachments, is intended only for the
> > >         addressee
> > >         and may be confidential, privileged and subject to
> > >         copyright.  If you
> > >         have received this email in error, please advise the sender
> > >         and delete
> > >         it.  If you are not the intended recipient of this email, you
> > >         must not
> > >         use, copy or disclose its content to anyone.  You must not
> > >         copy or
> > >         communicate to others content that is confidential or subject
> > >         to
> > >         copyright, unless you have the consent of the content owner.
> > >
> > >
> > >
> > > --
> > > Wladimir Boton
> > > http://www.wboton.com
> >
> > ______________________________________________________________________
> > This email, including attachments, is intended only for the addressee
> > and may be confidential, privileged and subject to copyright.  If you
> > have received this email in error, please advise the sender and delete
> > it.  If you are not the intended recipient of this email, you must not
> > use, copy or disclose its content to anyone.  You must not copy or
> > communicate to others content that is confidential or subject to
> > copyright, unless you have the consent of the content owner.
> >

Re: Load Balancing installation

Posted by Dave <sn...@gmail.com>.
Leon, what did you do to get access to the wiki.
Did the sign-up below fail? Did you never get a resonse?

   http://cwiki.apache.org/confluence/signup.action

- Dave



On 8/7/07, Leon Messerschmidt <le...@lonelyplanet.com.au> wrote:
> Is it ok if I add the instructions to the .odt manual?  I'll just need
> someone to commit it for me.
>
> ~ Leon
>
> On Tue, 2007-08-07 at 19:45 -0300, Wladimir Boton wrote:
> > Leon, any news about this? Did someone get you access to wiki?
> >
> > Someone knows if Roller 4.0 will have load balance installation
> > instructions?
> >
> >
> > On 8/2/07, Leon Messerschmidt <le...@lonelyplanet.com.au>
> > wrote:
> >
> >         The information is already scattered throughout the list
> >         archives.  I
> >         would prefer to consolidate it, because this question pops up
> >         from time
> >         to time.
> >
> >         Is there anybody on this list that can help me out with access
> >         to the
> >         wiki?  Or at least give me the process involved to get some
> >         content on
> >         there?
> >
> >         ~ Leon
> >
> >         On Thu, 2007-08-02 at 14:23 -0300, Wladimir Boton wrote:
> >         > Hi Leon, could you send the information to the list until
> >         you have
> >         > acces to the wiki?
> >         >
> >         >
> >         > On 8/1/07, Leon Messerschmidt
> >         <le...@lonelyplanet.com.au>
> >         > wrote:
> >         >
> >         >         I've done quite a bit of work on this and I could
> >         add a
> >         >         summary of all
> >         >         the load balancing information that is scattered
> >         through the
> >         >         mailing
> >         >         list in the wiki if I could get access to it.
> >         >
> >         >         ~  Leon
> >         >
> >         >         On Wed, 2007-08-01 at 18:02 -0400, Andrew Smalera
> >         wrote:
> >         >         > Glad I can perhaps contribute something here since
> >         the list
> >         >         has been so
> >         >         > valuable to me.
> >         >         >
> >         >         > I have recently had Roller deployed to a high
> >         availability
> >         >         environment.  My
> >         >         > understanding (from what the datacenter folks tell
> >         me) is
> >         >         that the HA
> >         >         > configuration part of things is a load balancer in
> >         front of
> >         >         2 boxes, each
> >         >         > with Apache, mod_jk, and Tomcat 5.0.  Behind that
> >         is an
> >         >         Oracle RAC DB (2
> >         >         > boxes also).  I'm not sure what load balancing
> >         method is
> >         >         being used.  So far
> >         >         > it seems to be running fine.
> >         >         >
> >         >         > some things I've noticed are:
> >         >         >
> >         >         > 1 - If you're changing some core settings (like
> >         front page
> >         >         blog handle I
> >         >         > believe) you'll want to restart the web app in
> >         Tomcat on the
> >         >         other server
> >         >         > for it to pick it up
> >         >         > 2 - I deployed Roller as a unpacked directory vs.
> >         a WAR file
> >         >         and pointed
> >         >         > both servers at a shared location, seems to be
> >         working fine
> >         >         no competing for
> >         >         > resources etc.
> >         >         > 3 - I set the file uploads directory to also be
> >         the same
> >         >         folder at a shared
> >         >         > location which I believe will eliminate the issue
> >         of one
> >         >         server uploading
> >         >         > the file and the other one not seeing it..  so I'd
> >         suggest
> >         >         doing that.
> >         >         >
> >         >         > We just deployed a few days ago so if I see
> >         anything else
> >         >         useful to relay I
> >         >         > will post it.
> >         >         >
> >         >         > Andrew
> >         >         >
> >         >         >
> >         >         >
> >         >         >
> >         >         > ----- Original Message -----
> >         >         > From: "Wladimir Boton" <wb...@gmail.com>
> >         >         > To: <us...@roller.apache.org>
> >         >         > Sent: Wednesday, August 01, 2007 2:12 PM
> >         >         > Subject: Load Balancing installation
> >         >         >
> >         >         >
> >         >         > > Hi, How do I install Roller Weblogger in a Load
> >         Balacing
> >         >         infrastructure?
> >         >         > >
> >         >         > > I would like to install Roller in two machines.
> >         Thought
> >         >         round robin DNS or
> >         >         > > hardware load balance device the user should be
> >         able to
> >         >         access either one
> >         >         > > and see the same posts and comments.
> >         >         > >
> >         >         > > I think that I should install Tomcat using load
> >         balance
> >         >         with JK or
> >         >         > > mod_proxy. But and about Roller itself? It is
> >         prepared to
> >         >         share the same
> >         >         > > database? And about sharing the post images?
> >         >         > >
> >         >         > > I googled this subject and didn't find useful
> >         information.
> >         >         > > Someone can help?
> >         >         > >
> >         >         > > --
> >         >         > > Wladimir Boton
> >         >         > > http://www.wboton.com
> >         >         > >
> >         >         >
> >         >
> >         >
> >         ______________________________________________________________________
> >         >         This email, including attachments, is intended only
> >         for the
> >         >         addressee
> >         >         and may be confidential, privileged and subject to
> >         >         copyright.  If you
> >         >         have received this email in error, please advise the
> >         sender
> >         >         and delete
> >         >         it.  If you are not the intended recipient of this
> >         email, you
> >         >         must not
> >         >         use, copy or disclose its content to anyone.  You
> >         must not
> >         >         copy or
> >         >         communicate to others content that is confidential
> >         or subject
> >         >         to
> >         >         copyright, unless you have the consent of the
> >         content owner.
> >         >
> >         >
> >         >
> >         > --
> >         > Wladimir Boton
> >         > http://www.wboton.com
> >
> >         ______________________________________________________________________
> >         This email, including attachments, is intended only for the
> >         addressee
> >         and may be confidential, privileged and subject to
> >         copyright.  If you
> >         have received this email in error, please advise the sender
> >         and delete
> >         it.  If you are not the intended recipient of this email, you
> >         must not
> >         use, copy or disclose its content to anyone.  You must not
> >         copy or
> >         communicate to others content that is confidential or subject
> >         to
> >         copyright, unless you have the consent of the content owner.
> >
> >
> >
> > --
> > Wladimir Boton
> > http://www.wboton.com
>
> ______________________________________________________________________
> This email, including attachments, is intended only for the addressee
> and may be confidential, privileged and subject to copyright.  If you
> have received this email in error, please advise the sender and delete
> it.  If you are not the intended recipient of this email, you must not
> use, copy or disclose its content to anyone.  You must not copy or
> communicate to others content that is confidential or subject to
> copyright, unless you have the consent of the content owner.
>

Re: Load Balancing installation

Posted by Leon Messerschmidt <le...@lonelyplanet.com.au>.
Still no access to the wiki.  

Is it ok if I add the instructions to the .odt manual?  I'll just need
someone to commit it for me.

~ Leon

On Tue, 2007-08-07 at 19:45 -0300, Wladimir Boton wrote:
> Leon, any news about this? Did someone get you access to wiki? 
>  
> Someone knows if Roller 4.0 will have load balance installation
> instructions?
> 
>  
> On 8/2/07, Leon Messerschmidt <le...@lonelyplanet.com.au>
> wrote: 
>         
>         The information is already scattered throughout the list
>         archives.  I
>         would prefer to consolidate it, because this question pops up
>         from time 
>         to time.
>         
>         Is there anybody on this list that can help me out with access
>         to the
>         wiki?  Or at least give me the process involved to get some
>         content on
>         there?
>         
>         ~ Leon
>         
>         On Thu, 2007-08-02 at 14:23 -0300, Wladimir Boton wrote: 
>         > Hi Leon, could you send the information to the list until
>         you have
>         > acces to the wiki?
>         >
>         >
>         > On 8/1/07, Leon Messerschmidt
>         <le...@lonelyplanet.com.au>
>         > wrote:
>         >
>         >         I've done quite a bit of work on this and I could
>         add a
>         >         summary of all
>         >         the load balancing information that is scattered
>         through the
>         >         mailing 
>         >         list in the wiki if I could get access to it.
>         >
>         >         ~  Leon
>         >
>         >         On Wed, 2007-08-01 at 18:02 -0400, Andrew Smalera
>         wrote:
>         >         > Glad I can perhaps contribute something here since
>         the list 
>         >         has been so
>         >         > valuable to me.
>         >         >
>         >         > I have recently had Roller deployed to a high
>         availability
>         >         environment.  My
>         >         > understanding (from what the datacenter folks tell
>         me) is 
>         >         that the HA
>         >         > configuration part of things is a load balancer in
>         front of
>         >         2 boxes, each
>         >         > with Apache, mod_jk, and Tomcat 5.0.  Behind that
>         is an
>         >         Oracle RAC DB (2 
>         >         > boxes also).  I'm not sure what load balancing
>         method is
>         >         being used.  So far
>         >         > it seems to be running fine.
>         >         >
>         >         > some things I've noticed are: 
>         >         >
>         >         > 1 - If you're changing some core settings (like
>         front page
>         >         blog handle I
>         >         > believe) you'll want to restart the web app in
>         Tomcat on the 
>         >         other server
>         >         > for it to pick it up
>         >         > 2 - I deployed Roller as a unpacked directory vs.
>         a WAR file
>         >         and pointed
>         >         > both servers at a shared location, seems to be
>         working fine 
>         >         no competing for
>         >         > resources etc.
>         >         > 3 - I set the file uploads directory to also be
>         the same
>         >         folder at a shared
>         >         > location which I believe will eliminate the issue
>         of one 
>         >         server uploading
>         >         > the file and the other one not seeing it..  so I'd
>         suggest
>         >         doing that.
>         >         >
>         >         > We just deployed a few days ago so if I see
>         anything else 
>         >         useful to relay I
>         >         > will post it.
>         >         >
>         >         > Andrew
>         >         >
>         >         >
>         >         >
>         >         >
>         >         > ----- Original Message ----- 
>         >         > From: "Wladimir Boton" <wb...@gmail.com>
>         >         > To: <us...@roller.apache.org>
>         >         > Sent: Wednesday, August 01, 2007 2:12 PM
>         >         > Subject: Load Balancing installation
>         >         >
>         >         >
>         >         > > Hi, How do I install Roller Weblogger in a Load
>         Balacing 
>         >         infrastructure?
>         >         > >
>         >         > > I would like to install Roller in two machines.
>         Thought
>         >         round robin DNS or
>         >         > > hardware load balance device the user should be
>         able to 
>         >         access either one
>         >         > > and see the same posts and comments.
>         >         > >
>         >         > > I think that I should install Tomcat using load
>         balance
>         >         with JK or 
>         >         > > mod_proxy. But and about Roller itself? It is
>         prepared to
>         >         share the same
>         >         > > database? And about sharing the post images?
>         >         > >
>         >         > > I googled this subject and didn't find useful
>         information. 
>         >         > > Someone can help?
>         >         > >
>         >         > > --
>         >         > > Wladimir Boton
>         >         > > http://www.wboton.com 
>         >         > >
>         >         >
>         >
>         >
>         ______________________________________________________________________
>         >         This email, including attachments, is intended only
>         for the
>         >         addressee
>         >         and may be confidential, privileged and subject to
>         >         copyright.  If you
>         >         have received this email in error, please advise the
>         sender
>         >         and delete 
>         >         it.  If you are not the intended recipient of this
>         email, you
>         >         must not
>         >         use, copy or disclose its content to anyone.  You
>         must not
>         >         copy or
>         >         communicate to others content that is confidential
>         or subject 
>         >         to
>         >         copyright, unless you have the consent of the
>         content owner.
>         >
>         >
>         >
>         > --
>         > Wladimir Boton
>         > http://www.wboton.com
>         
>         ______________________________________________________________________
>         This email, including attachments, is intended only for the
>         addressee
>         and may be confidential, privileged and subject to
>         copyright.  If you
>         have received this email in error, please advise the sender
>         and delete
>         it.  If you are not the intended recipient of this email, you
>         must not
>         use, copy or disclose its content to anyone.  You must not
>         copy or
>         communicate to others content that is confidential or subject
>         to 
>         copyright, unless you have the consent of the content owner.
> 
> 
> 
> -- 
> Wladimir Boton
> http://www.wboton.com 

______________________________________________________________________
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright.  If you
have received this email in error, please advise the sender and delete
it.  If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone.  You must not copy or 
communicate to others content that is confidential or subject to 
copyright, unless you have the consent of the content owner.

Re: Load Balancing installation

Posted by Wladimir Boton <wb...@gmail.com>.
Hi Leon, could you send the information to the list until you have acces to
the wiki?


On 8/1/07, Leon Messerschmidt <le...@lonelyplanet.com.au>
wrote:
>
>
> I've done quite a bit of work on this and I could add a summary of all
> the load balancing information that is scattered through the mailing
> list in the wiki if I could get access to it.
>
> ~  Leon
>
> On Wed, 2007-08-01 at 18:02 -0400, Andrew Smalera wrote:
> > Glad I can perhaps contribute something here since the list has been so
> > valuable to me.
> >
> > I have recently had Roller deployed to a high availability
> environment.  My
> > understanding (from what the datacenter folks tell me) is that the HA
> > configuration part of things is a load balancer in front of 2 boxes,
> each
> > with Apache, mod_jk, and Tomcat 5.0.  Behind that is an Oracle RAC DB (2
> > boxes also).  I'm not sure what load balancing method is being used.  So
> far
> > it seems to be running fine.
> >
> > some things I've noticed are:
> >
> > 1 - If you're changing some core settings (like front page blog handle I
> > believe) you'll want to restart the web app in Tomcat on the other
> server
> > for it to pick it up
> > 2 - I deployed Roller as a unpacked directory vs. a WAR file and pointed
> > both servers at a shared location, seems to be working fine no competing
> for
> > resources etc.
> > 3 - I set the file uploads directory to also be the same folder at a
> shared
> > location which I believe will eliminate the issue of one server
> uploading
> > the file and the other one not seeing it..  so I'd suggest doing that.
> >
> > We just deployed a few days ago so if I see anything else useful to
> relay I
> > will post it.
> >
> > Andrew
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Wladimir Boton" <wb...@gmail.com>
> > To: <us...@roller.apache.org>
> > Sent: Wednesday, August 01, 2007 2:12 PM
> > Subject: Load Balancing installation
> >
> >
> > > Hi, How do I install Roller Weblogger in a Load Balacing
> infrastructure?
> > >
> > > I would like to install Roller in two machines. Thought round robin
> DNS or
> > > hardware load balance device the user should be able to access either
> one
> > > and see the same posts and comments.
> > >
> > > I think that I should install Tomcat using load balance with JK or
> > > mod_proxy. But and about Roller itself? It is prepared to share the
> same
> > > database? And about sharing the post images?
> > >
> > > I googled this subject and didn't find useful information.
> > > Someone can help?
> > >
> > > --
> > > Wladimir Boton
> > > http://www.wboton.com
> > >
> >
>
> ______________________________________________________________________
> This email, including attachments, is intended only for the addressee
> and may be confidential, privileged and subject to copyright.  If you
> have received this email in error, please advise the sender and delete
> it.  If you are not the intended recipient of this email, you must not
> use, copy or disclose its content to anyone.  You must not copy or
> communicate to others content that is confidential or subject to
> copyright, unless you have the consent of the content owner.
>



-- 
Wladimir Boton
http://www.wboton.com

Re: Load Balancing installation

Posted by Leon Messerschmidt <le...@lonelyplanet.com.au>.
I've done quite a bit of work on this and I could add a summary of all
the load balancing information that is scattered through the mailing
list in the wiki if I could get access to it.

~  Leon

On Wed, 2007-08-01 at 18:02 -0400, Andrew Smalera wrote:
> Glad I can perhaps contribute something here since the list has been so 
> valuable to me.
> 
> I have recently had Roller deployed to a high availability environment.  My 
> understanding (from what the datacenter folks tell me) is that the HA 
> configuration part of things is a load balancer in front of 2 boxes, each 
> with Apache, mod_jk, and Tomcat 5.0.  Behind that is an Oracle RAC DB (2 
> boxes also).  I'm not sure what load balancing method is being used.  So far 
> it seems to be running fine.
> 
> some things I've noticed are:
> 
> 1 - If you're changing some core settings (like front page blog handle I 
> believe) you'll want to restart the web app in Tomcat on the other server 
> for it to pick it up
> 2 - I deployed Roller as a unpacked directory vs. a WAR file and pointed 
> both servers at a shared location, seems to be working fine no competing for 
> resources etc.
> 3 - I set the file uploads directory to also be the same folder at a shared 
> location which I believe will eliminate the issue of one server uploading 
> the file and the other one not seeing it..  so I'd suggest doing that.
> 
> We just deployed a few days ago so if I see anything else useful to relay I 
> will post it.
> 
> Andrew
> 
> 
> 
> 
> ----- Original Message ----- 
> From: "Wladimir Boton" <wb...@gmail.com>
> To: <us...@roller.apache.org>
> Sent: Wednesday, August 01, 2007 2:12 PM
> Subject: Load Balancing installation
> 
> 
> > Hi, How do I install Roller Weblogger in a Load Balacing infrastructure?
> >
> > I would like to install Roller in two machines. Thought round robin DNS or
> > hardware load balance device the user should be able to access either one
> > and see the same posts and comments.
> >
> > I think that I should install Tomcat using load balance with JK or
> > mod_proxy. But and about Roller itself? It is prepared to share the same
> > database? And about sharing the post images?
> >
> > I googled this subject and didn't find useful information.
> > Someone can help?
> >
> > -- 
> > Wladimir Boton
> > http://www.wboton.com
> > 
> 

______________________________________________________________________
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright.  If you
have received this email in error, please advise the sender and delete
it.  If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone.  You must not copy or 
communicate to others content that is confidential or subject to 
copyright, unless you have the consent of the content owner.

Re: Load Balancing installation

Posted by Andrew Smalera <as...@hotmail.com>.
Glad I can perhaps contribute something here since the list has been so 
valuable to me.

I have recently had Roller deployed to a high availability environment.  My 
understanding (from what the datacenter folks tell me) is that the HA 
configuration part of things is a load balancer in front of 2 boxes, each 
with Apache, mod_jk, and Tomcat 5.0.  Behind that is an Oracle RAC DB (2 
boxes also).  I'm not sure what load balancing method is being used.  So far 
it seems to be running fine.

some things I've noticed are:

1 - If you're changing some core settings (like front page blog handle I 
believe) you'll want to restart the web app in Tomcat on the other server 
for it to pick it up
2 - I deployed Roller as a unpacked directory vs. a WAR file and pointed 
both servers at a shared location, seems to be working fine no competing for 
resources etc.
3 - I set the file uploads directory to also be the same folder at a shared 
location which I believe will eliminate the issue of one server uploading 
the file and the other one not seeing it..  so I'd suggest doing that.

We just deployed a few days ago so if I see anything else useful to relay I 
will post it.

Andrew




----- Original Message ----- 
From: "Wladimir Boton" <wb...@gmail.com>
To: <us...@roller.apache.org>
Sent: Wednesday, August 01, 2007 2:12 PM
Subject: Load Balancing installation


> Hi, How do I install Roller Weblogger in a Load Balacing infrastructure?
>
> I would like to install Roller in two machines. Thought round robin DNS or
> hardware load balance device the user should be able to access either one
> and see the same posts and comments.
>
> I think that I should install Tomcat using load balance with JK or
> mod_proxy. But and about Roller itself? It is prepared to share the same
> database? And about sharing the post images?
>
> I googled this subject and didn't find useful information.
> Someone can help?
>
> -- 
> Wladimir Boton
> http://www.wboton.com
>