Hello, Our Dspace knowledge walked out the door in November, and now I have been asked to create more instances for our Dspace customer.
The platform - Sun SPARC v245 Solaris 10, zone/container Apache2 v2.2.4, mod_jk Postgresql 8.2.3 Dspace 1.4.2 Tomcat 6.0.13 Manakin 1.1 I asked this question a couple of weeks ago, but had no responses. I also failed to address Manakin at the time, so I will ask a second time and cross my fingers. Mark Diggory has been helping me off-list, and I think I have the 3 separate instances running now; however, the client has informed me that each instance is still using the same copy of Manakin. I think they intend to be able to make changes in Dev and Test before moving things in to Prod - a normal model. The http://wiki.dspace.org/index.php/MultipleDspaceOneServer FAQ was fairly helpful in getting Dspace installed and Mark helped me sort out Tomcat/Apache to get the ball rolling, but neither that FAQ nor the Manakin installation instructions address what to do if you want to run multiple instances of Dspace with Manakin as well. Would anyone be able to give me some pointers on how to set this part up? Do I need to build more copies of Manakin or do I make some changes to the dspace.cfg file? The three instances currently point at '$TOMCAT/webapps' as their appBase in the Host definition with a context of just "manakin" for the docBase and the context path is just relative, represented as an empty string between quotes (""). "manakin" is located under '$TOMCAT/webapps' as well. It would be great if anyone can help me out on this issue. I also have a separate but related question. Each instance is owned by the user 'dspace', and there is currently only one init script being used to start Dspace. I have not added anything for the new instances and I don't know what should be added, if anything. Is it possible to make an init script that only starts/stops each instance as requested by my client? Here is the init script: #!/bin/bash # # Startup script for the dspace server # # description: the dspace system includes tomcat and handle server # /etc/init.d/dspace Created 13 March 2007 by nha HOME="/usr/local/dspace" ANT_HOME="/usr/local/dspace/ant" JAVA_OPTS="-Xmx512M -Xms64M -Dfile.encoding=UTF-8" JAVA_HOME="/usr/local/dspace/jdk1.6.0_02" CATALINA_HOME="/usr/local/dspace/tomcat" export ANT_HOME JAVA_OPTS JAVA_HOME CATALINA_HOME HOME PATH="${ANT_HOME}/bin:${JAVA_HOME}/jre/bin:/opt/csw/bin:${PATH}" export PATH # dspace user ID dspace=dspace cd $HOME case "$1" in "start") # should check here to be sure postgresql is running # and probably httpd as well... su dspace -c "$CATALINA_HOME/bin/startup.sh" su dspace -c "/usr/local/dspace/bin/start-handle-server" ;; "stop") su dspace $CATALINA_HOME/bin/shutdown.sh sleep 2 pkill -KILL -u $dspace java 2>/dev/null pkill -9 -u $dspace java ;; "restart") $0 stop wait $0 start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 ;; esac ... Thanks for any help. Regards, Alan Rubin Technician Unix DCS Midrange Services Phone: +61 (08) 8999 6814 Fax: +61 (08) 8999 7493 e-Mail: [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

