Skip to content

Prod and preprod synchronization

albanmartel edited this page May 6, 2014 · 1 revision

Prod and preprod synchronization

Concepts

Pre-production is a server nearly identical to production. It is used to validate the regularly (or manually) imported data or other features before pushing them to production.

Production is the production server, as accessed by end users.

A Synthese command is available for performing the database synchronisation from preproduction to production. It takes care of dumping the data, copying it, restarting the daemon, …

That command should be run every day. It will copy most of the Synthese database with a few exceptions explained below.

Impact for users

Unless specified below, all the changes to Synthese should be performed on the preproduction server (change to web pages, services updates, …). After the change is done on production, it will be deployed to production the next day (or when the deploy script runs).

There are a few exceptions (where waiting for the next day wouldn’t be adequate). It means that these changes should be made directly on preproduction and production:

  • Scenario edition.

Sources

https://extranet.rcsmobility.com/projects/synthese/repository/show/tools/synthesepy

Clone this wiki locally