The link helix84 sent along is a bit outdated (from 2010).  These days,
I've found that often the easiest way to run multiple DSpace sites on a
server is to run multiple Tomcat instances (one per site) on different
ports (e.g. one site/Tomcat responding on port 8080 and another on port
8081). You can then put an Apache webserver in front of them (on port 80)
which uses mod_proxy to forward requests to the proper Tomcat instance,
based on the URL being requested. Running multiple sites on separate
Tomcat's also has the distinct advantage of allowing you to restart/reboot
one site without affecting the other(s).

Examples of setting up Apache with mod_proxy in front of Tomcat can be
found in the DSpace installation instructions at:
https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-UsingSSLonApacheHTTPDinfrontofTomcat(runningonports80and443)

To setup multiple sites with multiple Tomcat instances, you'd get two
Tomcat sites running on separate ports (including separate AJP ports), and
then create a separate Apache VirtualHost configuration per site (see the
examples) which tells Apache to forward requests to a particular URL on to
a specific Tomcat instance (via its AJP port)

The multiple sites can use the same instance of PostgreSQL as long as they
use *separate* databases within PostgreSQL. Or if you'd rather, they could
use separate instances of PostgreSQL altogether. In other words, each
DSpace site MUST have a unique "db.url" setting in dspace.cfg (either
specifying different ports for different PostgreSQL instances...or using
the same port, but specifying different database names).

I hope that helps!

Tim

On Fri, Jan 6, 2017 at 4:09 AM Shaun donovan <[email protected]> wrote:

> Hi all.
>
> Just an observation. Will following the instructions provided not cause
> problems on the solr server which listens by default on localhost?
>
>
> On 06/01/2017 10:34, helix84 wrote:
> > See https://wiki.duraspace.org/display/DSPACE/MultipleDspaceOneServer
> >
> >
> > Regards,
> > ~~helix84
> >
> > Compulsory reading: DSpace Mailing List Etiquette
> > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> >
> >
> > On Thu, Jan 5, 2017 at 5:57 PM, Jeff Mitchell <[email protected]>
> wrote:
> >> Hello All,
> >>
> >> I have two instances of dspace on two servers.  I am wondering if I
> could
> >> combine them into one server.
> >>
> >> Thanks in advance,
> >>
> >> Jeff
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "DSpace Technical Support" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to [email protected].
> >> To post to this group, send email to [email protected].
> >> Visit this group at https://groups.google.com/group/dspace-tech.
> >> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to