Sea16 restart: Difference between revisions

From DISI
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
   ssh s_enkhee@gimel
   ssh s_enkhee@gimel
   cd /nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/src/seaware-academic/
   cd /nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/src/seaware-academic/
   source activate sea16 (if not works, export PATH=/nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/bin:$PATH)
   source activate sea16 (if it not works: export PATH=/nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/bin:$PATH)
   git pull
   git pull
   rm -rf /nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/lib/python2.7/site-packages/seaserver
   make clean
    
  delete sea related libraries from your site-packages folder under the conda env (rm -rf /nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/lib/python2.7/site-packages/seaserver)
    git pull
   make all
    make clean
  kill all sea-server related processes e.g. from htop
    delete sea related libraries from your site-packages folder under the conda env
  make SEAserver-start
    make all
    kill all sea-server related processes e.g. from htop
    make SEAserver-start
   cd /nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/src/seaware-academic/SEAserver
   cd /nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/src/seaware-academic/SEAserver
   python setup.py install
   python setup.py install

Revision as of 21:14, 16 March 2017


# update conda_sea16

  ssh s_enkhee@gimel
  cd /nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/src/seaware-academic/
  source activate sea16 (if it not works: export PATH=/nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/bin:$PATH)
  git pull
  make clean
  delete sea related libraries from your site-packages folder under the conda env (rm -rf /nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/lib/python2.7/site-packages/seaserver)
  make all
  kill all sea-server related processes e.g. from htop
  make SEAserver-start
  cd /nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/src/seaware-academic/SEAserver
  python setup.py install

# restart server

  ssh s_enkhee$n-1-110
  cd /nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/src/seaware-academic/
  source activate sea16 (if not works, export PATH=/nfs/soft/www/apps/sea/conda_sea16/anaconda2/envs/sea16/bin:$PATH)
  cd SEAsever
  sh scripts/run-sea-server.sh
  
  


# update sea16
ssh xyz@gimel
cd /nfs/soft/www/apps/sea/sea16/src/seaware-academic
source ../../env.csh
git pull
rm -rf /nfs/soft/www/apps/sea/sea16/lib/python2.7/site-packages/seaserver
cd /nfs/soft/www/apps/sea/sea16/src/seaware-academic/SEAserver
python setup.py install

# restart server

ssh www@n-1-110
cd /nfs/soft/www/apps/sea/sea16/src/seaware-academic
source ../../env.csh
cd SEAsever
sh scripts/run-sea-server.sh

# restart server

ssh <superuser>@n-1-110
sudo -i
screen -r
screen -dR Sea (switch to sea screen)
sh scripts/run-sea-server.sh

# how to save the old queue data
 
cd /nfs/soft/www/apps/sea/sea16/var/seaserver/queue 
mv jobs jobs.save
mv tasks.sqlite tasks.sqllite.save 
restart sea server on n-1-110.  

(basically, it had too much history and that was what was slowing it down)
(do on the first day of the month and rename the old one to a month version)