Am 2013-11-19 um 14:57 schrieb Henning Hraban Ramm <[email protected]>:

> Hi again,
> 
> due to the nature of our project, we need a master-slave configuration:
> Our master server is publicly accessible, the slave on a laptop with 
> occasional internet access (once a week or so), serving a few machines in a 
> local network.
> It’s not necessary to work (add/edit media) on the slave, it just needs to 
> get updates, as soon as it has internet access.
> 
> My idea was:
> - update the installation from git, run make install etc.
> - install the latest dbdump backup
> - rsync /opt/invenio/var/data
> 
> Is that enough?
> Or do you know a better way?
> Would it make more sense to setup MySQL as master-slave?

No answer?

I’m still working on it:
- MySQL replication works
- media files get rsync’ed (still manually)
- after that, I change the server URL in all records (like in 
http://invenio-software.org/wiki/HowTo/HowToChangeSiteUrl)

Seems to work so far.
Doesn’t have anyone experiences with multi server setups to share?
Isn’t it possible to save media files only with relative paths (since those are 
the same on all servers)?


Greetlings, Hraban
---
http://www.fiee.net
https://www.cacert.org (I'm an assurer)







Reply via email to