I found this old discussion (from fall of 2007) and followed the instructions, 
however I believe these instructions were geared toward DSpace 1.4.2.  Given 
that the compile and assemble steps are very different in DSpace 1.5.1, I'm 
wondering if someone could modify these instructions for DSpace 1.5.1.
Thanks,
Sue


Mon, 24 Sep 2007 04:54:59 -0700

Hi Mika,



if you want to set up mulitple instances on one machine using the same

source directory and dspace user you got to:



- In this example all elements of the new installation are named dspace2

- It assumes that the dspace user is called dspace

- [dspace-source] is the directory where you got your dspace source

- [tomcat] is the installation directory of tomcat





1. create a new database

createdb -U dspace dspace2



2. create a new installation directory

mkdir /dspace2

chown dspace /dspace2



2. copy the dspace.cfg

cd [dspace-source]/config

cp dspace.cfg dspace2.cfg



3. edit dspace2.cfg

set

dspace.dir = /dspace2

dspace.url = http://[YourURL]:8080/dspace2<http://%5BYourURL%5D:8080/dspace2>

db.url = jdbc:postgresql://localhost:5432/dspace2



4. do the fresh installation

cd [dspace-source]

ant clean

ant -Dconfig=config/dspace2.cfg fresh_install



5. deploy

cp build/dspace.war [tomcat]/webapps/dspace2.war



6. restart tomcat



7. create the Administrator

/dspace2/bin/create-administrator



hope that helps



Claudia Jürgen











________________________________
From: Van Ly [mailto:[email protected]]
Sent: Wednesday, July 08, 2009 1:50 AM
To: Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]; DSpace 
Tech
Subject: RE: [Dspace-tech] Multiple Dspace instances on same DB


Hi Sue,

I can confirm it is possible to operate two instances of DSpace with a single 
set of database engine (postgres) plus app server (tomcat) on a host with one 
ip-address.

Whether or not you need another ip-address could depend on the expected network 
traffic to those 800,000 documents.

I'm looking at upgrading DSpace 1.4.2 to 1.5.2 and have a test configuration as 
follows:

# dspace.dir is
/common/dspace-data
/common/dspace152-data

# webapps has
/var/lib/tomcat5/webapps/dspace142
/var/lib/tomcat5/webapps/dspace142-oai
/var/lib/tomcat5/webapps/dspace152
/var/lib/tomcat5/webapps/dspace152-oai

# URL access is
http://localhost:8080/dspace142
http://localhost:8080/dspace152

Hope that helps.

-- Van Ly

-----Original Message-----
From: Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY] 
[mailto:[email protected]]
Sent: Wed 2009-07-08 06:15
To: DSpace Tech
Subject: [Dspace-tech] Multiple Dspace instances on same DB

Hi,
     We need to create a separate instance of DSpace for several reasons, 
including the fact that this collection is so large (approximately 800,000 
documents), and the fact that there is no metadata associated with these 
documents.  I found the following article in the archives today and it sounds 
like a great way for us to accomplish this, however I just have one question:  
I'm pretty sure we will need another ip address for this new instance, correct? 
 We are using Sun Webserver7 with virtual servers.

http://www.mail-archive.com/[email protected]/msg02387.html

Thanks in advance,
Sue Walker-Thornton

Sue Walker-Thornton
ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application & Database Administrator
130 Research Drive
Hampton, VA  23666
Office: (757) 224-4074
Fax:    (757) 224-4001
Pager: (757) 988-2547
Email:  [email protected]<mailto:[email protected]>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  • [Dspac... Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
    • R... Van Ly
      • ... Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
      • ... Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]

Reply via email to