Debian Codegraph @

docs/RestartingServers.txt

raw
1 These instructions are for JGI internal use.
2
3 If a taxonomy server or Sketch server dies:
4
5 Look at /global/projectb/sandbox/gaag/bbtools/server/start*Server.sh, which includes:
6
7 startTaxServer.sh
8 startRefseqServer.sh
9 startProteinServer.sh
10 startNtServer.sh
11 startSilvaServer.sh
12
13 Each file indicates where to run the script. So, for example, startTaxServer.sh says: #Run this on gpweb25
14 ssh to the indicated machine, change directory to /global/projectb/sandbox/gaag/bbtools/server/, and run startTaxServer.sh.
15 It does not matter which user you are logged in as. But if you run into permission problems, make a copy of the script somewhere else and run it there.
16
17 To update taxonomy, go to /global/projectb/sandbox/gaag/bbtools/tax
18 1) Create a new directory
19 2) Copy the old shellscripts from "latest"
20 3) Execute the shellscripts
21 4) Point the "latest" symlink to the new directory after execution finishes
22 5) Restart the taxonomy server
23
24 For example:
25 cd /global/projectb/sandbox/gaag/bbtools/tax/
26 mkdir feb13_2019
27 cp latest/*.sh feb13_2019
28 cd feb13_2019
29 sh fetchOuter.sh 1>fetch.o 2>&1 &
30 #(wait until it finishes; it will create a file called "finished" when complete)
31 cd ..
32 ln -sfn feb13_2019 latest
33 #(restart the taxonomy server)