Changes between Version 25 and Version 26 of SopUpdateBbmriApp
- Timestamp:
- 2013-05-29T13:53:04+02:00 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SopUpdateBbmriApp
v25 v26 15 15 2.2) If there are changes, make the migration script[[BR]] 16 16 17 == Deploy to server == 17 '''Deploy to server''' 18 18 19 1. As also listed here: http://www.molgenis.org/wiki/MolgenisServers the '''test server''' is at molgenis35(https://molgenis35.target.rug.nl/biobanks/) and the '''production server''' at molgenis14(https://catalogue.bbmri.nl/biobanks/) . 19 20 1. First deploy at test server, notify [mailto:david.van.enckevort@nbic.nl david.van.enckevort AT nbic.nl]. He will notify BBMRI office, they will review the changes and if everything is ok proceed to updating bbmri production server. … … 21 22 1. Ask credentials for molgenis35/molgenis14 from Pieter or Morris. 22 23 23 === create migration script ===24 === create migration script according to data in live server === 24 25 1. If you know the exact changes of the database, compared to the old version in live server, then the migration script is the commands that synchornize the two versions. 25 26 1. You can compare the mysql dump files between the live and the local version. This is easier if you dump only the schemas (not the data) . 26 1. First 27 1. create a dump file: 28 1. create a local dump file: 29 1. diff <date>bbmriDBlive.mysql<date>bbmriDBlocal.mysql27 1. First ssh to molgenis14 28 1. create a dump file: mysqldump --no-data, -d bbmri -u molgenis –pmolgenis > ~/databaseDumps/<date>bbmriDBlive.mysql 29 1. create a local dump file: mysqldump --no-data, -d bbmri -u molgenis –pmolgenis > ~/databaseDumps/<date>bbmriDBlocal.mysql 30 1. diff <date>bbmriDBlive.mysql <date>bbmriDBlocal.mysql 30 31 31 32 === copy war file & migration script from your computer to test server ===