Sea16 restart: Difference between revisions
Jump to navigation
Jump to search
Enkhjargal (talk | contribs) No edit summary |
Enkhjargal (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
# restart server | # restart server | ||
ssh <superuser>@n-1-110 | ssh <superuser>@n-1-110 | ||
sudo -i | sudo -i | ||
Line 23: | Line 24: | ||
screen -dR Sea (switch to sea screen) | screen -dR Sea (switch to sea screen) | ||
sh scripts/run-sea-server.sh | 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 | |||
possibly also 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 | |||
</pre> | </pre> | ||
[[Category:Curator]] | [[Category:Curator]] |
Revision as of 22:01, 8 December 2016
# 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 possibly also 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