We do exactly this, and Tim's advice is good. We run our dspace's in different Tomcat engines listening on different ports, http://localhost:8080/ and http://localhost:8081/ Each engine has a separate solr too, and you'll need to update the URLs in the config.
cheers stuart On 01/02/11 04:04, Tim Donohue wrote: > Sisay, > > You should not rename the 'dspace.cfg' to be 'dspace2.cfg', as this may > cause issues. > > You can install two instances of DSpace on one server, just don't rename > any of the primary DSpace configuration files. So, if you want two > instances, you need to have two separate directories like: > > /dspace -> first install directory, with all configs, webapps, > assetstore, etc > > /dspace2 -> second install directory, with all configs, webapps, > assetstore, etc. (Do not rename any of the configs or sub directories) > > Essentially, to install two instances, you'll want to follow the > installation instructions twice (obviously). > > https://wiki.duraspace.org/display/DSDOC/Installation > > The keys when performing two installs on one server are the following: > * The two installs should use a separate Database > * The two installs should use a separate Installation Directory > * You'll also want to link Tomcat to both installations, and provide > different URL paths for each in Tomcat (e.g. > http://localhost:8080/xmlui/ and http://localhost:8080/xmlui2/). > > I hope that helps. > > - Tim > > On 1/31/2011 6:47 AM, Webshet, Sisay (ILRI) wrote: >> Hi All, >> >> I tried to have 2 instances of dspace 1.6.2 on Debian, how ever when I >> run mvn package >> >> Build fails unable to get dspace.cfg. >> >> So far I did >> >> 1. Create a new database (dspace2) >> >> 2. Create a new installation directory (dspace2) >> >> 3. A new sources directory (dspace-1.6.2-src-release-2) >> >> old (dspace-1.6.2-src-release) >> >> 4. copy dspace.cfg (cp dspace.cfg dspace2.cfg) >> >> 5. Edit dspace2.cfg as follow >> >> >> >> dspace.dir = /dspace2 >> >> >> >> dspace.url >> =http://[YourURL]:8080/dspace2<http://%5byoururl%5d:8080/dspace2> >> >> db.url = jdbc:postgresql://localhost:5432/dspace2 >> >> >> >> >> >> >> >> What will be my next step? >> >> Should I link tomcat to dspace2 folder? >> >> Should I run mvn clean? >> >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> >> >> >> _______________________________________________ >> DSpace-tech mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech > -- Stuart Yeates Library Technology Services http://www.victoria.ac.nz/library/ ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

