Sysadmin idioms: Difference between revisions
Jump to navigation
Jump to search
(asdf) |
(asd) |
||
Line 13: | Line 13: | ||
Clear errors on jobs | Clear errors on jobs | ||
qstat -u adler | grep Eqw | cut -f 1 -d ' ' | xargs qmod -cj | qstat -u adler | grep Eqw | cut -f 1 -d ' ' | xargs qmod -cj | ||
Start server | |||
source env.csh | |||
zincserver.restart-backend.sh | |||
see progress of raid rebuild, eg on aleph. | see progress of raid rebuild, eg on aleph. |
Revision as of 23:30, 1 October 2015
restart SEA
1. login to tau 2. become www 3. source /nfs/soft/www/apps/sea/sea15/env.csh 4. run run-sea-server.sh
Disc space panic (cluster 0)
sudo /usr/sbin/repquota /raid1 | sort -nrk3 | head
Save time as sysadmin C0
~teague/Scripts/sshnodes.py to call ~teague/batch/mount-diva2.sh
Clear errors on jobs
qstat -u adler | grep Eqw | cut -f 1 -d ' ' | xargs qmod -cj
Start server
source env.csh zincserver.restart-backend.sh
see progress of raid rebuild, eg on aleph.
cat /proc/mdstat
grant access on bet:
xfs_quota -xc "limit bsoft=1000g bhard=1500g tbalius" /srv/work
maximum FP FK referenced from substance
select max(ecfp4_fk) from substance;
how many protomers
select count(prot_id) from protomer;
how many substances
select count(sub_id) from substance;
max FP reference in FP master join table:
select max(ecfp4_fk) from fingerprints.ecfp4_data
queue stuck?
Try qmod -c *lamed and qmod -e *@lamed
fire up a vm per sarah/matt
ssh to he as s_xxx sudo virsh vncdisplay phi # Shows the VNC port phi is running on (vnc port 0) sudo vrish edit phi # Open phi's config # search for passwd ( /passwd<ENTER> ) #copy down VNC password #:q! # Exit vim exit # Exit virsh exit # Log out of he vncviewer he:<VNCPORT> (vncviewer he:0) Enter password log in restart: sshd, mysql, iptables, network (if it can't ping)
clean away old scratch files on nodes before your job starts (adler as example user)
find /scratch/adler -mindepth 1 -mtime +3 -exec rm -rvf {} \;
update purchasability:
update substance set purchasability = substance_best_purchasability(sub_id) where sub_id in (select sub_id from substance where purchasability is null limit 10000);