Re: [Dspace-tech] Multiple instances of dspace on a single server

2012-07-08 Thread Josefina Perez Alvarez
Hi,
We are doing the same here, but with the same dspace version:
3 dspace instalations (different [dspace-src], [dspace] and databases, and
obviously, 3 different dspace.cfg on each, pointing for 3 distinct ports)
and
3 tomcat6 (different directories in var/lib, in /etc/default to start/stop
just one or another, and different ports).

Why is not working for you? Or you are just in doubt with the strategy?

By,
Josi Perez



2012/7/7 AMJAD USMAN 

>  Thanks to all of you.
> Let me tell you detail first. I am using:
> Dspace 1.6 JSP, PostgresSQL9, Apache Tomcat 6, on windows server 2008
> (live running server)
> i want to create another dspace instance for testing purposes. its details
> are:
> Dspace 1.8 JSP, PostgresSQL9, Apache Tomcat 6 test, on windows server 2008
> (live test server)
>
> Note: i have kept separate the files and folders of both dspace 1.6 and 1.8
> i have created two instances of apache tomcat: tomcat6 & tomcat6test
> both tomcat instances are running on different ports
>
> now guide me pliz whether i m doing right or wrong ?
>
> regards
> amjad
>
>
> --
> Date: Fri, 6 Jul 2012 11:10:54 -0400
> From: alsando...@bcn.cl
> To: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Multiple instances of dspace on a single server
>
>
> Hi Amjad:
>
> We have 4 DSpace instances running on the same server, using Tomcat and
> Apache2 with mod_jk.
> You just need 4 different databases and 4 different DSpace directories.
> And tell tomcat server.xml where they are.
>
> Regards,
> Álvaro
>
> El 06/07/12 07:45, AMJAD USMAN escribió:
>
>  Hello everybody,
> i have deployed dspace on a server. i want to create another instance of
> dspace on the same server for testing and development purposes.
> can anybody help me in this regard?
>
>  Regards
> amjad
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> ___
> DSpace-tech mailing 
> listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
> --
> Álvaro Sandoval Pizarro
>
> BCN, Biblioteca del Congreso Nacional de Chile
> Ingeniería y Desarrollo
> Fono (5632) 226 3981
> http://www.bcn.cl/
>
>
> --
> Live Security Virtual Conference Exclusive live event will cover all the
> ways today's security and threat landscape has changed and how IT managers
> can respond. Discussions will include endpoint security, mobile security
> and the latest in malware threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___ DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Multiple instances of dspace on a single server

2012-07-07 Thread Lighton Phiri
#1. Create a new PostgreSQL database for your test instance with a 
different name from your production instance, e.g. call it dspace2... or 
anything else different from your production instance database name
#2. Change database settings in *[dspace]\config\dspace.cfg* to reflect 
test instance database details in particular, change the URL  and 
credentials for connecting to the database (shown in red below).

   43 # Database settings #
 :
   49
*  50 # URL for connecting to database
   51 db.url = jdbc:postgresql://localhost:5433/dspace2
   52 #db.url = jdbc:postgresql://localhost:5433/dspace**2*
   53
 :
   57
   58 # Database username and password
*  59 db.username = dspace
   60 db.password = dspace*
 :

#3. Change the base URL and port in *[dspace]\config\dspace.cfg* to 
reflect details for your test instance e.g. if test instance will be 
running on port 8081, then change code section below

* 31 # DSpace base host URL.  Include port number etc.
  32 dspace.baseUrl = http://localhost:8081*

#4. Build, install and then deploy your DSpace test instance

#5. Post installation tasks
if you'll be using statistics in test instance, change solr server 
details in *[dspace]\config\modules\solr-statistics.cfg*

:
*11 # tomcat still running on port 8081
12 server = http://localhost:8081/dspace/solr/statistics
*:

Lighton Phiri
http://lightonphiri.org

On 07/07/2012 08:43, AMJAD USMAN [via DSpace] wrote:
> Thanks to all of you.
> Let me tell you detail first. I am using:
> Dspace 1.6 JSP, PostgresSQL9, Apache Tomcat 6, on windows server 2008 
> (live running server)
> i want to create another dspace instance for testing purposes. its 
> details are:
> Dspace 1.8 JSP, PostgresSQL9, Apache Tomcat 6 test, on windows server 
> 2008 (live test server)
>
> Note: i have kept separate the files and folders of both dspace 1.6 
> and 1.8
> i have created two instances of apache tomcat: tomcat6 & tomcat6test
> both tomcat instances are running on different ports
>
> now guide me pliz whether i m doing right or wrong ?
>
> regards
> amjad
>
>
> 
> Date: Fri, 6 Jul 2012 11:10:54 -0400
> From: [hidden email] 
> To: [hidden email] 
> Subject: Re: [Dspace-tech] Multiple instances of dspace on a single server
>
> Hi Amjad:
>
> We have 4 DSpace instances running on the same server, using Tomcat 
> and Apache2 with mod_jk.
> You just need 4 different databases and 4 different DSpace 
> directories. And tell tomcat server.xml where they are.
>
> Regards,
> Álvaro
>
> El 06/07/12 07:45, AMJAD USMAN escribió:
>
> Hello everybody,
> i have deployed dspace on a server. i want to create another
> instance of dspace on the same server for testing and development
> purposes.
> can anybody help me in this regard?
>
> Regards
> amjad
>
>
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> ___
> DSpace-tech mailing list
> [hidden email]  
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
> -- 
> Álvaro Sandoval Pizarro
>
> BCN, Biblioteca del Congreso Nacional de Chile
> Ingeniería y Desarrollo
> Fono (5632) 226 3981
>
> http://www.bcn.cl/
>
> --
>  
> Live Security Virtual Conference Exclusive live event will cover all 
> the ways today's security and threat landscape has changed and how IT 
> managers can respond. Discussions will include endpoint security, 
> mobile security and the latest in malware threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___ DSpace-tech mailing 
> list [hidden email]  
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
> --
>  
>
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___

Re: [Dspace-tech] Multiple instances of dspace on a single server

2012-07-06 Thread AMJAD USMAN

Thanks to all of you.Let me tell you detail first. I am using:Dspace 1.6 JSP, 
PostgresSQL9, Apache Tomcat 6, on windows server 2008 (live running server)i 
want to create another dspace instance for testing purposes. its details 
are:Dspace 1.8 JSP, PostgresSQL9, Apache Tomcat 6 test, on windows server 2008 
(live test server)

Note: i have kept separate the files and folders of both dspace 1.6 and 1.8i 
have created two instances of apache tomcat: tomcat6 & tomcat6testboth tomcat 
instances are running on different ports
now guide me pliz whether i m doing right or wrong ?
regardsamjad

Date: Fri, 6 Jul 2012 11:10:54 -0400
From: alsando...@bcn.cl
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Multiple instances of dspace on a single server


  

  
  
Hi Amjad:

  

  We have 4 DSpace instances running on the same server, using
  Tomcat and Apache2 with mod_jk.

  You just need 4 different databases and 4 different DSpace
  directories. And tell tomcat server.xml where they are.

  

  Regards,

  Álvaro

  

  El 06/07/12 07:45, AMJAD USMAN escribió:



  
  
Hello everybody,
i have deployed dspace on a
  server. i want to create another instance of dspace on the
  same server for testing and development purposes.
can anybody help me in this
  regard?



Regards
amjad
  
  

  
  

  
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  

  
  

  ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech






-- 
Álvaro Sandoval Pizarro

BCN, Biblioteca del Congreso Nacional de Chile
Ingeniería y Desarrollo
Fono (5632) 226 3981

http://www.bcn.cl/

  


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Multiple instances of dspace on a single server

2012-07-06 Thread Kevin P. Foote

 - use apache in front of tomcat
 - create 2 vhosts using apache NameVirtualHost directive - one for each of 
your dspace instances 
 - install / configure a second tomcat instance
 - point vhost-1 to tomcat-1 , point vhost-2 to tomcat-2
 - underlying db .. you'll also have to set up two databases  
   in postgres (one for each dspace) 

--
thanks
  kevin.foote

On Fri, 6 Jul 2012, Thornton, Susan M. (LARC-B702)[LITES] wrote:

-> We use Iplanet which allows you to create "virtual" servers in order to run 
more than one instance of DSpace on a single server.  I don't know if you can 
do this with Apache or not?
-> Sue
-> 
-> 
-> Sue Walker-Thornton
-> (w):  (757) 864-2368
-> (m):  (757) 506-9903
-> 
-> From: AMJAD USMAN [mailto:amjad...@hotmail.com]
-> Sent: Friday, July 06, 2012 7:45 AM
-> To: dspace-tech@lists.sourceforge.net
-> Subject: [Dspace-tech] Multiple instances of dspace on a single server
-> 
-> Hello everybody,
-> i have deployed dspace on a server. i want to create another instance of 
dspace on the same server for testing and development purposes.
-> can anybody help me in this regard?
-> 
-> Regards
-> amjad
-> 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Multiple instances of dspace on a single server

2012-07-06 Thread Sandoval, Álvaro

Hi Amjad:

We have 4 DSpace instances running on the same server, using Tomcat and 
Apache2 with mod_jk.
You just need 4 different databases and 4 different DSpace directories. 
And tell tomcat server.xml where they are.


Regards,
Álvaro

El 06/07/12 07:45, AMJAD USMAN escribió:

Hello everybody,
i have deployed dspace on a server. i want to create another instance 
of dspace on the same server for testing and development purposes.

can anybody help me in this regard?

Regards
amjad


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Álvaro Sandoval Pizarro

BCN, Biblioteca del Congreso Nacional de Chile
Ingeniería y Desarrollo
Fono (5632) 226 3981

http://www.bcn.cl/

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Multiple instances of dspace on a single server

2012-07-06 Thread Thornton, Susan M. (LARC-B702)[LITES]
We use Iplanet which allows you to create "virtual" servers in order to run 
more than one instance of DSpace on a single server.  I don't know if you can 
do this with Apache or not?
Sue


Sue Walker-Thornton
(w):  (757) 864-2368
(m):  (757) 506-9903

From: AMJAD USMAN [mailto:amjad...@hotmail.com]
Sent: Friday, July 06, 2012 7:45 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Multiple instances of dspace on a single server

Hello everybody,
i have deployed dspace on a server. i want to create another instance of dspace 
on the same server for testing and development purposes.
can anybody help me in this regard?

Regards
amjad
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Multiple instances of dspace on a single server

2012-07-06 Thread AMJAD USMAN

Hello everybody,i have deployed dspace on a server. i want to create another 
instance of dspace on the same server for testing and development purposes.can 
anybody help me in this regard?
Regardsamjad  --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech