Re: [Dspace-tech] Two instances on one server - solved

2008-02-08 Thread Mika Stenberg
Just to for the record,

Robins solution worked. By assigning different ports to each handle 
server they can run on the same server smoothly.

Thanks for the tips.
Mika


> We do have more than one handle server running on the same machine. Cant
> rememebr the details of what we did but looking at the
> handle-server/config.dct file I can see that we are using different ports
> for the "server_type" = "server" entry in each installation.
> 
> Hope that is some help.
> 
> Cheers, Robin.
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mika
> Stenberg
> Sent: 06 February 2008 07:45
> To: Jeffrey Trimble
> Cc: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Two instances on one server
> 
> Just repeat the normal install process but place the files on another
> directory and name the db for the second installation as dspace2 for
> example.
> 
> Running two instances is not a problem. However it seems you cant run two
> handle servers on a same server so the other instance would have to be left
> without working handles.
> 
> If someone has a solution for the handle problem, please let me know.
> 
> -Mika
>> I know this has been done before and I've ignore those references, but 
>> does someone have a brief set of directions to add additional 
>> instances of Dspace? Specifically:
>>
>> 1. Tomcat configurations
>>
>> 2.  Postgresql  database
>>
>> 3.  Dspace config
>>
>>
>> TIA,
>>
>> Jeff
>>
>> Jeffrey Trimble
>> Systems Librarian
>> Maag Library
>> Youngstown State University
>> 330-941-2483 (Office)
>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
>> http://www.maag.ysu.edu http://digital.maag.ysu.edu
>>
>>
>>
>>
>> --
>> --
>>
>> --
>> --- This SF.net email is sponsored by: Microsoft Defy all challenges. 
>> Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>>
>>
>> --
>> --
>>
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 
> 
> -
> This SF.net email is sponsored by: Microsoft Defy all challenges.
> Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 
> 
> 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Two instances on one server

2008-02-06 Thread Mark H. Wood
I would add that I've learned *never* to use a form of the name
"dspace" for directories, users, databases, .war files, etc.  If an
instance will present itself as "Foo" then I'd name the [DSpace]
directory "foo", the database "foo", and the database user "foo", the
webapp.s "foo.war" and "foo-oai.war", and let the username used to run
Tomcat be "tomcat".  Otherwise, multiple instances on one host can be
confusing.  I ought to submit a patch for the documentation.

Even if you use identical sources for each instance, if I were you I'd
maintain three separate directory trees in which to configure and
build them, to preserve what's left of my sanity.

On one server I have three instances, each with its own IP-based
virtual host setup.  Given that I needed to do that anyway, a happy
side-effect is that each can be at the root of its own URL local-part.
The handle resolvers are listening on separate addresses, so the
standard ports don't conflict.

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Typically when a software vendor says that a product is "intuitive" he
means the exact opposite.



pgpx9A8NNQXTZ.pgp
Description: PGP signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Two instances on one server

2008-02-06 Thread Robin Taylor
We do have more than one handle server running on the same machine. Cant
rememebr the details of what we did but looking at the
handle-server/config.dct file I can see that we are using different ports
for the "server_type" = "server" entry in each installation.

Hope that is some help.

Cheers, Robin.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mika
Stenberg
Sent: 06 February 2008 07:45
To: Jeffrey Trimble
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Two instances on one server

Just repeat the normal install process but place the files on another
directory and name the db for the second installation as dspace2 for
example.

Running two instances is not a problem. However it seems you cant run two
handle servers on a same server so the other instance would have to be left
without working handles.

If someone has a solution for the handle problem, please let me know.

-Mika
> I know this has been done before and I've ignore those references, but 
> does someone have a brief set of directions to add additional 
> instances of Dspace? Specifically:
> 
> 1. Tomcat configurations
> 
> 2.  Postgresql  database
> 
> 3.  Dspace config
> 
> 
> TIA,
> 
> Jeff
> 
> Jeffrey Trimble
> Systems Librarian
> Maag Library
> Youngstown State University
> 330-941-2483 (Office)
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
> http://www.maag.ysu.edu http://digital.maag.ysu.edu
> 
> 
> 
> 
> --
> --
> 
> --
> --- This SF.net email is sponsored by: Microsoft Defy all challenges. 
> Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> 
> --
> --
> 
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Two instances on one server

2008-02-05 Thread Mika Stenberg
Just repeat the normal install process but place the files on another 
directory and name the db for the second installation as dspace2 for 
example.

Running two instances is not a problem. However it seems you cant run 
two handle servers on a same server so the other instance would have to 
be left without working handles.

If someone has a solution for the handle problem, please let me know.

-Mika
> I know this has been done before and I've ignore those references, but 
> does someone have a
> brief set of directions to add additional instances of Dspace? Specifically:
> 
> 1. Tomcat configurations 
> 
> 2.  Postgresql  database
> 
> 3.  Dspace config
> 
> 
> TIA,
> 
> Jeff
> 
> Jeffrey Trimble
> Systems Librarian
> Maag Library
> Youngstown State University
> 330-941-2483 (Office)
> [EMAIL PROTECTED] 
> http://www.maag.ysu.edu
> http://digital.maag.ysu.edu
> 
> 
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> 
> 
> 
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Two instances on one server

2008-02-05 Thread Graham Triggs
2? Try 20 instances on a single Tomcat!

Anyway - according to your specific questions:

1) Tomcat configurations - in a 'standard' installation, you don't need 
to change the Tomcat config much (apart from adding the UTF-8 
encoding)... as long as your instances are modelled in that fashion, 
then there are no changes to Tomcat required to host multiple instances.

2) Postgres - the easiest way to host multiple instances is to add a 
database and user within your Postgres instances. That way all the data 
is separate. You may need to change the DatabaseManager, so that it 
passes the database (schema/user) name in the JDBC call that gets the 
metadata for a table - although 1.5 incorporates this, and you only need 
to add a "db.schema" line to your dspace.cfg.

3) Each instance will (need to) have it's own 'installation', and 
therefore it's own config. There is nothing special about those 
dspace.cfg files, but you will need to ensure that each has the correct 
dspace.dir and postgres login information, etc. for that instance.

A little more critically, you will need to ensure that the web.xml in 
your DSpace web applications refers to the correct location for the 
dspace.cfg file for each instance.

G

Jeffrey Trimble wrote:
> I know this has been done before and I've ignore those references, but 
> does someone have a
> brief set of directions to add additional instances of Dspace? 
> Specifically:
>
> 1. Tomcat configurations 
>
> 2.  Postgresql  database
>
> 3.  Dspace config
>
>
> TIA,
>
> Jeff
>
> Jeffrey Trimble
> Systems Librarian
> Maag Library
> Youngstown State University
> 330-941-2483 (Office)
> [EMAIL PROTECTED] 
> http://www.maag.ysu.edu
> http://digital.maag.ysu.edu
>
>
>
> 
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>   

This email has been scanned by Postini.
For more information please visit http://www.postini.com


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Two instances on one server

2008-02-05 Thread Jayan Chirayath Kurian
 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeffrey
Trimble
Sent: Wednesday, February 06, 2008 6:12 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Two instances on one server

 

I know this has been done before and I've ignore those references, but
does someone have a

brief set of directions to add additional instances of Dspace?
Specifically:

 

1. Tomcat configurations 

 

 

2.  Postgresql  database

 

Create a new db as dspaceT

 

3.  Dspace config

 

Dspace.dir = c:/dspaceT

Db.url = . :5432/dspaceT

 

In C:\DSPace141\build file change 



http://localhost:8080/dspaceT

 

 

TIA,

 

Jeff

 

Jeffrey Trimble

Systems Librarian

Maag Library

Youngstown State University

330-941-2483 (Office)

[EMAIL PROTECTED]

http://www.maag.ysu.edu

http://digital.maag.ysu.edu

 

 

 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech