Guidance of refreshing Molmovdb

From Info

Revision as of 03:23, 29 June 2017 by Public (Talk | contribs)
Jump to: navigation, search

Guidance of refreshing Molmovdb by BW

0. Set up your user account on gw.gersteinlab.org and get access to root@molmovdb.org (setup your login password with MF)

1. Set up Passwordless Login to avoid typing password when doing file updates from gw to MMDB server. For this purpose, you need to generate your RSA private key on your gw, and follow “Passwordless Login” tutorial from GersteinLab Wiki to copy this id_rsa.pub to MMDB server. For detailed instruction, go to:

http://wiki.gersteinlab.org/labinfo/Passwordless_Login.


2. Have the upgrade files ready from archive:

User_id@gw.gersteinlab.org:/nfs/archive/html/proj/molmovdb/upgrade.

All files for upgrading purpose need to be placed in the upgrade.


3. Run auto_upgrade.sh to rsync the files in upgrade folder into MMDB. Note that at this point MF should have a freeze copy of MMDB from an earlier time spot (roll-back) to replace the broken VM. Auto_upgrade.sh will automatically replace the corresponded files that need updates with the old ones. The target directory is:

root@molmovdb.org:/home/molmovdb/server/htdocs/.


4. Re-do step #3 if MMDB is down again, and re-do step #2 if there is something new that need to be upgraded.

Personal tools