Changes between Version 25 and Version 26 of SopUpdateBbmriApp


Ignore:
Timestamp:
2013-05-29T13:53:04+02:00 (12 years ago)
Author:
antonak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SopUpdateBbmriApp

    v25 v26  
    15152.2) If there are changes, make the migration script[[BR]]
    1616
    17 == Deploy to server ==
     17'''Deploy to server'''
     18
    1819 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/) .
    1920 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.
     
    2122   1. Ask credentials for molgenis35/molgenis14 from Pieter or Morris.
    2223
    23 === create migration script ===
     24=== create migration script according to data in live server  ===
    2425 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.
    2526 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 ssh to molgenis14
    27    1. create a dump file: mysqldump --no-data, -d bbmri -u molgenis –pmolgenis > ~/databaseDumps/<date>bbmriDBlive.mysql
    28    1. create a local dump file:  mysqldump --no-data, -d bbmri -u molgenis –pmolgenis > ~/databaseDumps/<date>bbmriDBlocal.mysql
    29    1. diff <date>bbmriDBlive.mysql <date>bbmriDBlocal.mysql
     27   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
    3031
    3132=== copy war file & migration script from your  computer to test server ===