Changes between Version 14 and Version 15 of SopUpdateBbmriApp


Ignore:
Timestamp:
2013-05-29T11:43:53+02:00 (11 years ago)
Author:
antonak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SopUpdateBbmriApp

    v14 v15  
    1010 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/) .
    1111 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.
    12  1. Deploy at at server: molgenis35 (Take a look here also http://www.molgenis.org/wiki/SopCreateMolgenisVM#SopDeploymentForDevs ) :
     12 1. Deploy at test server: molgenis35 (Take a look here also http://www.molgenis.org/wiki/SopCreateMolgenisVM#SopDeploymentForDevs ) :
    1313   1. Ask credentials for molgenis35/molgenis14 from Pieter or Morris.
    14    1. Copy the war file and the mysql migration script to the server as follows:
    15      1. scp  <filename>.war !molgenis@molgenis35.target.rug.nl:./
    16    1. Ssh to the server:
    17      * ssh  !molgenis@molgenis14.target.rug.nl
    18      * You are now at /srv/molgenis/ where your files where copied.
    19      * The database is bbmri, so in order to apply the migration steps you created:
    20      * '''BACKUP your DATABASE FIRST''':
    21        * mysqldump bbmri -u molgenis –pmolgenis  > ~/databaseDumps/<date>bbmriDB.mysql
     14
     15===war file & migration script from your  computer ===
     16
     17 1. Copy the war file and the mysql migration script  from your computer  to the server as follows:
     18   1. scp  <filename>.war !molgenis@molgenis35.target.rug.nl:./
     19
     20===Export data from LIVE server ===
     21
     22 1. Ssh to the server:
     23   * ssh  !molgenis@molgenis14.target.rug.nl
     24 1. Get data: 
     25   * mysqldump bbmri -u molgenis –pmolgenis  > ~/databaseDumps/<date>bbmriDB.mysql
     26
     27===copy data from LIVE server to your computer ===
     28
     29 1. scp  molgenis@molgenis14.target.rug.nl:./databaseDumps/<date>bbmriDB.mysql  ./mysql<date>LIVEdata.mysql
     30
     31===copy data from your computer to test server ===
     32
     33 1. scp   ./mysql<date>LIVEdata.mysql molgenis@molgenis35.target.rug.nl:./databaseDumps/mysql<date>LIVEdata.mysql
     34
     35===Deploy at test server===
     36
     37 1. Ssh to the server:
     38   * ssh  !molgenis@molgenis35.target.rug.nl
     39   * You are now at /srv/molgenis/ where your files where copied.
     40   * The database is bbmri, so in order to apply the migration steps you created:
     41   * '''BACKUP your DATABASE FIRST''':
     42     * mysqldump bbmri -u molgenis –pmolgenis  > ~/databaseDumps/<date>bbmriDB.mysql
    2243
    2344 * Check the dumbed file if it is not just an error file …
     
    3758   * sudo service mysqld status
    3859
    39  * Check your deployment at: [https://molgenis35.target.rug.nl/biobanks/ https://molgenis35.target.rug.nl/biobanks/]
     60 * Check your deployment at: https://molgenis35.target.rug.nl/biobanks/
    4061
    4162== ''' The same steps apply to the production server molgenis14 . ''' ==