Installing DSPACE in a Google Cloud Server with Data Repository stored on my local network

741 views
Skip to first unread message

Bruno Cabral

unread,
Feb 29, 2016, 1:24:19 PM2/29/16
to DSpace Technical Support
Hi list,

I'm member of a team that is developing and implementing a solution using DSPACE.

We intend that the apps including DSPACE stays on the Google Cloud Infrastructure, in docker containers, and that the digital objects of the DSPACE repository stay stored and linked on our local network Storage, on a Network Attached Storage.

Is this possible? How?

Thanks,

BC

Luiz dos Santos

unread,
Mar 1, 2016, 8:22:30 AM3/1/16
to Bruno Cabral, DSpace Technical Support

Hi,

I'm not sure about your solution, but the point here is a remote assetstore, I guess, I would like to help, but I'm not sure your infrastructure, actually I don't know docker.

Best
Luiz

--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Monika Mevenkamp

unread,
Mar 1, 2016, 8:38:23 AM3/1/16
to Bruno Cabral, DSpace Tech
I am not exactly sure either what the details are. But if you can make
your NAS storage visible inside the docker image such that you can link
/dspace/assetstore ->     /NAS_assetstore
you should be fine.

You need to think carefully about what you do with your database.
How do you plan to keep backups ?

Keep in mind that, if you manage the database inside docker
you will not be able to upgrade software by building a new docker
image. Building a new image means loosing all data created/touched
inside the old image after that image was built and started.

Monika

Bruno Cabral

unread,
Mar 1, 2016, 8:52:55 AM3/1/16
to Luiz dos Santos, DSpace Technical Support
Hi Luiz,

Yes. That's exactly the question. The server with dspace will be installed in Google Cloud and the digital objects will be on our local network on a NAS.

Is this possible? And a mixed solution, having digital objects on our NAS and other objects in Google cloud store?

Thank you,

Regards,

BC

Bruno Cabral

unread,
Mar 1, 2016, 8:57:32 AM3/1/16
to Monika Mevenkamp, DSpace Tech
Hi Monika,

Thank you!

The idea is not having the databases inside the docker images.

But is it possible to have the digital objects on a local netowrk attached storage while the dcoker is in Google Cloud, with dspace linking from the cloud to our NAS? 

And a mixed solution, having part of the objects on our NAS and other on Google Cloud Storage?

Thanks and Regards,

BC

Peter Dietz

unread,
Mar 1, 2016, 10:19:53 AM3/1/16
to Bruno Cabral, Monika Mevenkamp, DSpace Tech
Hi Bruno,

There is no DSpace BitStore implementation for using Google Cloud Storage, but the next release of DSpace has refactored the asset store plumbing to allow for different implementations to be used. This advice might not be very helpful for a current DSpace 5 instance, but would be helpful for a development instance on DSpace 6, which adds under-the-hood improvements that would help you better make use of Google Cloud Storage.

The Interface for BitStore

Implementation to use AWS S3 storage. 

If you are interested in adding Google Cloud Storage support just implement a GoogleCloudStorageBitStoreService class and implement a few methods: init, get, put, about, remove.

Once you create a GCS implementation, then you can wire it in with some spring bean xml.

We allow for a hybrid storage approach. Wire localStore to store#0, the localStore would be seen as "local storage" even though you will be mounting some remote NAS storage. Then wire the GCSStore to store#1, and make that the incoming. Old assets on the NAS, new assets on GCS.


________________
Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

Tom Desair

unread,
Mar 1, 2016, 3:35:29 PM3/1/16
to Bruno Cabral, DSpace Tech
Hi Bruno,

As an alternative you could write your own Docker Volume Plugin (https://docs.docker.com/engine/extend/plugins_volume/) to connect to your on-premise infrastructure and store the volumes containing the asset store, Solr data and PostgreSQL data there. But first think about the Docker image design and try running with "local" volumes.

Best regards,
Tom

 
logo 
Tom Desair
250 Lucius Gordon Drive, Suite B-3A, West Henrietta, NY 14586
Esperantolaan 4, Heverlee 3001, Belgium
www.atmire.com 
Reply all
Reply to author
Forward
0 new messages