Master - Slave Gallery installation

atomino

Joined: 2013-02-11
Posts: 1
Posted: Mon, 2013-02-11 14:31

Hi,

I'm working for an Italian NGO and I'm using gallery 2 to manage our photo archive with a gallery 2 instance.
Since we have a large number of photographs, we installed gallery2 on the server in our local network.

Now I would like to publish part of this work: the problem is I can’t move the server from our network to our web farm because our communication office works on it every day uploading and downloading a huge amount of data; I also prefer not to publish directly from our server on local network to web for security reasons.

So I wonder if it’s possible to create a sort of master/slave architecture with two different servers: one on our local network and one in our web farm using a vpn to synchronize archives during the night.
I aslo would like to synchronize not the full gallery but only two or three albums.

Thank you in advance
Alberto


Gallery version:2.3.1
PHP version:5.3.3-7+squeeze1
Webserver: Apache 2
Database (e.g. MySql 5.0.32):
Activated toolkits (e.g. NetPbm, GD):
Operating system: Debian Squeeze1

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2013-02-11 15:56

if you can create a network path from local to web there is no reason you could not use sym links for local serverAdd paths.
also a user has use Amazon S3 http://stephenskory.com/s3-with-gallery2 using FUSE

Also if you can create the network path you could easily create an embed instance of your local gallery.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Mon, 2013-02-11 19:18

Your idea of syncing your local server with a remote server is the way to go based on your requirement of not exposing the local server to the web at all.

There are many network admin tools/processes that can do this for you such as rsync but you will need to speak to a server network administrator on how to implement this.
I.E., your answer is not within the gallery project as this is a process that can be applied to any application or archive.

--
dakanji.com