We are successfully running 2 separate instances of DSpace 1.5.1 on the same
server. Our configuration is something like this:
Instance 1: Instance 2:
dspace.dir /dspace
/dspace-2
dspace-source.dir /dspace-1.5.1-src-release
/dspace-1.5.1-src-release-2
dspace.url http://dspace.nasa.gov<http://dspace.nasa.gov/>
http://dspace-2.nasa.gov<http://dspace-2.nasa.gov/>
db.url jdbc:postgresql://127.0.0.1:5432/dspace
jdbc:postgresql://127.0.0.1:5432/dspace-2
db.username dspace
dspace-2
One thing that we did to minimize the chances of getting the two instances
mixed up when we're making changes to one or the other was to prohibit both the
unix user id and postgreSQL login roles for each instance from having any type
of access to the other.
Hope this helps.
Sue
Sue Walker-Thornton
NASA Langley Research Center
Integrated Library Systems ~ Developer, Application & Database Administrator
ConITS Contract
NCI Information Systems, Inc.
130 Research Drive
Hampton, VA 23666
Office: (757) 224-4074
Fax: (757) 224-4001
Mobile: (757) 506-9903
Email: susan.m.thorn...@nasa.gov<mailto:susan.m.thorn...@nasa.gov>
-----Original Message-----
From: Mark Diggory [mailto:mdigg...@atmire.com]
Sent: Saturday, April 03, 2010 8:21 PM
To: bryce ray
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Multiple Instances of Dspace on one server
I would check your in each installation directory:
[dspace.install.dir]/webapps/xmlui/WEB-INF/xmlui.xconf
[dspace.install.dir]/config/xmlui.xconf
I would also check that your configured dspace.cfg setting in the
webapplication points at the correct install:
[dspace.install.dir]/webapps/xmlui/WEB-INF/web.xml
Mark
On Sat, Apr 3, 2010 at 4:52 PM, bryce ray <bryceray1...@gmail.com> wrote:
> I currently have a seperate database setup for the second instance (and
> defined in the dspace.cfg file).
> The problem actually has to do with more than just mirrored data. The two
> websites have slightly different teplates, and the second instance is using
> the same template as the first when it should be using its own. I think it
> may also have something to do with mod_jk, apache, or tomcat.
>
> On Sat, Apr 3, 2010 at 5:59 PM, Mark Diggory <mdigg...@atmire.com> wrote:
>>
>> you need to setup a different database in your postgres cluster for
>> the second instance or it will use the same database as the first see
>> the database configuration section of your dspace.cfg in your second
>> instance for issues.
>>
>> The following instructions are ancient and relatively inaccurate, but
>> will give you some ideas...
>> http://wiki.dspace.org/index.php/MultipleDspaceOneServer
>>
>> Cheers,
>> Mark
>>
>>
>> On Sat, Apr 3, 2010 at 1:51 PM, bryce ray <bryceray1...@gmail.com> wrote:
>> > I'm attempting to install two instances of dspace on my server. I've
>> > run
>> > into one problem which I can't seem to fix.
>> >
>> > I created the second instance of dspace from scratch by downloading the
>> > release install, packaging, installing, and configuring. I believe I
>> > have
>> > everything setup correctly but when I visit the second instance of
>> > dspace on
>> > the web it is an exact mirror image of the first instance. I've double
>> > checked all my settings in dspace.cfg and everything points to the
>> > correct
>> > url and directory path for the new instance.
>> >
>> > Anyone else experience this problem?
>> >
>> > dSpace 1.6
>> > centos
>> > apache/tomcat
>> > using mod_jk to redirect from port 8080 to 80.
>> >
>> > Let me know if you need any more information. Unfortunately, I can now
>> > release a url to the website as it would violate my confidentiality
>> > agreement.
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Download Intel® Parallel Studio Eval
>> > Try the new software tools for yourself. Speed compiling, find bugs
>> > proactively, and fine-tune applications for parallel performance.
>> > See why Intel Parallel Studio got high marks during beta.
>> > http://p.sf.net/sfu/intel-sw-dev
>> > _______________________________________________
>> > DSpace-tech mailing list
>> > DSpace-tech@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> >
>> >
>> --
>> Mark R. Diggory
>> Head of U.S. Operations - @mire
>>
>> http://www.atmire.com - Institutional Repository Solutions
>> http://www.togather.eu - Before getting together, get t...@ther
>
>
--
Mark R. Diggory
Head of U.S. Operations - @mire
http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get t...@ther
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech