Dear All,

Iam really thankful if any one would help me in this case.

Iam trying this to implement on windows.
I want to create two instances for dspace-5.2-src-release and to keep both
the instances in two different servers called ServerA & ServerB and my main
intention is to view the same data from both instances so please any body
have a solution for this case or what will be the best way to view the same
data from two instance which are on two different Servers and these two
servers are connected to a single DB server & a single assetstore.

I have done R&D for this case but i failed to get the results,i took
dspace-5.2-src and changed the cfg settings  which is as fallowes :-
                                        *DSpace installation to create
First Instance*:-

   1. DSpace installation directory
   dspace.dir = C:/Dspace1
   ****************************
   2. DSpace base UL. Include port number etc., but NOT trailing slash
   dspace.url = http://172.11.11.258:8080
   <http://dspace.myu.edu:8080/dspace2>
   ********************************************************
   #### Database settings #####
   3. Database name ("oracle", or "postgres")
   db.name = postgres
   4. UL for connecting to database
   db.url = jdbc:postgresql://172.10.10.25
   <http://dspace.myu.edu:8080/dspace2>3:5432/dspace1
   *******************************************************
   5. JDC Driver
   db.driver = org.postgresql.Driver
   6. Database username and password
   db.username = dspace
   db.password = dspace
   ***************************
   7. ##### File Storage #####
   8. assetstore.dir = G:/assetstore


After modifying the cfg file i have done mvn package and then ant
fresh_install after that i have copied the obtained webapps in to the
webapps of ServerA.
I took the back up of this Database and kept it in separate directory and
in the same way i took the copy of the assetstore.


                                         *DSpace installation to create
Second Instance*:-
In the same way i have again modified the cfg of the dspace-5.2-src with
the fallowings:-

   1. DSpace installation directory
   dspace.dir = C:/Dspace2
   ****************************
   2. DSpace base UL. Include port number etc., but NOT trailing slash
   dspace.url = http://168.12.12.240:9090
   <http://dspace.myu.edu:8080/dspace2>
   ********************************************************
   #### Database settings #####
   3. Database name ("oracle", or "postgres")
   db.name = postgres
   4. UL for connecting to database
   db.url = jdbc:postgresql://172.10.10.25
   <http://dspace.myu.edu:8080/dspace2>3:5432/dspace2
   *******************************************************
   5. JDC Driver
   db.driver = org.postgresql.Driver
   6. Database username and password
   db.username = dspace
   db.password = dspace
   ***************************
   7. ##### File Storage #####
   8. assetstore.dir = G:/assetstore

again did mvn package on it and then ant fresh_install and again i copied
the obtained webapps in to the webapps of Server2. I dropped the dspace2
database and then again i created the new database with the same name
called dspace2 and i restored it with the backup of the database dspace1
and copied the assetstore in to the same destination which i had taken the
back up from the First Instance.

After this all process i was able to view the data from First Instance and
i failed to view the same data from Second Instance.
Any Help is appreciated here.........

Thanks & Regards,
 Mansoor
Digital Library IT Engineer
Princess Noora Library
saudi Arabia
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to